From 8e367b87b978d20a30a6ca900d95c25c9eb82b0e Mon Sep 17 00:00:00 2001 From: luobisheng <727299681@qq.com> Date: 星期三, 07 十二月 2022 16:05:40 +0800 Subject: [PATCH] 清理console以及注释代码 --- src/views/operate/baseSetting/violation/updateUser/index.vue | 20 -- src/views/operate/baseSetting/illegalBuild/index.vue | 16 - src/views/operate/disposal/casepool/notDeal/updateUser/uploadResult/ill/index.vue | 1 src/views/operate/management/myIndex/components/closure/index.vue | 1 src/views/systemSetting/device/grid/components/header/index.vue | 2 src/views/operate/message/mycontrol/createUser/index.vue | 19 -- src/views/layout/components/Header/updatePassword/index.vue | 1 src/views/operate/baseSetting/violation/index.vue | 39 ----- src/views/operate/disposal/casepool/learn/updateUser/uploadResult/ill/index.vue | 1 src/views/operate/myWait/updateUser/index.vue | 20 -- src/views/operate/baseSetting/illegalBuild/createUser/index.vue | 19 -- src/views/operate/disposal/casepool/learn/index.vue | 35 ---- src/views/operate/viewEvent/components/illExamine/index.vue | 2 src/views/operate/disposal/casepool/notDeal/index.vue | 9 - src/views/operate/viewEvent/components/examine/index.vue | 2 src/views/operate/rectification/renovationList/index.vue | 17 -- src/views/operate/viewEvent/components/closure/index.vue | 2 src/views/operate/disposal/casepool/notDeal/createUser/index.vue | 21 --- src/views/operate/lawEnforcement/index.vue | 1 src/views/operate/disposal/casepool/notDeal/updateUser/uploadResult/components/evidence/index.vue | 2 src/views/operate/rectification/surveyList/components/createInterface/index.vue | 16 -- src/views/operate/baseSetting/illegalBuild/updateUser/index.vue | 1 src/views/operate/disposal/casepool/pool/createUser/vio/index.vue | 3 src/views/operate/disposal/casepool/escalation/index.vue | 19 -- src/views/operate/management/myIndex/components/examine/index.vue | 2 src/views/operate/disposal/casepool/learn/updateUser/uploadResult/components/evidence/index.vue | 2 src/views/systemSetting/device/grid/index.vue | 2 src/views/operate/rectification/surveyList/index.vue | 3 src/views/operate/disposal/casepool/escalation/createUser/vio/index.vue | 3 src/views/operate/management/myIndex/components/illclosure/index.vue | 2 src/views/operate/viewEvent/components/illclosure/index.vue | 2 src/views/operate/disposal/casepool/learn/updateUser/uploadResult/vio/index.vue | 6 src/views/operate/disposal/casepool/dispatch/index.vue | 2 src/views/operate/disposal/casepool/pool/createUser/ill/index.vue | 3 src/views/operate/disposal/casepool/dispatch/updateUser/uploadResult/ill/index.vue | 2 src/views/operate/disposal/casepool/notDeal/updateUser/uploadResult/vio/index.vue | 2 src/views/operate/disposal/casepool/learn/createUser/index.vue | 21 --- src/views/operate/disposal/casepool/escalation/createUser/index.vue | 2 src/views/operate/disposal/casepool/escalation/updateUser/index.vue | 21 --- src/views/operate/management/myIndex/index.vue | 4 src/views/operate/management/myIndex/components/illExamine/index.vue | 2 src/views/systemSetting/device/grid/components/main/index.vue | 26 +-- src/http/url-recorder.js | 1 src/views/operate/lawEnforcement/components/dataView/index.vue | 1 src/views/systemSetting/platform/mySetting/index.vue | 5 src/views/operate/disposal/casepool/escalation/createUser/ill/index.vue | 5 46 files changed, 33 insertions(+), 355 deletions(-) diff --git a/src/http/url-recorder.js b/src/http/url-recorder.js index a79d433..0c05e15 100644 --- a/src/http/url-recorder.js +++ b/src/http/url-recorder.js @@ -20,7 +20,6 @@ // 濡傛灉璇锋眰杩樺湪闃熷垪閲岋紝璇存槑杩樺湪澶勭悊锛屾病鏈夊洖鍖� if (this.urlList.includes(url)) { const errorMessage = `璇锋眰 ${url} 姝e湪澶勭悊锛岃绋嶅悗鍐嶈瘯锛乣 - console.error(errorMessage) const error = { status: { code: 1007, // 涓存椂鍐欑殑 diff --git a/src/views/layout/components/Header/updatePassword/index.vue b/src/views/layout/components/Header/updatePassword/index.vue index 50782be..6a7d481 100644 --- a/src/views/layout/components/Header/updatePassword/index.vue +++ b/src/views/layout/components/Header/updatePassword/index.vue @@ -53,7 +53,6 @@ this.updatePasswordParam.oldPassword=this.password.oldPassword; this.updatePasswordParam.username=sessionStorage.getItem('name'); this.updatePasswordParam.newPassword=this.password.newPassword; - console.log(this.updatePasswordParam); users.updatePassword(this.updatePasswordParam) .then(() => { this.$message.success('淇敼瀵嗙爜鎴愬姛, 鍗冲皢閲嶆柊鐧诲綍'); diff --git a/src/views/operate/baseSetting/illegalBuild/createUser/index.vue b/src/views/operate/baseSetting/illegalBuild/createUser/index.vue index db5f524..82867d6 100644 --- a/src/views/operate/baseSetting/illegalBuild/createUser/index.vue +++ b/src/views/operate/baseSetting/illegalBuild/createUser/index.vue @@ -67,7 +67,6 @@ parentId:'', level:'', }, - parentList: [], createIll: { name: [ { required: true, trigger: 'blur', validator: checkName } @@ -128,9 +127,7 @@ }, // 鎻愪氦鏂板杩濊绫诲瀷 handleSubmit() { - console.log(this.things); this.$refs.user.validate((valid) => { - console.log(valid); if (valid) { const { things,selectOrg } = this; this.$axios({ @@ -171,25 +168,10 @@ }else{ this.parentList = await this.getTypeThird() - // this.parentList = this.addChildren(await this.getTypeThird(), await this.getTypeSecond()); } }, - // addChildren(parentArr, childArr) { - // // console.log(parentArr.length,childArr); - // parentArr.forEach(item => { - // item.children = []; - // childArr.forEach(child => { - // if (item.id === child.parentId) { - // item.children.push(child); - // } - // }) - // }) - // console.log(parentArr); - // return parentArr; - // }, handleCheck(data, checked) { this.things.parentId = data.name; - console.log(this.selectOrg.orgsid); // 鑾峰彇褰撳墠閫夋嫨鐨刬d鍦ㄦ暟缁勪腑鐨勭储寮� const indexs = this.selectOrg.orgsid.indexOf(data.id) // 濡傛灉涓嶅瓨鍦ㄦ暟缁勪腑锛屽苟涓旀暟缁勪腑宸茬粡鏈変竴涓猧d骞朵笖checked涓簍rue鐨勬椂鍊欙紝浠h〃涓嶈兘鍐嶆閫夋嫨銆� @@ -225,7 +207,6 @@ background-color: #09152f; main { - // border: 1px solid #fff; text-align: left; padding: 0 55px; background-color: #09152f; diff --git a/src/views/operate/baseSetting/illegalBuild/index.vue b/src/views/operate/baseSetting/illegalBuild/index.vue index 8f88253..401bc81 100644 --- a/src/views/operate/baseSetting/illegalBuild/index.vue +++ b/src/views/operate/baseSetting/illegalBuild/index.vue @@ -128,7 +128,6 @@ methods: { // 鎵归噺鍒犻櫎 mulDelete(idArr){ - console.log(idArr); this.$axios({ method:'delete', url:'sccg/illegal_building/batch_delete?ids='+idArr, @@ -160,11 +159,7 @@ // 鐩戝惉琛ㄦ牸閫変腑鐘舵�� tableChange(list) { this.tempList = list; - if (list.length === this.tableData.length) { - this.all = true; - } else { - this.all = false - } + this.all = list.length === this.tableData.length; }, // 鍏ㄩ�� selectAll() { @@ -178,10 +173,8 @@ }, // 鍒犻櫎鍗曟潯鏁版嵁 handleDelete({ number }) { - console.log(number); this.$confirm('纭鍒犻櫎锛�') .then(_ => { - console.log(1); this.$axios({ method: 'delete', url: `sccg/illegal_building/delete?id=${number}`, @@ -195,7 +188,7 @@ this.getUserList(); }) }) - .catch(_ => { console.log(2) }); + .catch(_ => { }); }, // 鑾峰彇鐢ㄦ埛鍒楄〃 getUserList() { @@ -212,12 +205,11 @@ }, // 璁剧疆琛ㄦ牸鏂戦┈绾� tableRowClassName({ row, rowIndex }) { - if ((rowIndex + 1) % 2 == 0) { + if ((rowIndex + 1) % 2 === 0) { return 'warning-row'; } else { return 'success-row'; } - return ''; }, // 鏌ョ湅鐢ㄦ埛淇℃伅(涓嶅彲淇敼) handleFind(rowData) { @@ -280,7 +272,6 @@ header { background-color: #09152f; - border: 1pox solid #fff; .headerContent { padding: 0 40px; @@ -330,7 +321,6 @@ background-color: #09152f; margin-top: 20px; padding-bottom: 50px; - border: 1pox solid #fff; .mainTitle { line-height: 60px; diff --git a/src/views/operate/baseSetting/illegalBuild/updateUser/index.vue b/src/views/operate/baseSetting/illegalBuild/updateUser/index.vue index 46efb62..709f456 100644 --- a/src/views/operate/baseSetting/illegalBuild/updateUser/index.vue +++ b/src/views/operate/baseSetting/illegalBuild/updateUser/index.vue @@ -44,7 +44,6 @@ } }, created() { - console.log(this.userInfo); this.things = JSON.parse(JSON.stringify(this.userInfo)); // 鑾峰彇鎵�灞炵被鍨嬪垪琛� this.getTypeFirst(); diff --git a/src/views/operate/baseSetting/violation/index.vue b/src/views/operate/baseSetting/violation/index.vue index 23c156b..a388ff3 100644 --- a/src/views/operate/baseSetting/violation/index.vue +++ b/src/views/operate/baseSetting/violation/index.vue @@ -133,7 +133,6 @@ methods: { // 鎵归噺鍒犻櫎 mulDelete(idArr) { - console.log(idArr); this.$axios({ method: 'delete', url: 'sccg/violations/batch_delete?ids=' + idArr, @@ -183,10 +182,8 @@ }, // 鍒犻櫎鍗曟潯鏁版嵁 handleDelete({ number }) { - console.log(number); this.$confirm('纭鍒犻櫎锛�') .then(_ => { - console.log(1); this.$axios({ method: 'delete', url: `sccg/violations/delete?id=${number}`, @@ -200,7 +197,7 @@ this.getUserList(); }) }) - .catch(_ => { console.log(2) }); + .catch(_ => { }); }, // 鑾峰彇鐢ㄦ埛鍒楄〃 getUserList() { @@ -215,37 +212,7 @@ this.totalNum = res.data.total; }) }, - // search() { - // const that = this; - // const { currentPage, pageSize, context } = this; - // // 鑾峰彇鎵�鏈夌敤鎴蜂俊鎭� - // if (context == '') { - // this.$axios.get('sccg/role/list?keyword=' + '&pageNum=' + currentPage + '&pageSize=' + pageSize).then(res => { - // if (res.code === 200) { - // console.log(res); - // res.data.list.forEach(item => { - // // item.createTime = helper(item.createTime); - // item.status == 1 ? item.status = true : item.status = false; - // }) - // that.tableData = res.data.list; - // this.totalNum = res.data.list.length; - // } - // }) - // } else { - // this.$axios({ - // method: 'get', - // url: 'sccg/role/list?keyword=' + context + '&pageNum=' + currentPage + '&pageSize=' + pageSize, - // }).then(res => { - // if (res.code === 200) { - // res.data.list.forEach(item => { - // item.status == 1 ? item.status = true : item.status = false; - // }) - // that.tableData = res.data.list - // this.totalNum = res.data.list.length; - // } - // }) - // } - // }, + // 璁剧疆琛ㄦ牸鏂戦┈绾� tableRowClassName({ row, rowIndex }) { if ((rowIndex + 1) % 2 == 0) { @@ -318,7 +285,6 @@ header { background-color: #09152f; - border: 1pox solid #fff; .headerContent { padding: 0 40px; @@ -368,7 +334,6 @@ background-color: #09152f; margin-top: 20px; padding-bottom: 50px; - border: 1pox solid #fff; .mainTitle { line-height: 60px; diff --git a/src/views/operate/baseSetting/violation/updateUser/index.vue b/src/views/operate/baseSetting/violation/updateUser/index.vue index 87c85db..54388c3 100644 --- a/src/views/operate/baseSetting/violation/updateUser/index.vue +++ b/src/views/operate/baseSetting/violation/updateUser/index.vue @@ -66,7 +66,6 @@ } }, created() { - console.log(this.userInfo); this.things = JSON.parse(JSON.stringify(this.userInfo)); // 鑾峰彇鎵�灞炵被鍨嬪垪琛� this.getTypeThird(); @@ -74,25 +73,6 @@ this.getTypeFirst(); }, methods: { - // handleUser() { - // this.$refs.user.validate((valid) => { - // if (valid) { - // const { role } = this; - // console.log(role); - // this.$axios.post('/sccg/role/update/' + role.id, { - // id: role.id, - // status: role.status, - // description: role.description, - // name: role.name, - // sort: 0 - // }).then(res => { - // this.$emit('changeDialog', { flag: false }); - // }) - // } else { - // return false; - // } - // }) - // }, // 鏌ヨ鎵�灞炵被鍨� getTypeThird() { this.$axios({ diff --git a/src/views/operate/disposal/casepool/dispatch/index.vue b/src/views/operate/disposal/casepool/dispatch/index.vue index c3dec03..7300527 100644 --- a/src/views/operate/disposal/casepool/dispatch/index.vue +++ b/src/views/operate/disposal/casepool/dispatch/index.vue @@ -262,7 +262,7 @@ this.getUserList(); }) }) - .catch(_ => { console.log(2) }); + .catch(_ => { }); }, // 鑾峰彇鐢ㄦ埛鍒楄〃 getUserList() { diff --git a/src/views/operate/disposal/casepool/dispatch/updateUser/uploadResult/ill/index.vue b/src/views/operate/disposal/casepool/dispatch/updateUser/uploadResult/ill/index.vue index d284d3d..ecd2735 100644 --- a/src/views/operate/disposal/casepool/dispatch/updateUser/uploadResult/ill/index.vue +++ b/src/views/operate/disposal/casepool/dispatch/updateUser/uploadResult/ill/index.vue @@ -108,9 +108,7 @@ } else { evidenceForm.validate((flag) => { if (!flag) { - console.log(bookForm); bookForm.validate((bookFlag) => { - console.log(bookFlag); if (!bookFlag) { return false; } diff --git a/src/views/operate/disposal/casepool/escalation/createUser/ill/index.vue b/src/views/operate/disposal/casepool/escalation/createUser/ill/index.vue index d5d5793..b81e0c5 100644 --- a/src/views/operate/disposal/casepool/escalation/createUser/ill/index.vue +++ b/src/views/operate/disposal/casepool/escalation/createUser/ill/index.vue @@ -338,19 +338,15 @@ methods: { handleUser() { const that = this; - // console.log(this.$refs); this.$refs.user.validate((valid) => { - console.log(valid) if (valid) { that.$refs.condition.validate((flag) => { - console.log(flag); if (flag) { const { ill } = this; ill.buildingLength = parseFloat(ill.buildingLength); ill.buildingHigh = parseFloat(ill.buildingHigh); ill.buildingWidth = parseFloat(ill.buildingWidth); ill.buildingArea = parseFloat(ill.buildingArea); - console.log(ill); that.$axios({ method: 'post', url: 'sccg/base-case/addition_illegal_building', @@ -389,7 +385,6 @@ url: 'sccg/illegal_building/query/type_second' }).then(res => { this.bigKindList = res.data; - // console.log(res); }) }, // 鑾峰彇琛屾斂鍖哄煙 diff --git a/src/views/operate/disposal/casepool/escalation/createUser/index.vue b/src/views/operate/disposal/casepool/escalation/createUser/index.vue index 5fbe248..177f658 100644 --- a/src/views/operate/disposal/casepool/escalation/createUser/index.vue +++ b/src/views/operate/disposal/casepool/escalation/createUser/index.vue @@ -21,7 +21,7 @@ .then(_ => { this.$emit('getPageProp',{flag:false,type:idx}); }) - .catch(_ => { console.log('err') }); + .catch(_ => { }); } }, props:['getPageProp'] diff --git a/src/views/operate/disposal/casepool/escalation/createUser/vio/index.vue b/src/views/operate/disposal/casepool/escalation/createUser/vio/index.vue index bb39826..568e128 100644 --- a/src/views/operate/disposal/casepool/escalation/createUser/vio/index.vue +++ b/src/views/operate/disposal/casepool/escalation/createUser/vio/index.vue @@ -299,7 +299,6 @@ }, created() { const { getBigKind, getEventLevel, getSmallKind } = this; - console.log(this.mytype); this.vio.category = this.mytype + 1; getBigKind(); getSmallKind(); @@ -316,7 +315,6 @@ url: 'sccg/violations/query/type_first' }).then(res => { this.bigKindList = res.data; - // console.log(res); }) }, // 鑾峰彇灏忕被鍒楄〃 @@ -354,7 +352,6 @@ this.$refs.user.validate((valid) => { if (valid) { const { vio } = this; - console.log(vio); this.$axios({ method: 'post', url: 'sccg/base-case/addition_violation', diff --git a/src/views/operate/disposal/casepool/escalation/index.vue b/src/views/operate/disposal/casepool/escalation/index.vue index 0df69ef..36f0d2a 100644 --- a/src/views/operate/disposal/casepool/escalation/index.vue +++ b/src/views/operate/disposal/casepool/escalation/index.vue @@ -279,7 +279,6 @@ }, methods: { setMystatus(value) { - console.log(value); this.statusArr[1] = value; this.changeTypeChecked(value - 1); this.getUserList(); @@ -291,7 +290,6 @@ }, // 鎵归噺鍒犻櫎 mulDelete(idArr) { - console.log(idArr instanceof Array); const { statusArr } = this; this.$confirm("鎮ㄧ‘瀹氳鎵归噺鍒犻櫎妗堜欢鍚�?") .then((_) => { @@ -318,12 +316,10 @@ }); }) .catch((err) => { - console.log(err); }); }, // 鎵ц涓嬫媺妗嗘搷浣� selectChange(list) { - console.log(this.tempList); if (this.tempList.length !== 0) { if (list === 3) { this.preMyIdx = list; @@ -418,11 +414,7 @@ // 鏇存敼涓�绾ф爣绛剧殑閫変腑 changeNavChecked(idx) { this.tagList.forEach((item, index) => { - if (index === idx) { - item.checked = true; - } else { - item.checked = false; - } + item.checked = index === idx; }); this.typeList[0].checked = true; this.typeList[1].checked = false; @@ -433,11 +425,7 @@ // 鏇存敼杩濊/杩濆缓 changeTypeChecked(idx) { this.typeList.forEach((item, index) => { - if (index === idx) { - item.checked = true; - } else { - item.checked = false; - } + item.checked = index === idx; }); this.mystatus = idx + 1; this.statusArr[1] = this.typeList[idx].value; @@ -448,7 +436,6 @@ }, // 鑾峰彇妗堜欢淇℃伅 getEventInfo(code) { - console.log("鑾峰彇鍏蜂綋妗堜欢淇℃伅", code); this.$axios({ method: "get", url: `sccg/base_case/baseCaseDetail/${code}`, @@ -471,7 +458,6 @@ header { background-color: #09152f; - border: 1pox solid #fff; .headerContent { padding: 0 40px; @@ -540,7 +526,6 @@ background-color: #09152f; margin-top: 20px; padding-bottom: 50px; - border: 1pox solid #fff; .mainTitle { line-height: 60px; diff --git a/src/views/operate/disposal/casepool/escalation/updateUser/index.vue b/src/views/operate/disposal/casepool/escalation/updateUser/index.vue index 5b0cf9a..af514e0 100644 --- a/src/views/operate/disposal/casepool/escalation/updateUser/index.vue +++ b/src/views/operate/disposal/casepool/escalation/updateUser/index.vue @@ -66,7 +66,6 @@ } }, created() { - console.log(this.userInfo); this.things = JSON.parse(JSON.stringify(this.userInfo)); // 鑾峰彇鎵�灞炵被鍨嬪垪琛� this.getTypeThird(); @@ -74,26 +73,6 @@ this.getTypeFirst(); }, methods: { - // handleUser() { - // this.$refs.user.validate((valid) => { - // if (valid) { - // const { role } = this; - // console.log(role); - // this.$axios.post('/sccg/role/update/' + role.id, { - // id: role.id, - // status: role.status, - // description: role.description, - // name: role.name, - // sort: 0 - // }).then(res => { - // this.$emit('changeDialog', { dialogUpdate: false }); - // this.getUserList(); - // }) - // } else { - // return false; - // } - // }) - // }, // 鏌ヨ鎵�灞炵被鍨� getTypeThird() { this.$axios({ diff --git a/src/views/operate/disposal/casepool/learn/createUser/index.vue b/src/views/operate/disposal/casepool/learn/createUser/index.vue index b609337..bc793f3 100644 --- a/src/views/operate/disposal/casepool/learn/createUser/index.vue +++ b/src/views/operate/disposal/casepool/learn/createUser/index.vue @@ -66,7 +66,6 @@ } }, created() { - console.log(this.userInfo); this.things = JSON.parse(JSON.stringify(this.userInfo)); // 鑾峰彇鎵�灞炵被鍨嬪垪琛� this.getTypeThird(); @@ -74,26 +73,6 @@ this.getTypeFirst(); }, methods: { - // handleUser() { - // this.$refs.user.validate((valid) => { - // if (valid) { - // const { role } = this; - // console.log(role); - // this.$axios.post('/sccg/role/update/' + role.id, { - // id: role.id, - // status: role.status, - // description: role.description, - // name: role.name, - // sort: 0 - // }).then(res => { - // this.$emit('changeDialog', { dialogUpdate: false }); - // this.getUserList(); - // }) - // } else { - // return false; - // } - // }) - // }, // 鏌ヨ鎵�灞炵被鍨� getTypeThird() { this.$axios({ diff --git a/src/views/operate/disposal/casepool/learn/index.vue b/src/views/operate/disposal/casepool/learn/index.vue index 8156c64..a15e0d3 100644 --- a/src/views/operate/disposal/casepool/learn/index.vue +++ b/src/views/operate/disposal/casepool/learn/index.vue @@ -79,7 +79,7 @@ <!-- 璇︽儏椤靛睍绀� --> <el-dialog :visible.sync="dialogView" width="80%" title="鍩虹淇℃伅(浜哄伐)" v-if="dialogView" :before-close="handleClose"> - <MyDetail :info=info v-if="mystatus==1 ? true:false"></MyDetail> + <MyDetail :info=info v-if="mystatus === 1"></MyDetail> <MyIllDetail :info=info v-else></MyIllDetail> </el-dialog> <!-- 涓婁紶椤甸潰 --> @@ -117,7 +117,6 @@ </div> </template> <script> -// import updateUser from "./updateUser" import uploadVio from './updateUser/uploadResult/vio' import uploadIll from "./updateUser/uploadResult/ill" import MyDetail from '@/components/detail' @@ -125,7 +124,6 @@ import helper from '@/utils/mydate' export default { components: { - // updateUser, uploadVio, uploadIll, MyDetail, MyIllDetail }, data() { @@ -191,14 +189,12 @@ methods: { // 椤堕儴涓嬫媺妗� setMystatus(value) { - console.log(value); this.statusArr[1] = value; this.changeTypeChecked(value - 1); this.getUserList(); }, // 鎵归噺鍒犻櫎 mulDelete(idArr) { - console.log(idArr); this.$axios({ method: 'delete', url: 'sccg/violations/batch_delete?ids=' + idArr, @@ -212,7 +208,6 @@ }, // 鎵ц涓嬫媺妗嗘搷浣� selectChange(list) { - console.log(this.tempList); if (this.tempList.length !== 0) { if (list === 3) { this.preMyIdx = list; @@ -232,11 +227,7 @@ list.forEach(item => { this.tempList.push(item.code); }) - if (list.length === this.tableData.length) { - this.all = true; - } else { - this.all = false - } + this.all = list.length === this.tableData.length; }, // 鍏ㄩ�� selectAll() { @@ -250,10 +241,8 @@ }, // 鍒犻櫎鍗曟潯鏁版嵁 handleDelete({ number }) { - console.log(number); this.$confirm('纭鍒犻櫎锛�') .then(_ => { - console.log(1); this.$axios({ method: 'delete', url: `sccg/violations/delete?id=${number}`, @@ -267,7 +256,7 @@ this.getUserList(); }) }) - .catch(_ => { console.log(2) }); + .catch(_ => { }); }, // 鑾峰彇鐢ㄦ埛鍒楄〃 getUserList() { @@ -283,11 +272,7 @@ // 鏇存敼杩濊/杩濆缓 changeTypeChecked(idx) { this.typeList.forEach((item, index) => { - if (index === idx) { - item.checked = true; - } else { - item.checked = false; - } + item.checked = index === idx; }) this.mystatus = idx + 1; this.statusArr[1] = this.typeList[idx].value; @@ -295,12 +280,11 @@ }, // 璁剧疆琛ㄦ牸鏂戦┈绾� tableRowClassName({ row, rowIndex }) { - if ((rowIndex + 1) % 2 == 0) { + if ((rowIndex + 1) % 2 === 0) { return 'warning-row'; } else { return 'success-row'; } - return ''; }, // 褰撳墠椤垫敼鍙樿Е鍙戜簨浠� changeCurrentPage(page) { @@ -340,14 +324,9 @@ this.dialogView = true; }) }, - // opernDialog(data){ - // this.dialogUpload = true; - // this.caseId = data.id; - // // console.log(data); - // }, + // 閲嶆柊澶勭疆 handleReset({ id }) { - console.log(id); this.$axios({ method: 'put', url: 'sccg/base_case/case_status_update?caseId=' + id + '&state=0' @@ -385,7 +364,6 @@ header { background-color: #09152f; - border: 1pox solid #fff; .headerContent { padding: 0 40px; @@ -440,7 +418,6 @@ background-color: #09152f; margin-top: 20px; padding-bottom: 50px; - border: 1pox solid #fff; .btn span:hover { cursor: pointer; diff --git a/src/views/operate/disposal/casepool/learn/updateUser/uploadResult/components/evidence/index.vue b/src/views/operate/disposal/casepool/learn/updateUser/uploadResult/components/evidence/index.vue index 11e6d42..b53da31 100644 --- a/src/views/operate/disposal/casepool/learn/updateUser/uploadResult/components/evidence/index.vue +++ b/src/views/operate/disposal/casepool/learn/updateUser/uploadResult/components/evidence/index.vue @@ -465,9 +465,7 @@ }, // 妫�楠寀ser checkUser() { - // console.log(this.$refs.userForm.validate); this.$refs.userForm.validate((valid) => { - console.log(valid); if (valid) { this.evidence.userInfo = true; this.userFlag = false; diff --git a/src/views/operate/disposal/casepool/learn/updateUser/uploadResult/ill/index.vue b/src/views/operate/disposal/casepool/learn/updateUser/uploadResult/ill/index.vue index b74dfdb..5ae654b 100644 --- a/src/views/operate/disposal/casepool/learn/updateUser/uploadResult/ill/index.vue +++ b/src/views/operate/disposal/casepool/learn/updateUser/uploadResult/ill/index.vue @@ -28,7 +28,6 @@ }, props:['caseId'], created(){ - console.log(this.caseId); }, methods:{ handleSubmit(){ diff --git a/src/views/operate/disposal/casepool/learn/updateUser/uploadResult/vio/index.vue b/src/views/operate/disposal/casepool/learn/updateUser/uploadResult/vio/index.vue index f106521..c94da14 100644 --- a/src/views/operate/disposal/casepool/learn/updateUser/uploadResult/vio/index.vue +++ b/src/views/operate/disposal/casepool/learn/updateUser/uploadResult/vio/index.vue @@ -25,20 +25,16 @@ }, props: ['caseId', 'closeDialog'], created() { - console.log(this.caseId); }, methods: { handleSubmit() { const { arrive, evidence } = this.$refs; const { arriveForm } = arrive.$refs; const { evidenceForm } = evidence.$refs; - // console.log(evidence.$refs); arriveForm.validate((valid) => { - // console.log(valid); if (valid) { evidenceForm.validate((flag) => { if (flag) { - // arrive.arrive;evidence.user;evidence.evidence; this.$axios({ method: 'post', url: `sccg/dispatch_handle/addition_dispose_result/${this.caseId}/${1}`, @@ -101,11 +97,9 @@ }, // 鑾峰緱arrive鐨勪俊鎭� getArrive(obj) { - console.log(obj); }, // 鑾峰緱evidence瀵硅薄 getEvidence(obj) { - console.log(obj); } } } diff --git a/src/views/operate/disposal/casepool/notDeal/createUser/index.vue b/src/views/operate/disposal/casepool/notDeal/createUser/index.vue index b609337..bc793f3 100644 --- a/src/views/operate/disposal/casepool/notDeal/createUser/index.vue +++ b/src/views/operate/disposal/casepool/notDeal/createUser/index.vue @@ -66,7 +66,6 @@ } }, created() { - console.log(this.userInfo); this.things = JSON.parse(JSON.stringify(this.userInfo)); // 鑾峰彇鎵�灞炵被鍨嬪垪琛� this.getTypeThird(); @@ -74,26 +73,6 @@ this.getTypeFirst(); }, methods: { - // handleUser() { - // this.$refs.user.validate((valid) => { - // if (valid) { - // const { role } = this; - // console.log(role); - // this.$axios.post('/sccg/role/update/' + role.id, { - // id: role.id, - // status: role.status, - // description: role.description, - // name: role.name, - // sort: 0 - // }).then(res => { - // this.$emit('changeDialog', { dialogUpdate: false }); - // this.getUserList(); - // }) - // } else { - // return false; - // } - // }) - // }, // 鏌ヨ鎵�灞炵被鍨� getTypeThird() { this.$axios({ diff --git a/src/views/operate/disposal/casepool/notDeal/index.vue b/src/views/operate/disposal/casepool/notDeal/index.vue index 377b70c..51c8459 100644 --- a/src/views/operate/disposal/casepool/notDeal/index.vue +++ b/src/views/operate/disposal/casepool/notDeal/index.vue @@ -182,14 +182,12 @@ methods: { // 椤堕儴涓嬫媺妗� setMystatus(value) { - console.log(value); this.statusArr[1] = value; this.changeTypeChecked(value - 1); this.getUserList(); }, // 鎵归噺鍒犻櫎 mulDelete(idArr){ - console.log(idArr); this.$axios({ method:'delete', url:'sccg/violations/batch_delete?ids='+idArr, @@ -203,7 +201,6 @@ }, // 鎵ц涓嬫媺妗嗘搷浣� selectChange(list) { - console.log(this.tempList); if (this.tempList.length !== 0) { if (list === 3) { this.preMyIdx = list; @@ -237,10 +234,8 @@ }, // 鍒犻櫎鍗曟潯鏁版嵁 handleDelete({ number }) { - console.log(number); this.$confirm('纭鍒犻櫎锛�') .then(_ => { - console.log(1); this.$axios({ method: 'delete', url: `sccg/violations/delete?id=${number}`, @@ -254,7 +249,7 @@ this.getUserList(); }) }) - .catch(_ => { console.log(2) }); + .catch(_ => { }); }, // 鑾峰彇鐢ㄦ埛鍒楄〃 getUserList() { @@ -315,11 +310,9 @@ opernDialog(data){ this.dialogUpload = true; this.caseId = data.id; - // console.log(data); }, // 閲嶆柊澶勭疆 handleReset({id}){ - console.log(id); this.$axios({ method:'put', url:'sccg/base_case/case_status_update?caseId='+id+'&state=0' diff --git a/src/views/operate/disposal/casepool/notDeal/updateUser/uploadResult/components/evidence/index.vue b/src/views/operate/disposal/casepool/notDeal/updateUser/uploadResult/components/evidence/index.vue index 11e6d42..b53da31 100644 --- a/src/views/operate/disposal/casepool/notDeal/updateUser/uploadResult/components/evidence/index.vue +++ b/src/views/operate/disposal/casepool/notDeal/updateUser/uploadResult/components/evidence/index.vue @@ -465,9 +465,7 @@ }, // 妫�楠寀ser checkUser() { - // console.log(this.$refs.userForm.validate); this.$refs.userForm.validate((valid) => { - console.log(valid); if (valid) { this.evidence.userInfo = true; this.userFlag = false; diff --git a/src/views/operate/disposal/casepool/notDeal/updateUser/uploadResult/ill/index.vue b/src/views/operate/disposal/casepool/notDeal/updateUser/uploadResult/ill/index.vue index b74dfdb..5ae654b 100644 --- a/src/views/operate/disposal/casepool/notDeal/updateUser/uploadResult/ill/index.vue +++ b/src/views/operate/disposal/casepool/notDeal/updateUser/uploadResult/ill/index.vue @@ -28,7 +28,6 @@ }, props:['caseId'], created(){ - console.log(this.caseId); }, methods:{ handleSubmit(){ diff --git a/src/views/operate/disposal/casepool/notDeal/updateUser/uploadResult/vio/index.vue b/src/views/operate/disposal/casepool/notDeal/updateUser/uploadResult/vio/index.vue index f84672e..ac6b854 100644 --- a/src/views/operate/disposal/casepool/notDeal/updateUser/uploadResult/vio/index.vue +++ b/src/views/operate/disposal/casepool/notDeal/updateUser/uploadResult/vio/index.vue @@ -71,11 +71,9 @@ }, // 鑾峰緱arrive鐨勪俊鎭� getArrive(obj) { - console.log(obj); }, // 鑾峰緱evidence瀵硅薄 getEvidence(obj) { - console.log(obj); } } } diff --git a/src/views/operate/disposal/casepool/pool/createUser/ill/index.vue b/src/views/operate/disposal/casepool/pool/createUser/ill/index.vue index 2dfa4c7..10a2eff 100644 --- a/src/views/operate/disposal/casepool/pool/createUser/ill/index.vue +++ b/src/views/operate/disposal/casepool/pool/createUser/ill/index.vue @@ -459,15 +459,12 @@ }, // 琛楅亾鏇存敼 handleStreet(id) { - console.log(id); this.ill.communityId = ''; - // this.communityList = getcommunityList(1,'11') this.$axios({ method: 'get', url: `sccg/sccg_region/getChildren/${id}` }) .then(res => { - console.log(res.data) this.communityList = res.data; }) }, diff --git a/src/views/operate/disposal/casepool/pool/createUser/vio/index.vue b/src/views/operate/disposal/casepool/pool/createUser/vio/index.vue index 982f8cb..76f4ea6 100644 --- a/src/views/operate/disposal/casepool/pool/createUser/vio/index.vue +++ b/src/views/operate/disposal/casepool/pool/createUser/vio/index.vue @@ -417,7 +417,6 @@ return item; } }) - console.log(this.anYouList); }, // 鏌ヨ澶х被鍒楄〃 async getBigKind() { @@ -513,9 +512,7 @@ }, // 琛楅亾鏇存敼 handleStreet(id) { - console.log(id); this.vio.communityId = ''; - // this.communityList = getTypeList(1,'11') this.$axios({ method: 'get', url: `sccg/sccg_region/getChildren/${id}` diff --git a/src/views/operate/lawEnforcement/components/dataView/index.vue b/src/views/operate/lawEnforcement/components/dataView/index.vue index 75fc658..a672a44 100644 --- a/src/views/operate/lawEnforcement/components/dataView/index.vue +++ b/src/views/operate/lawEnforcement/components/dataView/index.vue @@ -15,7 +15,6 @@ default:{}, }, created(){ - console.log(this.viewData); } } </script> diff --git a/src/views/operate/lawEnforcement/index.vue b/src/views/operate/lawEnforcement/index.vue index 0ad9323..c4d86f2 100644 --- a/src/views/operate/lawEnforcement/index.vue +++ b/src/views/operate/lawEnforcement/index.vue @@ -153,7 +153,6 @@ }, methods: { search() { - console.log('search'); }, reset() { diff --git a/src/views/operate/management/myIndex/components/closure/index.vue b/src/views/operate/management/myIndex/components/closure/index.vue index d04c32d..d66a448 100644 --- a/src/views/operate/management/myIndex/components/closure/index.vue +++ b/src/views/operate/management/myIndex/components/closure/index.vue @@ -301,7 +301,6 @@ } }) .catch((err) => { - console.log(err); }); } else { return false; diff --git a/src/views/operate/management/myIndex/components/examine/index.vue b/src/views/operate/management/myIndex/components/examine/index.vue index 329b471..fdeae01 100644 --- a/src/views/operate/management/myIndex/components/examine/index.vue +++ b/src/views/operate/management/myIndex/components/examine/index.vue @@ -174,7 +174,7 @@ } }) - .catch(err => { console.log(err) }); + .catch(err => { }); }else{ return false; } diff --git a/src/views/operate/management/myIndex/components/illExamine/index.vue b/src/views/operate/management/myIndex/components/illExamine/index.vue index 4720bd3..3c5bebe 100644 --- a/src/views/operate/management/myIndex/components/illExamine/index.vue +++ b/src/views/operate/management/myIndex/components/illExamine/index.vue @@ -172,7 +172,7 @@ } }) - .catch(err => { console.log(err) }); + .catch(err => { }); }else{ return false; } diff --git a/src/views/operate/management/myIndex/components/illclosure/index.vue b/src/views/operate/management/myIndex/components/illclosure/index.vue index f329e49..a00e63a 100644 --- a/src/views/operate/management/myIndex/components/illclosure/index.vue +++ b/src/views/operate/management/myIndex/components/illclosure/index.vue @@ -305,7 +305,7 @@ } }) .catch((err) => { - console.log(err); + }); } else { return false; diff --git a/src/views/operate/management/myIndex/index.vue b/src/views/operate/management/myIndex/index.vue index 0a9c456..a2c15c5 100644 --- a/src/views/operate/management/myIndex/index.vue +++ b/src/views/operate/management/myIndex/index.vue @@ -231,7 +231,6 @@ }, // 鍒犻櫎鍗曟潯鏁版嵁 handleDelete({ number }) { - console.log(number); this.$confirm('纭鍒犻櫎锛�') .then(_ => { this.$axios({ @@ -247,7 +246,7 @@ this.getUserList(); }) }) - .catch(_ => { console.log(2) }); + .catch(_ => { }); }, // 鑾峰彇鐢ㄦ埛鍒楄〃 getUserList() { @@ -391,7 +390,6 @@ background-color: #09152f; margin-top: 20px; padding-bottom: 50px; - border: 1pox solid #fff; .btn span:hover{ cursor: pointer; } diff --git a/src/views/operate/message/mycontrol/createUser/index.vue b/src/views/operate/message/mycontrol/createUser/index.vue index 061e046..34c8851 100644 --- a/src/views/operate/message/mycontrol/createUser/index.vue +++ b/src/views/operate/message/mycontrol/createUser/index.vue @@ -40,10 +40,6 @@ if (value) { callback(); } else { - // const rep = /^[\u4E00-\u9FA5]{2,4}$/; - // if (!rep.test(value)) { - // callback("璇疯緭鍏ユ纭殑鐢ㄦ埛濮撳悕"); - // } callback(); } }; @@ -103,21 +99,6 @@ handleCancel(){ this.$emit('closeDialog',{flag:false,index:0}); } - // 鑾峰彇鍒涘缓鐢ㄦ埛淇℃伅 - // async getCreaterInfo(){ - // let id; - // const name = sessionStorage.getItem('name'); - // await this.$axios({ - // method:'get', - // url:'sccg/admin/info?name='+'name' - // }) - // .then(res=>{ - // console.log(res); - // if(res.code ===200){ - - // } - // }) - // } }, props: ['closeDialog'] } diff --git a/src/views/operate/myWait/updateUser/index.vue b/src/views/operate/myWait/updateUser/index.vue index cd456e9..af514e0 100644 --- a/src/views/operate/myWait/updateUser/index.vue +++ b/src/views/operate/myWait/updateUser/index.vue @@ -73,26 +73,6 @@ this.getTypeFirst(); }, methods: { - // handleUser() { - // this.$refs.user.validate((valid) => { - // if (valid) { - // const { role } = this; - // console.log(role); - // this.$axios.post('/sccg/role/update/' + role.id, { - // id: role.id, - // status: role.status, - // description: role.description, - // name: role.name, - // sort: 0 - // }).then(res => { - // this.$emit('changeDialog', { dialogUpdate: false }); - // this.getUserList(); - // }) - // } else { - // return false; - // } - // }) - // }, // 鏌ヨ鎵�灞炵被鍨� getTypeThird() { this.$axios({ diff --git a/src/views/operate/rectification/renovationList/index.vue b/src/views/operate/rectification/renovationList/index.vue index 8fdf4bb..2085b17 100644 --- a/src/views/operate/rectification/renovationList/index.vue +++ b/src/views/operate/rectification/renovationList/index.vue @@ -225,27 +225,10 @@ // 鍒犻櫎绗笁鏂规帴鍙� handleDelete({ id }) { this.dialogUpdate=true; - console.log(id); } - // // 褰撳墠椤垫敼鍙樿Е鍙戜簨浠� - // changeCurrentPage(page) { - // this.currentPage = page; - // this.getUserList(); - // }, - // // 涓婁竴椤电偣鍑讳簨浠� - // handlePrev(page) { - // this.currentPage = page; - // this.getUserList(); - // }, - // // 涓嬩竴椤电偣鍑讳簨浠� - // handleNext(page) { - // this.currentPage = page; - // this.getUserList(); - // }, } } </script> -<!-- sccg/system/portal/thirdApp/search --> <style lang="scss" scoped> .otherInterface { header { diff --git a/src/views/operate/rectification/surveyList/components/createInterface/index.vue b/src/views/operate/rectification/surveyList/components/createInterface/index.vue index 57dd333..e7ea873 100644 --- a/src/views/operate/rectification/surveyList/components/createInterface/index.vue +++ b/src/views/operate/rectification/surveyList/components/createInterface/index.vue @@ -165,34 +165,18 @@ methods: { // 鍏抽棴寮圭獥 handleCancel() { - console.log(1); this.$emit("closeDialog", { flag: false, index: 0 }); }, //淇濆瓨 handleSave() { const { myInterface } = this; this.$refs.survey.validate((flag)=>{ - console.log(flag) if(flag){ }else{ return false } }) - // this.$axios - // .post("sccg/system/portal/thirdApp/add", { - // websiteUrl: myInterface.websiteUrl, - // applicationIconUrl: myInterface.applicationIconUrl, - // applicationType: 0, - // description: myInterface.description, - // applicationName: myInterface.applicationName, - // }) - // .then((res) => { - // console.log(res); - // // if (res.code === 200) { - // // this.refresh(); - // // } - // }); }, }, props: ['refresh','closeDialog'], diff --git a/src/views/operate/rectification/surveyList/index.vue b/src/views/operate/rectification/surveyList/index.vue index 3ec0dfc..0a967d2 100644 --- a/src/views/operate/rectification/surveyList/index.vue +++ b/src/views/operate/rectification/surveyList/index.vue @@ -214,19 +214,16 @@ .catch((_) => {}); }, closeDialog({ flag, index }) { - console.log(flag); index === 1 ? "" : ""; this.dialogCreate = flag; }, // 鍒涘缓鏌ョ湅寮圭獥 handleView(rowData) { - console.log(rowData); this.userInfo = rowData; this.dialogUpdate = true; }, // 鍒犻櫎绗笁鏂规帴鍙� handleDelete({ id }) { - console.log(id); this.$axios .delete("sccg/system/portal/thirdApp/delete", { params: { diff --git a/src/views/operate/viewEvent/components/closure/index.vue b/src/views/operate/viewEvent/components/closure/index.vue index a43287f..aeb2684 100644 --- a/src/views/operate/viewEvent/components/closure/index.vue +++ b/src/views/operate/viewEvent/components/closure/index.vue @@ -220,7 +220,7 @@ } }) - .catch(err => { console.log(err) }); + .catch(err => { }); } else { return false; } diff --git a/src/views/operate/viewEvent/components/examine/index.vue b/src/views/operate/viewEvent/components/examine/index.vue index 3ca352b..0eb5df1 100644 --- a/src/views/operate/viewEvent/components/examine/index.vue +++ b/src/views/operate/viewEvent/components/examine/index.vue @@ -181,7 +181,7 @@ } }) - .catch(err => { console.log(err) }); + .catch(err => { }); }else{ return false; } diff --git a/src/views/operate/viewEvent/components/illExamine/index.vue b/src/views/operate/viewEvent/components/illExamine/index.vue index 9f88b7a..a473092 100644 --- a/src/views/operate/viewEvent/components/illExamine/index.vue +++ b/src/views/operate/viewEvent/components/illExamine/index.vue @@ -181,7 +181,7 @@ } }) - .catch(err => { console.log(err) }); + .catch(err => { }); }else{ return false; } diff --git a/src/views/operate/viewEvent/components/illclosure/index.vue b/src/views/operate/viewEvent/components/illclosure/index.vue index 7e3913a..8c9f954 100644 --- a/src/views/operate/viewEvent/components/illclosure/index.vue +++ b/src/views/operate/viewEvent/components/illclosure/index.vue @@ -208,7 +208,7 @@ } }) - .catch(err => { console.log(err) }); + .catch(err => { }); } else { return false; } diff --git a/src/views/systemSetting/device/grid/components/header/index.vue b/src/views/systemSetting/device/grid/components/header/index.vue index f92bea3..7bdc495 100644 --- a/src/views/systemSetting/device/grid/components/header/index.vue +++ b/src/views/systemSetting/device/grid/components/header/index.vue @@ -36,7 +36,6 @@ this.$emit('getSearch', { text: this.search }) }, sendDialog(flag) { - console.log(flag); this.dialogCreate = flag.flag; this.$emit('setDialog', { flag: true }) }, @@ -55,7 +54,6 @@ <style lang="scss" scoped> header { background-color: #09152f; - border: 1pox solid #fff; .headerContent { padding: 0 40px; diff --git a/src/views/systemSetting/device/grid/components/main/index.vue b/src/views/systemSetting/device/grid/components/main/index.vue index aae572d..9317de6 100644 --- a/src/views/systemSetting/device/grid/components/main/index.vue +++ b/src/views/systemSetting/device/grid/components/main/index.vue @@ -130,7 +130,6 @@ }, methods: { async selectChange(list) { - console.log(this.tempList); if (this.tempList.length !== 0) { this.preMyIdx = list; if (list === 3) { @@ -154,15 +153,10 @@ list.forEach(item => { this.tempList.push(item.id); }) - if (list.length === this.tableData.length) { - this.all = true; - } else { - this.all = false - } + this.all = list.length === this.tableData.length; }, // 鎵归噺鍒犻櫎鐢ㄦ埛淇℃伅 mulDelte(idArr) { - console.log(idArr); this.$confirm("鎮ㄧ‘瀹氳杩涜鎵归噺鍒犻櫎鐢ㄦ埛鍚�?") .then(_ => { this.$axios({ @@ -184,11 +178,10 @@ } }) }) - .catch(err => { console.log(err) }) + .catch(err => { }) }, // 鎵归噺淇敼璐﹀彿 mulUpdateStatus(idArr, flag) { - console.log(flag); this.$confirm(flag === 1 ? "鎮ㄧ‘瀹氳杩涜鎵归噺鍚敤鐢ㄦ埛鍚�?" : '鎮ㄧ‘瀹氳杩涜鎵归噺绂佺敤鐢ㄦ埛鍚�?') .then(_ => { this.$axios({ @@ -210,7 +203,7 @@ } }) }) - .catch(err => { console.log(err) }) + .catch(err => { }) }, changeTime({ createTime }) { return helper(createTime); @@ -275,7 +268,7 @@ this.dialogUpdate = true; this.updateFlag = true; for (let key in this.flag) { - if (key == mykey) { + if (key === mykey) { this.flag[key] = true; } else { this.flag[key] = false; @@ -286,7 +279,7 @@ // 淇敼鐢ㄦ埛鐘舵�� handleChangeStatus(obj) { let { id, status } = obj; - status == true ? status = 1 : status = 0; + status === true ? status = 1 : status = 0; this.$axios.post(`sccg/admin/updateStatus/` + id + '?status=' + status).then(res => { }) }, @@ -298,7 +291,7 @@ this.$axios.get(`sccg/admin/list?keyword=${search}¤t=${currentPage}&pageSize=${pageSize}`).then(res => { if (res.code === 200) { res.data.records.forEach(item => { - item.status == 1 ? item.status = true : item.status = false; + item.status === 1 ? item.status = true : item.status = false; }) that.totalNum = res.data.total; that.tableData = res.data.records; @@ -313,12 +306,11 @@ }, // 璁剧疆琛ㄦ牸鏂戦┈绾� tableRowClassName({ row, rowIndex }) { - if ((rowIndex + 1) % 2 == 0) { + if ((rowIndex + 1) % 2 === 0) { return 'warning-row'; } else { return 'success-row'; } - return ''; }, // 澶勭悊鐢ㄦ埛鎵�灞炶鑹� filterRole(arr){ @@ -342,9 +334,9 @@ watch: { refresh: { handler(newValue, oldValue) { - if (newValue == true) { + if (newValue) { this.search = ''; - if (this.keyword != '') { + if (this.keyword !== '') { this.search = this.keyword; } this.currentPage = 1; diff --git a/src/views/systemSetting/device/grid/index.vue b/src/views/systemSetting/device/grid/index.vue index b63edc5..156d55f 100644 --- a/src/views/systemSetting/device/grid/index.vue +++ b/src/views/systemSetting/device/grid/index.vue @@ -28,13 +28,11 @@ }, // 鑾峰彇鍒锋柊缁撴灉 changeDialog({ flag }) { - console.log(flag); this.isFresh = flag; }, // 閲嶇疆isFresh resetFresh({ flag }) { this.isFresh = flag; - console.log(this.isFresh); }, } } diff --git a/src/views/systemSetting/platform/mySetting/index.vue b/src/views/systemSetting/platform/mySetting/index.vue index 51fec48..93ceaed 100644 --- a/src/views/systemSetting/platform/mySetting/index.vue +++ b/src/views/systemSetting/platform/mySetting/index.vue @@ -75,7 +75,6 @@ }, // 淇敼鐘舵�� handleChangeStatus(data) { - console.log(data); let { isStart, relationId } = data; isStart ? isStart = 1 : isStart = 0; this.$axios({ @@ -122,10 +121,6 @@ }, // 鎷栨嫿 handleDrop(before, after, inner, event) { - console.log(before) - console.log(after) - console.log(inner) - console.log(event); }, // 鑾峰彇鏄惁鍙互鏀剧疆 allowDrop(before, inner, next) { -- Gitblit v1.8.0