xiaodai2022 il y a 2 ans
Parent
commit
c5a1316263

+ 4 - 1
src/components/globalComponents/search-work-company/main.vue

@@ -34,6 +34,7 @@ export default {
     "disabled",
     "type",
     "names",
+    "is_show",
   ],
   /**
    * 属性集合
@@ -77,7 +78,9 @@ export default {
     },
     async remoteMethod() {
       this.selectLoading = true;
-      const { code, data, message } = await asyncRequest.list({});
+      const { code, data, message } = await asyncRequest.list({
+        is_show:this.is_show?this.is_show:'1'
+      });
       if (code === 0) {
         const { list } = data;
         this.options = list || [];

+ 6 - 1
src/views/interest/account/addEdit.vue

@@ -32,7 +32,11 @@
                   label="账号"
                   prop="username"
                 >
-                  <el-input v-model="ruleForm.username" maxlength="100" :disabled="isDetail" />
+                  <el-input
+                    v-model="ruleForm.username"
+                    maxlength="100"
+                    :disabled="isDetail"
+                  />
                 </el-form-item>
               </el-col>
               <el-col :span="12">
@@ -438,6 +442,7 @@ export default {
       const { code, data, message } = await asyncRequest.getTerraceList({
         size: 10000,
         page: 1,
+        is_show: "0",
       });
       if (code === 0) {
         const { list, count } = data;