bbfbbc89 by xiaomiao
2 parents 669c6384 2a2b4e2c
Showing 47 changed files with 268 additions and 77 deletions
<template>
<div class="applicantInfo itemForm">
<el-form :model="ruleForm" :rules="rules" ref="formList" label-width="115px" :key="key">
<el-row>
<el-col :span="8">
<el-form-item prop="YSDM" class="borderTopNone">
<span slot="label">
要素代码:<br />
<p class="label-detail">(YSDM)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.ysdm" placeholder="要素代码"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item prop="YWH" class="borderTopNone">
<span slot="label">
业务号: <br />
<p class="label-detail">(YWH)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.ywh" placeholder="业务号"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item prop="QXDM" class="borderTopNone">
<span slot="label">
区县代码: <br />
<p class="label-detail">(QXDM)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.qxdm" placeholder="区县代码"></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="24">
<el-form-item prop="DBYJ">
<span slot="label">
登簿意见: <br />
<p class="label-detail">(DBYJ)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.dbyj" maxlength="11" placeholder="登簿意见">
</el-input>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="8">
<el-form-item prop="DBRYXM">
<span slot="label">
登簿人员姓名: <br />
<p class="label-detail">(DBRYXM)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.dbryxm" maxlength="11"
placeholder="登簿意见"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item prop="DBSJ">
<span slot="label">
登簿时间: <br />
<p class="label-detail">(DBSJ)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.dbsj" placeholder="登簿时间"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item prop="CZJG">
<span slot="label">
操作结果: <br />
<p class="label-detail">(CZJG)</p>
</span>
<!-- <el-input :disabled="$store.state.business.Edit" v-model="ruleForm.czjg" placeholder="权利人通讯地址">
</el-input> -->
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.czjg" placeholder="请选择">
<el-option v-for="item in dicData['A37']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
</el-form-item>
</el-col>
</el-row>
</el-form>
<message-tips ref="msg" />
</div>
</template>
<script>
// 申请人属性信息
import business from "@/api/business";
import ruleMixin from "@/mixins/ruleMixin.js";
import treeSelect from "@/components/treeSelect/index.vue";
export default {
mixins: [ruleMixin],
props: {
bsmSjsb: {
type: String,
default: "",
},
bsmYwsjb: {
type: String,
default: "",
},
},
components: {
treeSelect,
},
data() {
return {
ruleForm: {
YSDM: "",
YWH: "",
QLRMC: "",
QLRZJZL: "",
QLRZJH: "",
QLRTXDZ: "",
QLRYB: "",
QLRFRMC: "",
QLRFRDH: "",
QLRDLRMC: "",
QLRDLRDH: "",
QLRDLJG: "",
HJSZSS: "",
XB: "",
DH: "",
YWRMC: "",
YWRZJZL: "",
YWRZJH: "",
YWRTXDZ: "",
YWRYB: "",
YWRFRMC: "",
YWRFRDH: "",
YWRDLRMC: "",
YWRDLJG: "",
BZ: "",
QXDM: "",
},
};
},
methods: {
async featchData() {
try {
let { result: res } = await business.getDjfDjDbById(this.bsmSjsb);
this.ruleForm = res;
//this.featchRule()
} catch (error) {
this.$refs.msg.messageShow();
}
},
handleUpdateForm() {
return new Promise(async (resolve, reject) => {
try {
let data = _.cloneDeep(this.ruleForm);
let res = await business.updateDjfDjSqr(data);
resolve(res.code);
} catch (error) {
this.$refs.msg.messageShow();
}
});
},
},
};
</script>
<style scoped lang="scss">
@import "./css/itemForm.scss";
</style>
......@@ -8,7 +8,7 @@
要素代码: <br />
<p class="label-detail">(YSDM)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.YSDM" maxlength="10"
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.ysdm" maxlength="10"
placeholder="要素代码"></el-input>
</el-form-item>
</el-col>
......@@ -19,7 +19,7 @@
业务号: <br />
<p class="label-detail">(YWH)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.YWH" maxlength="20"
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.ywh" maxlength="20"
placeholder="业务号"></el-input>
</el-form-item>
</el-col>
......@@ -30,7 +30,7 @@
不动产单元号: <br />
<p class="label-detail">(BDCDYH)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.BDCDYH" maxlength="28"
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.bdcdyh" maxlength="28"
placeholder="不动产单元号"></el-input>
</el-form-item>
</el-col>
......@@ -43,7 +43,7 @@
上次业务号: <br />
<p class="label-detail">(SCYWH)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.SCYWH" placeholder="上次业务号"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.scywh" placeholder="上次业务号"></el-input>
</el-form-item>
</el-col>
......@@ -53,7 +53,7 @@
抵押金额类型: <br />
<p class="label-detail">(DYJELX)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.DYJELX" placeholder="抵押金额类型"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.dyjelx" placeholder="抵押金额类型"></el-input>
</el-form-item>
</el-col>
......@@ -63,7 +63,7 @@
抵押不动产类型: <br />
<p class="label-detail">(DYBDCLX)</p>
</span>
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.DYBDCLX" placeholder="抵押不动产类型">
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.dybdclx" placeholder="抵押不动产类型">
<el-option v-for="item in dicData['A27']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
......@@ -78,7 +78,7 @@
抵押人: <br />
<p class="label-detail">(DYR)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.DYR" placeholder="抵押人"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.dyr" placeholder="抵押人"></el-input>
</el-form-item>
</el-col>
......@@ -88,7 +88,7 @@
抵押方式: <br />
<p class="label-detail">(DYFS)</p>
</span>
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.DYFS" placeholder="抵押方式">
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.dyfs" placeholder="抵押方式">
<el-option v-for="item in dicData['A28']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
......@@ -101,7 +101,7 @@
登记类型: <br />
<p class="label-detail">(DJLX)</p>
</span>
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.DJLX" placeholder="登记类型">
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.djlx" placeholder="登记类型">
<el-option v-for="item in dicData['A21']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
......@@ -116,7 +116,7 @@
被担保主债权数额: <br />
<p class="label-detail">(BDBZZQSE)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model.number="ruleForm.BDBZZQSE" type="number"
<el-input :disabled="$store.state.business.Edit" v-model.number="ruleForm.bdbzzqse" type="number"
v-only-number="{ max: 999999999999999, min: 0, precision: 4 }" placeholder="被担保主债权数额"></el-input>
</el-form-item>
</el-col>
......@@ -128,7 +128,7 @@
<p class="label-detail">(ZWLXQSSJ)</p>
</span>
<el-date-picker :disabled="$store.state.business.Edit" type="datetime" placeholder="选择开始日期"
:picker-options="pickerOptionsStart" clearable v-model="ruleForm.ZWLXQSSJ"
:picker-options="pickerOptionsStart" clearable v-model="ruleForm.zwlxqssj"
value-format="yyyy-MM-dd HH:mm:ss"></el-date-picker>
</el-form-item>
</el-col>
......@@ -140,7 +140,7 @@
<p class="label-detail">(ZWLXJSSJ)</p>
</span>
<el-date-picker :disabled="$store.state.business.Edit" type="datetime" placeholder="选择结束日期" clearable
:picker-options="pickerOptionsEnd" v-model="ruleForm.ZWLXJSSJ" value-format="yyyy-MM-dd HH:mm:ss">
:picker-options="pickerOptionsEnd" v-model="ruleForm.zwlxjssj" value-format="yyyy-MM-dd HH:mm:ss">
</el-date-picker>
</el-form-item>
</el-col>
......@@ -153,7 +153,7 @@
最高债权确定事实: <br />
<p class="label-detail">(ZGZQQDSS)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.ZGZQQDSS"
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.zgzqqdss"
placeholder="最高债权确定事实"></el-input>
</el-form-item>
</el-col>
......@@ -164,7 +164,7 @@
最高债权数额: <br />
<p class="label-detail">(ZGZQSE)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model.number="ruleForm.ZGZQSE" type="number"
<el-input :disabled="$store.state.business.Edit" v-model.number="ruleForm.zgzqse" type="number"
v-only-number="{ max: 999999999999999, min: 0, precision: 4 }" placeholder="最高债权数额"></el-input>
</el-form-item>
</el-col>
......@@ -175,7 +175,7 @@
注销抵押业务号: <br />
<p class="label-detail">(ZXDYYWH)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.ZXDYYWH"
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.zxdyywh"
placeholder="注销抵押业务号"></el-input>
</el-form-item>
</el-col>
......@@ -188,7 +188,7 @@
登记机构: <br />
<p class="label-detail">(DJJG)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.DJJG" placeholder="登记机构"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.djjg" placeholder="登记机构"></el-input>
</el-form-item>
</el-col>
......@@ -199,7 +199,7 @@
<p class="label-detail">(DJSJ)</p>
</span>
<el-date-picker :disabled="$store.state.business.Edit" type="datetime" placeholder="登记时间" clearable
v-model="ruleForm.DJSJ" value-format="yyyy-MM-dd HH:mm:ss">
v-model="ruleForm.djsj" value-format="yyyy-MM-dd HH:mm:ss">
</el-date-picker>
</el-form-item>
</el-col>
......@@ -210,7 +210,7 @@
登簿人: <br />
<p class="label-detail">(DBR)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.DBR" placeholder="登簿人"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.dbr" placeholder="登簿人"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -222,7 +222,7 @@
附记: <br />
<p class="label-detail">(FJ)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.FJ" placeholder="附记"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.fj" placeholder="附记"></el-input>
</el-form-item>
</el-col>
......@@ -232,7 +232,7 @@
权属状态: <br />
<p class="label-detail">(QSZT)</p>
</span>
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.QSZT" placeholder="权属状态">
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.qszt" placeholder="权属状态">
<el-option v-for="item in dicData['A22']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
......@@ -245,7 +245,7 @@
区县代码: <br />
<p class="label-detail">(QXDM)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.QXDM" placeholder="区县代码"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.qxdm" placeholder="区县代码"></el-input>
</el-form-item>
</el-col>
</el-row>
......
......@@ -65,9 +65,30 @@
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="8">
<el-form-item prop="BDCQZMH">
<span slot="label">
不动产权证明号: <br />
<p class="label-detail">(BDCQZMH)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.BDCQZMH" placeholder="不动产权证明号">
</el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item prop="QLLX">
<span slot="label">
权利类型: <br />
<p class="label-detail">(QLLX)</p>
</span>
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.QLLX" placeholder="权利类型">
<el-option v-for="item in dicData['A8']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item prop="QXDM">
<span slot="label">
区县代码: <br />
......@@ -76,7 +97,8 @@
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.QXDM" placeholder="区县代码"></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="8">
<el-form-item prop="DJJG">
<span slot="label">
......@@ -86,7 +108,6 @@
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.DJJG" placeholder="登记机构"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item prop="DBR">
<span slot="label">
......@@ -96,9 +117,6 @@
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.DBR" placeholder="登簿人"></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="8">
<el-form-item prop="DJSJ">
<span slot="label">
......@@ -109,8 +127,9 @@
v-model="ruleForm.DJSJ" value-format="yyyy-MM-dd"></el-date-picker>
</el-form-item>
</el-col>
<el-col :span="8">
</el-row>
<el-row>
<el-col :span="24">
<el-form-item prop="BZ">
<span slot="label">
备注: <br />
......@@ -126,60 +145,60 @@
</template>
<script>
// 注销登记信息
import business from '@/api/business'
import ruleMixin from '@/mixins/ruleMixin.js'
import business from "@/api/business";
import ruleMixin from "@/mixins/ruleMixin.js";
export default {
mixins: [ruleMixin],
props: {
bsmSjsb: {
type: String,
default: ''
default: "",
},
bsmYwsjb: {
type: String,
default: ''
}
default: "",
},
},
data () {
data() {
return {
ruleForm: {
YSDM: '',
YWH: '',
BDCDYH: '',
BDCQZH: '',
ZXYWH: '',
ZXSJ: '',
QXDM: '',
DJJG: '',
DBR: '',
DJSJ: '',
BZ: ''
}
}
YSDM: "",
YWH: "",
BDCDYH: "",
BDCQZH: "",
ZXYWH: "",
ZXSJ: "",
QXDM: "",
DJJG: "",
DBR: "",
DJSJ: "",
BZ: "",
},
};
},
methods: {
async featchData () {
async featchData() {
try {
let { result: res } = await business.getQlfQlZxdjById(this.bsmSjsb)
this.ruleForm = res
let { result: res } = await business.getQlfQlZxdjById(this.bsmSjsb);
this.ruleForm = res;
//this.featchRule()
} catch (error) {
this.$refs.msg.messageShow()
this.$refs.msg.messageShow();
}
},
handleUpdateForm () {
handleUpdateForm() {
return new Promise(async (resolve) => {
try {
let res = await business.updateQlfQlZxdj(this.ruleForm)
let res = await business.updateQlfQlZxdj(this.ruleForm);
// this.$refs['formList'].resetFields();
resolve(res.code)
resolve(res.code);
} catch (error) {
this.$refs.msg.messageShow()
this.$refs.msg.messageShow();
}
})
}
}
}
});
},
},
};
</script>
<style scoped lang="scss">
@import "./css/itemForm.scss";
......
......@@ -118,6 +118,12 @@ import { getDetail } from "@/api/sbbwcx.js";
import { MessageBox } from "element-ui";
export default {
components: { JsonEditor },
props: {
title: {
type: String,
default: ''
}
},
computed: {
...mapGetters(["dicData"]),
},
......@@ -151,7 +157,6 @@ export default {
dialogVisible: false,
activeName: undefined,
editItem: "",
title: "",
headerList: [],
dataTable: "",
};
......@@ -167,6 +172,9 @@ export default {
getDetail({ bsmReport: this.dataReport.bsmReport }).then((res) => {
if (res.code == 200) {
this.headerList = res.result;
this.activeName = res.result[0].soleurl
this.bsmYwsjb = this.headerList[0].bsmYwsjb;
this.editItem = this.loadView(this.activeName);
}
});
},
......@@ -177,11 +185,11 @@ export default {
this.index = _index;
this.bsmYwsjb = this.headerList[val.index].bsmYwsjb;
this.editItem = this.loadView(this.activeName);
this.diaData.list.forEach((item) => {
if (item.soleurl == this.activeName) {
this.dataTable = item.dataTable;
}
});
// this.diaData.list.forEach((item) => {
// if (item.soleurl == this.activeName) {
// this.dataTable = item.dataTable;
// }
// });
},
loadView (view) {
return (r) =>
......
......@@ -29,7 +29,7 @@
</el-form>
</div>
<div class="from-clues-content">
<lb-table v-loading="loading" :page-size="pageData.size" :heightNum="300" :current-page.sync="pageData.current"
<lb-table :page-size="pageData.size" :heightNum="300" :current-page.sync="pageData.current"
:total="pageData.total" @selection-change="handleSelectionChange" @size-change="handleSizeChange"
@p-current-change="handleCurrentChange" :column="tableData.columns" :data="tableData.data">
</lb-table>
......@@ -59,7 +59,6 @@ export default {
},
data () {
return {
loading: false,
form: {
YWH: '',
BDCDYH: '',
......@@ -120,7 +119,6 @@ export default {
},
async featchData () {
try {
this.loading = true
let { result: { list, total, pages: pageSize, pageNum: current }
} = await business.getQlfQlDyaqList(this.form)
this.tableData.data = list;
......@@ -133,7 +131,6 @@ export default {
this.message = error
this.$refs.msg.messageShow()
}
this.loading = false
},
handlDatadetails (index, row) {
},
......
......@@ -38,9 +38,9 @@
</el-form>
</div>
<div class="from-clues-content">
<lb-table v-loading="loading" :page-size="pageData.size" :current-page.sync="pageData.current"
:total="pageData.total" @size-change="handleSizeChange" @p-current-change="handleCurrentChange"
:column="tableData.columns" :data="tableData.data">
<lb-table :page-size="pageData.size" :current-page.sync="pageData.current" :total="pageData.total"
@size-change="handleSizeChange" @p-current-change="handleCurrentChange" :column="tableData.columns"
:data="tableData.data">
</lb-table>
<message-tips ref="msg" :message="message" />
</div>
......@@ -68,7 +68,6 @@ export default {
},
data () {
return {
loading: false,
form: {
YWH: '',
QLLX: '',
......@@ -131,7 +130,6 @@ export default {
},
async featchData () {
try {
this.loading = true
this.form = Object.assign(this.form, this.formData)
let { result: { list, total, pages: pageSize, pageNum: current }
} = await business.getQltQlGjzwsyqList(this.form)
......@@ -145,7 +143,6 @@ export default {
this.message = error
this.$refs.msg.messageShow()
}
this.loading = false
},
async handlDatadetails (index, row) {
let { result: res, message } = await dataReporting.getQltFwFdcqYzByCondition(row.BSM_SJSB)
......
......@@ -88,7 +88,7 @@
</lb-table>
</div>
<!-- 编辑 -->
<dataDetails ref="editLog" />
<dataDetails ref="editLog" :title="title" />
</div>
</template>
......@@ -198,6 +198,7 @@ export default {
},
// 业务名称
statusOptions: [],
title: ''
};
},
methods: {
......@@ -220,6 +221,7 @@ export default {
},
// 详情
handleEdit (row) {
this.title = row.rectypeName
this.$refs.editLog.isShow(row);
}
}
......