Commit ec95c570 by 徐忆琳

Merge branch 'v3.19.0_10' into 'v3.19.0'

修复bug

See merge request !12
2 parents 4fcee63c 891f108a
......@@ -77,7 +77,7 @@
}}</span>
</div>
<div class="step-item-name" v-if="value.taskType">{{ value.customData[stage_prefix[value.taskType].key]}}</div>
<div class="step-item-name" v-if="value.taskType">{{ activity_name[value.taskType]}}</div>
</div>
<!-- <div class="step-detail-btn" @click="getEmpDetail">详情</div> -->
</div>
......@@ -160,6 +160,14 @@ const STAGE = {
5: '跟进提醒',
6: '客户信息查询'
}
const ACTIVITY_NAME ={
4: '活动链接',
3: '活动链接',
1: '短信模版',
2: 'AI话术',
5: '提醒模版:您有(客户人数)位客户已进入[旅程阶段进入旅程阶段天数天,请及时进行报价跟进。',
6: '查询内容:到保日期'
}
const DES = {
4: '本功能将给跟进员工推送微信1v1任务,由员工向每个客户微信转发对应的营销内容。',
3: '本功能将给跟进员工推送微信朋友圈任务,由员工一键将营销内容发布微信朋友圈。',
......@@ -242,6 +250,7 @@ export default {
des: DES,
stage_time: STAGE_TIME,
stage_prefix: STAGE_PREFIX,
activity_name:ACTIVITY_NAME,
empVisible: false,
nodes: null,
sopList: [],
......
......@@ -84,7 +84,7 @@
>
</el-switch>
</div>
<div class="step-item-name" v-if="value.taskType.defaultValue">{{ value.customData[stage_prefix[value.taskType.defaultValue].key]}}</div>
<div class="step-item-name" v-if="value.taskType.defaultValue">{{activity_name[value.taskType.defaultValue]}}</div>
</div>
</div>
</div>
......@@ -162,6 +162,14 @@ const STAGE = {
5: '跟进提醒',
6: '客户信息查询'
}
const ACTIVITY_NAME ={
4: '活动链接',
3: '活动链接',
1: '短信模版',
2: 'AI话术',
5: '提醒模版:您有(客户人数)位客户已进入[旅程阶段进入旅程阶段天数天,请及时进行报价跟进。',
6: '查询内容:到保日期'
}
const DES = {
4: '本功能将给跟进员工推送微信1v1任务,由员工向每个客户微信转发对应的营销内容。',
3: '本功能将给跟进员工推送微信朋友圈任务,由员工一键将营销内容发布微信朋友圈。',
......@@ -236,6 +244,7 @@ export default {
des: DES,
stage_prefix: STAGE_PREFIX,
stage_time: STAGE_TIME,
activity_name:ACTIVITY_NAME,
empVisible: false,
nodes: null,
sopList: [],
......
......@@ -17,7 +17,7 @@
</div>
</glsx-combi-form>
<MerchantStore v-if="relateStoreVisible" ref="relateStore" :dialogVisible="relateStoreVisible"
:storeSelected="selectedList" :merchantInfo="editForm.merchantId"
:storeSelected="selectedList" :merchantInfo="editForm"
@handleRelateStoreConfirm="handleRelateStoreConfirm"
@handleRelateStoreClose="handleRelateStoreClose"></MerchantStore>
</div>
......@@ -105,6 +105,11 @@ export default {
this.$refs.relateStore.handleCurrentChange(1)
},
handleRelateStoreConfirm(selectedData) {
if (!selectedData.merchantId && !selectedData.merchantName){
this.$message.error('请选择门店')
return
}
this.editForm = selectedData
this.$refs.editFormRef.$refs[this.editChildRef].clearValidate('merchantId')
selectedData.merchantId && (this.editForm.merchantId = selectedData.merchantId)
selectedData.merchantName && ((this.editForm.merchantName = selectedData.merchantName), (this.merchantFlag = false))
......
......@@ -158,7 +158,8 @@ export default {
// this.userInfo = this.$globalState.session
let clientHeight = document.documentElement.clientHeight
this.heightBox = clientHeight - 0.15 * clientHeight - 425
this.merchantId = this.merchantInfo
this.merchantId = this.merchantInfo.merchantId
this.merchantName = this.merchantInfo.merchantName
this.getList()
},
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!