Commit 94b5a279 by wangql

紧急需求代码提交

1 parent b41cd352
...@@ -24,7 +24,8 @@ const getlistDepartmentTree = params => { ...@@ -24,7 +24,8 @@ const getlistDepartmentTree = params => {
// 园区店战报配置 // 园区店战报配置
const getYqReportlist = params => { const getYqReportlist = params => {
params.method = `scrm.api.boutiquecoupon.rop.router` params.method = `scrm.api.boutiquecoupon.rop.router`
params.routerMethod = 'dj.api.smarcarlife.YqMerchantActionReportConfig.listWithPage' // params.routerMethod = 'dj.api.smarcarlife.YqMerchantActionReportConfig.listWithPage'
params.routerMethod = 'dj.api.smarcarlife.MerchantActionReportConfig.listWithPage'
return http({ return http({
url: 'rop-scrm-boutiquecoupon/router', url: 'rop-scrm-boutiquecoupon/router',
method: 'post', method: 'post',
...@@ -36,7 +37,8 @@ const getYqReportlist = params => { ...@@ -36,7 +37,8 @@ const getYqReportlist = params => {
// 更新园区店战报配置 // 更新园区店战报配置
const updateYqConfig = params => { const updateYqConfig = params => {
params.method = `scrm.api.boutiquecoupon.rop.router` params.method = `scrm.api.boutiquecoupon.rop.router`
params.routerMethod = 'dj.api.smarcarlife.YqMerchantActionReportConfig.updateConfig' // params.routerMethod = 'dj.api.smarcarlife.YqMerchantActionReportConfig.updateConfig'
params.routerMethod = 'dj.api.smarcarlife.MerchantActionReportConfig.updateConfig'
return http({ return http({
url: 'rop-scrm-boutiquecoupon/router', url: 'rop-scrm-boutiquecoupon/router',
method: 'post', method: 'post',
......
...@@ -5,10 +5,10 @@ ...@@ -5,10 +5,10 @@
<div class="container"> <div class="container">
<div class="flex-between title"> <div class="flex-between title">
<div class="title-text">专员列表</div> <div class="title-text">专员列表</div>
<el-button :size="size" <!-- <el-button :size="size"
type="primary" type="primary"
class="battle-set-btn" class="battle-set-btn"
@click="battleSetHandle">批量配置专员</el-button> @click="battleSetHandle">批量配置专员</el-button> -->
</div> </div>
<GLCombiForm ref="showSearch" <GLCombiForm ref="showSearch"
:rowNumber="1" :rowNumber="1"
...@@ -511,6 +511,18 @@ export default { ...@@ -511,6 +511,18 @@ export default {
maxlength: 11 maxlength: 11
}, },
{ {
label: '4S店',
name: 'merchantName',
type: 'input',
maxlength: 128
},
{
label: '4S店商户号',
name: 'merchantId',
type: 'input',
maxlength: 11
},
{
label: '企微名称', label: '企微名称',
name: 'enterpriseMerchantId', name: 'enterpriseMerchantId',
type: 'select', type: 'select',
...@@ -529,11 +541,18 @@ export default { ...@@ -529,11 +541,18 @@ export default {
listName: 'list', listName: 'list',
tableOption: true, tableOption: true,
// // 行数据的key // // 行数据的key
mutiSelectUniqueKey: 'activityId', // mutiSelectUniqueKey: 'activityId',
// 多选ref的名称 // 多选ref的名称
mutiSelectName: 'activity', // mutiSelectName: 'activity',
tableColumns: [ tableColumns: [
{ {
label: '4S店',
prop: 'merchantName',
formatter: cellValue => {
return cellValue.merchantName + (cellValue.merchantId || '')
}
},
{
label: '园区店', label: '园区店',
prop: 'yqMerchantName', prop: 'yqMerchantName',
formatter: cellValue => { formatter: cellValue => {
...@@ -848,7 +867,8 @@ export default { ...@@ -848,7 +867,8 @@ export default {
groupMerchantId: this.config.merchantId, groupMerchantId: this.config.merchantId,
updatedBy: this.$globalState.session.accountName, updatedBy: this.$globalState.session.accountName,
yqMerchantIdList: [], yqMerchantIdList: [],
groupConfigList: [] groupConfigList: [],
merchantId: this.setectList[0]?.merchantId
} }
this.setectList.forEach(item => { this.setectList.forEach(item => {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!