Commit 848137b2 by 李宁

1

1 parent f76422e3
...@@ -13,7 +13,7 @@ export function queryAllGridList(data) { ...@@ -13,7 +13,7 @@ export function queryAllGridList(data) {
/** /**
* 获取该账号下可选的网格列表 * 获取该区域下可选的网格列表
*/ */
export function queryGridList(data) { export function queryGridList(data) {
return request({ return request({
......
...@@ -420,6 +420,7 @@ export default { ...@@ -420,6 +420,7 @@ export default {
// 重置关联支撑人员 // 重置关联支撑人员
this.updatePersonStore.relatedMarketingCode = '' this.updatePersonStore.relatedMarketingCode = ''
if(!this.getData.grid){
// 重置网格选择 // 重置网格选择
if (value === '1') { if (value === '1') {
// 装维师傅 - 单选 // 装维师傅 - 单选
...@@ -433,6 +434,7 @@ export default { ...@@ -433,6 +434,7 @@ export default {
// 设置网格选择模式 // 设置网格选择模式
this.gridIsMultiple = value === '2' this.gridIsMultiple = value === '2'
},100) },100)
}
// 如果当前有选中的网格且是装维师傅,查询支撑人员 // 如果当前有选中的网格且是装维师傅,查询支撑人员
if (value === '1' && this.updatePersonStore.grid) { if (value === '1' && this.updatePersonStore.grid) {
......
...@@ -201,7 +201,7 @@ export default { ...@@ -201,7 +201,7 @@ export default {
isCollapse: false, isCollapse: false,
menuItems: menuItems, menuItems: menuItems,
breadcrumbMap: breadcrumbMap, breadcrumbMap: breadcrumbMap,
acc: JSON.parse(localStorage.getItem('accountInfo')) acc: {}
} }
}, },
computed: { computed: {
...@@ -272,6 +272,9 @@ export default { ...@@ -272,6 +272,9 @@ export default {
}) })
} }
}, },
activated(){
this.acc = JSON.parse(localStorage.getItem('accountInfo'))
},
created() { created() {
// 初始化认证状态 // 初始化认证状态
this.$store.dispatch('initializeAuth') this.$store.dispatch('initializeAuth')
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!