| | |
| | | |
| | | }, |
| | | methods: { |
| | | // 月 年选择 |
| | | onSelectSheet(val) { |
| | | dropdownValue = val |
| | | this.$forceUpdate() |
| | | this.sheetFlag = false |
| | | }, |
| | | //提交 |
| | | submit() { |
| | | let children = [] |
| | | centerContent.forEach(item => { |
| | |
| | | children: children |
| | | } |
| | | |
| | | console.log(data, 1) |
| | | |
| | | const params = { |
| | | username: localStorage.getItem('username'), |
| | | maintcyc: dropdownValue |
| | | } |
| | | |
| | | // vant.Notify(JSON.stringify(params)) |
| | | // vant.Toast(JSON.stringify(data)) |
| | | |
| | | post('AppDeviceManage/AppDeviceRepairSave' + formatParams(params), data) |
| | | .then(res => { |
| | | if (res.code === '200') { |
| | |
| | | vanFieldBlur() { |
| | | this.$forceUpdate() |
| | | }, |
| | | //扫描保养工位点击不同选择项 |
| | | topContentClcik(code) { |
| | | radioValue = code |
| | | this.$forceUpdate() |
| | |
| | | } |
| | | }) |
| | | }, |
| | | |
| | | //保养结果点击 |
| | | resultClick(val) { |
| | | resultValue = val |
| | | this.$forceUpdate() |
| | | }, |
| | | |
| | | selected(id) { |
| | | alert(id) |
| | | }, |
| | | |
| | | // 扫描保养工位扫描 |
| | | topScanClick() { |
| | | createWithoutTitle('../../components/barcode_scan.html', { |
| | |
| | | } |
| | | }); |
| | | }, |
| | | |
| | | // 部位正常 异常按钮点击 |
| | | bwClick(item, val) { |
| | | item.isOK = val |