Parcourir la source

修改显示问题

lex-xin il y a 5 ans
Parent
commit
0f3206b24e

Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
dist/index.html


Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
dist/static/css/chunk-1304cb76.8bcc4969.css


Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
dist/static/js/app.9fdb2259.js


Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
dist/static/js/chunk-1304cb76.1e209f6f.js


Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
dist/static/js/chunk-78ee17f6.be490f48.js


+ 9 - 3
src/views/categroyManager/vipNewActive.vue

@@ -22,6 +22,7 @@
                      multiple
                      filterable
                      @visible-change="$forceUpdate()"
+                     @change="onOrganChange"
                      clearable>
             <el-option v-for="(item,index) in organList"
                        :key="index"
@@ -36,7 +37,7 @@
                      @visible-change="$forceUpdate()"
                      clearable
                      multiple>
-            <el-option v-for="(item,index) in courseStatusList"
+            <el-option v-for="item in courseStatusList"
                        :key="item.id"
                        :value="item.id"
                        :label="item.name"></el-option>
@@ -399,12 +400,17 @@ export default {
       // 线上线下课 勾选就传不勾选就不传
       // addVipActive().then(res => { })
     },
+    onOrganChange() {
+      this.$forceUpdate()
+    },
     onCheckAllBranch () {
       // 选择所有分部
-      this.vipform.organ = [];
+      let vipform = this.vipform
+      vipform.organ = [];
       this.organList.forEach(item => {
-        this.vipform.organ.push(item.id);
+        vipform.organ.push(item.id);
       });
+      this.$forceUpdate()
     },
     onCancel () {
       this.$router.push({

Certains fichiers n'ont pas été affichés car il y a eu trop de fichiers modifiés dans ce diff