8abc5728 by 任超

style:表单清空

1 parent 7ac06c40
1 import request from '@/utils/request' 1 import request from '@/utils/request'
2 import SERVER from './config'
2 3
3 class journal { 4 class journal {
4 // 登薄日志
5 async queryAccessLogs (data) {
6 return request({
7 url: '/accessLog/queryAccessLogs',
8 method: 'post',
9 data
10 })
11 }
12 // GET /accessLog/getXmlById登簿日志报文预览
13 async getXmlById (id) {
14 return request({
15 url: '/accessLog/getXmlById',
16 method: 'get',
17 params: {
18 id: id
19 }
20 })
21 }
22 // 上报日志
23 async querySjsbTask (data) {
24 return request({
25 url: '/sjsbFunctionOper/querySjsbTask',
26 method: 'post',
27 data
28 })
29 }
30 // 查询响应日志
31 async queryResponseLog (id) {
32 return request({
33 url: '/sjsbFunctionOper/queryResponseLog',
34 method: 'get',
35 params: {
36 msgid: id
37 }
38 })
39 }
40 // 重新发报接口
41 async sendXmlForPlat (id) {
42 return request({
43 url: '/sjsbFunctionOper/sendXmlForPlat',
44 method: 'get',
45 params: {
46 msgid: id
47 }
48 })
49 }
50 // 预览xml报文
51 async queryXML (id) {
52 return request({
53 url: '/sjsbFunctionOper/queryXML',
54 method: 'get',
55 params: {
56 msgid: id
57 }
58 })
59 }
60 // 重新抽取 5 // 重新抽取
61 async extractionAndInsertData (id) { 6 async extractionAndInsertData (id) {
62 return request({ 7 return request({
63 url: '/sjsbFunctionOper/extractionAndInsertData', 8 url: SERVER.SERVERAPI + '/sjsbFunctionOper/extractionAndInsertData',
64 method: 'get', 9 method: 'get',
65 params: { 10 params: {
66 msgid: id 11 msgid: id
...@@ -70,7 +15,7 @@ class journal { ...@@ -70,7 +15,7 @@ class journal {
70 // 错误日志查询 15 // 错误日志查询
71 async queryErrorLog (id) { 16 async queryErrorLog (id) {
72 return request({ 17 return request({
73 url: '/sjsbFunctionOper/queryErrorLog', 18 url: SERVER.SERVERAPI + '/sjsbFunctionOper/queryErrorLog',
74 method: 'get', 19 method: 'get',
75 params: { 20 params: {
76 msgid: id 21 msgid: id
...@@ -80,7 +25,7 @@ class journal { ...@@ -80,7 +25,7 @@ class journal {
80 // 校验报文 25 // 校验报文
81 async checkSjsbXmlDatas (id) { 26 async checkSjsbXmlDatas (id) {
82 return request({ 27 return request({
83 url: '/sjsbFunctionOper/checkSjsbXmlDatas', 28 url: SERVER.SERVERAPI + '/sjsbFunctionOper/checkSjsbXmlDatas',
84 method: 'get', 29 method: 'get',
85 params: { 30 params: {
86 msgid: id 31 msgid: id
......
...@@ -33,12 +33,23 @@ let mixin = { ...@@ -33,12 +33,23 @@ let mixin = {
33 this.featchData() 33 this.featchData()
34 }, 34 },
35 handleSubmit () { 35 handleSubmit () {
36 this.tableData.data = []
36 this.featchData() 37 this.featchData()
37 }, 38 },
38 // 详情 39 // 详情
39 handleEdit (row) { 40 handleEdit (row) {
40 this.title = row.rectypeName 41 this.title = row.rectypeName
41 this.$refs.editLog.isShow(row); 42 this.$refs.editLog.isShow(row);
43 },
44 // // 重置表单
45 resetForm () {
46 if (!this.form) return
47 Object.keys(this.form).forEach((key) => {
48 if (key !== 'currentPage') this.form[key] = '';
49 })
50 this.form.currentPage = 1
51 this.tableData.data = []
52 this.featchData()
42 } 53 }
43 } 54 }
44 } 55 }
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
5 <el-row> 5 <el-row>
6 <el-col :span="5"> 6 <el-col :span="5">
7 <el-form-item label="行政区" label-width="80px"> 7 <el-form-item label="行政区" label-width="80px">
8 <el-select v-model="form.xzq" class="width100" clearable placeholder="行政区"> 8 <el-select v-model="form.XZQDM" class="width100" clearable placeholder="行政区">
9 <el-option v-for="item in dicData['A20']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE"> 9 <el-option v-for="item in dicData['A20']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
10 </el-option> 10 </el-option>
11 </el-select> 11 </el-select>
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
13 </el-col> 13 </el-col>
14 <el-col :span="5"> 14 <el-col :span="5">
15 <el-form-item label="权属状态"> 15 <el-form-item label="权属状态">
16 <el-select v-model="form.qszt" class="width100" clearable placeholder="权属状态"> 16 <el-select v-model="form.QSZT" class="width100" clearable placeholder="权属状态">
17 <el-option v-for="item in dicData['A22']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE"> 17 <el-option v-for="item in dicData['A22']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
18 </el-option> 18 </el-option>
19 </el-select> 19 </el-select>
...@@ -21,24 +21,24 @@ ...@@ -21,24 +21,24 @@
21 </el-col> 21 </el-col>
22 <el-col :span="5"> 22 <el-col :span="5">
23 <el-form-item label="坐落"> 23 <el-form-item label="坐落">
24 <el-input v-model="form.zl" placeholder="坐落"></el-input> 24 <el-input v-model="form.ZL" placeholder="坐落"></el-input>
25 </el-form-item> 25 </el-form-item>
26 </el-col> 26 </el-col>
27 <el-col :span="5"> 27 <el-col :span="5">
28 <el-form-item label="不动产权证号"> 28 <el-form-item label="不动产权证号">
29 <el-input v-model="form.bdcqzh" placeholder="不动产权证号"></el-input> 29 <el-input v-model="form.BDCQZH" placeholder="不动产权证号"></el-input>
30 </el-form-item> 30 </el-form-item>
31 </el-col> 31 </el-col>
32 </el-row> 32 </el-row>
33 <el-row class="mt-10"> 33 <el-row class="mt-10">
34 <el-col :span="5"> 34 <el-col :span="5">
35 <el-form-item label="权利人" label-width="80px"> 35 <el-form-item label="权利人" label-width="80px">
36 <el-input v-model="form.qlr" placeholder="权利人"></el-input> 36 <el-input v-model="form.QLR" placeholder="权利人"></el-input>
37 </el-form-item> 37 </el-form-item>
38 </el-col> 38 </el-col>
39 <el-col :span="5"> 39 <el-col :span="5">
40 <el-form-item label="不动产单元号"> 40 <el-form-item label="不动产单元号">
41 <el-input v-model="form.bdcdyh" placeholder="不动产单元号"></el-input> 41 <el-input v-model="form.BDCDYH" placeholder="不动产单元号"></el-input>
42 </el-form-item> 42 </el-form-item>
43 </el-col> 43 </el-col>
44 <el-col :span="5"> 44 <el-col :span="5">
...@@ -78,12 +78,12 @@ export default { ...@@ -78,12 +78,12 @@ export default {
78 data () { 78 data () {
79 return { 79 return {
80 form: { 80 form: {
81 xzq: '', 81 XZQDM: '',
82 qszt: '', 82 QSZT: '',
83 zl: '', 83 ZL: '',
84 bdcqzh: '', 84 BDCQZH: '',
85 qlr: '', 85 QLR: '',
86 bdcdyh: '', 86 BDCDYH: '',
87 xxx: '', 87 xxx: '',
88 xxx1: '', 88 xxx1: '',
89 currentPage: 1 89 currentPage: 1
...@@ -125,10 +125,6 @@ export default { ...@@ -125,10 +125,6 @@ export default {
125 } 125 }
126 }, 126 },
127 methods: { 127 methods: {
128 // 是否显示下拉框
129 isShowSelectOptions (e) {
130 if (!e) this.$refs.selectseizureReg.blur()
131 },
132 async featchData () { 128 async featchData () {
133 try { 129 try {
134 let { result: { list, total, pages: pageSize, pageNum: current } 130 let { result: { list, total, pages: pageSize, pageNum: current }
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
5 <el-row> 5 <el-row>
6 <el-col :span="5"> 6 <el-col :span="5">
7 <el-form-item label="行政区" label-width="80px"> 7 <el-form-item label="行政区" label-width="80px">
8 <el-select v-model="form.xzq" class="width100" clearable placeholder="行政区"> 8 <el-select v-model="form.XZQDM" class="width100" clearable placeholder="行政区">
9 <el-option v-for="item in dicData['A20']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE"> 9 <el-option v-for="item in dicData['A20']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
10 </el-option> 10 </el-option>
11 </el-select> 11 </el-select>
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
13 </el-col> 13 </el-col>
14 <el-col :span="5"> 14 <el-col :span="5">
15 <el-form-item label="权属状态"> 15 <el-form-item label="权属状态">
16 <el-select v-model="form.qszt" class="width100" clearable placeholder="权属状态"> 16 <el-select v-model="form.QSZT" class="width100" clearable placeholder="权属状态">
17 <el-option v-for="item in dicData['A22']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE"> 17 <el-option v-for="item in dicData['A22']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
18 </el-option> 18 </el-option>
19 </el-select> 19 </el-select>
...@@ -21,12 +21,12 @@ ...@@ -21,12 +21,12 @@
21 </el-col> 21 </el-col>
22 <el-col :span="5"> 22 <el-col :span="5">
23 <el-form-item label="坐落"> 23 <el-form-item label="坐落">
24 <el-input v-model="form.zl" placeholder="坐落"></el-input> 24 <el-input v-model="form.ZL" placeholder="坐落"></el-input>
25 </el-form-item> 25 </el-form-item>
26 </el-col> 26 </el-col>
27 <el-col :span="5"> 27 <el-col :span="5">
28 <el-form-item label="不动产权证号"> 28 <el-form-item label="不动产权证号">
29 <el-input v-model="form.bdcqzh" placeholder="不动产权证号"></el-input> 29 <el-input v-model="form.BDCQZH" placeholder="不动产权证号"></el-input>
30 </el-form-item> 30 </el-form-item>
31 </el-col> 31 </el-col>
32 </el-row> 32 </el-row>
...@@ -38,7 +38,7 @@ ...@@ -38,7 +38,7 @@
38 </el-col> 38 </el-col>
39 <el-col :span="5"> 39 <el-col :span="5">
40 <el-form-item label="不动产单元号"> 40 <el-form-item label="不动产单元号">
41 <el-input v-model="form.bdcdyh" placeholder="不动产单元号"></el-input> 41 <el-input v-model="form.BDCDYH" placeholder="不动产单元号"></el-input>
42 </el-form-item> 42 </el-form-item>
43 </el-col> 43 </el-col>
44 <el-col :span="5"> 44 <el-col :span="5">
...@@ -51,7 +51,7 @@ ...@@ -51,7 +51,7 @@
51 </el-col> 51 </el-col>
52 <el-col :span="5"> 52 <el-col :span="5">
53 <el-form-item label="登记类型"> 53 <el-form-item label="登记类型">
54 <el-select v-model="form.djlx" class="width100" clearable placeholder="登记类型"> 54 <el-select v-model="form.DJLX" class="width100" clearable placeholder="登记类型">
55 <el-option v-for="item in dicData['A21']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE"> 55 <el-option v-for="item in dicData['A21']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
56 </el-option> 56 </el-option>
57 </el-select> 57 </el-select>
...@@ -89,14 +89,14 @@ export default { ...@@ -89,14 +89,14 @@ export default {
89 data () { 89 data () {
90 return { 90 return {
91 form: { 91 form: {
92 xzq: '', 92 XZQDM: '',
93 qszt: '', 93 QSZT: '',
94 zl: '', 94 ZL: '',
95 bdcqzh: '', 95 BDCQZH: '',
96 dyr: '', 96 dyr: '',
97 bdcdyh: '', 97 BDCDYH: '',
98 dybdclx: '', 98 dybdclx: '',
99 djlx: '', 99 DJLX: '',
100 currentPage: 1 100 currentPage: 1
101 }, 101 },
102 tableData: { 102 tableData: {
...@@ -130,9 +130,7 @@ export default { ...@@ -130,9 +130,7 @@ export default {
130 total: 0, 130 total: 0,
131 pageSize: 15, 131 pageSize: 15,
132 current: 1, 132 current: 1,
133 }, 133 }
134 diaData: null,
135 bsmSjsb: ''
136 } 134 }
137 }, 135 },
138 methods: { 136 methods: {
......
1 <template> 1 <template>
2 <div class="dyiq from-clues"> 2 <div class="from-clues">
3 <div class="from-clues-header"> 3 <div class="from-clues-header">
4 <el-form ref="form" :model="form" label-width="150px"> 4 <el-form ref="form" :model="form" label-width="150px">
5 <el-row> 5 <el-row>
6 <el-col :span="5"> 6 <el-col :span="5">
7 <el-form-item label="行政区" label-width="80px"> 7 <el-form-item label="行政区" label-width="80px">
8 <el-select v-model="form.xzq" class="width100" clearable placeholder="行政区"> 8 <el-select v-model="form.XZQDM" class="width100" clearable placeholder="行政区">
9 <el-option v-for="item in dicData['A20']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE"> 9 <el-option v-for="item in dicData['A20']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
10 </el-option> 10 </el-option>
11 </el-select> 11 </el-select>
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
14 14
15 <el-col :span="5"> 15 <el-col :span="5">
16 <el-form-item label="权属状态"> 16 <el-form-item label="权属状态">
17 <el-select v-model="form.qszt" class="width100" clearable placeholder="权属状态"> 17 <el-select v-model="form.QSZT" class="width100" clearable placeholder="权属状态">
18 <el-option v-for="item in dicData['A22']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE"> 18 <el-option v-for="item in dicData['A22']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
19 </el-option> 19 </el-option>
20 </el-select> 20 </el-select>
...@@ -23,12 +23,12 @@ ...@@ -23,12 +23,12 @@
23 23
24 <el-col :span="5"> 24 <el-col :span="5">
25 <el-form-item label="坐落"> 25 <el-form-item label="坐落">
26 <el-input v-model="form.zl" placeholder="坐落"></el-input> 26 <el-input v-model="form.ZL" placeholder="坐落"></el-input>
27 </el-form-item> 27 </el-form-item>
28 </el-col> 28 </el-col>
29 <el-col :span="5"> 29 <el-col :span="5">
30 <el-form-item label="不动产权证号"> 30 <el-form-item label="不动产权证号">
31 <el-input v-model="form.bdcqzh" placeholder="不动产权证号"></el-input> 31 <el-input v-model="form.BDCQZH" placeholder="不动产权证号"></el-input>
32 </el-form-item> 32 </el-form-item>
33 </el-col> 33 </el-col>
34 34
...@@ -36,35 +36,32 @@ ...@@ -36,35 +36,32 @@
36 <el-row class="mt-10"> 36 <el-row class="mt-10">
37 <el-col :span="5"> 37 <el-col :span="5">
38 <el-form-item label="权利人" label-width="80px"> 38 <el-form-item label="权利人" label-width="80px">
39 <el-input v-model="form.qlr" placeholder="权利人"></el-input> 39 <el-input v-model="form.QLR" placeholder="权利人"></el-input>
40 </el-form-item> 40 </el-form-item>
41 </el-col> 41 </el-col>
42 <el-col :span="5"> 42 <el-col :span="5">
43 <el-form-item label="不动产单元号"> 43 <el-form-item label="不动产单元号">
44 <el-input v-model="form.bdcdyh" placeholder="不动产单元号"></el-input> 44 <el-input v-model="form.BDCDYH" placeholder="不动产单元号"></el-input>
45 </el-form-item> 45 </el-form-item>
46 </el-col> 46 </el-col>
47 47
48 <el-col :span="5"> 48 <el-col :span="5">
49 <el-form-item label="供役地不动产单元号"> 49 <el-form-item label="供役地不动产单元号">
50 <el-select v-model="form.xxx" class="width100" clearable placeholder="供役地不动产单元号"> 50 <el-input v-model="form.GYDBDCDYH" placeholder="供役地不动产单元号"></el-input>
51 <el-option v-for="item in dicData['xxx']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
52 </el-option>
53 </el-select>
54 </el-form-item> 51 </el-form-item>
55 </el-col> 52 </el-col>
56 53
57 <el-col :span="5"> 54 <el-col :span="5">
58 <el-form-item label="需役地不动产单元号"> 55 <el-form-item label="需役地不动产单元号">
59 <el-select v-model="form.xxx1" class="width100" clearable placeholder="需役地不动产单元号"> 56 <el-input v-model="form.XYDBDCDYH" placeholder="需役地不动产单元号"></el-input>
60 <el-option v-for="item in dicData['xxx1']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
61 </el-option>
62 </el-select>
63 </el-form-item> 57 </el-form-item>
64 </el-col> 58 </el-col>
65 59
66 <el-col :span="4" class="btnColRight"> 60 <el-col :span="4" class="btnColRight">
67 <el-button type="primary" @click="handleSubmit">查询</el-button> 61 <el-form-item>
62 <btn nativeType="cz" @click="resetForm">重置</btn>
63 <btn nativeType="cx" @click="handleSubmit">查询</btn>
64 </el-form-item>
68 </el-col> 65 </el-col>
69 </el-row> 66 </el-row>
70 </el-form> 67 </el-form>
...@@ -95,16 +92,16 @@ export default { ...@@ -95,16 +92,16 @@ export default {
95 data () { 92 data () {
96 return { 93 return {
97 form: { 94 form: {
98 xzq: '', 95 XZQDM: '',
99 qszt: '', 96 QSZT: '',
100 zl: '', 97 ZL: '',
101 bdcqzh: '', 98 BDCQZH: '',
102 qlr: '', 99 QLR: '',
103 bdcdyh: '', 100 BDCDYH: '',
104 // 供役地不动产单元号 101 // 供役地不动产单元号
105 xxx: '', 102 GYDBDCDYH: '',
106 // 需役地不动产单元号 103 // 需役地不动产单元号
107 xxx1: '', 104 XYDBDCDYH: '',
108 currentPage: 1 105 currentPage: 1
109 }, 106 },
110 tableData: { 107 tableData: {
...@@ -128,10 +125,9 @@ export default { ...@@ -128,10 +125,9 @@ export default {
128 详情 125 详情
129 </el-button> 126 </el-button>
130 </div> 127 </div>
131 ); 128 )
132 }, 129 }
133 }, 130 }
134
135 ]), 131 ]),
136 data: [] 132 data: []
137 }, 133 },
...@@ -139,9 +135,7 @@ export default { ...@@ -139,9 +135,7 @@ export default {
139 total: 0, 135 total: 0,
140 pageSize: 15, 136 pageSize: 15,
141 current: 1, 137 current: 1,
142 }, 138 }
143 diaData: null,
144 bsmSjsb: ''
145 } 139 }
146 }, 140 },
147 methods: { 141 methods: {
...@@ -157,7 +151,6 @@ export default { ...@@ -157,7 +151,6 @@ export default {
157 total 151 total
158 } 152 }
159 } catch (error) { 153 } catch (error) {
160 // this.$refs.msg.messageShow()
161 } 154 }
162 } 155 }
163 } 156 }
...@@ -165,5 +158,4 @@ export default { ...@@ -165,5 +158,4 @@ export default {
165 </script> 158 </script>
166 <style scoped lang="scss"> 159 <style scoped lang="scss">
167 @import "~@/styles/public.scss"; 160 @import "~@/styles/public.scss";
168 @import "./index.scss";
169 </style> 161 </style>
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
5 <el-row> 5 <el-row>
6 <el-col :span="5"> 6 <el-col :span="5">
7 <el-form-item label="行政区" label-width="106px"> 7 <el-form-item label="行政区" label-width="106px">
8 <el-select v-model="form.xzq" class="width100" clearable placeholder="行政区"> 8 <el-select v-model="form.XZQDM" class="width100" clearable placeholder="行政区">
9 <el-option v-for="item in dicData['A20']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE"> 9 <el-option v-for="item in dicData['A20']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
10 </el-option> 10 </el-option>
11 </el-select> 11 </el-select>
...@@ -53,7 +53,7 @@ ...@@ -53,7 +53,7 @@
53 <el-input v-model="form.BDCDYH" placeholder="不动产单元号"></el-input> 53 <el-input v-model="form.BDCDYH" placeholder="不动产单元号"></el-input>
54 </el-form-item> 54 </el-form-item>
55 </el-col> 55 </el-col>
56 <el-col :span="4" class="btnColRight"> 56 <el-col :span="9" class="btnColRight">
57 <btn nativeType="cx" @click="handleSubmit">查询</btn> 57 <btn nativeType="cx" @click="handleSubmit">查询</btn>
58 </el-col> 58 </el-col>
59 </el-row> 59 </el-row>
...@@ -85,7 +85,7 @@ export default { ...@@ -85,7 +85,7 @@ export default {
85 data () { 85 data () {
86 return { 86 return {
87 form: { 87 form: {
88 xzq: '', 88 XZQDM: '',
89 qszt: '', 89 qszt: '',
90 bdcqzh: '', 90 bdcqzh: '',
91 YWH: '', 91 YWH: '',
......