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
fee75fa9
authored
2020-10-27 15:02:44 +0800
by
zhaoqian
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
左侧目录树部分
1 parent
ebd63647
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
1 deletions
src/api/common.js
src/views/Home.vue
src/api/common.js
View file @
fee75fa
...
...
@@ -11,6 +11,16 @@ export function getAllList() {
}
/**
* 树形结构查询所有行政区地籍(子)区
*/
export
function
getTreeList
()
{
return
request
({
url
:
'/system/xzq/findTreeList'
,
method
:
'get'
,
})
}
/**
* 跟据行政区标识码查地籍区
*/
export
function
getListByXzqbsm
(
xzqbsm
)
{
...
...
src/views/Home.vue
View file @
fee75fa
...
...
@@ -52,7 +52,7 @@ import Navigation from "../components/IvyElement/navigation";
import
Create
from
"./panel/create/index"
;
import
LineTree
from
"../components/lineTree/lineTree"
;
import
{
setTimeout
}
from
"timers"
;
import
{
getTree
,
getDdicByMC
}
from
"../api/common"
;
import
{
getTree
,
getDdicByMC
,
getTreeList
}
from
"../api/common"
;
export
default
{
components
:
{
...
...
@@ -240,6 +240,7 @@ export default {
// this.sortNavigation(this.navigationList, indId);
// }
this
.
getDic
();
this
.
getTreeList
();
},
methods
:
{
//请求字典数据
...
...
@@ -335,6 +336,11 @@ export default {
closeDialog
()
{
this
.
dialogVisible
=
false
;
},
getTreeList
(){
getTreeList
().
then
((
res
)
=>
{
this
.
pd
=
res
.
result
;
})
}
},
};
</
script
>
...
...
Please
register
or
sign in
to post a comment