|
@@ -51,7 +51,9 @@ const musicPackageMixin = {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
-import { goodsList } from '@/api/service/musicPackage'
|
|
|
+import {
|
|
|
+ goodsList
|
|
|
+} from '@/api/service/musicPackage'
|
|
|
const goodsMixin = {
|
|
|
data() {
|
|
|
return {
|
|
@@ -149,6 +151,11 @@ const indexMixin = {
|
|
|
devFormatter(row) {
|
|
|
return row.deviceIds ? row.deviceIds.split(',').map(i => this.selectDictLabel(this.devOptions, i)).join(',') : ''
|
|
|
},
|
|
|
+
|
|
|
+ // 字典翻译
|
|
|
+ sortFormatter(row) {
|
|
|
+ return row.businessType === 5 ? row.sort : '/'
|
|
|
+ }
|
|
|
},
|
|
|
}
|
|
|
|
|
@@ -191,7 +198,7 @@ const detailMixin = {
|
|
|
}]
|
|
|
},
|
|
|
// 服务类型
|
|
|
- businessOptions:[{
|
|
|
+ businessOptions: [{
|
|
|
value: 0,
|
|
|
label: '签到'
|
|
|
}, {
|