f5659648 by yangwei

查询数据上报详情

1 parent a5aa8a83
...@@ -40,14 +40,22 @@ export function getDataReportPage (data) { ...@@ -40,14 +40,22 @@ export function getDataReportPage (data) {
40 }) 40 })
41 } 41 }
42 42
43 // 数据上报分页 43 // 查询数据上报详情tabs选项卡
44 export function getDetail (params) { 44 export function getTabsDetail (params) {
45 return request({ 45 return request({
46 url: SERVER.SERVERAPI + '/rest/sjsb/DataReport/getTabsDetail', 46 url: SERVER.SERVERAPI + '/rest/sjsb/DataReport/getTabsDetail',
47 method: 'get', 47 method: 'get',
48 params 48 params
49 }) 49 })
50 } 50 }
51 // 查询数据上报详情
52 export function getReportDetail (params) {
53 return request({
54 url: SERVER.SERVERAPI + '/rest/sjsb/DataReport/getReportDetail',
55 method: 'get',
56 params
57 })
58 }
51 59
52 // 结果 60 // 结果
53 export function getReceiveDataReportResult (bsmReport) { 61 export function getReceiveDataReportResult (bsmReport) {
......
...@@ -118,7 +118,7 @@ ...@@ -118,7 +118,7 @@
118 import { mapGetters } from "vuex"; 118 import { mapGetters } from "vuex";
119 import JsonEditor from "@/components/JsonEditor.vue"; 119 import JsonEditor from "@/components/JsonEditor.vue";
120 import Xyjg from "./Result"; 120 import Xyjg from "./Result";
121 import { getDetail, getXml } from "@/api/dataReport.js"; 121 import { getTabsDetail, getXml,getReportDetail } from "@/api/dataReport.js";
122 import { MessageBox } from "element-ui"; 122 import { MessageBox } from "element-ui";
123 export default { 123 export default {
124 components: { JsonEditor, Xyjg }, 124 components: { JsonEditor, Xyjg },
...@@ -185,7 +185,7 @@ export default { ...@@ -185,7 +185,7 @@ export default {
185 this.titleName = 'sjmx'; 185 this.titleName = 'sjmx';
186 this.dialogVisible = true; 186 this.dialogVisible = true;
187 //获取表头列表 187 //获取表头列表
188 getDetail({ bsmReport: this.dataReport.bsmReport || this.dataReport.bsmSjsb }).then((res) => { 188 getTabsDetail({ bsmReport: this.dataReport.bsmReport || this.dataReport.bsmSjsb }).then((res) => {
189 if (res.code == 200) { 189 if (res.code == 200) {
190 this.headerList = res.result; 190 this.headerList = res.result;
191 this.activeName = this.tabsActiveName == '' ? res.result[0].soleurl : this.tabsActiveName 191 this.activeName = this.tabsActiveName == '' ? res.result[0].soleurl : this.tabsActiveName
...@@ -198,6 +198,14 @@ export default { ...@@ -198,6 +198,14 @@ export default {
198 getXml(item.bizMsgid).then((res) => { 198 getXml(item.bizMsgid).then((res) => {
199 this.resultInfo = res.message 199 this.resultInfo = res.message
200 }) 200 })
201 }else{
202 //不动产数据查询上报详情
203 getReportDetail({bsmReport:item.bsmSjsb}).then((res) => {
204 if (res.code == 200) {
205 debugger
206 this.dataReport = res.result;
207 }
208 })
201 } 209 }
202 }, 210 },
203 changeList (val) { 211 changeList (val) {
......