0493e34e by yangwei

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

1 parent 988a4746
import request from "@/utils/request";
import SERVER from "./config";
class qltFwFdcqYz {
// 房地产权(独幢、层、套、间、房屋)
async getQltFwFdcqYzList(data) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/QltFwFdcqYz/getDataPage",
method: "post",
data,
});
}
//房地产权(独幢、层、套、间、房屋)
async getQltFwFdcqYzById(bsmSjsb) {
return request({
url: SERVER.SERVERAPI + '/rest/reg/QltFwFdcqYz/detail',
method: 'get',
params: {
bsmSjsb: bsmSjsb
}
})
}
//修改房地产权(独幢、层、套、间、房屋)
async updateQltFwFdcqYz(data) {
return request({
url: SERVER.SERVERAPI + '/rest/reg/QltFwFdcqYz/edit',
method: 'post',
data
})
}
}
export default new qltFwFdcqYz();
......@@ -70,7 +70,7 @@
<script>
// 房地产权(独幢、层、套、间、房屋)
import data from "./data"
import business from '@/api/business'
import qltFwFdcqYz from '@/api/qltFwFdcqYz'
import sjsbFunctionOper from '@/api/sjsbFunctionOper'
import tableMixin from '@/mixins/tableMixin.js'
import treeSelect from '@/components/treeSelect/index.vue'
......@@ -172,7 +172,7 @@ export default {
try {
this.form = Object.assign(this.form, this.formData)
let { result: { list, total, pages: pageSize, pageNum: current }
} = await business.getQltFwFdcqYzList(this.form)
} = await qltFwFdcqYz.getQltFwFdcqYzList(this.form)
this.tableData.data = list
this.pageData = {
pageSize,
......