|
|
@@ -166,7 +166,7 @@
|
|
|
>
|
|
|
<template v-slot="scope">
|
|
|
<div
|
|
|
- v-if="scope.row.type !== 60 && scope.row.options.length > 0"
|
|
|
+ v-if="scope.row.type !== 60 &&scope.row.type !== 70 && scope.row.options.length > 0"
|
|
|
>
|
|
|
<el-tag
|
|
|
size="medium"
|
|
|
@@ -177,7 +177,7 @@
|
|
|
</el-tag>
|
|
|
</div>
|
|
|
|
|
|
- <el-tag size="medium" v-if="scope.row.type === 60">
|
|
|
+ <el-tag size="medium" v-if="scope.row.type === 60||scope.row.type === 70">
|
|
|
{{ getAssignRuleOptionName(scope.row) }}
|
|
|
</el-tag>
|
|
|
</template>
|
|
|
@@ -286,6 +286,7 @@
|
|
|
import { getToken } from '@/utils/token-util';
|
|
|
import { mapGetters } from 'vuex';
|
|
|
import staffSelection from '@/components/staffSelection/staffSelection.vue';
|
|
|
+ import { topLevel1, topLevel2 } from '@/enum/dict';
|
|
|
import dayjs from 'dayjs';
|
|
|
import { number } from 'echarts';
|
|
|
import { del } from 'vue';
|
|
|
@@ -415,7 +416,6 @@ this.postOptions.push(...response.data);
|
|
|
[key]: data[key]
|
|
|
});
|
|
|
this.changePrice(data[key]);
|
|
|
-
|
|
|
},
|
|
|
changePrice(data) {
|
|
|
let num = 0;
|
|
|
@@ -559,6 +559,13 @@ this.postOptions.push(...response.data);
|
|
|
);
|
|
|
} else if (row.type === 60) {
|
|
|
return row.variableName;
|
|
|
+ } else if (row.type === 70) {
|
|
|
+ let data = JSON.parse(row.variableName);
|
|
|
+ if (data.direction == 1) {
|
|
|
+ return topLevel1.find((item) => item.value == data.topLevel)?.label;
|
|
|
+ } else {
|
|
|
+ return topLevel2.find((item) => item.value == data.topLevel)?.label;
|
|
|
+ }
|
|
|
}
|
|
|
return '未知(' + option + ')';
|
|
|
},
|