257d80d1 by yangwei

sjsbFunctionOper控制器修改

1 parent eda17a6c
1 import request from '@/utils/request' 1 import request from '@/utils/request'
2 2
3 class dataReporting { 3 class sjsbFunctionOper {
4 // 数据上报表头相关接口 4 // 数据上报表头相关接口
5 async getQltFwFdcqYzByCondition (id) { 5 async getQltFwFdcqYzByCondition (id) {
6 return request({ 6 return request({
...@@ -22,4 +22,4 @@ class dataReporting { ...@@ -22,4 +22,4 @@ class dataReporting {
22 }) 22 })
23 } 23 }
24 } 24 }
25 export default new dataReporting()
...\ No newline at end of file ...\ No newline at end of file
25 export default new sjsbFunctionOper()
...\ No newline at end of file ...\ No newline at end of file
......
...@@ -70,7 +70,7 @@ ...@@ -70,7 +70,7 @@
70 // 房地产权(项目内多幢房屋) 70 // 房地产权(项目内多幢房屋)
71 import data from "./data" 71 import data from "./data"
72 import business from '@/api/business' 72 import business from '@/api/business'
73 import dataReporting from '@/api/dataReporting' 73 import sjsbFunctionOper from '@/api/sjsbFunctionOper'
74 import tableMixin from '@/mixins/tableMixin.js' 74 import tableMixin from '@/mixins/tableMixin.js'
75 import treeSelect from '@/components/treeSelect/index.vue' 75 import treeSelect from '@/components/treeSelect/index.vue'
76 export default { 76 export default {
...@@ -184,7 +184,7 @@ export default { ...@@ -184,7 +184,7 @@ export default {
184 } 184 }
185 }, 185 },
186 async handlDatadetails (index, row) { 186 async handlDatadetails (index, row) {
187 let { result: res, message } = await dataReporting.getQltFwFdcqYzByCondition(row.BSM_SJSB) 187 let { result: res, message } = await sjsbFunctionOper.getQltFwFdcqYzByCondition(row.BSM_SJSB)
188 if (res != null) { 188 if (res != null) {
189 this.diaData = res 189 this.diaData = res
190 this.bsmSjsb = row.BSM_SJSB 190 this.bsmSjsb = row.BSM_SJSB
......
...@@ -42,7 +42,7 @@ ...@@ -42,7 +42,7 @@
42 // 建筑物区分所有权业主共有部分 42 // 建筑物区分所有权业主共有部分
43 import data from "./data" 43 import data from "./data"
44 import business from '@/api/business' 44 import business from '@/api/business'
45 import dataReporting from '@/api/dataReporting' 45 import sjsbFunctionOper from '@/api/sjsbFunctionOper'
46 import tableMixin from '@/mixins/tableMixin.js' 46 import tableMixin from '@/mixins/tableMixin.js'
47 import treeSelect from '@/components/treeSelect/index.vue' 47 import treeSelect from '@/components/treeSelect/index.vue'
48 export default { 48 export default {
...@@ -118,7 +118,7 @@ export default { ...@@ -118,7 +118,7 @@ export default {
118 } 118 }
119 }, 119 },
120 async handlDatadetails (index, row) { 120 async handlDatadetails (index, row) {
121 let { result: res, message } = await dataReporting.getQltFwFdcqYzByCondition(row.BSM_SJSB) 121 let { result: res, message } = await sjsbFunctionOper.getQltFwFdcqYzByCondition(row.BSM_SJSB)
122 if (res != null) { 122 if (res != null) {
123 this.diaData = res 123 this.diaData = res
124 this.bsmSjsb = row.BSM_SJSB 124 this.bsmSjsb = row.BSM_SJSB
......
...@@ -70,7 +70,7 @@ ...@@ -70,7 +70,7 @@
70 // 房地产权(独幢、层、套、间、房屋) 70 // 房地产权(独幢、层、套、间、房屋)
71 import data from "./data" 71 import data from "./data"
72 import business from '@/api/business' 72 import business from '@/api/business'
73 import dataReporting from '@/api/dataReporting' 73 import sjsbFunctionOper from '@/api/sjsbFunctionOper'
74 import tableMixin from '@/mixins/tableMixin.js' 74 import tableMixin from '@/mixins/tableMixin.js'
75 import treeSelect from '@/components/treeSelect/index.vue' 75 import treeSelect from '@/components/treeSelect/index.vue'
76 export default { 76 export default {
...@@ -184,7 +184,7 @@ export default { ...@@ -184,7 +184,7 @@ export default {
184 } 184 }
185 }, 185 },
186 async handlDatadetails (index, row) { 186 async handlDatadetails (index, row) {
187 let { result: res, message } = await dataReporting.getQltFwFdcqYzByCondition(row.BSM_SJSB) 187 let { result: res, message } = await sjsbFunctionOper.getQltFwFdcqYzByCondition(row.BSM_SJSB)
188 if (res != null) { 188 if (res != null) {
189 this.diaData = res 189 this.diaData = res
190 this.bsmSjsb = row.BSM_SJSB 190 this.bsmSjsb = row.BSM_SJSB
......
...@@ -65,7 +65,7 @@ ...@@ -65,7 +65,7 @@
65 // 建设用地、宅基地使用权 65 // 建设用地、宅基地使用权
66 import data from "./data" 66 import data from "./data"
67 import business from '@/api/business' 67 import business from '@/api/business'
68 import dataReporting from '@/api/dataReporting' 68 import sjsbFunctionOper from '@/api/sjsbFunctionOper'
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 {
...@@ -178,7 +178,7 @@ export default { ...@@ -178,7 +178,7 @@ export default {
178 } 178 }
179 }, 179 },
180 async handlDatadetails (index, row) { 180 async handlDatadetails (index, row) {
181 let { result: res, message } = await dataReporting.getQltFwFdcqYzByCondition(row.BSM_SJSB) 181 let { result: res, message } = await sjsbFunctionOper.getQltFwFdcqYzByCondition(row.BSM_SJSB)
182 if (res != null) { 182 if (res != null) {
183 this.diaData = res 183 this.diaData = res
184 this.bsmSjsb = row.BSM_SJSB 184 this.bsmSjsb = row.BSM_SJSB
......