目录树接口参数修改
Showing
1 changed file
with
35 additions
and
29 deletions
... | @@ -10,15 +10,6 @@ export function getAllList() { | ... | @@ -10,15 +10,6 @@ export function getAllList() { |
10 | }) | 10 | }) |
11 | } | 11 | } |
12 | 12 | ||
13 | /** | ||
14 | * 树形结构查询所有行政区地籍(子)区 | ||
15 | */ | ||
16 | export function getTreeList() { | ||
17 | return request({ | ||
18 | url: '/system/xzq/findTreeList', | ||
19 | method: 'get', | ||
20 | }) | ||
21 | } | ||
22 | 13 | ||
23 | /** | 14 | /** |
24 | * 跟据行政区标识码查地籍区 | 15 | * 跟据行政区标识码查地籍区 |
... | @@ -46,58 +37,73 @@ export function getListByPbsm(pbsm) { | ... | @@ -46,58 +37,73 @@ export function getListByPbsm(pbsm) { |
46 | }) | 37 | }) |
47 | } | 38 | } |
48 | 39 | ||
40 | |||
49 | /** | 41 | /** |
50 | * 跟据所有权类型及其所在行政区,地籍区,地籍子区查询宗地和自然幢信息 | 42 | * 通过名称获取字典 |
51 | */ | 43 | */ |
52 | export function getZdDetailList(data) { | 44 | export function getDdicByMC(mc) { |
53 | return request({ | 45 | return request({ |
54 | url: 'system/xzq/getZdDetailList', | 46 | url: 'system/dictionary/getDdicByMC', |
55 | method: 'get', | 47 | method: 'get', |
56 | params: { | 48 | params: { |
57 | xzqbsm:data.xzqbsm, | 49 | mc |
58 | djqbsm:data.djqbsm, | ||
59 | djzqbsm:data.djzqbsm, | ||
60 | syqlx:data.syqlx | ||
61 | } | 50 | } |
62 | }) | 51 | }) |
63 | } | 52 | } |
64 | 53 | ||
54 | |||
65 | /** | 55 | /** |
66 | * 通过名称获取字典 | 56 | * 获取左侧目录树 |
67 | */ | 57 | */ |
68 | export function getDdicByMC(mc) { | 58 | export function getTreeList() { |
69 | return request({ | 59 | return request({ |
70 | url: 'system/dictionary/getDdicByMC', | 60 | url: '/system/xzq/findTreeList', |
71 | method: 'get', | 61 | method: 'get', |
72 | params: { | ||
73 | mc | ||
74 | } | ||
75 | }) | 62 | }) |
76 | } | 63 | } |
77 | 64 | ||
78 | /** | 65 | /** |
79 | * 根据宗地BSM获取左侧目录树 | 66 | * 根据宗地BSM获取左侧目录树 |
80 | */ | 67 | */ |
81 | export function getTree(zdbsm) { | 68 | export function getTree(zdbsm,source) { |
82 | return request({ | 69 | return request({ |
83 | url: 'system/xzq/getMenuTreeByZdbsm', | 70 | url: 'system/xzq/getMenuTreeByZdbsm', |
84 | method: 'get', | 71 | method: 'post', |
72 | params: { | ||
73 | zdbsm:zdbsm, | ||
74 | source:source | ||
75 | } | ||
76 | }) | ||
77 | } | ||
78 | |||
79 | /** | ||
80 | * 跟据所有权类型及其所在行政区,地籍区,地籍子区查询宗地和自然幢信息目录树数据 | ||
81 | */ | ||
82 | export function getZdDetailList(data) { | ||
83 | return request({ | ||
84 | url: 'system/xzq/getZdDetailList', | ||
85 | method: 'post', | ||
85 | params: { | 86 | params: { |
86 | zdbsm | 87 | xzqbsm:data.xzqbsm, |
88 | djqbsm:data.djqbsm, | ||
89 | djzqbsm:data.djzqbsm, | ||
90 | syqlx:data.syqlx, | ||
91 | source:data.source | ||
87 | } | 92 | } |
88 | }) | 93 | }) |
89 | } | 94 | } |
90 | 95 | ||
91 | /** | 96 | /** |
92 | * 根据自然幢BSM获取左侧目录树 | 97 | * 根据自然幢/多幢/户BSM获取左侧目录树 |
93 | */ | 98 | */ |
94 | export function getTreeByBsm(zrzbsm,type) { | 99 | export function getTreeByBsm(zrzbsm,type,source) { |
95 | return request({ | 100 | return request({ |
96 | url: 'system/xzq/getMenuTreeByBsm', | 101 | url: 'system/xzq/getMenuTreeByBsm', |
97 | method: 'get', | 102 | method: 'post', |
98 | params: { | 103 | params: { |
99 | bsm:zrzbsm, | 104 | bsm:zrzbsm, |
100 | type:type | 105 | type:type, |
106 | source:source | ||
101 | } | 107 | } |
102 | }) | 108 | }) |
103 | } | 109 | } | ... | ... |
-
Please register or sign in to post a comment