1
@@ -484,7 +484,15 @@ export const catType = {
MUSIC:'乐团群',
CLASS:'班级群',
REPERTOIRE_PLAY:'曲目演奏课',
- TRAINING:'训练营'
+ TRAINING:'训练营',
+ VIP:'VIP课群'
+}
+export const catDotType = {
+ MUSIC:'乐团',
+ CLASS:'班级',
+ REPERTOIRE_PLAY:'演奏',
+ TRAINING:'训练',
+ VIP:'VIP'
}
@@ -853,6 +853,10 @@ Vue.filter("catType", value => {
return constant.catType[value];
});
+Vue.filter("catDotType", value => {
+ return constant.catDotType[value];
+});
+
Vue.filter("usageStatus", value => {
let obj = {
0: "未使用",
@@ -36,7 +36,7 @@
@change="resectCheck(item.id)"
><br
/></el-checkbox>
- <div class="dotle">{{ item.type == "MUSIC" ? "乐团" : "VIP" }}</div>
+ <div class="dotle">{{ item.type | catDotType }}</div>
<div class="teamInfo">
<p class="title">{{ item.name }}</p>
<p class="subInfo">{{ item.memo }}(共{{ item.memberNum }}人)</p>