063b2912 by 任超

style:列表样式修改

2 parents e3842fa8 e4bc77c7
import request from '@/utils/request'
import SERVER from './config'
// 登簿日志分页
export function getRecordLogPage (data) {
return request({
url: SERVER.SERVERAPI + '/sjsb/RecordLog/getRecordLogPage',
method: 'post',
data
})
}
......@@ -12,7 +12,7 @@
<p class="label-detail">(BSM)</p>
</span>
<p :class="{ 'disabled': $store.state.business.Edit }">
{{ boundaryLine.ruleForm[index].BSM }}
{{ boundaryLine.ruleForm[index].bsm }}
</p>
</el-form-item>
</el-col>
......
......@@ -12,7 +12,7 @@
<p class="label-detail">(BSM)</p>
</span>
<p :class="{ 'disabled': $store.state.business.Edit }">
{{ boundaryPoint.ruleForm[index].BSM }}
{{ boundaryPoint.ruleForm[index].bsm }}
</p>
</el-form-item>
</el-col>
......
......@@ -173,7 +173,7 @@ export default {
type: String,
default: ''
},
dataTable: {
bsmYwsjb: {
type: String,
default: ''
}
......
......@@ -460,7 +460,7 @@ export default {
type: String,
default: ''
},
dataTable: {
bsmYwsjb: {
type: String,
default: ''
}
......
......@@ -73,7 +73,7 @@ export default {
type: String,
default: ''
},
dataTable: {
bsmYwsjb: {
type: String,
default: ''
}
......
......@@ -271,7 +271,7 @@ export default {
type: String,
default: ''
},
dataTable: {
bsmYwsjb: {
type: String,
default: ''
}
......
......@@ -9,7 +9,7 @@
<p class="label-detail">(BSM)</p>
</span>
<p :class="{ 'disabled': $store.state.business.Edit }">
{{ ruleForm.BSM }}
{{ ruleForm.bsm }}
</p>
</el-form-item>
</el-col>
......@@ -143,7 +143,7 @@ export default {
type: String,
default: ''
},
dataTable: {
bsmYwsjb: {
type: String,
default: ''
}
......
......@@ -272,7 +272,7 @@ export default {
type: String,
default: ''
},
dataTable: {
bsmYwsjb: {
type: String,
default: ''
}
......
......@@ -191,7 +191,7 @@ export default {
type: String,
default: ''
},
dataTable: {
bsmYwsjb: {
type: String,
default: ''
}
......
......@@ -264,7 +264,7 @@ export default {
type: String,
default: ''
},
dataTable: {
bsmYwsjb: {
type: String,
default: ''
}
......
......@@ -257,7 +257,7 @@ export default {
type: String,
default: ''
},
dataTable: {
bsmYwsjb: {
type: String,
default: ''
}
......
......@@ -140,7 +140,7 @@ export default {
type: String,
default: ''
},
dataTable: {
bsmYwsjb: {
type: String,
default: ''
}
......
......@@ -12,7 +12,7 @@
<p class="label-detail">(BSM)</p>
</span>
<p :class="{ 'disabled': $store.state.business.Edit }">
{{ naturalForm.naturalList[index].BSM }}
{{ naturalForm.naturalList[index].bsm }}
</p>
</el-form-item>
</el-col>
......@@ -330,7 +330,7 @@ export default {
type: String,
default: ''
},
dataTable: {
bsmYwsjb: {
type: String,
default: ''
}
......
......@@ -183,7 +183,7 @@ export default {
type: String,
default: ''
},
dataTable: {
bsmYwsjb: {
type: String,
default: ''
}
......
......@@ -286,7 +286,7 @@ export default {
type: String,
default: ''
},
dataTable: {
bsmYwsjb: {
type: String,
default: ''
}
......
......@@ -91,7 +91,7 @@ export default {
type: String,
default: ''
},
dataTable: {
bsmYwsjb: {
type: String,
default: ''
}
......
......@@ -73,7 +73,7 @@ export default {
type: String,
default: ''
},
dataTable: {
bsmYwsjb: {
type: String,
default: ''
}
......
......@@ -9,7 +9,7 @@
<p class="label-detail">(BSM)</p>
</span>
<p :class="{ 'disabled': $store.state.business.Edit }">
{{ ruleForm.BSM || '暂无' }}
{{ ruleForm.bsm || '暂无' }}
</p>
</el-form-item>
</el-col>
......@@ -143,7 +143,7 @@ export default {
type: String,
default: ''
},
dataTable: {
bsmYwsjb: {
type: String,
default: ''
}
......
......@@ -9,7 +9,7 @@
<p class="label-detail">(BSM)</p>
</span>
<p :class="{ 'disabled': $store.state.business.Edit }">
{{ ruleForm.BSM || '暂无' }}
{{ ruleForm.bsm || '暂无' }}
</p>
</el-form-item>
</el-col>
......@@ -143,7 +143,7 @@ export default {
type: String,
default: ''
},
dataTable: {
bsmYwsjb: {
type: String,
default: ''
}
......
......@@ -250,7 +250,7 @@ export default {
type: String,
default: ''
},
dataTable: {
bsmYwsjb: {
type: String,
default: ''
}
......
......@@ -84,7 +84,7 @@ export default {
type: String,
default: ''
},
dataTable: {
bsmYwsjb: {
type: String,
default: ''
}
......
......@@ -257,7 +257,7 @@ export default {
type: String,
default: ''
},
dataTable: {
bsmYwsjb: {
type: String,
default: ''
}
......
......@@ -360,7 +360,7 @@ export default {
type: String,
default: ''
},
dataTable: {
bsmYwsjb: {
type: String,
default: ''
}
......
......@@ -9,7 +9,7 @@
<p class="label-detail">(BSM)</p>
</span>
<p :class="{ 'disabled': $store.state.business.Edit }">
{{ ruleForm.BSM }}
{{ ruleForm.bsm }}
</p>
</el-form-item>
</el-col>
......@@ -132,7 +132,7 @@ export default {
type: String,
default: ''
},
dataTable: {
bsmYwsjb: {
type: String,
default: ''
}
......
......@@ -47,7 +47,7 @@ export default {
type: String,
default: ''
},
dataTable: {
bsmYwsjb: {
type: String,
default: ''
}
......
......@@ -9,7 +9,7 @@
<p class="label-detail">(BSM)</p>
</span>
<p :class="{ 'disabled': $store.state.business.Edit }">
{{ ruleForm.BSM }}
{{ ruleForm.bsm }}
</p>
</el-form-item>
</el-col>
......@@ -387,7 +387,7 @@ export default {
type: String,
default: ''
},
dataTable: {
bsmYwsjb: {
type: String,
default: ''
}
......
......@@ -9,75 +9,75 @@
<el-row>
<el-col :span="6">
<span>业务报文ID:</span>
<p>{{ dataReport.bizmsgid }}</p>
<div>{{ dataReport.bizmsgid }}</div>
</el-col>
<el-col :span="6">
<span>接入报文ID:</span>
<p>{{ dataReport.asid }}</p>
<div>{{ dataReport.asid }}</div>
</el-col>
<el-col :span="6">
<span>行政区划编码:</span>
<p>{{ dataReport.areacode }}</p>
<div>{{ dataReport.areacode }}</div>
</el-col>
<el-col :span="6">
<span>上次不动产单元号:</span>
<p>{{ dataReport.preestatenum }}</p>
<div>{{ dataReport.preestatenum }}</div>
</el-col>
</el-row>
<el-row>
<el-col :span="6">
<span>业务编码:</span>
<p>{{ dataReport.rectype }}</p>
<div>{{ dataReport.rectype }}</div>
</el-col>
<el-col :span="6">
<span>权利类型:</span>
<p>{{ dataReport.righttype }}</p>
<div>{{ dataReport.righttype }}</div>
</el-col>
<el-col :span="6">
<span>登记类型:</span>
<p>{{ dataReport.regtype }}</p>
<div>{{ dataReport.regtype }}</div>
</el-col>
<el-col :span="6">
<span>不动产权证书数量:</span>
<p>{{ dataReport.certcount }}</p>
<div>{{ dataReport.certcount }}</div>
</el-col>
</el-row>
<el-row>
<el-col :span="6">
<span>创建时间:</span>
<p>{{ dataReport.syscreatedate }}</p>
<div>{{ dataReport.syscreatedate }}</div>
</el-col>
<el-col :span="6">
<span>业务流水号:</span>
<p>{{ dataReport.recflowid }}</p>
<div>{{ dataReport.recflowid }}</div>
</el-col>
<el-col :span="6">
<span>登记机构:</span>
<p>{{ dataReport.regorgid }}</p>
<div>{{ dataReport.regorgid }}</div>
</el-col>
<el-col :span="6">
<span>证明数量:</span>
<p>{{ dataReport.proofcount }}</p>
<div>{{ dataReport.proofcount }}</div>
</el-col>
</el-row>
<el-row>
<el-col :span="6">
<span>宗地/宗海代码:</span>
<p>{{ dataReport.parcelid }}</p>
<div>{{ dataReport.parcelid }}</div>
</el-col>
<el-col :span="6">
<span>不动产单元号:</span>
<p>{{ dataReport.estatenum }}</p>
<div>{{ dataReport.estatenum }}</div>
</el-col>
<el-col :span="10">
<span>上次不动产权证号/不动产登记证明:</span>
<p>{{ dataReport.precertid }}</p>
<div>{{ dataReport.precertid }}</div>
</el-col>
</el-row>
<el-row>
<el-col :span="24">
<span>数字签名:</span>
<p>{{ dataReport.digitalsign }}</p>
<div>{{ dataReport.digitalsign }}</div>
</el-col>
</el-row>
</div>
......@@ -95,8 +95,10 @@
</div>
<div slot="footer" class="dialog_footer" ref="dialogFooter">
<div class="dialog_button">
<el-button type="primary" plain @click="submitForm" v-if="!Edit" :loading="saveloding"
<!-- <el-button type="primary" plain @click="submitForm" v-if="!Edit" :loading="saveloding"
:disabled="JSON.stringify(this.$store.state.business.rules) === '{}'">确定
</el-button> -->
<el-button type="primary" plain @click="submitForm" v-if="!Edit" :loading="saveloding">确定
</el-button>
<el-button @click="closeDialog()">关闭</el-button>
</div>
......
class data {
columns () {
return [
{
prop: "qumc",
prop: "AREANAME",
label: "区域名称",
},
{
prop: "date",
prop: "UPLOADTIME",
label: "日期",
},
{
prop: "type",
label: "类型"
label: "类别",
render: (h, scope) => {
return (
<div class={'difference'}>
<p>{'登簿量'}</p>
<p>{'接入量'}</p>
</div>
)
},
},
{
label: "总量",
render: (h, scope) => {
return (
<div class={scope.row.registerInfoModel.totalnum === scope.row.accessInfoModel.totalnum ? '' : 'difference'}>
<p>{scope.row.registerInfoModel.totalnum}</p>
<p>{scope.row.accessInfoModel.totalnum}</p>
<div class={scope.row.totalnum === scope.row.totalnum ? '' : 'difference'}>
<p>{scope.row.registerTotalnum}</p>
<p>{scope.row.accessTotalnum}</p>
</div>
)
},
},
{
prop: "ywlxsl",
label: "业务类型数量"
label: "业务类型数量",
render: (h, scope) => {
return (
<div class={'difference'}>
<p>{scope.row.BUSINESSTYPECOUNT}</p>
<p>{''}</p>
</div>
)
},
},
{
label: "首次登记",
render: (h, scope) => {
return (
<div class={scope.row.registerInfoModel.firstreg === scope.row.accessInfoModel.firstreg ? '' : 'difference'}>
<p>{scope.row.registerInfoModel.firstreg}</p>
<p>{scope.row.accessInfoModel.firstreg}</p>
<div class={scope.row.firstreg === scope.row.firstreg ? '' : 'difference'}>
<p>{scope.row.registerFirstreg}</p>
<p>{scope.row.accessFirstreg}</p>
</div>
)
},
......@@ -43,9 +59,9 @@ class data {
label: "转移登记",
render: (h, scope) => {
return (
<div class={scope.row.registerInfoModel.transferreg === scope.row.accessInfoModel.transferreg ? '' : 'difference'}>
<p>{scope.row.registerInfoModel.transferreg}</p>
<p>{scope.row.accessInfoModel.transferreg}</p>
<div class={scope.row.transferreg === scope.row.transferreg ? '' : 'difference'}>
<p>{scope.row.registerTransferreg}</p>
<p>{scope.row.accessTransferreg}</p>
</div>
)
},
......@@ -54,9 +70,9 @@ class data {
label: "变更登记",
render: (h, scope) => {
return (
<div class={scope.row.registerInfoModel.changereg === scope.row.accessInfoModel.changereg ? '' : 'difference'}>
<p>{scope.row.registerInfoModel.changereg}</p>
<p>{scope.row.accessInfoModel.changereg}</p>
<div class={scope.row.changereg === scope.row.changereg ? '' : 'difference'}>
<p>{scope.row.registerChangereg}</p>
<p>{scope.row.accessChangereg}</p>
</div>
)
},
......@@ -65,9 +81,9 @@ class data {
label: "注销登记",
render: (h, scope) => {
return (
<div class={scope.row.registerInfoModel.logoutreg === scope.row.accessInfoModel.logoutreg ? '' : 'difference'}>
<p>{scope.row.registerInfoModel.logoutreg}</p>
<p>{scope.row.accessInfoModel.logoutreg}</p>
<div class={scope.row.logoutreg === scope.row.logoutreg ? '' : 'difference'}>
<p>{scope.row.registerLogoutreg}</p>
<p>{scope.row.accessLogoutreg}</p>
</div>
)
},
......@@ -76,9 +92,9 @@ class data {
label: "更正登记",
render: (h, scope) => {
return (
<div class={scope.row.registerInfoModel.rivisereg === scope.row.accessInfoModel.rivisereg ? '' : 'difference'}>
<p>{scope.row.registerInfoModel.rivisereg}</p>
<p>{scope.row.accessInfoModel.rivisereg}</p>
<div class={scope.row.rivisereg === scope.row.rivisereg ? '' : 'difference'}>
<p>{scope.row.registerRivisereg}</p>
<p>{scope.row.accessRivisereg}</p>
</div>
)
},
......@@ -89,9 +105,9 @@ class data {
label: "异议登记",
render: (h, scope) => {
return (
<div class={scope.row.registerInfoModel.dissentingreg === scope.row.accessInfoModel.dissentingreg ? '' : 'difference'}>
<p>{scope.row.registerInfoModel.dissentingreg}</p>
<p>{scope.row.accessInfoModel.dissentingreg}</p>
<div class={scope.row.dissentingreg === scope.row.dissentingreg ? '' : 'difference'}>
<p>{scope.row.registerDissentingreg}</p>
<p>{scope.row.accessDissentingreg}</p>
</div>
)
},
......@@ -101,9 +117,9 @@ class data {
label: "预告登记",
render: (h, scope) => {
return (
<div class={scope.row.registerInfoModel.advancereg === scope.row.accessInfoModel.advancereg ? '' : 'difference'}>
<p>{scope.row.registerInfoModel.advancereg}</p>
<p>{scope.row.accessInfoModel.advancereg}</p>
<div class={scope.row.advancereg === scope.row.advancereg ? '' : 'difference'}>
<p>{scope.row.registerAdvancereg}</p>
<p>{scope.row.accessAdvancereg}</p>
</div>
)
},
......@@ -113,9 +129,9 @@ class data {
label: "查封登记",
render: (h, scope) => {
return (
<div class={scope.row.registerInfoModel.seizereg === scope.row.accessInfoModel.seizereg ? '' : 'difference'}>
<p>{scope.row.registerInfoModel.seizereg}</p>
<p>{scope.row.accessInfoModel.seizereg}</p>
<div class={scope.row.seizereg === scope.row.seizereg ? '' : 'difference'}>
<p>{scope.row.registerSeizereg}</p>
<p>{scope.row.accessSeizereg}</p>
</div>
)
},
......@@ -125,9 +141,9 @@ class data {
label: "地役权登记",
render: (h, scope) => {
return (
<div class={scope.row.registerInfoModel.easementreg === scope.row.accessInfoModel.easementreg ? '' : 'difference'}>
<p>{scope.row.registerInfoModel.easementreg}</p>
<p>{scope.row.accessInfoModel.easementreg}</p>
<div class={scope.row.easementreg === scope.row.easementreg ? '' : 'difference'}>
<p>{scope.row.registerEasementreg}</p>
<p>{scope.row.accessEasementreg}</p>
</div>
)
},
......@@ -137,9 +153,9 @@ class data {
label: "抵押权登记",
render: (h, scope) => {
return (
<div class={scope.row.registerInfoModel.mortgagereg === scope.row.accessInfoModel.mortgagereg ? '' : 'difference'}>
<p>{scope.row.registerInfoModel.mortgagereg}</p>
<p>{scope.row.accessInfoModel.mortgagereg}</p>
<div class={scope.row.mortgagereg === scope.row.mortgagereg ? '' : 'difference'}>
<p>{scope.row.registerMortgagereg}</p>
<p>{scope.row.accessMortgagereg}</p>
</div>
)
},
......
......@@ -7,8 +7,8 @@
<el-row>
<el-col :span="6">
<el-form-item label="行政区" label-width="60px">
<el-select v-model="form.pcode" class="width100" filterable placeholder="请选择行政区">
<el-option v-for="item in []" :key="item.dcode" :label="item.dname" :value="item.dcode">
<el-select v-model="form.areacode" class="width100" filterable placeholder="请选择行政区">
<el-option v-for="item in dicData['XZQ']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
</el-form-item>
......@@ -48,9 +48,14 @@
import data from "./data"
// 引入表格混入方法
import tableMixin from '@/mixins/tableMixin.js'
import { getRecordLogPage } from "@/api/dbrzcx.js";
import { mapGetters } from 'vuex'
export default {
name: "dbrzcx",
mixins: [tableMixin],
computed: {
...mapGetters(['dicData'])
},
data () {
return {
// 开始结束日期限制
......@@ -75,10 +80,9 @@ export default {
},
// 表单
form: {
pcode: '',
areacode: '',
startTime: '',
endTime: '',
currentPage: 1
},
// table数据
tableData: {
......@@ -90,7 +94,8 @@ export default {
index: this.indexMethod,
}].concat(data.columns()),
// 列表
data: []
data: [],
total: 0,
},
// 分页
pageData: {
......@@ -105,6 +110,13 @@ export default {
this.$refs.ruleForm.resetFields();
},
async featchData () {
getRecordLogPage({ ...this.form, ...this.pageData }).then(res => {
if (res.code === 200) {
let { total, records } = res.result
this.tableData.total = total;
this.tableData.data = records ? records : []
}
})
}
}
}
......