c6d6de60 by tianhaohao@pashanhoo.com

Merge branch 'dev' of http://yun.pashanhoo.com:9090/bdc/bdcdj-web into dev

2 parents c95c4703 9da623a6
/*
* @Description: 企业银行接口
* @Autor: renchao
* @LastEditTime: 2023-11-01 08:41:46
* @LastEditTime: 2024-03-29 14:11:30
*/
import request from '@/utils/request'
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
......@@ -129,14 +129,15 @@ export function editCompanyMaterialList (data, bsmCompany) {
* @description: 是否覆盖才材料信息
* @author: renchao
*/
export function replace (bsmCompany, bsmSlsq, bsmSldy) {
export function replace (bsmCompany, bsmSlsq, bsmSldy, qlrlx) {
return request({
url: SERVER.SERVERAPI + '/rest/sys/company/replace',
method: 'get',
params: {
bsmCompany: bsmCompany,
bsmSlsq: bsmSlsq,
bsmSldy: bsmSldy,
bsmSlsq: bsmSlsq
qlrlx: qlrlx
}
})
}
\ No newline at end of file
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2024-03-29 13:26:04
-->
<template>
<div class="jtfccx-edit-con">
<b class="title"></b>
......@@ -41,20 +46,15 @@
<script>
import { datas, sendThis } from "./infodata";
import { getFwmxInfo } from "@/api/jtfc.js";
export default {
props: {
formData: {
resultData: {
type: Object,
default: () => { },
},
},
data () {
return {
ruleForm: {
cxsj: "",
bdcdyh: "",
},
//房屋列表字段
fwColumns: datas.fwCol(),
//土地列表字段
......@@ -69,37 +69,9 @@
cfdjColumns: datas.cfdjCol(),
//异议登记列表字段
yydjColumns: datas.yydjCol(),
form: {},
resultData: {},
};
},
mounted () {
if (this.formData) {
this.getDetailInfo()
}
},
methods: {
/**
* @description: setResult
* @param {*} data
* @author: renchao
*/
setResult (data) {
this.resultData = data
},
/**
* @description: getDetailInfo
* @author: renchao
*/
getDetailInfo () {
this.$startLoading();
getFwmxInfo({ sqcxBsm: this.formData.bsmSqcx }).then((res) => {
this.$endLoading();
if (res.code == 200) {
this.resultData = res.result
}
})
}
}
};
</script>
......
import filter from '@/utils/filter.js'
let vm = null
import store from '@/store/index.js'
const sendThis = (_this) => {
vm = _this
......@@ -64,294 +65,19 @@ class data extends filter {
align: 'center',
fixed: 'right',
render: (h, scope) => {
if(scope.row.dyzt != '0' && scope.row.cfzt != '0'){
if (scope.row.dyzt != '0' && scope.row.cfzt != '0') {
return <div>抵押、查封</div>
}
if(scope.row.dyzt != '0'){
if (scope.row.dyzt != '0') {
return <div>抵押</div>
}
if(scope.row.cfzt != '0'){
if (scope.row.cfzt != '0') {
return <div>查封</div>
}
}
}
]
}
sqrCol () {
return [
{
width: "60",
renderHeader: (h, scope) => {
return (
<i
class="el-icon-plus pointer"
onClick={() => {
vm.add("sqr");
}}
style="color:#409EFF"
></i>
);
},
render: (h, scope) => {
return (
<i
class="el-icon-minus pointer"
onClick={() => {
vm.remove(scope.$index, scope.row, "sqr");
}}
></i>
);
},
},
{
width: "150",
label: "身份证读卡器",
render: (h, scope) => {
return (
<div>
<el-button
type="text"
icon="el-icon-edit-outline"
onClick={() => {
vm.handleRead(scope);
}}
>
读取
</el-button>
</div>
);
},
},
{
width: "150",
prop: "sqrxm",
label: "姓名/名称",
render: (h, scope) => {
return (
<el-input
placeholder="姓名/名称"
value={scope.row[scope.column.property]}
onInput={(val) => {
scope.row[scope.column.property] = val;
}}
></el-input>
);
},
},
{
prop: "sqrzjlxbm",
label: "证件种类",
render: (h, scope) => {
return (
<el-select
class="width100"
clearable
value={scope.row[scope.column.property]}
onChange={(val) => {
scope.row[scope.column.property] = val;
}}
>
{vm.dictData["A30"].map((option) => {
return (
<el-option
label={option.dname}
value={option.dcode}
></el-option>
);
})}
</el-select>
);
},
},
{
prop: "sqrzjhm",
label: "证件号",
render: (h, scope) => {
return (
<el-input
placeholder="证件号"
value={scope.row[scope.column.property]}
onInput={(val) => {
scope.row[scope.column.property] = val;
}}
maxlength="21"
></el-input>
);
},
},
{
prop: "lxdh",
label: "联系电话",
render: (h, scope) => {
return (
<div class="typePhone">
<el-input
placeholder="联系电话"
value={scope.row[scope.column.property]}
onInput={(val) => {
scope.row[scope.column.property] = val;
}}
onBlur={(val) => {
vm.teltest(scope.row);
}}
type="tel"
maxlength="11"
></el-input>
<span
v-show={scope.row.inputErr}
style={{
fontSize: "12px",
color: "red",
position: "absolute",
bottom: "-2px",
left: "0",
}}
>
请输入正确手机号
</span>
</div>
);
},
},
]
}
qlrCol () {
return [
{
width: "60",
renderHeader: (h, scope) => {
return (
<i
class="el-icon-plus pointer"
onClick={() => {
vm.add("qlr");
}}
style="color:#409EFF"
></i>
);
},
render: (h, scope) => {
return (
<i
class="el-icon-minus pointer"
onClick={() => {
vm.remove(scope.$index, scope.row, "qlr");
}}
></i>
);
},
},
{
width: "150",
label: "身份证读卡器",
render: (h, scope) => {
return (
<div>
<el-button
type="text"
icon="el-icon-edit-outline"
onClick={() => {
vm.handleRead(scope);
}}
>
读取
</el-button>
</div>
);
},
},
{
width: "150",
prop: "sqrxm",
label: "姓名/名称",
render: (h, scope) => {
return (
<el-input
placeholder="姓名/名称"
value={scope.row[scope.column.property]}
onInput={(val) => {
scope.row[scope.column.property] = val;
}}
></el-input>
);
},
},
{
prop: "sqrzjlxbm",
label: "证件种类",
render: (h, scope) => {
return (
<el-select
class="width100"
value={scope.row[scope.column.property]}
onChange={(val) => {
scope.row[scope.column.property] = val;
}}
>
{vm.dictData["A30"].map((option) => {
return (
<el-option
label={option.dname}
value={option.dcode}
></el-option>
);
})}
</el-select>
);
},
},
{
prop: "sqrzjhm",
label: "证件号",
render: (h, scope) => {
return (
<el-input
placeholder="证件号"
value={scope.row[scope.column.property]}
onInput={(val) => {
scope.row[scope.column.property] = val;
}}
maxlength="21"
></el-input>
);
},
},
{
prop: "lxdh",
label: "联系电话",
render: (h, scope) => {
return (
<div class="typePhone">
<el-input
placeholder="联系电话"
value={scope.row[scope.column.property]}
onInput={(val) => {
scope.row[scope.column.property] = val;
}}
onBlur={(val) => {
vm.teltest(scope.row);
}}
type="tel"
maxlength="11"
></el-input>
<span
v-show={scope.row.inputErr}
style={{
fontSize: "12px",
color: "red",
position: "absolute",
bottom: "-2px",
left: "0",
}}
>
请输入正确手机号
</span>
</div>
);
},
},
]
}
}
let datas = new data()
export {
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2024-03-19 13:17:22
* @LastEditTime: 2024-03-29 14:12:16
-->
<template>
<dialogBox
......@@ -571,7 +571,7 @@
cancelButtonText: '取消',
distinguishCancelAndClose: true,//区分取消与关闭
}).then(() => {
replace(val.bsmCompany, this.$route.query.bsmSlsq, bsmSldy).then(res => {
replace(val.bsmCompany, this.$route.query.bsmSlsq, bsmSldy, this.details.qlrlx).then(res => {
that.$emit("updateDetail", _.cloneDeep({ ...val, sqrlx: '2', id: getUuid(16) }));
that.$emit("input", false);
if (res.code == 200) {
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2024-01-18 14:55:20
* @LastEditTime: 2024-03-29 14:03:52
-->
<template>
<div>
<lb-table :column="column" :pagination="false" :key="key" :heightNumSetting="true" :minHeight="0" :rowStyleHeight='25'
:data="tableDataList">
</lb-table>
<addQlr v-model="dialog" :details="details" :showButton="disabled" @updateDetail="handleupdateDetail" />
<addQlr v-model="dialog" :details="{qlrlx: 1,...details}" :showButton="disabled" @updateDetail="handleupdateDetail" />
</div>
</template>
<script>
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2024-01-18 15:03:10
* @LastEditTime: 2024-03-29 14:04:33
-->
<template>
<div>
<lb-table :column="column" :pagination="false" :key="key" :heightNumSetting="true" :minHeight="0" :rowStyleHeight='25'
:data="tableDataList">
</lb-table>
<addQlr v-model="dialog" :details="details" :showButton="disabled" @updateDetail="handleupdateDetail" />
<addQlr v-model="dialog" :details="{qlrlx: 2,...details}" :showButton="disabled" @updateDetail="handleupdateDetail" />
</div>
</template>
<script>
......