0493e34e by yangwei

房地产权(独幢、层、套、间、房屋)

1 parent 988a4746
1 import request from "@/utils/request";
2 import SERVER from "./config";
3
4 class qltFwFdcqYz {
5 // 房地产权(独幢、层、套、间、房屋)
6 async getQltFwFdcqYzList(data) {
7 return request({
8 url: SERVER.SERVERAPI + "/rest/reg/QltFwFdcqYz/getDataPage",
9 method: "post",
10 data,
11 });
12 }
13 //房地产权(独幢、层、套、间、房屋)
14 async getQltFwFdcqYzById(bsmSjsb) {
15 return request({
16 url: SERVER.SERVERAPI + '/rest/reg/QltFwFdcqYz/detail',
17 method: 'get',
18 params: {
19 bsmSjsb: bsmSjsb
20 }
21 })
22 }
23 //修改房地产权(独幢、层、套、间、房屋)
24 async updateQltFwFdcqYz(data) {
25 return request({
26 url: SERVER.SERVERAPI + '/rest/reg/QltFwFdcqYz/edit',
27 method: 'post',
28 data
29 })
30 }
31 }
32 export default new qltFwFdcqYz();
...@@ -70,7 +70,7 @@ ...@@ -70,7 +70,7 @@
70 <script> 70 <script>
71 // 房地产权(独幢、层、套、间、房屋) 71 // 房地产权(独幢、层、套、间、房屋)
72 import data from "./data" 72 import data from "./data"
73 import business from '@/api/business' 73 import qltFwFdcqYz from '@/api/qltFwFdcqYz'
74 import sjsbFunctionOper from '@/api/sjsbFunctionOper' 74 import sjsbFunctionOper from '@/api/sjsbFunctionOper'
75 import tableMixin from '@/mixins/tableMixin.js' 75 import tableMixin from '@/mixins/tableMixin.js'
76 import treeSelect from '@/components/treeSelect/index.vue' 76 import treeSelect from '@/components/treeSelect/index.vue'
...@@ -172,7 +172,7 @@ export default { ...@@ -172,7 +172,7 @@ export default {
172 try { 172 try {
173 this.form = Object.assign(this.form, this.formData) 173 this.form = Object.assign(this.form, this.formData)
174 let { result: { list, total, pages: pageSize, pageNum: current } 174 let { result: { list, total, pages: pageSize, pageNum: current }
175 } = await business.getQltFwFdcqYzList(this.form) 175 } = await qltFwFdcqYz.getQltFwFdcqYzList(this.form)
176 this.tableData.data = list 176 this.tableData.data = list
177 this.pageData = { 177 this.pageData = {
178 pageSize, 178 pageSize,
......