Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation
This project
Loading...
Sign in
李宁
/
Activity
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 848137b2
authored
Nov 28, 2025
by
李宁
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
1
1 parent
f76422e3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
14 deletions
zhiJianBusi/zjbPc/src/assets/js/api/interface/grid/index.js
zhiJianBusi/zjbPc/src/components/system/PersonnelManagement.vue
zhiJianBusi/zjbPc/src/views/DashboardLayout.vue
zhiJianBusi/zjbPc/src/assets/js/api/interface/grid/index.js
View file @
848137b
...
...
@@ -13,7 +13,7 @@ export function queryAllGridList(data) {
/**
* 获取该
账号
下可选的网格列表
* 获取该
区域
下可选的网格列表
*/
export
function
queryGridList
(
data
)
{
return
request
({
...
...
zhiJianBusi/zjbPc/src/components/system/PersonnelManagement.vue
View file @
848137b
...
...
@@ -420,19 +420,21 @@ export default {
// 重置关联支撑人员
this
.
updatePersonStore
.
relatedMarketingCode
=
''
// 重置网格选择
if
(
value
===
'1'
)
{
// 装维师傅 - 单选
this
.
updatePersonStore
.
grid
=
''
}
else
{
// 支撑人员 - 多选
this
.
updatePersonStore
.
grid
=
[]
}
if
(
!
this
.
getData
.
grid
){
// 重置网格选择
if
(
value
===
'1'
)
{
// 装维师傅 - 单选
this
.
updatePersonStore
.
grid
=
''
}
else
{
// 支撑人员 - 多选
this
.
updatePersonStore
.
grid
=
[]
}
setTimeout
(()
=>
{
// 设置网格选择模式
this
.
gridIsMultiple
=
value
===
'2'
},
100
)
setTimeout
(()
=>
{
// 设置网格选择模式
this
.
gridIsMultiple
=
value
===
'2'
},
100
)
}
// 如果当前有选中的网格且是装维师傅,查询支撑人员
if
(
value
===
'1'
&&
this
.
updatePersonStore
.
grid
)
{
...
...
zhiJianBusi/zjbPc/src/views/DashboardLayout.vue
View file @
848137b
...
...
@@ -201,7 +201,7 @@ export default {
isCollapse
:
false
,
menuItems
:
menuItems
,
breadcrumbMap
:
breadcrumbMap
,
acc
:
JSON
.
parse
(
localStorage
.
getItem
(
'accountInfo'
))
acc
:
{}
}
},
computed
:
{
...
...
@@ -272,6 +272,9 @@ export default {
})
}
},
activated
(){
this
.
acc
=
JSON
.
parse
(
localStorage
.
getItem
(
'accountInfo'
))
},
created
()
{
// 初始化认证状态
this
.
$store
.
dispatch
(
'initializeAuth'
)
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment