上报报文
Showing
4 changed files
with
84 additions
and
90 deletions
1 | import request from '@/utils/request' | 1 | import request from '@/utils/request' |
2 | import SERVER from './config' | ||
2 | 3 | ||
3 | class sbbwcx { | 4 | // 数据上报分页 |
4 | // 定时任务查询接口 | 5 | export function getDataReportPage (data) { |
5 | async getDataReportPage (data) { | 6 | return request({ |
6 | return request({ | 7 | url: SERVER.SERVERAPI + '/sjsb/DataReport/getDataReportPage', |
7 | url: '/sjsb/DataReport/getDataReportPage', | 8 | method: 'post', |
8 | method: 'post', | 9 | data |
9 | data | 10 | }) |
10 | }) | 11 | } |
11 | } | ||
12 | 12 | ||
13 | // 数据上报分页 | ||
14 | export function getDetail (params) { | ||
15 | return request({ | ||
16 | url: SERVER.SERVERAPI + '/sjsb/DataReport/getDetail', | ||
17 | method: 'get', | ||
18 | params | ||
19 | }) | ||
13 | } | 20 | } |
14 | export default new sbbwcx() | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
21 | ... | ... |
... | @@ -9,83 +9,88 @@ | ... | @@ -9,83 +9,88 @@ |
9 | <el-row> | 9 | <el-row> |
10 | <el-col :span="6"> | 10 | <el-col :span="6"> |
11 | <span>业务报文ID:</span> | 11 | <span>业务报文ID:</span> |
12 | <p>{{ ruleFormList.bizMsgID }}</p> | 12 | <p>{{ dataReport.bizmsgid }}</p> |
13 | </el-col> | 13 | </el-col> |
14 | <el-col :span="6"> | 14 | <el-col :span="6"> |
15 | <span>接入报文ID:</span> | 15 | <span>接入报文ID:</span> |
16 | <p>{{ ruleFormList.asid }}</p> | 16 | <p>{{ dataReport.asid }}</p> |
17 | </el-col> | 17 | </el-col> |
18 | <el-col :span="6"> | 18 | <el-col :span="6"> |
19 | <span>行政区划编码:</span> | 19 | <span>行政区划编码:</span> |
20 | <p>{{ ruleFormList.areaCode }}</p> | 20 | <p>{{ dataReport.areacode }}</p> |
21 | </el-col> | 21 | </el-col> |
22 | <el-col :span="6"> | 22 | <el-col :span="6"> |
23 | <span>上次不动产单元号:</span> | 23 | <span>上次不动产单元号:</span> |
24 | <p>{{ ruleFormList.preestateNum }}</p> | 24 | <p>{{ dataReport.preestatenum }}</p> |
25 | </el-col> | 25 | </el-col> |
26 | </el-row> | 26 | </el-row> |
27 | <el-row> | 27 | <el-row> |
28 | <el-col :span="6"> | 28 | <el-col :span="6"> |
29 | <span>业务编码:</span> | 29 | <span>业务编码:</span> |
30 | <p>{{ ruleFormList.recType }}</p> | 30 | <p>{{ dataReport.rectype }}</p> |
31 | </el-col> | 31 | </el-col> |
32 | <el-col :span="6"> | 32 | <el-col :span="6"> |
33 | <span>权利类型:</span> | 33 | <span>权利类型:</span> |
34 | <p>{{ ruleFormList.rightType }}</p> | 34 | <p>{{ dataReport.righttype }}</p> |
35 | </el-col> | 35 | </el-col> |
36 | <el-col :span="6"> | 36 | <el-col :span="6"> |
37 | <span>登记类型:</span> | 37 | <span>登记类型:</span> |
38 | <p>{{ ruleFormList.regType }}</p> | 38 | <p>{{ dataReport.regtype }}</p> |
39 | </el-col> | 39 | </el-col> |
40 | <el-col :span="6"> | 40 | <el-col :span="6"> |
41 | <span>不动产权证书数量:</span> | 41 | <span>不动产权证书数量:</span> |
42 | <p>{{ ruleFormList.certCount }}</p> | 42 | <p>{{ dataReport.certcount }}</p> |
43 | </el-col> | 43 | </el-col> |
44 | </el-row> | 44 | </el-row> |
45 | <el-row> | 45 | <el-row> |
46 | <el-col :span="6"> | 46 | <el-col :span="6"> |
47 | <span>创建时间:</span> | 47 | <span>创建时间:</span> |
48 | <p>{{ ruleFormList.createDate }}</p> | 48 | <p>{{ dataReport.syscreatedate }}</p> |
49 | </el-col> | 49 | </el-col> |
50 | <el-col :span="6"> | 50 | <el-col :span="6"> |
51 | <span>业务流水号:</span> | 51 | <span>业务流水号:</span> |
52 | <p>{{ ruleFormList.recFlowID }}</p> | 52 | <p>{{ dataReport.recflowid }}</p> |
53 | </el-col> | 53 | </el-col> |
54 | <el-col :span="6"> | 54 | <el-col :span="6"> |
55 | <span>登记机构:</span> | 55 | <span>登记机构:</span> |
56 | <p>{{ ruleFormList.regOrgID }}</p> | 56 | <p>{{ dataReport.regorgid }}</p> |
57 | </el-col> | 57 | </el-col> |
58 | <el-col :span="6"> | 58 | <el-col :span="6"> |
59 | <span>证明数量:</span> | 59 | <span>证明数量:</span> |
60 | <p>{{ ruleFormList.prllfCount }}</p> | 60 | <p>{{ dataReport.proofcount }}</p> |
61 | </el-col> | 61 | </el-col> |
62 | </el-row> | 62 | </el-row> |
63 | <el-row> | 63 | <el-row> |
64 | <el-col :span="6"> | 64 | <el-col :span="6"> |
65 | <span>宗地/宗海代码:</span> | 65 | <span>宗地/宗海代码:</span> |
66 | <p>{{ ruleFormList.parcelID }}</p> | 66 | <p>{{ dataReport.parcelid }}</p> |
67 | </el-col> | 67 | </el-col> |
68 | <el-col :span="10"> | 68 | <el-col :span="6"> |
69 | <span>不动产单元号:</span> | 69 | <span>不动产单元号:</span> |
70 | <p>{{ ruleFormList.estateNum }}</p> | 70 | <p>{{ dataReport.estatenum }}</p> |
71 | </el-col> | 71 | </el-col> |
72 | <el-col :span="7"> | 72 | <el-col :span="10"> |
73 | <span>上次不动产权证号/不动产登记证明:</span> | 73 | <span>上次不动产权证号/不动产登记证明:</span> |
74 | <p>{{ ruleFormList.preCertID }}</p> | 74 | <p>{{ dataReport.precertid }}</p> |
75 | </el-col> | ||
76 | </el-row> | ||
77 | <el-row> | ||
78 | <el-col :span="24"> | ||
79 | <span>数字签名:</span> | ||
80 | <p>{{ dataReport.digitalsign }}</p> | ||
75 | </el-col> | 81 | </el-col> |
76 | </el-row> | 82 | </el-row> |
77 | </div> | 83 | </div> |
78 | <el-tabs v-model="activeName" ref="elTabs" type="card" @tab-click="changeList"> | 84 | <el-tabs v-model="activeName" ref="elTabs" type="card" @tab-click="changeList"> |
79 | <el-tab-pane :name="item.soleUrl" v-for="item in headerList" :key="item.soleUrl"> | 85 | <el-tab-pane :name="item.soleurl" v-for="item in headerList" :key="item.soleurl"> |
80 | <div slot="label" class="tab-pane-item"> | 86 | <div slot="label" class="tab-pane-item"> |
81 | <p class="name">{{ item.chineseTable }}</p> | 87 | <p class="name">{{ item.chinesetable }}</p> |
82 | <p class="soleUrl" :data-name="item.soleUrl">({{ item.dataTable }})</p> | 88 | <p class="soleurl" :data-name="item.soleurl">({{ item.datatable }})</p> |
83 | </div> | 89 | </div> |
84 | </el-tab-pane> | 90 | </el-tab-pane> |
85 | </el-tabs> | 91 | </el-tabs> |
86 | <div class="edit-content"> | 92 | <div class="edit-content"> |
87 | <component :is="editItem" ref="editItem" :class="{ 'editForm': $store.state.business.Edit }" :bsmSjsb="bsmSjsb" | 93 | <component :is="editItem" ref="editItem" :class="{ 'editForm': $store.state.business.Edit }" :dataTable="dataTable" /> |
88 | :dataTable="dataTable" /> | ||
89 | </div> | 94 | </div> |
90 | <div slot="footer" class="dialog_footer" ref="dialogFooter"> | 95 | <div slot="footer" class="dialog_footer" ref="dialogFooter"> |
91 | <div class="dialog_button"> | 96 | <div class="dialog_button"> |
... | @@ -101,20 +106,17 @@ | ... | @@ -101,20 +106,17 @@ |
101 | <script> | 106 | <script> |
102 | import { mapGetters } from 'vuex' | 107 | import { mapGetters } from 'vuex' |
103 | import dataReporting from '@/api/dataReporting' | 108 | import dataReporting from '@/api/dataReporting' |
109 | import { getDetail } from '@/api/sbbwcx.js' | ||
104 | import { MessageBox } from 'element-ui' | 110 | import { MessageBox } from 'element-ui' |
105 | export default { | 111 | export default { |
106 | computed: { | 112 | computed: { |
107 | ...mapGetters(['Edit']) | 113 | ...mapGetters(['Edit']) |
108 | }, | 114 | }, |
109 | props: { | 115 | props: { |
110 | diaData: Object, | ||
111 | bsmSjsb: { | ||
112 | type: String, | ||
113 | default: '' | ||
114 | } | ||
115 | }, | 116 | }, |
116 | data () { | 117 | data () { |
117 | return { | 118 | return { |
119 | dataReport: {}, | ||
118 | index: 0, | 120 | index: 0, |
119 | ruleFormList: { | 121 | ruleFormList: { |
120 | bizMsgID: '', | 122 | bizMsgID: '', |
... | @@ -145,27 +147,19 @@ export default { | ... | @@ -145,27 +147,19 @@ export default { |
145 | } | 147 | } |
146 | }, | 148 | }, |
147 | methods: { | 149 | methods: { |
148 | async getFormList (id) { | 150 | isShow (item) { |
149 | let { result: res } = await dataReporting.searchTaskInfoByMsgid(id) | 151 | this.dataReport = item; |
150 | this.ruleFormList = res | 152 | this.dialogVisible = true |
151 | }, | 153 | //获取表头列表 |
152 | isShow () { | 154 | getDetail({bizmsgid: this.dataReport.bizmsgid}).then(res => { |
153 | setTimeout(() => { | 155 | if(res.code == 200){ |
154 | if (this.diaData && this.diaData.list) { | 156 | this.headerList = res.result |
155 | this.getFormList(this.diaData.msgId) | 157 | console.log(this.headerList); |
156 | this.headerList = this.diaData.list | 158 | |
157 | this.activeName = this.diaData.list[0].soleUrl | ||
158 | this.dataTable = this.diaData.list[0].dataTable | ||
159 | this.title = this.diaData.jrywmc | ||
160 | } | 159 | } |
161 | this.dialogVisible = true | 160 | }) |
162 | if (this.activeName) { | ||
163 | this.editItem = this.loadView(this.activeName) | ||
164 | } | ||
165 | }, 0) | ||
166 | }, | 161 | }, |
167 | changeList (val) { | 162 | changeList (val) { |
168 | console.log(this.$refs.elTabs,) | ||
169 | let _index = val.index | 163 | let _index = val.index |
170 | if (_index > this.index) { | 164 | if (_index > this.index) { |
171 | 165 | ||
... | @@ -173,7 +167,7 @@ export default { | ... | @@ -173,7 +167,7 @@ export default { |
173 | this.index = _index | 167 | this.index = _index |
174 | this.editItem = this.loadView(this.activeName) | 168 | this.editItem = this.loadView(this.activeName) |
175 | this.diaData.list.forEach((item) => { | 169 | this.diaData.list.forEach((item) => { |
176 | if (item.soleUrl == this.activeName) { | 170 | if (item.soleurl == this.activeName) { |
177 | this.dataTable = item.dataTable | 171 | this.dataTable = item.dataTable |
178 | } | 172 | } |
179 | }); | 173 | }); | ... | ... |
... | @@ -9,23 +9,23 @@ class data extends filter { | ... | @@ -9,23 +9,23 @@ class data extends filter { |
9 | type: 'selection' | 9 | type: 'selection' |
10 | }, | 10 | }, |
11 | { | 11 | { |
12 | prop: "xzqdm", | 12 | prop: "pcode", |
13 | label: "行政区代码", | 13 | label: "行政区代码", |
14 | }, | 14 | }, |
15 | { | 15 | { |
16 | prop: "bdcdyh", | 16 | prop: "estatenum", |
17 | label: "不动产单元号", | 17 | label: "不动产单元号", |
18 | }, | 18 | }, |
19 | { | 19 | { |
20 | prop: "xzqmc", | 20 | prop: "pcode", |
21 | label: "行政区名称", | 21 | label: "行政区名称", |
22 | }, | 22 | }, |
23 | { | 23 | { |
24 | prop: "ywbm", | 24 | prop: "rectype", |
25 | label: "业务编码", | 25 | label: "业务编码", |
26 | }, | 26 | }, |
27 | { | 27 | { |
28 | prop: "sbsj", | 28 | prop: "uploadtime", |
29 | label: "上报时间", | 29 | label: "上报时间", |
30 | }, | 30 | }, |
31 | { | 31 | { |
... | @@ -35,9 +35,7 @@ class data extends filter { | ... | @@ -35,9 +35,7 @@ class data extends filter { |
35 | return ( | 35 | return ( |
36 | <div> | 36 | <div> |
37 | { | 37 | { |
38 | scope.row.sbjg | 38 | !scope.row.successflag ? '' : scope.row.successflag == '1' ? <el-tag type='success'>成功</el-tag> : <el-tag type='primary'>失败</el-tag> |
39 | ? <el-tag type='success'>通过</el-tag> | ||
40 | : <el-tag type='primary'>通过1</el-tag> | ||
41 | } | 39 | } |
42 | </div> | 40 | </div> |
43 | ) | 41 | ) | ... | ... |
... | @@ -6,20 +6,20 @@ | ... | @@ -6,20 +6,20 @@ |
6 | <el-form ref="ruleForm" :model="form" label-width="100px"> | 6 | <el-form ref="ruleForm" :model="form" label-width="100px"> |
7 | <el-row class="marginbtm5"> | 7 | <el-row class="marginbtm5"> |
8 | <el-col :span="6"> | 8 | <el-col :span="6"> |
9 | <el-form-item label="不动产单元号" prop="bdcdyh"> | 9 | <el-form-item label="不动产单元号" prop="estatenum"> |
10 | <el-input v-model="form.bdcdyh" class="width100" placeholder="不动产单元号"></el-input> | 10 | <el-input v-model="form.estatenum" class="width100" placeholder="不动产单元号"></el-input> |
11 | </el-form-item> | 11 | </el-form-item> |
12 | </el-col> | 12 | </el-col> |
13 | <el-col :span="6"> | 13 | <el-col :span="6"> |
14 | <el-form-item label="开始日期" prop="startTime"> | 14 | <el-form-item label="开始日期" prop="reportStartTime"> |
15 | <el-date-picker type="date" class="width100" placeholder="开始日期" :picker-options="pickerOptionsStart" | 15 | <el-date-picker type="date" class="width100" placeholder="开始日期" :picker-options="pickerOptionsStart" |
16 | clearable v-model="form.startTime" value-format="yyyy-MM-dd"></el-date-picker> | 16 | clearable v-model="form.reportStartTime" value-format="yyyy-MM-dd"></el-date-picker> |
17 | </el-form-item> | 17 | </el-form-item> |
18 | </el-col> | 18 | </el-col> |
19 | <el-col :span="6"> | 19 | <el-col :span="6"> |
20 | <el-form-item label="结束日期" prop="endTime"> | 20 | <el-form-item label="结束日期" prop="reportEndTime"> |
21 | <el-date-picker type="date" class="width100" placeholder="结束日期" :picker-options="pickerOptionsEnd" | 21 | <el-date-picker type="date" class="width100" placeholder="结束日期" :picker-options="pickerOptionsEnd" |
22 | clearable v-model="form.endTime" value-format="yyyy-MM-dd"></el-date-picker> | 22 | clearable v-model="form.reportEndTime" value-format="yyyy-MM-dd"></el-date-picker> |
23 | </el-form-item> | 23 | </el-form-item> |
24 | </el-col> | 24 | </el-col> |
25 | <el-col :span="6"> | 25 | <el-col :span="6"> |
... | @@ -33,8 +33,8 @@ | ... | @@ -33,8 +33,8 @@ |
33 | </el-row> | 33 | </el-row> |
34 | <el-row> | 34 | <el-row> |
35 | <el-col :span="6"> | 35 | <el-col :span="6"> |
36 | <el-form-item label="响应结果" prop="status"> | 36 | <el-form-item label="响应结果" prop="state"> |
37 | <el-select v-model="form.status" class="width100" clearable placeholder="响应结果"> | 37 | <el-select v-model="form.state" class="width100" clearable placeholder="响应结果"> |
38 | <el-option v-for="item in []" :key="item.value" :label="item.label" :value="item.value"> | 38 | <el-option v-for="item in []" :key="item.value" :label="item.label" :value="item.value"> |
39 | </el-option> | 39 | </el-option> |
40 | </el-select> | 40 | </el-select> |
... | @@ -67,7 +67,7 @@ | ... | @@ -67,7 +67,7 @@ |
67 | <!-- 引入详情组件 --> | 67 | <!-- 引入详情组件 --> |
68 | <!-- <detailDialog v-model="isShow" /> --> | 68 | <!-- <detailDialog v-model="isShow" /> --> |
69 | <!-- 编辑 --> | 69 | <!-- 编辑 --> |
70 | <dataDetails ref="editLog" :bsmSjsb="bsmSjsb" :diaData="diaData" /> | 70 | <dataDetails ref="editLog" /> |
71 | </div> | 71 | </div> |
72 | </template> | 72 | </template> |
73 | <script> | 73 | <script> |
... | @@ -78,8 +78,7 @@ import data from "./data" | ... | @@ -78,8 +78,7 @@ import data from "./data" |
78 | import tableMixin from '@/mixins/tableMixin.js' | 78 | import tableMixin from '@/mixins/tableMixin.js' |
79 | // 引入详情弹框 | 79 | // 引入详情弹框 |
80 | import dataDetails from '@/components/dataDetails/edit-dialog' | 80 | import dataDetails from '@/components/dataDetails/edit-dialog' |
81 | import sbbwcx from "@/api/sbbwcx.js"; | 81 | import {getDataReportPage} from "@/api/sbbwcx.js"; |
82 | import { getQlxxDictList, getChildDictList, refreshDictCache } from "@/api/user.js" | ||
83 | 82 | ||
84 | export default { | 83 | export default { |
85 | name: "sbbwcx", | 84 | name: "sbbwcx", |
... | @@ -90,15 +89,13 @@ export default { | ... | @@ -90,15 +89,13 @@ export default { |
90 | }, | 89 | }, |
91 | data () { | 90 | data () { |
92 | return { | 91 | return { |
93 | bsmSjsb: '', | ||
94 | diaData: {}, | ||
95 | isShow: false, | 92 | isShow: false, |
96 | // 开始结束日期限制 | 93 | // 开始结束日期限制 |
97 | pickerOptionsStart: { | 94 | pickerOptionsStart: { |
98 | disabledDate: (time) => { | 95 | disabledDate: (time) => { |
99 | if (this.form.endTime) { | 96 | if (this.form.reportEndTime) { |
100 | return ( | 97 | return ( |
101 | time.getTime() >= new Date(this.form.endTime).getTime() | 98 | time.getTime() >= new Date(this.form.reportEndTime).getTime() |
102 | ); | 99 | ); |
103 | } | 100 | } |
104 | } | 101 | } |
... | @@ -106,22 +103,21 @@ export default { | ... | @@ -106,22 +103,21 @@ export default { |
106 | // 结束日期限制 | 103 | // 结束日期限制 |
107 | pickerOptionsEnd: { | 104 | pickerOptionsEnd: { |
108 | disabledDate: (time) => { | 105 | disabledDate: (time) => { |
109 | if (this.form.startTime) { | 106 | if (this.form.reportStartTime) { |
110 | return ( | 107 | return ( |
111 | time.getTime() <= new Date(this.form.startTime).getTime() | 108 | time.getTime() <= new Date(this.form.reportStartTime).getTime() |
112 | ); | 109 | ); |
113 | } | 110 | } |
114 | } | 111 | } |
115 | }, | 112 | }, |
116 | // 头部搜索 | 113 | // 头部搜索 |
117 | form: { | 114 | form: { |
118 | bdcdyh: '', | 115 | estatenum: '', |
119 | startTime: '', | 116 | reportStartTime: '', |
120 | endTime: '', | 117 | reportEndTime: '', |
121 | ywmc: '', | 118 | ywmc: '', |
122 | status: '', | 119 | state: '', |
123 | pcode: '', | 120 | pcode: '' |
124 | currentPage: 1 | ||
125 | }, | 121 | }, |
126 | // table数据 | 122 | // table数据 |
127 | tableData: { | 123 | tableData: { |
... | @@ -182,7 +178,7 @@ export default { | ... | @@ -182,7 +178,7 @@ export default { |
182 | }, | 178 | }, |
183 | // 初始化数据 | 179 | // 初始化数据 |
184 | featchData () { | 180 | featchData () { |
185 | sbbwcx.getDataReportPage({ ...this.form, ...this.pageData }).then(res => { | 181 | getDataReportPage({ ...this.form, ...this.pageData }).then(res => { |
186 | if (res.code === 200) { | 182 | if (res.code === 200) { |
187 | let { total, records } = res.result | 183 | let { total, records } = res.result |
188 | this.tableData.total = total; | 184 | this.tableData.total = total; |
... | @@ -198,8 +194,7 @@ export default { | ... | @@ -198,8 +194,7 @@ export default { |
198 | handleEscalation () { }, | 194 | handleEscalation () { }, |
199 | // 详情 | 195 | // 详情 |
200 | handleDetail (row) { | 196 | handleDetail (row) { |
201 | // this.isShow = true | 197 | this.$refs.editLog.isShow(row) |
202 | this.$refs.editLog.isShow() | ||
203 | } | 198 | } |
204 | } | 199 | } |
205 | } | 200 | } | ... | ... |
-
Please register or sign in to post a comment