登记登簿信息
Showing
2 changed files
with
26 additions
and
1 deletions
src/api/djfDjDb.js
0 → 100644
1 | import request from "@/utils/request"; | ||
2 | import SERVER from "./config"; | ||
3 | |||
4 | class djfDjDb { | ||
5 | //登记登簿信息 | ||
6 | async getDjfDjDbById(bsmSjsb) { | ||
7 | return request({ | ||
8 | url: SERVER.SERVERAPI + "/rest/reg/DjfDjDb/detail", | ||
9 | method: "get", | ||
10 | params: { | ||
11 | bsmSjsb: bsmSjsb, | ||
12 | }, | ||
13 | }); | ||
14 | } | ||
15 | //修改登记登簿信息 | ||
16 | async updateDjfDjDb(data) { | ||
17 | return request({ | ||
18 | url: SERVER.SERVERAPI + "/rest/reg/DjfDjDb/edit", | ||
19 | method: "post", | ||
20 | data, | ||
21 | }); | ||
22 | } | ||
23 | } | ||
24 | export default new djfDjDb(); |
... | @@ -88,6 +88,7 @@ | ... | @@ -88,6 +88,7 @@ |
88 | <script> | 88 | <script> |
89 | // 申请人属性信息 | 89 | // 申请人属性信息 |
90 | import djfDjSqr from "@/api/djfDjSqr"; | 90 | import djfDjSqr from "@/api/djfDjSqr"; |
91 | import djfDjDb from "@/api/djfDjDb" | ||
91 | import ruleMixin from "@/mixins/ruleMixin.js"; | 92 | import ruleMixin from "@/mixins/ruleMixin.js"; |
92 | import treeSelect from "@/components/treeSelect/index.vue"; | 93 | import treeSelect from "@/components/treeSelect/index.vue"; |
93 | export default { | 94 | export default { |
... | @@ -140,7 +141,7 @@ export default { | ... | @@ -140,7 +141,7 @@ export default { |
140 | methods: { | 141 | methods: { |
141 | async featchData() { | 142 | async featchData() { |
142 | try { | 143 | try { |
143 | let { result: res } = await business.getDjfDjDbById(this.bsmSjsb); | 144 | let { result: res } = await djfDjDb.getDjfDjDbById(this.bsmSjsb); |
144 | this.ruleForm = res; | 145 | this.ruleForm = res; |
145 | //this.featchRule() | 146 | //this.featchRule() |
146 | } catch (error) { | 147 | } catch (error) { | ... | ... |
-
Please register or sign in to post a comment