From 2fb857721d32d3fce01f3487a623f5a9be2a3ac9 Mon Sep 17 00:00:00 2001 From: 李喆(开发组) <lzhe@yxqiche.com> Date: 星期四, 17 七月 2025 18:29:41 +0800 Subject: [PATCH] 1 --- src/views/wel/index.vue | 23 +++++++++-------------- src/views/basesetting/machine.vue | 11 ++++++----- 2 files changed, 15 insertions(+), 19 deletions(-) diff --git a/src/views/basesetting/machine.vue b/src/views/basesetting/machine.vue index 92775f3..0f5d542 100644 --- a/src/views/basesetting/machine.vue +++ b/src/views/basesetting/machine.vue @@ -413,11 +413,12 @@ // 宸ユ帶缃戞槸/blade-mdm/system/dept/lazy-list // 娑夊瘑缃戞槸/blade-mdm/dept/lazy-list axios({url: '/blade-mdm/system/param/getValue?paramKey=networkType',method: 'get'}).then(res => { - if(res.data.data === "0") { - var aurl = "/blade-mdm/dept/lazy-list"; - }else { - var aurl = "/blade-mdm/system/dept/lazy-list"; - } + // if(res.data.data === "0") { + // var aurl = "/blade-mdm/dept/lazy-list"; + // }else { + // var aurl = "/blade-mdm/system/dept/lazy-list"; + // } + var aurl = "/blade-mdm/dept/lazy-list"; axios({url: aurl,method: 'get'}).then(resp => { this.organizationTreeList = this.traversalLabelValueToTree(resp.data.data); }) diff --git a/src/views/wel/index.vue b/src/views/wel/index.vue index 060e8d0..e1b132b 100644 --- a/src/views/wel/index.vue +++ b/src/views/wel/index.vue @@ -64,7 +64,7 @@ upgradeModal: false, file: null, fileContent: "", - isSM: false, //鏄惁鏄秹瀵嗙綉 锛屽伐鎺х綉5涓紝娑夊瘑缃�4涓� + isSM: true, //鏄惁鏄秹瀵嗙綉 锛屽伐鎺х綉5涓紝娑夊瘑缃�4涓� isShowTabs: true, nodeTypeList: [], fileList: [], @@ -175,8 +175,7 @@ label: 'dictValue', value: 'dictKey', }, - disabled: true, - display: false + disabled: true }, { label: '璁惧锛堟満搴婏級', @@ -607,11 +606,6 @@ this.selectedColumn.id = ""; this.modalForm = this.selectedColumn; } - if(this.modalForm.nodeType == 20) { - this.modalOption.column[0].display = true; - }else { - this.modalOption.column[0].display = false; - } this.modalBox = true; }, modalSubmit(row,done) { //鏂板瀛愯妭鐐逛繚瀛�/淇敼 @@ -683,6 +677,7 @@ params: obj, }).then( res => { + console.log(res.data,111) this.loading = false; resolve(res.data.data); } @@ -729,12 +724,12 @@ } ); //鍒ゆ柇鐗堟湰 0:娑夊瘑缃戯紝1:宸ユ帶缃戯紱//宸ユ帶缃�5涓紝娑夊瘑缃�4涓� - axios({url: '/blade-mdm/system/param/getValue?paramKey=networkType',method: 'get'}).then(res => { - if(res.data.data === "0") { - this.isSM = true; - } - } - ); + // axios({url: '/blade-mdm/system/param/getValue?paramKey=networkType',method: 'get'}).then(res => { + // if(res.data.data === "0") { + // this.isSM = true; + // } + // } + // ); } }; </script> -- Gitblit v1.9.3