Commit 45e166fd by zhangxw

渗透率报表/店铺配置需求开发

1 parent a7414d67
...@@ -25,8 +25,9 @@ ...@@ -25,8 +25,9 @@
:value="opt.merchantNo" :disabled="setDisabled(opt.merchantNo)"> :value="opt.merchantNo" :disabled="setDisabled(opt.merchantNo)">
</el-option> </el-option>
</el-select> </el-select>
<el-button type="text" style="color: red; paddingleft: 10px" <div class="del-btn" @click="handleDelMerchant(index)"><i class="el-icon-minus" style="color: #999999"></i></div>
@click="handleDelMerchant(index)">删除</el-button> <!-- <el-button type="text" style="color: red; paddingleft: 10px"
@click="handleDelMerchant(index)">删除</el-button> -->
</el-form-item> </el-form-item>
</div> </div>
</div> </div>
...@@ -115,6 +116,22 @@ ...@@ -115,6 +116,22 @@
</el-select> </el-select>
<span class="item-tips">注:获取账户中心创建在广联数科下的员工,角色类型选广联销售</span> <span class="item-tips">注:获取账户中心创建在广联数科下的员工,角色类型选广联销售</span>
</el-form-item> </el-form-item>
<el-form-item label="1.1业务归属:" prop="boutiqueDirectorUserId">
<el-select v-model="directorList[10]" clearable multiple :multiple-limit="5" filterable value-key="userId" placeholder="请选择"
class="el_select itd">
<el-option v-for="item in storePersonList" :key="item.userId" :label="item.userName"
:value="item.userId" />
</el-select>
<span class="item-tips">注:获取账户中心创建在广联数科下的所有员工</span>
</el-form-item>
<el-form-item label="2.1业务归属:" prop="quotationDirectorUserId">
<el-select v-model="directorList[11]" clearable multiple :multiple-limit="5" filterable value-key="userId" placeholder="请选择"
class="el_select itd">
<el-option v-for="item in storePersonList" :key="item.userId" :label="item.userName"
:value="item.userId" />
</el-select>
<span class="item-tips">注:获取账户中心创建在广联数科下的所有员工</span>
</el-form-item>
<el-form-item label="1.1线上运营" prop="storePersonId"> <el-form-item label="1.1线上运营" prop="storePersonId">
<el-select clearable multiple filterable value-key="userId" v-model="directorList[5]" class="el_select itd" <el-select clearable multiple filterable value-key="userId" v-model="directorList[5]" class="el_select itd"
placeholder="请选择"> placeholder="请选择">
...@@ -337,7 +354,7 @@ export default { ...@@ -337,7 +354,7 @@ export default {
// boutiqueDirectorUserId: '', // boutiqueDirectorUserId: '',
// quotationDirectorUserId: '' // quotationDirectorUserId: ''
}, },
// 1.精品升级业务负责人, 2.精品升级业务服务商负责人, 3.会员权益业务负责人, 4.会员权益业务服务商负责人, 5.盯防负责人, 6.飞行督导 // 1.精品升级业务负责人, 2.精品升级业务服务商负责人, 3.会员权益业务负责人, 4.会员权益业务服务商负责人, 5.盯防负责人, 6.飞行督导,10.精品升级业务归属,11.权益业务归属
directorList: { directorList: {
1: [], 1: [],
2: [], 2: [],
...@@ -347,7 +364,9 @@ export default { ...@@ -347,7 +364,9 @@ export default {
6: [], 6: [],
7: [], 7: [],
8: [], 8: [],
9: [] 9: [],
10: [],
11: []
}, },
outputValueListByYear: [], outputValueListByYear: [],
year: "", year: "",
...@@ -470,6 +489,12 @@ export default { ...@@ -470,6 +489,12 @@ export default {
}, { }, {
directorTypeList: [9], directorTypeList: [9],
listName: 'supervisionOptionsList' listName: 'supervisionOptionsList'
}, {
directorTypeList: [10],
listName: 'storePersonList'
}, {
directorTypeList: [11],
listName: 'storePersonList'
}] }]
return new Promise((resolve, reject) => { return new Promise((resolve, reject) => {
getShopSetting({ merchantId }).then((res) => { getShopSetting({ merchantId }).then((res) => {
...@@ -587,6 +612,12 @@ export default { ...@@ -587,6 +612,12 @@ export default {
}, { }, {
item: this.directorList[9], item: this.directorList[9],
optionsList: 'supervisionOptionsList' optionsList: 'supervisionOptionsList'
}, {
item: this.directorList[10],
optionsList: 'storePersonList'
}, {
item: this.directorList[11],
optionsList: 'storePersonList'
}] }]
selectItemKey.map((val) => { selectItemKey.map((val) => {
if (typeof _form[val.item] == "object") { if (typeof _form[val.item] == "object") {
...@@ -959,7 +990,7 @@ export default { ...@@ -959,7 +990,7 @@ export default {
let target = this[ let target = this[
key == 4 || key == 2 ? "serviceBossList" : "sellerMerchantStaffList" key == 4 || key == 2 ? "serviceBossList" : "sellerMerchantStaffList"
]?.find((ele) => ele.userId == item) ]?.find((ele) => ele.userId == item)
if (key == 5 || key == 7) { if (key == 5 || key == 7 || key == 10 || key == 11) {
target = this.storePersonList.find((ele) => ele.userId == item) target = this.storePersonList.find((ele) => ele.userId == item)
} }
if (key == 6) { if (key == 6) {
...@@ -1382,4 +1413,16 @@ export default { ...@@ -1382,4 +1413,16 @@ export default {
color: #333333; color: #333333;
margin-left: 10px; margin-left: 10px;
} }
.del-btn {
display: inline-block;
text-align: center;
cursor: pointer;
margin-left: 8px;
width: 34px;
height: 34px;
border-radius: 3px;
opacity: 1;
border: 1px solid #ececec;
background: #f8f8f8;
}
</style> </style>
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!