e273f6bb by yangwei

api修改

1 parent ff1a80d1
...@@ -2,32 +2,6 @@ import request from '@/utils/request' ...@@ -2,32 +2,6 @@ import request from '@/utils/request'
2 import SERVER from './config' 2 import SERVER from './config'
3 3
4 class business { 4 class business {
5 // xml
6 async queryXML(id) {
7 return request({
8 url: SERVER.SERVERAPI + '/rest/reg/sjsbFunctionOper/queryXML',
9 method: 'get',
10 params: {
11 msgid: id
12 }
13 })
14 }
15 // 土地所有权
16 async getQlfQlTdsyqList(data) {
17 return request({
18 url: SERVER.SERVERAPI + '/rest/reg/QlfQlTdsyq/getDataPage',
19 method: 'post',
20 data
21 })
22 }
23 // 建设用地、宅基地使用权
24 async getQlfQlJsydsyqList(data) {
25 return request({
26 url: SERVER.SERVERAPI + '/rest/reg/QlfQlJsydsyq/getDataPage',
27 method: 'post',
28 data
29 })
30 }
31 // 房地产权_项目内多幢房屋信息 5 // 房地产权_项目内多幢房屋信息
32 async getQltFwFdcqDzList(data) { 6 async getQltFwFdcqDzList(data) {
33 return request({ 7 return request({
......
1 import request from "@/utils/request";
2 import SERVER from "./config";
3
4 class qlfQlJsydsyq {
5 // 建设用地、宅基地使用权
6 async getQlfQlJsydsyqList(data) {
7 return request({
8 url: SERVER.SERVERAPI + "/rest/reg/QlfQlJsydsyq/getDataPage",
9 method: "post",
10 data,
11 });
12 }
13 }
14 export default new qlfQlJsydsyq();
......
1 import request from "@/utils/request";
2 import SERVER from "./config";
3
4 class qlfQlTdsyq {
5 // 土地所有权
6 async getQlfQlTdsyqList(data) {
7 return request({
8 url: SERVER.SERVERAPI + "/rest/reg/QlfQlTdsyq/getDataPage",
9 method: "post",
10 data,
11 });
12 }
13 }
14 export default new qlfQlTdsyq();
......
1 import request from '@/utils/request' 1 import request from '@/utils/request'
2 import SERVER from './config'
2 3
3 class sjsbFunctionOper { 4 class sjsbFunctionOper {
4 // 数据上报表头相关接口 5 // 数据上报表头相关接口
...@@ -11,5 +12,15 @@ class sjsbFunctionOper { ...@@ -11,5 +12,15 @@ class sjsbFunctionOper {
11 } 12 }
12 }) 13 })
13 } 14 }
15 // xml
16 async queryXML(id) {
17 return request({
18 url: SERVER.SERVERAPI + '/rest/reg/sjsbFunctionOper/queryXML',
19 method: 'get',
20 params: {
21 msgid: id
22 }
23 })
24 }
14 } 25 }
15 export default new sjsbFunctionOper() 26 export default new sjsbFunctionOper()
...\ No newline at end of file ...\ No newline at end of file
......
...@@ -65,7 +65,7 @@ ...@@ -65,7 +65,7 @@
65 <script> 65 <script>
66 // 建设用地、宅基地使用权 66 // 建设用地、宅基地使用权
67 import data from "./data" 67 import data from "./data"
68 import business from '@/api/business' 68 import qlfQlJsydsyq from '@/api/qlfQlJsydsyq'
69 import sjsbFunctionOper from '@/api/sjsbFunctionOper' 69 import sjsbFunctionOper from '@/api/sjsbFunctionOper'
70 import tableMixin from '@/mixins/tableMixin.js' 70 import tableMixin from '@/mixins/tableMixin.js'
71 import treeSelect from '@/components/treeSelect/index.vue' 71 import treeSelect from '@/components/treeSelect/index.vue'
...@@ -134,7 +134,7 @@ export default { ...@@ -134,7 +134,7 @@ export default {
134 try { 134 try {
135 this.form = Object.assign(this.form, this.formData) 135 this.form = Object.assign(this.form, this.formData)
136 let { result: { list, total, pages: pageSize, pageNum: current } 136 let { result: { list, total, pages: pageSize, pageNum: current }
137 } = await business.getQlfQlJsydsyqList(this.form) 137 } = await qlfQlJsydsyq.getQlfQlJsydsyqList(this.form)
138 this.tableData.data = list 138 this.tableData.data = list
139 this.pageData = { 139 this.pageData = {
140 pageSize, 140 pageSize,
...@@ -151,7 +151,7 @@ export default { ...@@ -151,7 +151,7 @@ export default {
151 if (res != null) { 151 if (res != null) {
152 this.diaData = res 152 this.diaData = res
153 this.bsmSjsb = row.BSM_SJSB 153 this.bsmSjsb = row.BSM_SJSB
154 this.$store.dispatch('business/setEdit'); this.$refs.editLog.isShow() 154 this.$store.dispatch('qlfQlJsydsyq/setEdit'); this.$refs.editLog.isShow()
155 } else { 155 } else {
156 this.$message(message) 156 this.$message(message)
157 } 157 }
......
...@@ -65,7 +65,7 @@ ...@@ -65,7 +65,7 @@
65 <script> 65 <script>
66 // 土地所有权 66 // 土地所有权
67 import data from "./data" 67 import data from "./data"
68 import business from '@/api/business' 68 import qlfQlTdsyq from '@/api/qlfQlTdsyq'
69 import tableMixin from '@/mixins/tableMixin.js' 69 import tableMixin from '@/mixins/tableMixin.js'
70 import treeSelect from '@/components/treeSelect/index.vue' 70 import treeSelect from '@/components/treeSelect/index.vue'
71 export default { 71 export default {
...@@ -132,7 +132,7 @@ export default { ...@@ -132,7 +132,7 @@ export default {
132 try { 132 try {
133 this.form = Object.assign(this.form, this.formData) 133 this.form = Object.assign(this.form, this.formData)
134 let { result: { list, total, pages: pageSize, pageNum: current } 134 let { result: { list, total, pages: pageSize, pageNum: current }
135 } = await business.getQlfQlTdsyqList(this.form) 135 } = await qlfQlTdsyq.getQlfQlTdsyqList(this.form)
136 this.tableData.data = list 136 this.tableData.data = list
137 this.pageData = { 137 this.pageData = {
138 pageSize, 138 pageSize,
......