e273f6bb by yangwei

api修改

1 parent ff1a80d1
......@@ -2,32 +2,6 @@ import request from '@/utils/request'
import SERVER from './config'
class business {
// xml
async queryXML(id) {
return request({
url: SERVER.SERVERAPI + '/rest/reg/sjsbFunctionOper/queryXML',
method: 'get',
params: {
msgid: id
}
})
}
// 土地所有权
async getQlfQlTdsyqList(data) {
return request({
url: SERVER.SERVERAPI + '/rest/reg/QlfQlTdsyq/getDataPage',
method: 'post',
data
})
}
// 建设用地、宅基地使用权
async getQlfQlJsydsyqList(data) {
return request({
url: SERVER.SERVERAPI + '/rest/reg/QlfQlJsydsyq/getDataPage',
method: 'post',
data
})
}
// 房地产权_项目内多幢房屋信息
async getQltFwFdcqDzList(data) {
return request({
......
import request from "@/utils/request";
import SERVER from "./config";
class qlfQlJsydsyq {
// 建设用地、宅基地使用权
async getQlfQlJsydsyqList(data) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/QlfQlJsydsyq/getDataPage",
method: "post",
data,
});
}
}
export default new qlfQlJsydsyq();
......
import request from "@/utils/request";
import SERVER from "./config";
class qlfQlTdsyq {
// 土地所有权
async getQlfQlTdsyqList(data) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/QlfQlTdsyq/getDataPage",
method: "post",
data,
});
}
}
export default new qlfQlTdsyq();
......
import request from '@/utils/request'
import SERVER from './config'
class sjsbFunctionOper {
// 数据上报表头相关接口
......@@ -11,5 +12,15 @@ class sjsbFunctionOper {
}
})
}
// xml
async queryXML(id) {
return request({
url: SERVER.SERVERAPI + '/rest/reg/sjsbFunctionOper/queryXML',
method: 'get',
params: {
msgid: id
}
})
}
}
export default new sjsbFunctionOper()
\ No newline at end of file
......
......@@ -65,7 +65,7 @@
<script>
// 建设用地、宅基地使用权
import data from "./data"
import business from '@/api/business'
import qlfQlJsydsyq from '@/api/qlfQlJsydsyq'
import sjsbFunctionOper from '@/api/sjsbFunctionOper'
import tableMixin from '@/mixins/tableMixin.js'
import treeSelect from '@/components/treeSelect/index.vue'
......@@ -134,7 +134,7 @@ export default {
try {
this.form = Object.assign(this.form, this.formData)
let { result: { list, total, pages: pageSize, pageNum: current }
} = await business.getQlfQlJsydsyqList(this.form)
} = await qlfQlJsydsyq.getQlfQlJsydsyqList(this.form)
this.tableData.data = list
this.pageData = {
pageSize,
......@@ -151,7 +151,7 @@ export default {
if (res != null) {
this.diaData = res
this.bsmSjsb = row.BSM_SJSB
this.$store.dispatch('business/setEdit'); this.$refs.editLog.isShow()
this.$store.dispatch('qlfQlJsydsyq/setEdit'); this.$refs.editLog.isShow()
} else {
this.$message(message)
}
......
......@@ -65,7 +65,7 @@
<script>
// 土地所有权
import data from "./data"
import business from '@/api/business'
import qlfQlTdsyq from '@/api/qlfQlTdsyq'
import tableMixin from '@/mixins/tableMixin.js'
import treeSelect from '@/components/treeSelect/index.vue'
export default {
......@@ -132,7 +132,7 @@ export default {
try {
this.form = Object.assign(this.form, this.formData)
let { result: { list, total, pages: pageSize, pageNum: current }
} = await business.getQlfQlTdsyqList(this.form)
} = await qlfQlTdsyq.getQlfQlTdsyqList(this.form)
this.tableData.data = list
this.pageData = {
pageSize,
......