Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
任超
/
js.CadastralSystem
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
bed7e993
authored
2020-12-08 09:09:58 +0800
by
weimo934
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
feat(Home):登记调用之后刷新左侧目录树
1 parent
ac889566
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
14 additions
and
2 deletions
src/views/Home.vue
src/views/dz/dzxx/index.vue
src/views/zd/zddcb/index.vue
src/views/zrz/lpb/bjlp/index.vue
src/views/zrz/zrzxx/index.vue
src/views/Home.vue
View file @
bed7e99
...
...
@@ -66,6 +66,11 @@ export default {
LineTree
,
Create
,
},
provide
(){
return
{
getRightTree
:
this
.
getRightTree
}
},
data
()
{
return
{
navigationList
:
[],
...
...
@@ -180,7 +185,7 @@ export default {
"$store.state.zrzbsm"
:
function
(
bsm
)
{
this
.
getRightTreeByZrzbsm
(
this
.
$store
.
state
.
zrzbsm
);
},
"$store.state.treeData"
:
function
(
val
)
{
console
.
log
(
val
,
'val'
);
this
.
pd
=
val
;
...
...
src/views/dz/dzxx/index.vue
View file @
bed7e99
...
...
@@ -217,6 +217,7 @@
Qlr
,
Qlxz
,
},
inject
:[
'getRightTree'
],
data
()
{
return
{
...
...
@@ -298,6 +299,7 @@
registerCall
(
data
).
then
(
res
=>
{
if
(
res
.
success
)
{
this
.
$message
.
success
(
"登记成功"
)
this
.
getRightTree
(
this
.
$store
.
state
.
zdbsm
)
}
})
},
...
...
src/views/zd/zddcb/index.vue
View file @
bed7e99
...
...
@@ -367,6 +367,7 @@ import {
}
from
"../../../api/zd"
;
export
default
{
inject
:[
'getRightTree'
],
name
:
""
,
components
:
{
Qlr
,
...
...
@@ -476,6 +477,7 @@ export default {
registerCall
(
data
).
then
(
res
=>
{
if
(
res
.
success
)
{
this
.
$message
.
success
(
"登记成功"
)
this
.
getRightTree
(
this
.
$store
.
state
.
zdbsm
)
}
})
},
...
...
src/views/zrz/lpb/bjlp/index.vue
View file @
bed7e99
...
...
@@ -299,6 +299,7 @@ export default {
hbj
,
HCxlz
,
},
inject
:[
'getRightTree'
],
props
:
{},
data
()
{
return
{
...
...
@@ -413,6 +414,7 @@ export default {
registerCall
(
data
).
then
(
res
=>
{
if
(
res
.
success
)
{
this
.
$message
.
success
(
"登记成功"
)
this
.
getRightTree
(
this
.
$store
.
state
.
zdbsm
)
}
})
},
...
...
src/views/zrz/zrzxx/index.vue
View file @
bed7e99
...
...
@@ -283,7 +283,7 @@
Qlr
,
Qlxz
,
},
inject
:[
'reload'
],
inject
:[
'reload'
,
'getRightTree'
],
data
()
{
return
{
...
...
@@ -404,6 +404,7 @@
registerCall
(
data
).
then
(
res
=>
{
if
(
res
.
success
)
{
this
.
$message
.
success
(
"登记成功"
)
this
.
getRightTree
(
this
.
$store
.
state
.
zdbsm
)
}
})
},
...
...
Please
register
or
sign in
to post a comment