diff --git a/psdc-ui/src/views/system/cl/index.vue b/psdc-ui/src/views/system/cl/index.vue index 63ed462..08122a7 100644 --- a/psdc-ui/src/views/system/cl/index.vue +++ b/psdc-ui/src/views/system/cl/index.vue @@ -397,9 +397,9 @@ function submitForm() { // for(let i in deviceInfo.controlKey){ // deviceInfo.controlKey[i].value='' // } - deviceInfo.controlKey.map(item => { - item.value = ''; - }); + // deviceInfo.controlKey.map(item => { + // item.value = ''; + // }); }); console.log(timingForm) postNew(timingForm).then((res)=>{ @@ -431,9 +431,9 @@ function cancel() { tempItem.tempList = deviceInfo.controlKey; } tempCheckedSblb.push(tempItem); - deviceInfo.controlKey.map(item => { - item.value = ''; - }); + // deviceInfo.controlKey.map(item => { + // item.value = ''; + // }); }); timingForm.sceneName='', timingForm.sceneRemark='', @@ -495,22 +495,22 @@ function submitForm1() { timingForm1.sceneRemark='' timingForm1.sceneCode='' timingForm1.deviceVos=[] - data.sblb.map(item => { - item.controlKey.map(temp => { - temp.value = ''; - }); - }); - getTb({ - "sceneCode": data.sceneCode, - - "pageNum": currentPage.value, - - "pageSize": pageSize.value - }).then((res)=>{ - console.log(res) - data.timingList=res.rows - data.total=res.total - }) + // data.sblb.map(item => { + // item.controlKey.map(temp => { + // temp.value = ''; + // }); + // }); + // getTb({ + // "sceneCode": data.sceneCode, + // + // "pageNum": currentPage.value, + // + // "pageSize": pageSize.value + // }).then((res)=>{ + // console.log(res) + // data.timingList=res.rows + // data.total=res.total + // }) // for(let i in data.sblb) { // data.sblb[i].temp = '' // data.sblb[i].intemp = '' @@ -523,22 +523,22 @@ function cancel1() { timingForm1.sceneRemark='' timingForm1.sceneCode='' timingForm1.deviceVos=[] - data.sblb.map(item => { - item.controlKey.map(temp => { - temp.value = ''; - }); - }); - getTb({ - "sceneCode": data.sceneCode, - - "pageNum": currentPage.value, - - "pageSize": pageSize.value - }).then((res)=>{ - console.log(res) - data.timingList=res.rows - data.total=res.total - }) + // data.sblb.map(item => { + // item.controlKey.map(temp => { + // temp.value = ''; + // }); + // }); + // getTb({ + // "sceneCode": data.sceneCode, + // + // "pageNum": currentPage.value, + // + // "pageSize": pageSize.value + // }).then((res)=>{ + // console.log(res) + // data.timingList=res.rows + // data.total=res.total + // }) // data.sblb.map(item => { // item.controlKey.map(temp => { // temp.value = '';