9da623a6 by renchao@pashanhoo.com

信息备案

1 parent f0e43e77
/*
* @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-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>
......
......@@ -13,8 +13,7 @@
ref="ruleForm"
:label-position="flag ? 'top' : ''"
:inline="flag"
label-width="180px"
>
label-width="180px">
<div class="slxx_con" :class="flag ? 'formMarginBot0' : ''">
<div class="slxx_title title-block">
申请业务信息
......@@ -59,8 +58,7 @@
<el-col :span="16"> 抵押不动产情况 </el-col>
<el-col
:span="4"
v-if="ruleForm.sldy.djlx == '300' || ruleForm.sldy.djlx == '500'"
>
v-if="ruleForm.sldy.djlx == '300' || ruleForm.sldy.djlx == '500'">
<el-button @click="compare">变化情况对比+</el-button>
</el-col>
</el-row>
......@@ -126,7 +124,7 @@
<el-row :gutter="10">
<el-col :span="8">
<el-form-item label="原不动产证号:">
<el-input v-if="ruleForm.sldy.djlx=='100'" disabled ></el-input>
<el-input v-if="ruleForm.sldy.djlx=='100'" disabled></el-input>
<el-input v-else disabled v-model="ruleForm.sldy.ybdcqzsh"></el-input>
</el-form-item>
</el-col>
......@@ -144,19 +142,16 @@
<el-input
maxlength="12"
v-model="ruleForm.diyaq.dymj"
disabled
></el-input>
disabled></el-input>
<el-select
disabled
v-model="ruleForm.diyaq.mjdw"
style="width: 68px"
>
style="width: 68px">
<el-option
v-for="item in dictData['A7']"
:key="item.dcode"
:label="item.dname"
:value="item.dcode"
>
:value="item.dcode">
</el-option>
</el-select>
</div>
......@@ -167,12 +162,10 @@
<el-col :span="8">
<el-form-item
label="是否禁止或者限制转让的约定:"
label-width="200px"
>
label-width="200px">
<el-radio-group
v-model="ruleForm.diyaq.sfczjzhxz"
:disabled="!viewEdit || isJfOperation"
>
:disabled="!viewEdit || isJfOperation">
<el-radio label="1"></el-radio>
<el-radio label="0"></el-radio>
</el-radio-group>
......@@ -190,8 +183,7 @@
<el-form-item label="债务履行期限:">
<el-input
v-model="ruleForm.diyaq.dyqx"
:disabled="!viewEdit || isJfOperation"
></el-input>
:disabled="!viewEdit || isJfOperation"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -203,18 +195,15 @@
<el-input
v-model="ruleForm.diyaq.bdbzzqse"
:disabled="!viewEdit || isJfOperation"
style="width: 500%"
></el-input>
style="width: 500%"></el-input>
<el-select
v-model="ruleForm.diyaq.jedw"
:disabled="!viewEdit || isJfOperation"
>
:disabled="!viewEdit || isJfOperation">
<el-option
v-for="item in dictData['A57']"
:key="item.dcode"
:label="item.dname"
:value="item.dcode"
>
:value="item.dcode">
</el-option>
</el-select>
</div>
......@@ -227,18 +216,15 @@
<el-input
v-model="ruleForm.diyaq.zgzqse"
:disabled="!viewEdit || isJfOperation"
style="width: 500%"
></el-input>
style="width: 500%"></el-input>
<el-select
v-model="ruleForm.diyaq.jedw"
:disabled="!viewEdit || isJfOperation"
>
:disabled="!viewEdit || isJfOperation">
<el-option
v-for="item in dictData['A57']"
:key="item.dcode"
:label="item.dname"
:value="item.dcode"
>
:value="item.dcode">
</el-option>
</el-select>
</div>
......@@ -250,8 +236,7 @@
<el-date-picker
v-model="ruleForm.diyaq.zwlxqssj"
:disabled="!viewEdit || isJfOperation"
type="date"
>
type="date">
</el-date-picker>
</el-form-item>
</el-col>
......@@ -261,8 +246,7 @@
class="width100"
v-model="ruleForm.diyaq.zwlxjssj"
:disabled="!viewEdit || isJfOperation"
type="date"
>
type="date">
</el-date-picker>
</el-form-item>
</el-col>
......@@ -274,8 +258,7 @@
v-model="ruleForm.diyaq.dbfw"
:disabled="
ruleForm.sldy.djlx == '300' || !viewEdit || isJfOperation
"
></el-input>
"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -284,8 +267,7 @@
<el-form-item label="最高债权确定事实和数额:">
<el-input
v-model="ruleForm.diyaq.zgzqqdss"
:disabled="!viewEdit || isJfOperation"
></el-input>
:disabled="!viewEdit || isJfOperation"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -297,8 +279,7 @@
maxlength="500"
show-word-limit
v-model="ruleForm.diyaq.fj"
:disabled="!viewEdit || isJfOperation"
></el-input>
:disabled="!viewEdit || isJfOperation"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -312,8 +293,7 @@
<el-form-item label="共有方式:">
<el-radio-group
:disabled="!viewEdit"
v-model="ruleForm.sldy.gyfs"
>
v-model="ruleForm.sldy.gyfs">
<el-radio label="0">单独所有</el-radio>
<el-radio label="1">共同共有</el-radio>
<el-radio label="2">按份所有</el-radio>
......@@ -326,8 +306,7 @@
<el-radio-group
v-model="ruleForm.sldy.sqfbcz"
:disabled="!viewEdit"
@input="updaterow()"
>
@input="updaterow()">
<el-radio :label="1"></el-radio>
<el-radio :label="0"></el-radio>
</el-radio-group>
......@@ -335,20 +314,17 @@
</el-col>
<el-col
:span="6"
v-show="ruleForm.sldy.sqfbcz == '0' && ruleForm.sldy.gyfs != '0'"
>
v-show="ruleForm.sldy.sqfbcz == '0' && ruleForm.sldy.gyfs != '0'">
<el-form-item label="持证人:">
<el-select
v-model="czr"
placeholder="持证人"
:disabled="!viewEdit"
>
:disabled="!viewEdit">
<el-option
v-for="(item, index) in czrOptions"
:key="index"
:label="item.sqrmc"
:value="item.id"
>
:value="item.id">
</el-option>
</el-select>
</el-form-item>
......@@ -358,17 +334,15 @@
:tableData="ruleForm.qlrList"
:disabled="viewEdit"
@upDateQlrxxList="upDateQlrxxList"
:gyfs="ruleForm.sldy.gyfs"
/>
:gyfs="ruleForm.sldy.gyfs" />
<div class="slxx_title title-block">
抵押人信息
<div class="triangle"></div>
</div>
<qlrCommonTable
<ywrCommonTable
:tableData="ruleForm.ywrList"
:disabled="viewEdit"
@upDateQlrxxList="upDateYwrxxList"
/>
@upDateQlrxxList="upDateYwrxxList" />
<div class="slxx_title title-block">
登记原因
......@@ -379,14 +353,12 @@
<el-form-item
v-if="ruleForm.sldy.djlx == '400'"
label="注销抵押原因:"
prop="diyaq.zxdyyy"
>
prop="diyaq.zxdyyy">
<el-input
class="textArea"
type="textarea"
:disabled="!viewEdit"
v-model="ruleForm.diyaq.zxdyyy"
>
v-model="ruleForm.diyaq.zxdyyy">
</el-input>
</el-form-item>
<el-form-item v-else label="登记原因:" prop="diyaq.djyy">
......@@ -396,8 +368,7 @@
maxlength="500"
show-word-limit
:disabled="!viewEdit"
v-model="ruleForm.diyaq.djyy"
>
v-model="ruleForm.diyaq.djyy">
</el-input>
</el-form-item>
</el-col>
......@@ -412,23 +383,24 @@
</div>
</template>
<script>
import qlrCommonTable from "@/views/workflow/components/qlrCommonTable";
import { Init, saveData } from "@/api/workflow/diyaqFlow.js";
import { formValidate } from "./slxxValidate";
import { mapGetters } from "vuex";
export default {
mounted() {
import { mapGetters } from "vuex";
import { formValidate } from "./slxxValidate";
import { Init, saveData } from "@/api/workflow/diyaqFlow.js";
import qlrCommonTable from "@/views/workflow/components/qlrCommonTable";
import ywrCommonTable from "@/views/workflow/components/ywrCommonTable";
export default {
mounted () {
this.initData();
},
components: { qlrCommonTable },
components: { qlrCommonTable, ywrCommonTable },
computed: {
...mapGetters(["dictData", "flag"]),
},
data() {
data () {
return {
isSave: true,
// 键名转换,方法默认是label和children进行树状渲染
normalizer(node) {
normalizer (node) {
//方法
if (node.children == null || node.children == "null") {
delete node.children;
......@@ -457,7 +429,7 @@ export default {
};
},
methods: {
initData() {
initData () {
let that = this;
this.loading = true;
this.viewEdit = this.$parent.currentSelectTab.ableOperation;
......@@ -485,7 +457,7 @@ export default {
});
that.czrOptions = this.ruleForm.qlrList;
that.isSave = that.viewEdit;
that.rules = formValidate(that.ruleForm.sldy.djlx,that.ruleForm.diyaq.dyfs);
that.rules = formValidate(that.ruleForm.sldy.djlx, that.ruleForm.diyaq.dyfs);
} else {
that.isSave = false;
that.$confirm(res.message, "提示", {
......@@ -503,7 +475,7 @@ export default {
* @description: onSubmitClick
* @author: renchao
*/
onSubmitClick() {
onSubmitClick () {
let that = this;
if (this.ruleForm.qlrList.length == 0) {
this.$message({
......@@ -592,7 +564,7 @@ export default {
* @param {*} val
* @author: renchao
*/
upDateQlrxxList(val) {
upDateQlrxxList (val) {
if (!_.isEqual(val, this.ruleForm.qlrList)) {
this.ruleForm.qlrList = _.cloneDeep(val);
this.czrOptions = this.ruleForm.qlrList;
......@@ -611,7 +583,7 @@ export default {
* @description: 是否持证人变化
* @author: renchao
*/
updaterow() {
updaterow () {
this.czr = "";
},
/**
......@@ -619,7 +591,7 @@ export default {
* @param {*} val
* @author: renchao
*/
upDateYwrxxList(val) {
upDateYwrxxList (val) {
if (!_.isEqual(val, this.ruleForm.ywrList)) {
this.ruleForm.ywrList = _.cloneDeep(val);
}
......@@ -628,7 +600,7 @@ export default {
* @description: compare
* @author: renchao
*/,
compare() {
compare () {
this.$popupDialog(
this.ruleForm.qlxx.qllxmc,
"registerBook/comparison",
......@@ -641,10 +613,10 @@ export default {
);
},
},
};
};
</script>
<style scoped lang="scss">
@import "~@/styles/public.scss";
@import "~@/styles/slxx/slxx.scss";
@import "~@/styles/public.scss";
@import "~@/styles/slxx/slxx.scss";
</style>
./slxxValidate
......