8abc5728 by 任超

style:表单清空

1 parent 7ac06c40
import request from '@/utils/request'
import SERVER from './config'
class journal {
// 登薄日志
async queryAccessLogs (data) {
return request({
url: '/accessLog/queryAccessLogs',
method: 'post',
data
})
}
// GET /accessLog/getXmlById登簿日志报文预览
async getXmlById (id) {
return request({
url: '/accessLog/getXmlById',
method: 'get',
params: {
id: id
}
})
}
// 上报日志
async querySjsbTask (data) {
return request({
url: '/sjsbFunctionOper/querySjsbTask',
method: 'post',
data
})
}
// 查询响应日志
async queryResponseLog (id) {
return request({
url: '/sjsbFunctionOper/queryResponseLog',
method: 'get',
params: {
msgid: id
}
})
}
// 重新发报接口
async sendXmlForPlat (id) {
return request({
url: '/sjsbFunctionOper/sendXmlForPlat',
method: 'get',
params: {
msgid: id
}
})
}
// 预览xml报文
async queryXML (id) {
return request({
url: '/sjsbFunctionOper/queryXML',
method: 'get',
params: {
msgid: id
}
})
}
// 重新抽取
async extractionAndInsertData (id) {
return request({
url: '/sjsbFunctionOper/extractionAndInsertData',
url: SERVER.SERVERAPI + '/sjsbFunctionOper/extractionAndInsertData',
method: 'get',
params: {
msgid: id
......@@ -70,7 +15,7 @@ class journal {
// 错误日志查询
async queryErrorLog (id) {
return request({
url: '/sjsbFunctionOper/queryErrorLog',
url: SERVER.SERVERAPI + '/sjsbFunctionOper/queryErrorLog',
method: 'get',
params: {
msgid: id
......@@ -80,7 +25,7 @@ class journal {
// 校验报文
async checkSjsbXmlDatas (id) {
return request({
url: '/sjsbFunctionOper/checkSjsbXmlDatas',
url: SERVER.SERVERAPI + '/sjsbFunctionOper/checkSjsbXmlDatas',
method: 'get',
params: {
msgid: id
......
......@@ -33,12 +33,23 @@ let mixin = {
this.featchData()
},
handleSubmit () {
this.tableData.data = []
this.featchData()
},
// 详情
handleEdit (row) {
this.title = row.rectypeName
this.$refs.editLog.isShow(row);
},
// // 重置表单
resetForm () {
if (!this.form) return
Object.keys(this.form).forEach((key) => {
if (key !== 'currentPage') this.form[key] = '';
})
this.form.currentPage = 1
this.tableData.data = []
this.featchData()
}
}
}
......
......@@ -5,7 +5,7 @@
<el-row>
<el-col :span="5">
<el-form-item label="行政区" label-width="80px">
<el-select v-model="form.xzq" class="width100" clearable placeholder="行政区">
<el-select v-model="form.XZQDM" class="width100" clearable placeholder="行政区">
<el-option v-for="item in dicData['A20']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
......@@ -13,7 +13,7 @@
</el-col>
<el-col :span="5">
<el-form-item label="权属状态">
<el-select v-model="form.qszt" class="width100" clearable placeholder="权属状态">
<el-select v-model="form.QSZT" class="width100" clearable placeholder="权属状态">
<el-option v-for="item in dicData['A22']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
......@@ -21,24 +21,24 @@
</el-col>
<el-col :span="5">
<el-form-item label="坐落">
<el-input v-model="form.zl" placeholder="坐落"></el-input>
<el-input v-model="form.ZL" placeholder="坐落"></el-input>
</el-form-item>
</el-col>
<el-col :span="5">
<el-form-item label="不动产权证号">
<el-input v-model="form.bdcqzh" placeholder="不动产权证号"></el-input>
<el-input v-model="form.BDCQZH" placeholder="不动产权证号"></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row class="mt-10">
<el-col :span="5">
<el-form-item label="权利人" label-width="80px">
<el-input v-model="form.qlr" placeholder="权利人"></el-input>
<el-input v-model="form.QLR" placeholder="权利人"></el-input>
</el-form-item>
</el-col>
<el-col :span="5">
<el-form-item label="不动产单元号">
<el-input v-model="form.bdcdyh" placeholder="不动产单元号"></el-input>
<el-input v-model="form.BDCDYH" placeholder="不动产单元号"></el-input>
</el-form-item>
</el-col>
<el-col :span="5">
......@@ -78,12 +78,12 @@ export default {
data () {
return {
form: {
xzq: '',
qszt: '',
zl: '',
bdcqzh: '',
qlr: '',
bdcdyh: '',
XZQDM: '',
QSZT: '',
ZL: '',
BDCQZH: '',
QLR: '',
BDCDYH: '',
xxx: '',
xxx1: '',
currentPage: 1
......@@ -125,10 +125,6 @@ export default {
}
},
methods: {
// 是否显示下拉框
isShowSelectOptions (e) {
if (!e) this.$refs.selectseizureReg.blur()
},
async featchData () {
try {
let { result: { list, total, pages: pageSize, pageNum: current }
......
......@@ -5,7 +5,7 @@
<el-row>
<el-col :span="5">
<el-form-item label="行政区" label-width="80px">
<el-select v-model="form.xzq" class="width100" clearable placeholder="行政区">
<el-select v-model="form.XZQDM" class="width100" clearable placeholder="行政区">
<el-option v-for="item in dicData['A20']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
......@@ -13,7 +13,7 @@
</el-col>
<el-col :span="5">
<el-form-item label="权属状态">
<el-select v-model="form.qszt" class="width100" clearable placeholder="权属状态">
<el-select v-model="form.QSZT" class="width100" clearable placeholder="权属状态">
<el-option v-for="item in dicData['A22']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
......@@ -21,12 +21,12 @@
</el-col>
<el-col :span="5">
<el-form-item label="坐落">
<el-input v-model="form.zl" placeholder="坐落"></el-input>
<el-input v-model="form.ZL" placeholder="坐落"></el-input>
</el-form-item>
</el-col>
<el-col :span="5">
<el-form-item label="不动产权证号">
<el-input v-model="form.bdcqzh" placeholder="不动产权证号"></el-input>
<el-input v-model="form.BDCQZH" placeholder="不动产权证号"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -38,7 +38,7 @@
</el-col>
<el-col :span="5">
<el-form-item label="不动产单元号">
<el-input v-model="form.bdcdyh" placeholder="不动产单元号"></el-input>
<el-input v-model="form.BDCDYH" placeholder="不动产单元号"></el-input>
</el-form-item>
</el-col>
<el-col :span="5">
......@@ -51,7 +51,7 @@
</el-col>
<el-col :span="5">
<el-form-item label="登记类型">
<el-select v-model="form.djlx" class="width100" clearable placeholder="登记类型">
<el-select v-model="form.DJLX" class="width100" clearable placeholder="登记类型">
<el-option v-for="item in dicData['A21']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
......@@ -89,14 +89,14 @@ export default {
data () {
return {
form: {
xzq: '',
qszt: '',
zl: '',
bdcqzh: '',
XZQDM: '',
QSZT: '',
ZL: '',
BDCQZH: '',
dyr: '',
bdcdyh: '',
BDCDYH: '',
dybdclx: '',
djlx: '',
DJLX: '',
currentPage: 1
},
tableData: {
......@@ -130,9 +130,7 @@ export default {
total: 0,
pageSize: 15,
current: 1,
},
diaData: null,
bsmSjsb: ''
}
}
},
methods: {
......
<template>
<div class="dyiq from-clues">
<div class="from-clues">
<div class="from-clues-header">
<el-form ref="form" :model="form" label-width="150px">
<el-row>
<el-col :span="5">
<el-form-item label="行政区" label-width="80px">
<el-select v-model="form.xzq" class="width100" clearable placeholder="行政区">
<el-select v-model="form.XZQDM" class="width100" clearable placeholder="行政区">
<el-option v-for="item in dicData['A20']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
......@@ -14,7 +14,7 @@
<el-col :span="5">
<el-form-item label="权属状态">
<el-select v-model="form.qszt" class="width100" clearable placeholder="权属状态">
<el-select v-model="form.QSZT" class="width100" clearable placeholder="权属状态">
<el-option v-for="item in dicData['A22']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
......@@ -23,12 +23,12 @@
<el-col :span="5">
<el-form-item label="坐落">
<el-input v-model="form.zl" placeholder="坐落"></el-input>
<el-input v-model="form.ZL" placeholder="坐落"></el-input>
</el-form-item>
</el-col>
<el-col :span="5">
<el-form-item label="不动产权证号">
<el-input v-model="form.bdcqzh" placeholder="不动产权证号"></el-input>
<el-input v-model="form.BDCQZH" placeholder="不动产权证号"></el-input>
</el-form-item>
</el-col>
......@@ -36,35 +36,32 @@
<el-row class="mt-10">
<el-col :span="5">
<el-form-item label="权利人" label-width="80px">
<el-input v-model="form.qlr" placeholder="权利人"></el-input>
<el-input v-model="form.QLR" placeholder="权利人"></el-input>
</el-form-item>
</el-col>
<el-col :span="5">
<el-form-item label="不动产单元号">
<el-input v-model="form.bdcdyh" placeholder="不动产单元号"></el-input>
<el-input v-model="form.BDCDYH" placeholder="不动产单元号"></el-input>
</el-form-item>
</el-col>
<el-col :span="5">
<el-form-item label="供役地不动产单元号">
<el-select v-model="form.xxx" class="width100" clearable placeholder="供役地不动产单元号">
<el-option v-for="item in dicData['xxx']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
<el-input v-model="form.GYDBDCDYH" placeholder="供役地不动产单元号"></el-input>
</el-form-item>
</el-col>
<el-col :span="5">
<el-form-item label="需役地不动产单元号">
<el-select v-model="form.xxx1" class="width100" clearable placeholder="需役地不动产单元号">
<el-option v-for="item in dicData['xxx1']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
<el-input v-model="form.XYDBDCDYH" placeholder="需役地不动产单元号"></el-input>
</el-form-item>
</el-col>
<el-col :span="4" class="btnColRight">
<el-button type="primary" @click="handleSubmit">查询</el-button>
<el-form-item>
<btn nativeType="cz" @click="resetForm">重置</btn>
<btn nativeType="cx" @click="handleSubmit">查询</btn>
</el-form-item>
</el-col>
</el-row>
</el-form>
......@@ -95,16 +92,16 @@ export default {
data () {
return {
form: {
xzq: '',
qszt: '',
zl: '',
bdcqzh: '',
qlr: '',
bdcdyh: '',
XZQDM: '',
QSZT: '',
ZL: '',
BDCQZH: '',
QLR: '',
BDCDYH: '',
// 供役地不动产单元号
xxx: '',
GYDBDCDYH: '',
// 需役地不动产单元号
xxx1: '',
XYDBDCDYH: '',
currentPage: 1
},
tableData: {
......@@ -128,10 +125,9 @@ export default {
详情
</el-button>
</div>
);
},
},
)
}
}
]),
data: []
},
......@@ -139,9 +135,7 @@ export default {
total: 0,
pageSize: 15,
current: 1,
},
diaData: null,
bsmSjsb: ''
}
}
},
methods: {
......@@ -157,7 +151,6 @@ export default {
total
}
} catch (error) {
// this.$refs.msg.messageShow()
}
}
}
......@@ -165,5 +158,4 @@ export default {
</script>
<style scoped lang="scss">
@import "~@/styles/public.scss";
@import "./index.scss";
</style>
......
......@@ -5,7 +5,7 @@
<el-row>
<el-col :span="5">
<el-form-item label="行政区" label-width="106px">
<el-select v-model="form.xzq" class="width100" clearable placeholder="行政区">
<el-select v-model="form.XZQDM" class="width100" clearable placeholder="行政区">
<el-option v-for="item in dicData['A20']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
......@@ -53,7 +53,7 @@
<el-input v-model="form.BDCDYH" placeholder="不动产单元号"></el-input>
</el-form-item>
</el-col>
<el-col :span="4" class="btnColRight">
<el-col :span="9" class="btnColRight">
<btn nativeType="cx" @click="handleSubmit">查询</btn>
</el-col>
</el-row>
......@@ -85,7 +85,7 @@ export default {
data () {
return {
form: {
xzq: '',
XZQDM: '',
qszt: '',
bdcqzh: '',
YWH: '',
......