Commit 3b2efc36 by 胡悦

修改业务场景

1 parent ef88607f
......@@ -174,7 +174,7 @@ export default {
},
options: [
{
value: '会员权益/升级',
value: '0',
label: '会员权益/升级'
}
],
......
const scenarioType = {
0: '会员权益/升级',
1: '精品升级',
2: '次新车转化',
3: '售后众筹',
4: '积分商城'
}
export { scenarioType }
......@@ -3,12 +3,12 @@
* @Author: huyue
* @Date: 2024-04-16 17:54:27
* @LastEditors: huyue
* @LastEditTime: 2024-04-24 15:02:34
* @LastEditTime: 2024-04-26 10:39:14
-->
<template>
<div>
<div class="title-box">
<div class="title-tag">{{ taskInfo.businessScenario }}</div>
<div class="title-tag">{{ scenarioType[taskInfo.businessScenario] }}</div>
<div class="title">{{ taskInfo.taskName }}</div>
<div class="title-time">创建时间:{{ taskInfo.createdDate }}</div>
<div class="title-time">任务时间:{{ taskInfo.startTime }} - {{ taskInfo.endTime }}</div>
......@@ -66,10 +66,12 @@ import { mapActions, mapState } from 'vuex'
import QualityDetail from "./components/dialogResult.vue"
import { Util, deepClone } from '@/common/util'
import { getTaskStaffList, remindTaskStaff } from "@api/exercise"
import { scenarioType } from './contant'
export default {
components: { QualityDetail },
data() {
return {
scenarioType,
activeName: 'all',
searchForm: {},
showFormData: [
......
......@@ -3,7 +3,7 @@
* @Author: huyue
* @Date: 2024-04-15 16:26:57
* @LastEditors: huyue
* @LastEditTime: 2024-04-24 14:43:49
* @LastEditTime: 2024-04-26 10:24:29
-->
<template>
<div>
......@@ -57,6 +57,7 @@
import { mapActions, mapState } from 'vuex'
import { Util, deepClone } from '@/common/util'
import { getList, updateTaskPromptStatus } from '@api/exercise'
import { scenarioType } from './contant'
export default {
data() {
return {
......@@ -103,7 +104,7 @@ export default {
name: ''
}, {
label: '会员权益/升级',
value: '会员权益/升级'
value: '0'
}],
optionId: "value",
optionLabel: "label"
......@@ -151,7 +152,10 @@ export default {
tableOption: true,
tableColumns: [{
label: '业务场景',
prop: 'businessScenario'
prop: 'businessScenario',
formatter: cellValue => {
return scenarioType[cellValue.businessScenario]
}
}, {
label: '任务名称',
prop: 'taskName'
......
......@@ -3,7 +3,7 @@
* @Author: huyue
* @Date: 2024-04-17 17:50:41
* @LastEditors: huyue
* @LastEditTime: 2024-04-24 11:42:03
* @LastEditTime: 2024-04-26 10:38:40
-->
<template>
<div>
......@@ -14,7 +14,7 @@
<div class="edit-sub-title title">基本信息</div>
</div>
<el-form-item label="业务场景:">
<span>{{ taskInfo.businessScenario }}</span>
<span>{{ scenarioType[taskInfo.businessScenario] }}</span>
</el-form-item>
<el-form-item label="任务名称:">
<span>{{ taskInfo.taskName }}</span>
......@@ -63,9 +63,11 @@
<script>
import { mapActions } from 'vuex'
import { getTaskStaffList } from "@api/exercise"
import { scenarioType } from './contant'
export default {
data() {
return {
scenarioType,
tableData: [
{
staffName: '张三',
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!