84e7ab3c by renchao@pashanhoo.com

style:权利人信息

1 parent e3632e87
/*
* @Description: 企业银行接口
* @Autor: renchao
* @LastEditTime: 2023-09-13 17:08:10
* @LastEditTime: 2023-09-20 14:49:22
*/
import request from '@/utils/request'
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
......@@ -108,4 +108,20 @@ export function editCompanyMaterialList (data, bsmCompany) {
method: 'post',
data
})
}
/**
* @description: 是否覆盖才材料信息
* @author: renchao
*/
export function replace (bsmCompany, bsmSldy, bsmSlsq) {
return request({
url: SERVER.SERVERAPI + '/rest/sys/company/replace',
method: 'get',
params: {
bsmCompany: bsmCompany,
bsmSldy: bsmSldy,
bsmSlsq: bsmSlsq
}
})
}
\ No newline at end of file
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-09-20 10:06:22
* @LastEditTime: 2023-09-20 16:07:43
-->
<template>
<dialogBox
......@@ -286,13 +286,12 @@
</el-table-column>
<el-table-column label="操作" width="50">
<template slot-scope="scope">
<el-button type="text" @click="handlesQYSelect(scope.row)">使用</el-button>
<el-button type="text" @click="handleSelect(scope.row)">使用</el-button>
</template>
</el-table-column>
</el-table>
<el-pagination background layout="prev, pager, next,total" :total="tableDataQy.total"
@current-change="handleQYCurrentChange"></el-pagination>
</div>
<div v-if="activeName==3" class="padding10">
......@@ -327,7 +326,7 @@
</el-table-column>
<el-table-column label="操作" width="50">
<template slot-scope="scope">
<el-button type="text" @click="handlesYHSelect(scope.row)">使用</el-button>
<el-button type="text" @click="handleSelect(scope.row)">使用</el-button>
</template>
</el-table-column>
</el-table>
......@@ -341,6 +340,7 @@
import { mapGetters } from "vuex";
import store from '@/store/index.js'
import { getUuid } from "@/utils/operation.js"
import { replace } from "@/api/company.js"
import { getIdCardInfo } from '@/utils/operation.js'
import { queryQyByPage, queryYhByPage, addQy } from "@/api/xxba.js";
import { dataYh, dataQy, sendThis } from "../../javascript/addQlrData";
......@@ -535,9 +535,31 @@
* @param {*} val
* @author: renchao
*/
handlesQYSelect (val) {
this.$emit("updateDetail", _.cloneDeep(val));
this.$emit("input", false);
handleSelect (val) {
let that = this
let bsmSldy = window.currentSelect.bsmSldy ? window.currentSelect.bsmSldy : ''
this.$confirm('是否同步材料信息?', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
}).then(() => {
replace(val.bsmCompany, this.$route.query.bsmSlsq, bsmSldy).then(res => {
that.$emit("updateDetail", _.cloneDeep(val));
that.$emit("input", false);
if (res.code == 200) {
that.$message({
type: 'success',
message: '同步成功!'
})
} else {
this.$message.error(res.message);
}
})
}).catch(() => {
this.$message({
type: 'info',
message: '已取消'
})
})
},
/**
* @description: 银行信息搜索
......@@ -570,15 +592,6 @@
this.handleSearchQY()
},
/**
* @description: handlesYHSelect
* @param {*} val
* @author: renchao
*/
handlesYHSelect (val) {
this.$emit("updateDetail", _.cloneDeep(val));
this.$emit("input", false);
},
/**
* @description: 身份证打卡器
* @author: renchao
*/
......@@ -610,7 +623,9 @@
*/
closeDialog () {
this.$emit("input", false);
this.$refs["ruleForm"].resetFields();
this.$nextTick(() => {
this.$refs["ruleForm"].resetFields();
})
},
/**
* @description: submitForm
......
<!--
* @Description: workFrame左侧菜单列表-普通
* @Autor: renchao
* @LastEditTime: 2023-09-19 16:13:24
* @LastEditTime: 2023-09-20 15:46:25
-->
<template>
<div class="leftmenu" :class="{ 'animation-map-drawer': isShowdrawer }">
......@@ -209,6 +209,7 @@
* @author: renchao
*/
batchUnitClick () {
window.currentSelect = {}
this.currentSelectProps.batchOperation = true;
this.activeIndex = "-1";
this.$parent.stepForm(0);
......@@ -230,6 +231,7 @@
* @author: renchao
*/
unitClick (index) {
window.currentSelect = this.unitData[index]
if (this.unitData.length == 0) return
this.currentSelectProps = this.unitData[index];
this.currentSelectProps.batchOperation = false;
......
<!--
* @Description: workFrame左侧菜单列表-分割
* @Autor: renchao
* @LastEditTime: 2023-09-19 16:15:15
* @LastEditTime: 2023-09-20 15:33:05
-->
<template>
<div class="leftmenu" :class="{ 'animation-map-drawer': isShowdrawer }">
......@@ -218,6 +218,7 @@
* @author: renchao
*/
unitClick (index) {
window.currentSelect = this.unitData[index]
this.activeHIndex = '-1'
this.currentSelectProps = this.aroundUnitData[index];
this.currentSelectProps.issave = '1'
......@@ -234,6 +235,7 @@
* @author: renchao
*/
handleAfterunitClick (index) {
window.currentSelect = this.unitData[index]
this.activeIndex = '-1'
this.currentSelectProps = this.afterUnitData[index];
this.currentSelectProps.batchOperation = false;
......
......@@ -204,7 +204,6 @@
</el-radio-group>
</el-form-item>
</el-col>
<el-col :span="5" v-show="ruleForm.sldyList[0].gyfs != '0'">
<el-form-item label="是否分别持证:">
<el-radio-group
......@@ -373,7 +372,7 @@
if (this.ruleForm.qlrList.length > 1) {
this.$message({
showClose: true,
message: "共有方式:单独所有,权利人只能是一个人",
message: "共有方式:单独所有,抵押权人只能是一个人",
type: "error",
});
return false;
......@@ -384,7 +383,7 @@
this.$message({
showClose: true,
message:
"共有方式:共同所有,按份所有,其他所有,权利人必须是两个以上",
"共有方式:共同所有,按份所有,其他所有,抵押权人必须是两个以上",
type: "error",
});
return false;
......@@ -439,7 +438,7 @@
this.czr = "";
},
/**
* @description: 更新权利人信息
* @description: 更新抵押权人信息
* @param {*} val
* @author: renchao
*/
......
......@@ -143,17 +143,19 @@
<el-row :gutter="10">
<el-col :span="8" v-show="ruleForm.diyaq.dyfs == 1">
<el-form-item label="被担保主债权数额:">
<el-input
v-model="ruleForm.diyaq.bdbzzqse"
:disabled="!viewEdit"></el-input>
<el-select v-model="ruleForm.diyaq.jedw" :disabled="!viewEdit">
<el-option
v-for="item in dictData['A57']"
:key="item.dcode"
:label="item.dname"
:value="item.dcode">
</el-option>
</el-select>
<div style="display:flex">
<el-input
v-model="ruleForm.diyaq.bdbzzqse"
:disabled="!viewEdit"></el-input>
<el-select style="width: 68px" v-model="ruleForm.diyaq.jedw" :disabled="!viewEdit">
<el-option
v-for="item in dictData['A57']"
:key="item.dcode"
:label="item.dname"
:value="item.dcode">
</el-option>
</el-select>
</div>
</el-form-item>
</el-col>
......@@ -229,7 +231,7 @@
<div class="triangle"></div>
</div>
<el-row :gutter="10">
<el-col :span="14">
<el-col :span="12">
<el-form-item label="共有方式:">
<el-radio-group
:disabled="!viewEdit"
......