朱鑫波 il y a 4 ans
Parent
commit
7bf4cff62a

+ 10 - 10
src/views/modules/autoLaunch/application/application.vue

@@ -44,9 +44,9 @@
                             <a-button type="primary" icon="search" @click="handleQueryList">查询</a-button>
                             <a-button type="primary" @click="handleResetForm" icon="reload" class="middle-button">重置</a-button>
                             <a-button type="primary" @click="addNewApp(null)">添加应用</a-button>
-                             <a-button type="primary" @click="handleUpdatePerson"  class="middle-button" v-if="realShow" :loading="realLoading">
+                             <!-- <a-button type="primary" @click="handleUpdatePerson"  class="middle-button" v-if="realShow" :loading="realLoading">
                                 更新应用
-                            </a-button>
+                            </a-button> -->
                         </span>
                         
                     </a-col>
@@ -654,14 +654,14 @@ export default {
         this.form = this.$form.createForm(this);
     },
     mounted() {
-        this.realShow = this.userInfo().realname === '管理员' ? true : false
-        if(!this.realShow) {
-            getAction('/kuaishou/batch/syncUserAppList',{ userId:this.userInfo().id, type:0}).then(res => {
-                if(res.success) {
-                    // this.$message.success('更新成功');
-                }
-            })
-        }
+        // this.realShow = this.userInfo().realname === '管理员' ? true : false
+        // if(!this.realShow) {
+        //     getAction('/kuaishou/batch/syncUserAppList',{ userId:this.userInfo().id, type:0}).then(res => {
+        //         if(res.success) {
+        //             // this.$message.success('更新成功');
+        //         }
+        //     })
+        // }
         this.handleGetTableList({});
     },
     methods: {

+ 9 - 9
src/views/modules/crowd-control/crowd-control.vue

@@ -28,9 +28,9 @@
                              <a-button type="primary" @click="handleUploadPerson" class="middle-button">
                                 上传人群包
                             </a-button>
-                             <a-button type="primary" @click="handleUpdatePerson" v-if="realShow" :loading="realLoading">
+                             <!-- <a-button type="primary" @click="handleUpdatePerson" v-if="realShow" :loading="realLoading">
                                 更新人群
-                            </a-button>
+                            </a-button> -->
                            
                         </span>
                         
@@ -412,14 +412,14 @@ export default {
         this.form = this.$form.createForm(this);
     },
     mounted() {
-        this.realShow = this.userInfo().realname === '管理员' ? true : false
-        if(!this.realShow) {
-            getAction('/kuaishou/batch/syncUserPopulationList',{ userId:this.userInfo().id, type:1}).then(res => {
-                if(res.success) {
+        // this.realShow = this.userInfo().realname === '管理员' ? true : false
+        // if(!this.realShow) {
+        //     getAction('/kuaishou/batch/syncUserPopulationList',{ userId:this.userInfo().id, type:1}).then(res => {
+        //         if(res.success) {
 
-                }
-            })
-        }
+        //         }
+        //     })
+        // }
         this.handleGetTableList({});
     },
     methods: {