Commit c05d5353 by zhangxw

bug修复

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