ff3cd171 by tianhaohao@pashanhoo.com

修改抵押权补录信息

1 parent 2636844e
......@@ -96,7 +96,7 @@ export function save (data) {
* @param {*} data
* @author: renchao
*/
export function getSsQlxx (data) {
export function getSsQlxx (params) {
return request({
url: SERVER.SERVERAPI + '/rest/djbRepair/getSsQlxx',
method: 'get',
......@@ -109,7 +109,7 @@ export function getSsQlxx (data) {
* @param {*} data
* @author: renchao
*/
export function getZtQlxx (data) {
export function getZtQlxx (params) {
return request({
url: SERVER.SERVERAPI + '/rest/djbRepair/getZtQlxx',
method: 'get',
......
......@@ -38,14 +38,18 @@
</el-col>
</el-row>
<div class="slxx_title title-block">
抵押不动产情况 <div>请选择抵押不动产信息,
<select-table v-model="value2" :table-width="600" :props="props" @change="change">
<el-table-column prop="id" label="ID" width="180"></el-table-column>
<el-table-column prop="user" label="姓名"></el-table-column>
</select-table>
请选择上手权利信息</div>
抵押不动产情况
<div>
请选择抵押不动产信息,
<select-table v-model="value2" :table-width="600" :props="props" @change="change">
<el-table-column prop="qllxmc" label="权利类型" width="180"></el-table-column>
<el-table-column prop="bdcqzh" label="不动产权证书"></el-table-column>
<el-table-column prop="qlrmc" label="权利人"></el-table-column>
<el-table-column prop="mjmc" label="面积"></el-table-column>
<el-table-column prop="ytmc" label="用途"></el-table-column>
<el-table-column prop="zl" label="坐落"></el-table-column>
</select-table>请选择上手权利信息
</div>
<div class="triangle"></div>
</div>
<el-row :gutter="10" v-if="ruleForm.ztQlxx!=null">
......@@ -416,10 +420,10 @@
</template>
<script>
import { mapGetters } from "vuex";
import {init,getSsQlxx,getZtQlxx, save } from "@/api/djbbl.js";
import { init, getSsQlxx, getZtQlxx, save } from "@/api/djbbl.js";
import qlrCommonTable from "@/views/djbworkflow/components/qlrCommonTable";
import ywrCommonTable from "@/views/djbworkflow/components/ywrCommonTable";
import selectTable from '@/components/selectTable/index.vue';
import selectTable from "@/components/selectTable/index.vue";
import tdytTable from "@/views/workflow/components/tdytTable";
export default {
components: { qlrCommonTable, ywrCommonTable, tdytTable, selectTable },
......@@ -428,12 +432,12 @@ export default {
},
data() {
return {
value2:"",
value2: "",
props: {
label: 'user',
value: 'id',
keyword: "keyword"
},
label: "user",
value: "id",
keyword: "keyword",
},
//表单是否可操作
propsParam: this.$attrs,
key: 0,
......@@ -482,8 +486,8 @@ export default {
dname: "换证",
},
],
ssQlxxList:[],
ztQlxxList:[]
ssQlxxList: [],
ztQlxxList: [],
};
},
created() {
......@@ -491,22 +495,25 @@ export default {
},
mounted() {},
methods: {
loadData() {
this.propsParam.isEdit=this.$parent.isEdit
loadData() {
this.propsParam.isEdit = this.$parent.isEdit;
init(this.propsParam).then((res) => {
if (res.code == 200) {
this.ruleForm = res.result;
this.isShow = true;
}
});
//获取主体信息
getSsQlxx(this.propsParam.bdcdyid).then((res) => {
//获取主体信息
getSsQlxx({ bdcdyid: this.propsParam.bdcdyid }).then((res) => {
if (res.code == 200) {
this.ssQlxxList = res.result;
this.ssQlxxList = res.result;
}
});
//获取上手信息
getZtQlxx({bdcdyid:this.propsParam.bdcdyid,qllx:this.propsParam.qllx}).then((res) => {
getZtQlxx({
bdcdyid: this.propsParam.bdcdyid,
qllx: this.propsParam.qllx,
}).then((res) => {
if (res.code == 200) {
this.ztQlxxList = res.result;
}
......