Ver código fonte

跨店会员,pk待选限制

Changpeng Duan 5 anos atrás
pai
commit
2ba2541c43
2 arquivos alterados com 14 adições e 3 exclusões
  1. 11 0
      pc/src/views/Member.vue
  2. 3 3
      pc/src/views/courseEdit.vue

+ 11 - 0
pc/src/views/Member.vue

@@ -163,6 +163,17 @@
                               v-for="lesson in scope.row.ClassInfo">{{ lesson.ClassName }}</span>
                     </template>
                 </el-table-column>
+                <el-table-column
+                        prop="UserInfo.IsAcross"
+                        label="跨店会员"
+                        width="105"
+                        sortable
+                >
+                    <template slot-scope="scope">
+                        <span v-if="scope.row.UserInfo.IsAcross == 0"  class="green">本店用户</span>
+                        <span v-else  class="red">跨店用户</span>
+                    </template>
+                </el-table-column>
                 <el-table-column
                         prop="TakeId"
                         label="Take绑定"

+ 3 - 3
pc/src/views/courseEdit.vue

@@ -364,7 +364,6 @@
             // this.getSelectHrSensors();
             this.ClassType = this.$route.query.ClassType;
             this.PkNum = this.$route.query.PkNum;
-
             this.FinishClass = this.$route.query.FinishClass;
             this.title = this.$route.query.ClassName + ' ' + this.$route.query.BeginStr + '-' + this.$route.query.EndStr;
         },
@@ -976,13 +975,14 @@
             },
             PkNum(to) {
                 let that = this;
+                console.log(to);
                 if (to == 2) {
-                    that.groupList = [
+                    that.panel.groupList = [
                         {label: '红队', value: 1},
                         {label: '蓝队', value: 2},
                     ]
                 } else {
-                    that.groupList = [
+                    that.panel.groupList = [
                         {label: '红队', value: 1},
                         {label: '蓝队', value: 2},
                         {label: '黄队', value: 3}