Pārlūkot izejas kodu

Merge branch 'V0.0.2' of http://10.87.10.227:4000/jzyd_yyds/soc_web into V0.0.2

luojun 2 gadi atpakaļ
vecāks
revīzija
e3ae0cec4c

+ 8 - 2
src/components/K-FileUpload/index.vue

@@ -274,8 +274,14 @@ export default {
         var name = file.name;
         var name = file.name;
         let index = this.fileValueList.findIndex(x=>x.name==file.name);
         let index = this.fileValueList.findIndex(x=>x.name==file.name);
         this.fileValueList[index]
         this.fileValueList[index]
-        console.log("process.env.VUE_APP_BASE_API",process.env.VUE_APP_BASE_API,process)
-        var url = process.env.VUE_APP_BASE_API + this.fileValueList[index].url;
+        var url = this.fileValueList[index].url;
+        if(process.env.VUE_APP_BASE_API!=='/')
+        {
+          url=process.env.VUE_APP_BASE_API+this.fileValueList[index].url;
+        }
+        // console.log("process.env.VUE_APP_BASE_API",process.env.VUE_APP_BASE_API,process)
+        
+        // console.log("process.env.VUE_APP_BASE_API url",url)
         const a = document.createElement("a");
         const a = document.createElement("a");
         a.setAttribute("download", name);
         a.setAttribute("download", name);
         a.setAttribute("target", "_blank");
         a.setAttribute("target", "_blank");

+ 4 - 3
src/views/system/bind/index.vue

@@ -207,7 +207,8 @@ export default {
         orgName: null,
         orgName: null,
         orgPath: null,
         orgPath: null,
         collectionAreaName: null,
         collectionAreaName: null,
-        checkId: null
+        checkId: null,
+        checkSub:true
       },
       },
       // 表单参数
       // 表单参数
       form: {},
       form: {},
@@ -241,8 +242,8 @@ export default {
     };
     };
   },
   },
   created() {
   created() {
-    this.getList();
     this.getDeptTree();
     this.getDeptTree();
+    // this.getList();
   },
   },
   watch: {
   watch: {
     // 根据名称筛选部门树
     // 根据名称筛选部门树
@@ -295,9 +296,9 @@ closeOptions(){
     getDeptTree() {
     getDeptTree() {
       deptTreeSelect().then(response => {
       deptTreeSelect().then(response => {
         this.deptOptions = response.data;
         this.deptOptions = response.data;
-        console.log(this.deptOptions, ' this.deptOptions')
         this.defaultKeys.push(response.data[0].id);
         this.defaultKeys.push(response.data[0].id);
         this.queryParams.orgId = response.data[0].id;
         this.queryParams.orgId = response.data[0].id;
+        console.log( this.queryParams.orgId+"%%%%%%%%%%%%%%%")
         this.handleQuery();
         this.handleQuery();
       });
       });
     },
     },

+ 2 - 1
src/views/system/check/index.vue

@@ -168,6 +168,7 @@ export default {
         areaId: null,
         areaId: null,
         orgId: null,
         orgId: null,
         updateId: null,
         updateId: null,
+        checkSub:true
       },
       },
       // 表单参数
       // 表单参数
       form: {},
       form: {},
@@ -198,11 +199,11 @@ export default {
     };
     };
   },
   },
   created() {
   created() {
-    this.getList();
     this.getDeptTree();
     this.getDeptTree();
     listArea().then(response => {
     listArea().then(response => {
       this.areaList = response.rows;
       this.areaList = response.rows;
     })
     })
+  
   },
   },
   watch: {
   watch: {
     // 根据名称筛选部门树
     // 根据名称筛选部门树

+ 3 - 2
src/views/system/device/index.vue

@@ -269,7 +269,8 @@ export default {
         checkTime: null,
         checkTime: null,
         maintenanceTerm: null,
         maintenanceTerm: null,
         hostId: null,
         hostId: null,
-        channel: null
+        channel: null,
+        checkSub:true
       },
       },
       // 表单参数
       // 表单参数
       form: {
       form: {
@@ -360,7 +361,7 @@ export default {
         this.defaultKeys.push(response.data[0].id);
         this.defaultKeys.push(response.data[0].id);
         this.queryParams.orgId = response.data[0].id;
         this.queryParams.orgId = response.data[0].id;
         this.selectOrgId = response.data[0].id;
         this.selectOrgId = response.data[0].id;
-        console.log(this.form, '5555555')
+    
         this.handleQuery();
         this.handleQuery();
       });
       });
     },
     },

+ 1 - 1
src/views/system/role/authUser.vue

@@ -32,7 +32,7 @@
 
 
     <el-table v-loading="loading" :data="userList" @selection-change="handleSelectionChange">
     <el-table v-loading="loading" :data="userList" @selection-change="handleSelectionChange">
       <el-table-column type="selection" width="55" align="center" />
       <el-table-column type="selection" width="55" align="center" />
-      <el-table-column label="用户名称1" prop="username" :show-overflow-tooltip="true" />
+      <el-table-column label="用户名称" prop="username" :show-overflow-tooltip="true" />
       <el-table-column label="用户昵称" prop="name" :show-overflow-tooltip="true" />
       <el-table-column label="用户昵称" prop="name" :show-overflow-tooltip="true" />
 
 
       <el-table-column label="手机" prop="phone" :show-overflow-tooltip="true" />
       <el-table-column label="手机" prop="phone" :show-overflow-tooltip="true" />