Commit c4cda7d8 by 前端

Merge branch 'bugfix_5.8.3.3' into 'develop'

上线合并

See merge request !829
2 parents 32b9f138 f2ae84ca
......@@ -137,7 +137,8 @@ export default {
return {
0: "驻店人员",
6: "飞行督导",
9: "区域运营",
9: "2.1区域运营",
8: "1.1区域运营",
}[row.positionType];
},
},
......@@ -150,14 +151,14 @@ export default {
methods: {
beforeSearchFn() {
return new Promise((resolve) => {
let { positionTypeList, merchantList, paramsInfo, delMerchantList, biz } = this;
let { positionTypeListSale,positionTypeList, merchantList, paramsInfo, delMerchantList, biz } = this;
let { staffName } = this.searchForm;
let merchantIdList = [];
if (merchantList.length)
merchantIdList = merchantList.map(item => item.merchantId);
else merchantIdList = paramsInfo?.merchantIds || [];
let params = {
positionTypeList,
positionTypeList: positionTypeListSale?positionTypeListSale(biz):positionTypeList,
sceneType: biz == 2 ? 1 : 0, // 业务场景(0.会员权益(延保权益),1.精品升级(轻改))
staffName,
merchantIdList,
......
......@@ -138,6 +138,9 @@ const STRATEGY_FORM_3 = [
},
positionTypeList: [9],
tagNameKey: "staffName",
positionTypeListSale:(biz)=>{
return biz ==2? [8] : [9];
}
},
{
label: "驻店人员",
......
......@@ -200,6 +200,7 @@ export default {
provide() {
return {
GET_POSITION_TYPE_LIST: () => this.positionTypeList,
GET_POSITION_TYPE_LIST_SALE: () => this.positionTypeListSale,
GET_MERCHANT_LIST: () => this.merchantList,
GET_BIZ: () => this.currentBiz,
DEL_PARAMS_MERCHANT_LIST: () => this.delMerchantList,
......@@ -256,6 +257,7 @@ export default {
positionTypeList: [],
loading: false,
delMerchantList: false,
positionTypeListSale:null
};
},
computed: {
......@@ -415,6 +417,7 @@ export default {
let { componentName } = item;
if (item.positionTypeList)
this.positionTypeList = item.positionTypeList;
this.positionTypeListSale = item.positionTypeListSale;
this.delMerchantList = item.delMerchantList;
this[`${componentName}Visible`] = true;
},
......
......@@ -16,6 +16,7 @@ export default {
"GET_MERCHANT_LIST",
"GET_BIZ",
"DEL_PARAMS_MERCHANT_LIST",
"GET_POSITION_TYPE_LIST_SALE",
],
computed: {
dialogShow: {
......@@ -33,6 +34,9 @@ export default {
positionTypeList() {
return this.GET_POSITION_TYPE_LIST && this.GET_POSITION_TYPE_LIST();
},
positionTypeListSale() {
return this.GET_POSITION_TYPE_LIST_SALE && this.GET_POSITION_TYPE_LIST_SALE();
},
paramsInfo() {
return this.GET_PARAMS_INFO && this.GET_PARAMS_INFO();
},
......
......@@ -164,7 +164,8 @@ export default {
return {
0: "驻店人员",
6: "飞行督导",
9: "区域运营",
9: "2.1区域运营",
8: "1.1区域运营",
}[item.userPosition];
},
},
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!