Commit c05d5353 by zhangxw

bug修复

1 parent ea1924b9
......@@ -429,7 +429,7 @@ export default {
},
// 获取店铺设置信息
getShopSetting(info) {
async getShopSetting(info) {
const { merchantId } = info
getShopSetting({ merchantId }).then(res => {
// this.setInfo = res
......@@ -526,7 +526,7 @@ export default {
return false
}
},
merchantStaffByRoleList() {
async merchantStaffByRoleList() {
merchantStaffByRoleList({ roleName: '区域督导' }).then((result) => {
let copyResult = deepClone(result)
this.supervisionOptionsList = copyResult.map((item) => {
......@@ -540,7 +540,7 @@ export default {
})
},
// 获取全部员工 过滤出服务商负责人可选数据
findMerchantStaffList() {
async findMerchantStaffList() {
findMerchantStaffList({ merchantId: -1 }).then(res => {
// 服务商负责人(根据角色名过滤)
let arr = []
......@@ -554,7 +554,7 @@ export default {
})
},
// 根据4s店或者园区店查询员工信息
getSelectList(info) {
async getSelectList(info) {
const { merchantId } = info
// 取园区店下所有员工 0422版本 刘世权更改
getResidentStaffList({ merchantId }).then((result) => {
......@@ -566,13 +566,14 @@ export default {
userNum: item.staffPhone
}
})
console.log(this.residentManagerOptionsList, '======')
})
},
chooseYear() {
this.listByMerchantIdAndYear(this.year)
},
// 根据年份获取产值列表
listByMerchantIdAndYear(year) {
async listByMerchantIdAndYear(year) {
const { merchantId } = this.info
listByMerchantIdAndYear({ yearStr: year, merchantId: merchantId }).then((result) => {
this.outputValueListByYear = result || []
......@@ -770,7 +771,7 @@ export default {
this.oldVal.quotationMarketInspiration = this.form.shopMerchantConfig.quotationMarketInspiration
},
findSellerMerchantStaffList() {
async findSellerMerchantStaffList() {
findSellerMerchantStaffList({}).then((result) => {
this.sellerMerchantStaffList = result.map((item) => {
return {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!