Commit cdb4529d by 前端

Merge branch 'feature/strategy-center' into 'SAAS+V5.8.2'

Feature/strategy center

See merge request !739
2 parents 926f5dd7 bf17db94
......@@ -36,23 +36,23 @@
placeholder="请输入标题">
</el-input>
</el-form-item>
<el-form-item v-if="formData.taskType === 9"
label="问题人员:"
prop="staffList">
<el-button size="small" @click="openStaffDialog">
选择人员
</el-button>
<div v-if="formData.staffList && formData.staffList.length > 0" class="tags-container">
<el-tag v-for="(item, index) in formData.staffList"
:key="item.staffUuid"
class="staff-tag"
closable
@close="removeStaff(index)">
{{ item.staffName }}
</el-tag>
</div>
</el-form-item>
<template v-if="formData.taskType === 9">
<el-form-item label="问题人员:"
prop="staffList">
<el-button size="small" @click="openStaffDialog">
选择人员
</el-button>
<div v-if="formData.staffList && formData.staffList.length > 0" class="tags-container">
<el-tag v-for="(item, index) in formData.staffList"
:key="item.staffUuid"
class="staff-tag"
closable
@close="removeStaff(index)">
{{ item.staffName }}
</el-tag>
</div>
</el-form-item>
</template>
<el-form-item label="执行人员:" prop="executorUuid">
<el-select v-model="formData.executorUuid"
......@@ -134,7 +134,7 @@ export default {
taskTypeOptions: {
9: "人员更换评估",
10: "商务政策更新评估",
11: "多品类拓张",
11: "多品类扩张",
12: "流量问题改善",
},
formData: {
......@@ -149,6 +149,7 @@ export default {
{ required: true, message: "请选择任务类型", trigger: "change" },
],
staffList: [
{ required: true, message: "请选择问题人员", trigger: "change" },
{
validator: (rule, value, callback) => {
if (this.formData.taskType === 9 && (!value || value.length === 0)) {
......
......@@ -20,7 +20,7 @@ const STRATEGYTYPEOPTIONS = {
8: "带教申请",
9: "人员更换评估",
10: "商务政策更新评估",
11: "多品类拓张",
11: "多品类扩张",
12: "流量问题改善",
};
const DATE_RANGE = {
......
......@@ -29,9 +29,9 @@
<el-image v-for="(img, imgIdx) in item.value"
:key="imgIdx"
fit="cover"
style="width: 80px; height: 80px; margin-right: 10px; border-radius: 4px;"
:preview-src-list="item.value"
:src="img"
style="width: 80px; height: 80px; margin-right: 10px; border-radius: 4px;">
:src="img">
</el-image>
</div>
<div v-else>
......@@ -119,7 +119,7 @@ export default {
const taskTypeMap = {
9: "人员更换评估",
10: "商务政策更新评估",
11: "多品类拓张",
11: "多品类扩张",
12: "流量问题改善",
};
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!