ef99876e by renchao@pashanhoo.com

Merge branch 'dev'

2 parents 8fa29e9a fafc2c1e
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-08-04 16:44:30
* @LastEditTime: 2023-08-16 10:01:28
-->
<template>
<!-- 受理信息 -->
......@@ -252,7 +252,7 @@
</el-col>
<el-col :span="8">
<el-form-item label="总层数:">
<el-input v-model="ruleForm.fdcq2.zcs"></el-input>
<el-input v-model.number="ruleForm.fdcq2.zcs" oninput="value=value.replace(/[^0-9]/g,'')"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
......@@ -583,7 +583,6 @@
this.ssQlxxList = res.result;
}
});
return false;
}
});
},
......@@ -647,6 +646,17 @@
message: "请补充土地性质",
type: "error",
});
return false;
}
if (this.ruleForm.qlxx.gyfs == "0") {
if (this.ruleForm.qlrData.length > 1) {
this.$message({
showClose: true,
message: "请确认权利人信息",
type: "error",
});
return false;
}
}
if (this.ruleForm.qlxx.gyfs == "0") {
if (this.ruleForm.qlrData.length > 1) {
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-08-10 14:12:58
* @LastEditTime: 2023-08-16 10:01:49
:show-message="false"
-->
<template>
......@@ -326,7 +326,7 @@
</el-col>
<el-col :span="8">
<el-form-item label="总层数:">
<el-input oninput = "value=value.replace(/[^\d]/g,'')" maxlength="4" v-model="ruleForm.ygdj.zcs"></el-input>
<el-input oninput="value=value.replace(/[^\d]/g,'')" maxlength="4" v-model.number="ruleForm.ygdj.zcs"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
......@@ -414,13 +414,13 @@
<span type="text" style="color: #444" size="mini">是否存在禁止...:</span>
</el-tooltip>
</span>
<el-radio-group v-model="ruleForm.ygdj.sfczjzhxz">
<el-radio-group v-model="ruleForm.ygdj.sfczjzhxz">
<el-radio label="1"></el-radio>
<el-radio label="2"></el-radio>
</el-radio-group>
</el-form-item>
</el-col>
<!-- <el-col :span="8">
<!-- <el-col :span="8">
<el-form-item
label="是否存在禁止或限制转让抵押不动产的约定:" label-width="345px">
<el-radio-group v-model="ruleForm.ygdj.sfczjzhxz" @change="djlxchange">
......@@ -488,7 +488,7 @@
</div>
</template>
<script>
import ywmix from "./dataprocessing";
import ywmix from "./dataprocessing";
import qlrCommonTable from "@/views/djbworkflow/components/qlrCommonTable";
import ywrCommonTable from "@/views/djbworkflow/components/ywrCommonTable";
import tdytTable from "@/views/workflow/components/tdytTable";
......
......@@ -42,7 +42,7 @@
<el-row>
<el-col :span="24">
<el-form-item label="权利其他状况模板" prop="qlqtzk">
<el-input type="textarea" :rows="3" placeholder="请输入内容" v-model="ruleForm.qlqtzk">
<el-input type="textarea" :rows="8" placeholder="请输入内容" v-model="ruleForm.qlqtzk">
</el-input>
</el-form-item>
</el-col>
......
......@@ -24,7 +24,7 @@
<el-input v-model="ruleForm.qlr" clearable placeholder="请输入权利人"></el-input>
</el-form-item>
</el-col>
<el-col :span="6" class="btnColRight" v-if="ableOperation">
<el-col :span="6" class="btnColRight" v-if="viewEdit">
<el-form-item>
<el-button type="primary" icon="el-icon-search" @click="handleSearch">查询</el-button>
<el-button type="primary" icon="el-icon-search" @click="zslqClick">证书领取</el-button>
......@@ -50,7 +50,7 @@
data () {
return {
//表单是否可操作
ableOperation: true,
viewEdit: false,
ruleForm: {
ysxlh: '',
zsh: '',
......@@ -66,7 +66,7 @@
}
},
created () {
this.ableOperation = this.$parent.currentSelectTab.ableOperation
this.viewEdit = this.$parent.currentSelectTab.ableOperation
},
computed: {
...mapGetters(['workFresh'])
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-08-03 14:13:59
* @LastEditTime: 2023-08-16 09:48:00
-->
<template>
<div class="szxx">
......@@ -41,7 +41,7 @@
<span>印刷序列号:{{ item.ysxlh }}</span>
</div>
</div>
<div class="card_padding" v-if="ableOperation">
<div class="card_padding" v-if="viewEdit">
<div class="top_line middle_margin"></div>
<div class="text" v-if="item.ysxlh">
<el-button class="operation_button" type="text" @click="openInvalidDiglog(item)">再次打印({{ item.szcs
......@@ -81,7 +81,7 @@
data () {
return {
//表单是否可操作
ableOperation: true,
viewEdit: false,
dialog: false,
tableData: [],
bdcqzlx: 1,
......@@ -104,7 +104,7 @@
},
created () {
this.list()
this.ableOperation = this.$parent.currentSelectTab.ableOperation
this.viewEdit = this.$parent.currentSelectTab.ableOperation
},
methods: {
//初始化列表
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-07-11 09:57:17
* @LastEditTime: 2023-08-16 09:50:02
-->
<template>
<div class="slxx">
......@@ -152,14 +152,14 @@
<el-form-item :class="flag ? 'marginBot0' : ''" label="查封机关:" prop="cfdj.cfjg">
<el-input
v-model="ruleForm.cfdj.cfjg"
:disabled="!ableOperation || ableEdit || isJfOperation"></el-input>
:disabled="!viewEdit || ableEdit || isJfOperation"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item :class="flag ? 'marginBot0' : ''" label="查封文号:" prop="cfdj.cfwh">
<el-input
v-model="ruleForm.cfdj.cfwh"
:disabled="!ableOperation || ableEdit || isJfOperation"></el-input>
:disabled="!viewEdit || ableEdit || isJfOperation"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
......@@ -173,7 +173,7 @@
<el-form-item :class="flag ? 'marginBot0' : ''" label="查封期限:" prop="cfdj.cfqx">
<el-input
v-model="ruleForm.cfdj.cfqx"
:disabled="!ableOperation || ableEdit || isJfOperation"></el-input>
:disabled="!viewEdit || ableEdit || isJfOperation"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
......@@ -184,7 +184,7 @@
type="date"
placeholder="选择日期"
value-format="yyyy-MM-dd"
:disabled="!ableOperation || ableEdit || isJfOperation"></el-date-picker>
:disabled="!viewEdit || ableEdit || isJfOperation"></el-date-picker>
</el-form-item>
</el-col>
<el-col :span="8">
......@@ -192,7 +192,7 @@
<el-date-picker
v-model="ruleForm.cfdj.cfjssj"
class="width100"
:disabled="!ableOperation || ableEdit || isJfOperation"
:disabled="!viewEdit || ableEdit || isJfOperation"
type="date"
placeholder="选择日期"
value-format="yyyy-MM-dd"></el-date-picker>
......@@ -204,14 +204,14 @@
<el-form-item :class="flag ? 'marginBot0' : ''" label="查封文件:" prop="cfdj.cfwj">
<el-input
v-model="ruleForm.cfdj.cfwj"
:disabled="!ableOperation || ableEdit || isJfOperation"></el-input>
:disabled="!viewEdit || ableEdit || isJfOperation"></el-input>
</el-form-item>
</el-col>
<el-col :span="16">
<el-form-item :class="flag ? 'marginBot0' : ''" label="查封范围:" prop="cfdj.cffw">
<el-input
v-model="ruleForm.cfdj.cffw"
:disabled="!ableOperation || ableEdit || isJfOperation"></el-input>
:disabled="!viewEdit || ableEdit || isJfOperation"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -221,7 +221,7 @@
<el-input
v-model="ruleForm.cfdj.fj"
type="textarea"
:disabled="!ableOperation || ableEdit || isJfOperation"></el-input>
:disabled="!viewEdit || ableEdit || isJfOperation"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -232,7 +232,7 @@
class="textArea"
type="textarea"
v-model="ruleForm.cfdj.djyy"
:disabled="!ableOperation || ableEdit || isJfOperation"></el-input>
:disabled="!viewEdit || ableEdit || isJfOperation"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -246,27 +246,27 @@
<el-form-item :class="flag ? 'marginBot0' : ''" label="解封机关:" prop="cfdj.jfjg">
<el-input
v-model="ruleForm.cfdj.jfjg"
:disabled="!ableOperation || ableEdit"></el-input>
:disabled="!viewEdit || ableEdit"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item :class="flag ? 'marginBot0' : ''" label="解封文件:" prop="cfdj.jfwj">
<el-input
v-model="ruleForm.cfdj.jfwj"
:disabled="!ableOperation || ableEdit"></el-input>
:disabled="!viewEdit || ableEdit"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item :class="flag ? 'marginBot0' : ''" label="解封文号:" prop="cfdj.jfwh">
<el-input
v-model="ruleForm.cfdj.jfwh"
:disabled="!ableOperation || ableEdit"></el-input>
:disabled="!viewEdit || ableEdit"></el-input>
</el-form-item>
</el-col>
</el-row>
</div>
</div>
<el-row class="btn" v-if="ableOperation && !ableEdit">
<el-row class="btn" v-if="viewEdit && !ableEdit">
<el-form-item :class="flag ? 'marginBot0' : ''">
<el-button type="primary" @click="onSubmit">保存</el-button>
</el-form-item>
......@@ -282,7 +282,7 @@
data () {
return {
//表单是否可操作
ableOperation: true,
viewEdit: false,
disabled: true,
flagTop: this.flag ? "top" : "",
rules: {},
......@@ -299,14 +299,14 @@
async created () {
this.propsParam = this.$attrs;
this.ableEdit = this.$parent.showBatch;
this.ableOperation = this.$parent.currentSelectTab.ableOperation
this.viewEdit = this.$parent.currentSelectTab.ableOperation
if (this.propsParam.djlx == "400") {
this.isJfOperation = true;
}
var formdata = new FormData();
formdata.append("bsmSldy", this.propsParam.bsmSldy);
formdata.append("djlx", this.propsParam.djlx);
formdata.append("isEdit", this.ableOperation);
formdata.append("isEdit", this.viewEdit);
Init(formdata).then((res) => {
if (res.code === 200 && res.result) {
this.ruleForm = res.result;
......
......@@ -90,7 +90,7 @@
房屋多幢明细
<div class="triangle"></div>
<fdcqxmTable
:ableOperation="ableOperation"
:ableOperation="viewEdit"
:tableData="ruleForm.fdcqxm"
@upDateTdytxxList="upDateTdytxxList" />
<div class="slxx_title title-block">
......@@ -98,7 +98,7 @@
<div class="triangle"></div>
</div>
<tdytTable
:ableOperation="ableOperation"
:ableOperation="viewEdit"
:tableData="ruleForm.tdytqxList"
@upDateTdytxxList="upDateTdytxxList" />
<div class="slxx_title title-block">
......@@ -108,7 +108,7 @@
<el-row :gutter="10">
<el-col :span="14" v-if="ruleForm.qlxx">
<el-form-item label="共有方式:">
<el-radio-group :disabled="!ableOperation" @change="showCZInfo"
<el-radio-group :disabled="!viewEdit" @change="showCZInfo"
v-model="ruleForm.sldy.gyfs">
<el-radio label="0">单独所有</el-radio>
<el-radio label="1">共同共有</el-radio>
......@@ -121,7 +121,7 @@
<el-form-item label="是否分别持证:">
<el-radio-group
v-model="ruleForm.sldy.sqfbcz"
:disabled="!ableOperation">
:disabled="!viewEdit">
<el-radio :label="1"></el-radio>
<el-radio :label="0"></el-radio>
</el-radio-group>
......@@ -134,7 +134,7 @@
<el-select
v-model="ruleForm.czr"
placeholder="持证人"
:disabled="!ableOperation">
:disabled="!viewEdit">
<el-option
v-for="item in czrOptions"
:key="item.zjh"
......@@ -146,7 +146,7 @@
</el-col>
</el-row>
<qlrCommonTable @upDateQlrxxList="upDateQlrxxList" :tableData="ruleForm.qlrList" :disabled="!ableOperation"
<qlrCommonTable @upDateQlrxxList="upDateQlrxxList" :tableData="ruleForm.qlrList" :disabled="!viewEdit"
:gyfs="ruleForm.slsq.gyfs" />
<div v-if="ruleForm.ywrList && ruleForm.qlxx.djlx == '200'">
......@@ -164,7 +164,7 @@
<el-row :gutter="10">
<el-col>
<el-form-item v-if="ruleForm.sldy" label="登记原因:" prop="djyy">
<el-input class="textArea" type="textarea" maxlength="500" show-word-limit :disabled="!ableOperation"
<el-input class="textArea" type="textarea" maxlength="500" show-word-limit :disabled="!viewEdit"
v-model="ruleForm.fdcq1.djyy">
</el-input>
</el-form-item>
......@@ -172,7 +172,7 @@
</el-row>
</div>
</div>
<el-row class="btn" v-if="ableOperation">
<el-row class="btn" v-if="viewEdit">
<el-form-item>
<el-button type="primary" @click="onSubmit">保存</el-button>
</el-form-item>
......@@ -190,12 +190,12 @@
export default {
mixins: [ywmix],
mounted () {
this.ableOperation = this.$parent.currentSelectTab.ableOperation
this.viewEdit = this.$parent.currentSelectTab.ableOperation
this.propsParam = this.$attrs;
var formdata = new FormData();
formdata.append("bsmSldy", this.propsParam.bsmSldy);
formdata.append("djlx", this.propsParam.djlx);
formdata.append("isEdit", this.ableOperation);
formdata.append("isEdit", this.viewEdit);
Init(formdata).then((res) => {
if (res.code === 200 && res.result) {
this.ruleForm = {
......@@ -244,7 +244,7 @@
//传递参数
propsParam: this.$attrs,
//表单是否可操作
ableOperation: true,
viewEdit: false,
rules: {}
}
},
......
<!--
* @Description: 受理信息
* @Autor: renchao
* @LastEditTime: 2023-08-16 09:15:51
* @LastEditTime: 2023-08-16 09:42:18
-->
<template>
<div class="slxx">
......@@ -202,7 +202,7 @@
</el-col>
<el-col :span="8">
<el-form-item label="总层数:">
<el-input v-model="ruleForm.fdcq2.zcs"></el-input>
<el-input v-model.number="ruleForm.fdcq2.zcs" oninput="value=value.replace(/[^0-9]/g,'')"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
......@@ -284,7 +284,11 @@
</el-col>
</el-row>
<el-row :gutter="10">
<el-col :span="24">
<el-form-item label="附记:">
<el-input v-model="ruleForm.fdcq2.fj"></el-input>
</el-form-item>
</el-col>
</el-row>
<div class="slxx_title title-block">
土地用途
......@@ -356,7 +360,7 @@
<el-row :gutter="10">
<el-col>
<el-form-item v-if="ruleForm.sldy" label="登记原因:" prop="djyy">
<el-input class="textArea" type="textarea" maxlength="500" show-word-limit :disabled="!ableOperation"
<el-input class="textArea" type="textarea" maxlength="500" show-word-limit :disabled="!ableOperation"
v-model="ruleForm.fdcq2.djyy">
</el-input>
</el-form-item>
......
<!--
* @Description: 受理信息
* @Autor: renchao
* @LastEditTime: 2023-08-16 09:06:05
* @LastEditTime: 2023-08-16 10:01:56
-->
<template>
<div class="slxx">
......@@ -111,7 +111,7 @@
</el-col>
<el-col :span="8">
<el-form-item label="总层数:">
<el-input disabled v-model="ruleForm.fdcq2.zcs"></el-input>
<el-input disabled v-model.number="ruleForm.fdcq2.zcs" oninput="value=value.replace(/[^0-9]/g,'')"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
......@@ -184,7 +184,7 @@
<div class="triangle"></div>
</div>
<tdytTable
:ableOperation="ableOperation"
:ableOperation="viewEdit"
:tableData="ruleForm.tdytqxList"
@upDateTdytxxList="upDateTdytxxList" />
<div class="slxx_title title-block">
......@@ -194,7 +194,7 @@
<el-row :gutter="10">
<el-col :span="12">
<el-form-item label="共有方式:">
<el-radio-group :disabled="!ableOperation" v-model="ruleForm.sldy.gyfs">
<el-radio-group :disabled="!viewEdit" v-model="ruleForm.sldy.gyfs">
<el-radio label="0">单独所有</el-radio>
<el-radio label="1">共同共有</el-radio>
<el-radio label="2">按份所有</el-radio>
......@@ -206,7 +206,7 @@
<el-form-item label="是否分别持证:">
<el-radio-group
v-model="ruleForm.sldy.sqfbcz"
:disabled="!ableOperation">
:disabled="!viewEdit">
<el-radio :label="1"></el-radio>
<el-radio :label="0"></el-radio>
</el-radio-group>
......@@ -219,7 +219,7 @@
<el-select
v-model="ruleForm.czr"
placeholder="持证人"
:disabled="!ableOperation">
:disabled="!viewEdit">
<el-option
v-for="item in czrOptions"
:key="item.zjh"
......@@ -230,7 +230,7 @@
</el-form-item>
</el-col>
</el-row>
<qlrCommonTable @upDateQlrxxList="upDateQlrxxList" :disabled="!ableOperation" :tableData="ruleForm.qlrList"
<qlrCommonTable @upDateQlrxxList="upDateQlrxxList" :disabled="!viewEdit" :tableData="ruleForm.qlrList"
:gyfs="ruleForm.slsq.gyfs" />
<div class="slxx_title title-block">
登记原因
......@@ -239,14 +239,14 @@
<el-row :gutter="10">
<el-col>
<el-form-item v-if="ruleForm.fdcq2" label="登记原因:" prop="djyy">
<el-input class="textArea" type="textarea" maxlength="500" show-word-limit :disabled="!ableOperation"
<el-input class="textArea" type="textarea" maxlength="500" show-word-limit :disabled="!viewEdit"
v-model="ruleForm.fdcq2.djyy">
</el-input>
</el-form-item>
</el-col>
</el-row>
</div>
<el-row class="btn" v-if="ableOperation">
<el-row class="btn" v-if="viewEdit">
<el-form-item>
<el-button type="primary" @click="onSubmit">保存</el-button>
</el-form-item>
......@@ -263,12 +263,12 @@
export default {
mixins: [ywmix],
mounted () {
this.ableOperation = this.$parent.currentSelectTab.ableOperation
this.viewEdit = this.$parent.currentSelectTab.ableOperation
this.propsParam = this.$attrs;
var formdata = new FormData();
formdata.append("bsmSldy", this.propsParam.bsmSldy);
formdata.append("djlx", this.propsParam.djlx);
formdata.append("isEdit", this.ableOperation);
formdata.append("isEdit", this.viewEdit);
Init(formdata).then((res) => {
if (res.code === 200 && res.result) {
this.ruleForm = {
......@@ -294,7 +294,7 @@
return {
mjdw: "1",
//表单是否可操作
ableOperation: true,
viewEdit: false,
disabled: true,
tdytOption: [],
czrOptions: [],
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-08-16 09:06:15
* @LastEditTime: 2023-08-16 10:02:06
-->
<template>
<!-- 受理信息 -->
......@@ -129,7 +129,7 @@
<div class="triangle"></div>
</div>
<tdytTable
:ableOperation="ableOperation"
:ableOperation="viewEdit"
:tableData="ruleForm.tdytqxList"
@upDateTdytxxList="upDateTdytxxList" />
<div class="slxx_title title-block">
......@@ -139,7 +139,7 @@
<el-row :gutter="10">
<el-col :span="14">
<el-form-item label="共有方式:">
<el-radio-group :disabled="!ableOperation" v-model="ruleForm.gyfs">
<el-radio-group :disabled="!viewEdit" v-model="ruleForm.gyfs">
<el-radio label="1">单独所有</el-radio>
<el-radio label="2">共同共有</el-radio>
<el-radio label="3">按份所有</el-radio>
......@@ -148,7 +148,7 @@
</el-col>
<el-col :span="5" v-show="ruleForm.gyfs == '2'">
<el-form-item label="是否分别持证:">
<el-radio-group v-model="ruleForm.sffbcz" :disabled="!ableOperation">
<el-radio-group v-model="ruleForm.sffbcz" :disabled="!viewEdit">
<el-radio label="1"></el-radio>
<el-radio label="0"></el-radio>
</el-radio-group>
......@@ -156,14 +156,14 @@
</el-col>
<el-col :span="5" v-show="ruleForm.gyfs == '2'">
<el-form-item label="持证人:">
<el-select v-model="ruleForm.czr" placeholder="持证人" :disabled="!ableOperation">
<el-select v-model="ruleForm.czr" placeholder="持证人" :disabled="!viewEdit">
<el-option v-for="item in czrOptions" :key="item.value" :label="item.label" :value="item.value">
</el-option>
</el-select>
</el-form-item>
</el-col>
</el-row>
<qlrCommonTable :tableData="ruleForm.qlrList" @upDateQlrxxList="upDateQlrxxList" :gyfs="ruleForm.gyfs" :disabled="!ableOperation" />
<qlrCommonTable :tableData="ruleForm.qlrList" :gyfs="ruleForm.gyfs" :disabled="!viewEdit" />
<div class="slxx_title title-block">
登记原因
<div class="triangle"></div>
......@@ -171,13 +171,13 @@
<el-row :gutter="10">
<el-col>
<el-form-item label="登记原因:" prop="djyy">
<el-input class="textArea" type="textarea" maxlength="500" show-word-limit :disabled="!ableOperation" v-model="ruleForm.djyy">
<el-input class="textArea" type="textarea" maxlength="500" show-word-limit :disabled="!viewEdit" v-model="ruleForm.djyy">
</el-input>
</el-form-item>
</el-col>
</el-row>
</div>
<el-row class="btn" v-if="ableOperation">
<el-row class="btn" v-if="viewEdit">
<el-form-item>
<el-button type="primary" @click="onSubmit">保存</el-button>
</el-form-item>
......@@ -194,7 +194,7 @@
export default {
mixins: [ywmix],
mounted () {
this.ableOperation = this.$parent.currentSelectTab.ableOperation
this.viewEdit = this.$parent.currentSelectTab.ableOperation
this.propsParam = this.$attrs;
var formdata = new FormData();
formdata.append("bsmSldy", this.propsParam.bsmSldy);
......@@ -222,7 +222,7 @@
data () {
return {
//表单是否可操作
ableOperation: true,
viewEdit: false,
disabled: true,
tdytOption: [],
czrOptions: [],
......@@ -286,7 +286,7 @@
list (bsmSldy) {
var formdata = new FormData();
formdata.append("bsmSldy", bsmSldy);
formdata.append("isEdit", this.ableOperation);
formdata.append("isEdit", this.viewEdit);
Init(formdata).then((res) => {
if (res.code === 200 && res.result) {
this.ruleForm = {
......
......@@ -2,7 +2,7 @@
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-08-16 09:06:23
* @LastEditTime: 2023-08-16 09:56:08
-->
<template>
<!-- 受理信息 -->
......@@ -126,7 +126,7 @@
<el-input
type="textarea"
v-model="ruleForm.jsydsyq.fj"
:disabled="!ableOperation"></el-input>
:disabled="!viewEdit"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -136,7 +136,7 @@
</div>
<tdytTable
:tableData="ruleForm.tdytqxList"
:ableOperation="ableOperation"
:ableOperation="viewEdit"
@upDateTdytxxList="upDateTdytxxList" />
<div class="slxx_title title-block">
权利人信息
......@@ -146,7 +146,7 @@
<el-col :span="12">
<el-form-item label="共有方式:">
<el-radio-group
:disabled="!ableOperation"
:disabled="!viewEdit"
v-model="ruleForm.sldy.gyfs">
<el-radio label="0">单独所有</el-radio>
<el-radio label="1">共同共有</el-radio>
......@@ -159,7 +159,7 @@
<el-form-item label="是否分别持证:">
<el-radio-group
v-model="ruleForm.sldy.sqfbcz"
:disabled="!ableOperation">
:disabled="!viewEdit">
<el-radio :label="1"></el-radio>
<el-radio :label="0"></el-radio>
</el-radio-group>
......@@ -172,7 +172,7 @@
<el-select
v-model="ruleForm.czr"
placeholder="持证人"
:disabled="!ableOperation">
:disabled="!viewEdit">
<el-option
v-for="item in czrOptions"
:key="item.zjh"
......@@ -185,7 +185,7 @@
</el-row>
<qlrCommonTable
:tableData="ruleForm.qlrList"
:disabled="!ableOperation"
:disabled="!viewEdit"
@upDateQlrxxList="upDateQlrxxList"
:gyfs="ruleForm.sldy.gyfs" />
<div class="slxx_title title-block">
......@@ -199,14 +199,14 @@
class="textArea"
type="textarea"
maxlength="500" show-word-limit
:disabled="!ableOperation"
:disabled="!viewEdit"
v-model="ruleForm.jsydsyq.djyy">
</el-input>
</el-form-item>
</el-col>
</el-row>
</div>
<el-row class="btn" v-if="ableOperation">
<el-row class="btn" v-if="viewEdit">
<el-form-item>
<el-button type="primary" @click="onSubmit">保存</el-button>
</el-form-item>
......@@ -223,13 +223,13 @@
export default {
mixins: [ywmix],
mounted () {
this.ableOperation = this.$parent.currentSelectTab.ableOperation;
this.viewEdit = this.$parent.currentSelectTab.ableOperation;
this.propsParam = this.$attrs;
var formdata = new FormData();
this.$startLoading();
formdata.append("bsmSldy", this.propsParam.bsmSldy);
formdata.append("djlx", this.propsParam.djlx);
formdata.append("isEdit", this.ableOperation);
formdata.append("isEdit", this.viewEdit);
Init(formdata).then((res) => {
if (res.code === 200 && res.result) {
this.ruleForm = res.result;
......@@ -250,7 +250,7 @@
data () {
return {
//表单是否可操作
ableOperation: true,
viewEdit: false,
disabled: true,
czrOptions: [],
ruleForm: {
......
......@@ -100,7 +100,7 @@
</el-col>
<el-col :span="8">
<el-form-item label="土地所有权性质:">
<el-select v-model="ruleForm.nydsyq.tdsyqxzmc" :disabled="!ableOperation" class="width100" filterable clearable>
<el-select v-model="ruleForm.nydsyq.tdsyqxzmc" :disabled="!viewEdit" class="width100" filterable clearable>
<el-option v-for="item in dictData['A45']" :key="item.dname" :label="item.dname" :value="item.dname">
</el-option>
</el-select>
......@@ -122,7 +122,7 @@
<el-row :gutter="10">
<el-col :span="8">
<el-form-item label="水域滩涂类型:">
<el-select v-model="ruleForm.nydsyq.syttlx" :disabled="!ableOperation" class="width100" filterable clearable @change="changeSyttlx">
<el-select v-model="ruleForm.nydsyq.syttlx" :disabled="!viewEdit" class="width100" filterable clearable @change="changeSyttlx">
<el-option v-for="item in dictData['A23']" :key="item.dcode" :label="item.dname" :value="item.dcode">
</el-option>
</el-select>
......@@ -130,7 +130,7 @@
</el-col>
<el-col :span="8">
<el-form-item label="养殖业方式:">
<el-select v-model="ruleForm.nydsyq.yzyfs" :disabled="!ableOperation" class="width100" filterable clearable @change="changeYzyfs">
<el-select v-model="ruleForm.nydsyq.yzyfs" :disabled="!viewEdit" class="width100" filterable clearable @change="changeYzyfs">
<el-option v-for="item in dictData['A24']" :key="item.dcode" :label="item.dname" :value="item.dcode">
</el-option>
</el-select>
......@@ -138,19 +138,19 @@
</el-col>
<el-col :span="8">
<el-form-item label="草原质量:">
<el-input v-model="ruleForm.nydsyq.cyzl" :disabled="!ableOperation"></el-input>
<el-input v-model="ruleForm.nydsyq.cyzl" :disabled="!viewEdit"></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row :gutter="10">
<el-col :span="8">
<el-form-item label="适宜载畜量:">
<el-input v-model="ruleForm.nydsyq.syzcl" :disabled="!ableOperation" oninput="value=value.replace(/[^\d.]/g,'')"></el-input>
<el-input v-model="ruleForm.nydsyq.syzcl" :disabled="!viewEdit" oninput="value=value.replace(/[^\d.]/g,'')"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="用地用海分类:">
<el-select v-model="ruleForm.nydsyq.ydyhfl" class="width100" :disabled="!ableOperation" filterable clearable @change="changeYdyhfl">
<el-select v-model="ruleForm.nydsyq.ydyhfl" class="width100" :disabled="!viewEdit" filterable clearable @change="changeYdyhfl">
<el-option v-for="item in dictData['A51']" :key="item.dcode" :label="item.dname" :value="item.dcode">
</el-option>
</el-select>
......@@ -158,14 +158,14 @@
</el-col>
<el-col :span="8">
<el-form-item label="土地承包合同:">
<el-input v-model="ruleForm.nydsyq.tdcbht" :disabled="!ableOperation"></el-input>
<el-input v-model="ruleForm.nydsyq.tdcbht" :disabled="!viewEdit"></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row :gutter="10">
<el-col>
<el-form-item label="附记:" prop="fj">
<el-input type="textarea" v-model="ruleForm.nydsyq.fj" :disabled="!ableOperation"></el-input>
<el-input type="textarea" v-model="ruleForm.nydsyq.fj" :disabled="!viewEdit"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -176,7 +176,7 @@
<el-row :gutter="10">
<el-col :span="12">
<el-form-item label="共有方式:">
<el-radio-group v-model="ruleForm.sldy.gyfs" :disabled="!ableOperation">
<el-radio-group v-model="ruleForm.sldy.gyfs" :disabled="!viewEdit">
<el-radio label="0">单独所有</el-radio>
<el-radio label="1">共同共有</el-radio>
<el-radio label="2">按份所有</el-radio>
......@@ -188,7 +188,7 @@
<el-form-item label="是否分别持证:">
<el-radio-group
v-model="ruleForm.sldy.sqfbcz"
:disabled="!ableOperation">
:disabled="!viewEdit">
<el-radio :label="1"></el-radio>
<el-radio :label="0"></el-radio>
</el-radio-group>
......@@ -201,7 +201,7 @@
<el-select
v-model="ruleForm.czr"
placeholder="持证人"
:disabled="!ableOperation">
:disabled="!viewEdit">
<el-option
v-for="item in czrOptions"
:key="item.zjh"
......@@ -212,12 +212,12 @@
</el-form-item>
</el-col>
</el-row>
<qlrCommonTable :tableData="ruleForm.qlrList" @upDateQlrxxList="upDateQlrxxList" :disabled="!ableOperation" :gyfs="ruleForm.slywxx.gyfs" />
<qlrCommonTable :tableData="ruleForm.qlrList" @upDateQlrxxList="upDateQlrxxList" :disabled="!viewEdit" :gyfs="ruleForm.slywxx.gyfs" />
<div class="slxx_title title-block">
家庭成员
<div class="triangle"></div>
</div>
<JtcyTable :tableData="ruleForm.jtcyList" @upDateJtcyList="upDateJtcyList" :disabled="!ableOperation" :gyfs="ruleForm.slywxx.gyfs" />
<JtcyTable :tableData="ruleForm.jtcyList" @upDateJtcyList="upDateJtcyList" :disabled="!viewEdit" :gyfs="ruleForm.slywxx.gyfs" />
<div class="slxx_title title-block">
登记原因
<div class="triangle"></div>
......@@ -225,14 +225,14 @@
<el-row :gutter="10">
<el-col>
<el-form-item label="登记原因:" prop="djyy">
<el-input class="textArea" type="textarea" maxlength="500" show-word-limit :disabled="!ableOperation"
<el-input class="textArea" type="textarea" maxlength="500" show-word-limit :disabled="!viewEdit"
v-model="ruleForm.nydsyq.djyy">
</el-input>
</el-form-item>
</el-col>
</el-row>
</div>
<el-row class="btn" v-if="ableOperation">
<el-row class="btn" v-if="viewEdit">
<el-form-item>
<el-button type="primary" @click="onSubmit">保存</el-button>
</el-form-item>
......@@ -249,13 +249,13 @@
export default {
mixins: [ywmix],
mounted () {
this.ableOperation = this.$parent.currentSelectTab.ableOperation
this.viewEdit = this.$parent.currentSelectTab.ableOperation
this.propsParam = this.$attrs;
this.$startLoading();
var formdata = new FormData();
formdata.append("bsmSldy", this.propsParam.bsmSldy);
formdata.append("djlx", this.propsParam.djlx);
formdata.append("isEdit", this.ableOperation);
formdata.append("isEdit", this.viewEdit);
Init(formdata).then((res) => {
this.ruleForm = res.result;
this.ruleForm.qlrList.forEach((item, index) => {
......@@ -284,7 +284,7 @@
//传递参数
propsParam: {},
//表单是否可操作
ableOperation: true,
viewEdit: true,
rules: {}
}
},
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-08-16 09:06:39
* @LastEditTime: 2023-08-16 09:58:36
-->
<template>
<!-- 受理信息 -->
......@@ -92,11 +92,11 @@
<div class="flex">
<el-input
v-model="ruleForm.tdsyq.nydmj"
:disabled="!ableOperation"
:disabled="!viewEdit"
oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input>
<el-select
v-model="mjdw"
:disabled="!ableOperation"
:disabled="!viewEdit"
style="width: 20%">
<el-option
v-for="item in dictData['A7']"
......@@ -113,11 +113,11 @@
<div class="flex">
<el-input
v-model="ruleForm.tdsyq.gdmj"
:disabled="!ableOperation"
:disabled="!viewEdit"
oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input>
<el-select
v-model="mjdw"
:disabled="!ableOperation"
:disabled="!viewEdit"
style="width: 20%">
<el-option
v-for="item in dictData['A7']"
......@@ -134,11 +134,11 @@
<div class="flex">
<el-input
v-model="ruleForm.tdsyq.ldmj"
:disabled="!ableOperation"
:disabled="!viewEdit"
oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input>
<el-select
v-model="mjdw"
:disabled="!ableOperation"
:disabled="!viewEdit"
style="width: 20%">
<el-option
v-for="item in dictData['A7']"
......@@ -157,11 +157,11 @@
<div class="flex">
<el-input
v-model="ruleForm.tdsyq.cdmj"
:disabled="!ableOperation"
:disabled="!viewEdit"
oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input>
<el-select
v-model="mjdw"
:disabled="!ableOperation"
:disabled="!viewEdit"
style="width: 20%">
<el-option
v-for="item in dictData['A7']"
......@@ -178,11 +178,11 @@
<div class="flex">
<el-input
v-model="ruleForm.tdsyq.qtnydmj"
:disabled="!ableOperation"
:disabled="!viewEdit"
oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input>
<el-select
v-model="mjdw"
:disabled="!ableOperation"
:disabled="!viewEdit"
style="width: 20%">
<el-option
v-for="item in dictData['A7']"
......@@ -199,11 +199,11 @@
<div class="flex">
<el-input
v-model="ruleForm.tdsyq.jsydmj"
:disabled="!ableOperation"
:disabled="!viewEdit"
oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input>
<el-select
v-model="mjdw"
:disabled="!ableOperation"
:disabled="!viewEdit"
style="width: 20%">
<el-option
v-for="item in dictData['A7']"
......@@ -222,11 +222,11 @@
<div class="flex">
<el-input
v-model="ruleForm.tdsyq.wlydmj"
:disabled="!ableOperation"
:disabled="!viewEdit"
oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input>
<el-select
v-model="mjdw"
:disabled="!ableOperation"
:disabled="!viewEdit"
style="width: 20%">
<el-option
v-for="item in dictData['A7']"
......@@ -245,7 +245,7 @@
</div>
<tdytTable
:tableData="ruleForm.tdytqxList"
:ableOperation="ableOperation"
:ableOperation="viewEdit"
@upDateTdytxxList="upDateTdytxxList" />
<div class="slxx_title title-block">
权利人信息
......@@ -255,7 +255,7 @@
<el-col :span="12">
<el-form-item label="共有方式:">
<el-radio-group
:disabled="!ableOperation"
:disabled="!viewEdit"
v-model="ruleForm.sldy.gyfs">
<el-radio label="0">单独所有</el-radio>
<el-radio label="1">共同共有</el-radio>
......@@ -268,7 +268,7 @@
<el-form-item label="是否分别持证:">
<el-radio-group
v-model="ruleForm.sldy.sqfbcz"
:disabled="!ableOperation">
:disabled="!viewEdit">
<el-radio :label="1"></el-radio>
<el-radio :label="0"></el-radio>
</el-radio-group>
......@@ -281,7 +281,7 @@
<el-select
v-model="ruleForm.czr"
placeholder="持证人"
:disabled="!ableOperation">
:disabled="!viewEdit">
<el-option
v-for="item in czrOptions"
:key="item.zjh"
......@@ -294,7 +294,7 @@
</el-row>
<qlrCommonTable
:tableData="ruleForm.qlrList"
:disabled="!ableOperation"
:disabled="!viewEdit"
@upDateQlrxxList="upDateQlrxxList"
:key="key"
:gyfs="ruleForm.sldy.gyfs" />
......@@ -306,7 +306,7 @@
</div>
<qlrCommonTable
v-if="ruleForm.ywrList"
:disabled="!ableOperation"
:disabled="!viewEdit"
:tableData="ruleForm.ywrList"
:key="key"
@upDateQlrxxList="upDateYwrxxList" />
......@@ -323,14 +323,14 @@
class="textArea"
maxlength="500" show-word-limit
type="textarea"
:disabled="!ableOperation"
:disabled="!viewEdit"
v-model="ruleForm.tdsyq.djyy">
</el-input>
</el-form-item>
</el-col>
</el-row>
</div>
<el-row class="btn" v-if="ableOperation">
<el-row class="btn" v-if="viewEdit">
<el-form-item>
<el-button type="primary" @click="onSubmit">保存</el-button>
</el-form-item>
......@@ -348,14 +348,14 @@
mixins: [ywmix],
components: { qlrCommonTable, tdytTable },
mounted () {
this.ableOperation = this.$parent.currentSelectTab.ableOperation;
this.viewEdit = this.$parent.currentSelectTab.ableOperation;
this.propsParam = this.$attrs;
var formdata = new FormData();
let that = this;
this.$startLoading();
formdata.append("bsmSldy", this.propsParam.bsmSldy);
formdata.append("djlx", this.propsParam.djlx);
formdata.append("isEdit", this.ableOperation);
formdata.append("isEdit", this.viewEdit);
Init(formdata).then((res) => {
this.$nextTick(() => {
that.ruleForm = res.result;
......@@ -388,7 +388,7 @@
},
//表单是否可操作
ableOperation: true,
viewEdit: true,
key: 0,
isShow: false,
disabled: true,
......
......@@ -134,7 +134,7 @@
</el-col>
<el-col :span="8">
<el-form-item label="总层数:">
<el-input v-model="ruleForm.ygdj.zcs"></el-input>
<el-input v-model.number="ruleForm.ygdj.zcs" oninput="value=value.replace(/[^0-9]/g,'')"></el-input>
</el-form-item>
</el-col>
</el-row>
......
......@@ -102,7 +102,7 @@
</el-col>
<el-col :span="8">
<el-form-item label="总层数:">
<el-input disabled v-model="ruleForm.ygdj.zcs"></el-input>
<el-input disabled v-model.number="ruleForm.ygdj.zcs" oninput="value=value.replace(/[^0-9]/g,'')"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -113,7 +113,7 @@
<el-row :gutter="10">
<el-col :span="12" v-if="ruleForm.qlxx">
<el-form-item label="共有方式:">
<el-radio-group :disabled="!ableOperation" v-model="ruleForm.sldy.gyfs">
<el-radio-group :disabled="!viewEdit" v-model="ruleForm.sldy.gyfs">
<el-radio label="0">单独所有</el-radio>
<el-radio label="1">共同共有</el-radio>
<el-radio label="2">按份所有</el-radio>
......@@ -125,7 +125,7 @@
<el-form-item label="是否分别持证:">
<el-radio-group
v-model="ruleForm.sldy.sqfbcz"
:disabled="!ableOperation">
:disabled="!viewEdit">
<el-radio :label="1"></el-radio>
<el-radio :label="0"></el-radio>
</el-radio-group>
......@@ -138,7 +138,7 @@
<el-select
v-model="ruleForm.czr"
placeholder="持证人"
:disabled="!ableOperation">
:disabled="!viewEdit">
<el-option
v-for="item in czrOptions"
:key="item.zjh"
......@@ -149,13 +149,13 @@
</el-form-item>
</el-col>
</el-row>
<qlrCommonTable @upDateQlrxxList="upDateQlrxxList" :tableData="ruleForm.qlrList" :disabled="!ableOperation"
<qlrCommonTable @upDateQlrxxList="upDateQlrxxList" :tableData="ruleForm.qlrList" :disabled="!viewEdit"
:gyfs="ruleForm.sldy.gyfs" />
<div class="slxx_title title-block">
义务人信息
<div class="triangle"></div>
</div>
<qlrCommonTable @upDateQlrxxList="upDateYwrxxList" :tableData="ruleForm.ywrList" :disabled="!ableOperation"
<qlrCommonTable @upDateQlrxxList="upDateYwrxxList" :tableData="ruleForm.ywrList" :disabled="!viewEdit"
:gyfs="ruleForm.sldy.gyfs" />
<div class="slxx_title title-block">
登记原因
......@@ -164,14 +164,14 @@
<el-row :gutter="10">
<el-col>
<el-form-item label="登记原因:" prop="djyy">
<el-input class="textArea" type="textarea" maxlength="500" show-word-limit :disabled="!ableOperation"
<el-input class="textArea" type="textarea" maxlength="500" show-word-limit :disabled="!viewEdit"
v-model="ruleForm.ygdj.djyy">
</el-input>
</el-form-item>
</el-col>
</el-row>
</div>
<el-row class="btn" v-if="ableOperation">
<el-row class="btn" v-if="viewEdit">
<el-form-item>
<el-button type="primary" @click="onSubmit">保存</el-button>
</el-form-item>
......@@ -187,13 +187,13 @@
export default {
mixins: [ywmix],
mounted () {
this.ableOperation = this.$parent.currentSelectTab.ableOperation
this.viewEdit = this.$parent.currentSelectTab.ableOperation
this.propsParam = this.$attrs;
var formdata = new FormData();
this.$startLoading();
formdata.append("bsmSldy", this.propsParam.bsmSldy);
formdata.append("djlx", this.propsParam.djlx);
formdata.append("isEdit", this.ableOperation);
formdata.append("isEdit", this.viewEdit);
Init(formdata).then((res) => {
if (res.code === 200 && res.result) {
this.$endLoading();
......@@ -214,7 +214,7 @@
data () {
return {
//表单是否可操作
ableOperation: true,
viewEdit: true,
disabled: true,
tdytOption: [],
czrOptions: [],
......
......@@ -62,7 +62,7 @@
</el-col>
<el-col :span="8">
<el-form-item label="抵押金额类型:">
<el-radio-group v-model="ruleForm.diyaqList[0].dyjelx" :disabled="!ableOperation">
<el-radio-group v-model="ruleForm.diyaqList[0].dyjelx" :disabled="!viewEdit">
<el-radio label="0">独立抵押</el-radio>
<el-radio label="1">整体抵押</el-radio>
</el-radio-group>
......@@ -70,7 +70,7 @@
</el-col>
<el-col :span="8">
<el-form-item label="是否存在禁止或者限制转让抵押不动产的约定:" label-width="350px">
<el-radio-group v-model="ruleForm.diyaqList[0].sfczjzhxz" :disabled="!ableOperation">
<el-radio-group v-model="ruleForm.diyaqList[0].sfczjzhxz" :disabled="!viewEdit">
<el-radio label="1">启用</el-radio>
<el-radio label="0">禁用</el-radio>
</el-radio-group>
......@@ -81,8 +81,8 @@
<el-row :gutter="10" v-if="ruleForm.diyaqList && ruleForm.diyaqList.length>0">
<el-col :span="8" v-show="ruleForm.diyaqList[0].dyfs == 1">
<el-form-item label="被担保主债权数额:">
<el-input v-model="ruleForm.diyaqList[0].bdbzzqse" :disabled="!ableOperation"></el-input>
<el-select v-model="ruleForm.diyaqList[0].jedw" :disabled="!ableOperation">
<el-input v-model="ruleForm.diyaqList[0].bdbzzqse" :disabled="!viewEdit"></el-input>
<el-select v-model="ruleForm.diyaqList[0].jedw" :disabled="!viewEdit">
<el-option v-for="item in dictData['A57']" :key="item.dcode" :label="item.dname" :value="item.dcode">
</el-option>
</el-select>
......@@ -91,8 +91,8 @@
<el-col :span="8" v-show="ruleForm.diyaqList[0].dyfs == 2">
<el-form-item label="最高债权额:">
<el-input v-model="ruleForm.diyaqList[0].zgzqse" :disabled="!ableOperation"></el-input>
<el-select v-model="ruleForm.diyaqList[0].jedw" :disabled="!ableOperation">
<el-input v-model="ruleForm.diyaqList[0].zgzqse" :disabled="!viewEdit"></el-input>
<el-select v-model="ruleForm.diyaqList[0].jedw" :disabled="!viewEdit">
<el-option v-for="item in dictData['A57']" :key="item.dcode" :label="item.dname" :value="item.dcode">
</el-option>
</el-select>
......@@ -101,13 +101,13 @@
<el-col :span="8">
<el-form-item label="债务履行起始时间:">
<el-date-picker v-model="ruleForm.diyaqList[0].zwlxqssj" :disabled="!ableOperation" type="date">
<el-date-picker v-model="ruleForm.diyaqList[0].zwlxqssj" :disabled="!viewEdit" type="date">
</el-date-picker>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="债务履行结束时间:">
<el-date-picker v-model="ruleForm.diyaqList[0].zwlxjssj" :disabled="!ableOperation" type="date">
<el-date-picker v-model="ruleForm.diyaqList[0].zwlxjssj" :disabled="!viewEdit" type="date">
</el-date-picker>
</el-form-item>
</el-col>
......@@ -117,21 +117,21 @@
<el-col :span="24">
<el-form-item label="担保范围:">
<el-input v-model="ruleForm.diyaqList[0].dbfw"
:disabled="ruleForm.sldyList[0].djlx == '300' && !ableOperation"></el-input>
:disabled="ruleForm.sldyList[0].djlx == '300' && !viewEdit"></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row v-if="ruleForm.diyaqList && ruleForm.diyaqList.length>0">
<el-col :span="24">
<el-form-item label="最高债权确定事实和数额:">
<el-input v-model="ruleForm.diyaqList[0].zgzqqdss" :disabled="!ableOperation"></el-input>
<el-input v-model="ruleForm.diyaqList[0].zgzqqdss" :disabled="!viewEdit"></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row v-if="ruleForm.diyaqList && ruleForm.diyaqList.length>0">
<el-col>
<el-form-item label="附记:" prop="fj">
<el-input type="textarea" v-model="ruleForm.diyaqList[0].fj" :disabled="!ableOperation"></el-input>
<el-input type="textarea" v-model="ruleForm.diyaqList[0].fj" :disabled="!viewEdit"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -143,7 +143,7 @@
<el-row :gutter="10" v-if="ruleForm.sldyList && ruleForm.sldyList.length>0">
<el-col :span="14">
<el-form-item label="共有方式:">
<el-radio-group :disabled="!ableOperation" v-model="ruleForm.sldyList[0].gyfs">
<el-radio-group :disabled="!viewEdit" v-model="ruleForm.sldyList[0].gyfs">
<el-radio label="0">单独所有</el-radio>
<el-radio label="1">共同共有</el-radio>
<el-radio label="2">按份所有</el-radio>
......@@ -154,7 +154,7 @@
<el-col :span="5" v-show="ruleForm.sldyList[0].gyfs != '0'">
<el-form-item label="是否分别持证:">
<el-radio-group v-model="ruleForm.sldyList[0].sqfbcz" :disabled="!ableOperation">
<el-radio-group v-model="ruleForm.sldyList[0].sqfbcz" :disabled="!viewEdit">
<el-radio label="1"></el-radio>
<el-radio label="0"></el-radio>
</el-radio-group>
......@@ -162,7 +162,7 @@
</el-col>
<el-col :span="5" v-show="ruleForm.sldyList[0].gyfs != '0'">
<el-form-item label="持证人:">
<el-select v-model="ruleForm.czr" placeholder="持证人" :disabled="!ableOperation">
<el-select v-model="ruleForm.czr" placeholder="持证人" :disabled="!viewEdit">
<el-option v-for="item in czrOptions" :key="item.value" :label="item.label" :value="item.value">
</el-option>
</el-select>
......@@ -170,12 +170,12 @@
</el-col>
</el-row>
<qlrCommonTable v-if="ruleForm.sldyList && ruleForm.sldyList.length>0" :tableData="ruleForm.qlrList" @upDateQlrxxList="upDateQlrxxList"
:disabled="!ableOperation" :gyfs="ruleForm.sldyList[0].gyfs" />
:disabled="!viewEdit" :gyfs="ruleForm.sldyList[0].gyfs" />
<div class="slxx_title title-block">
抵押人信息
<div class="triangle"></div>
</div>
<qlrCommonTable :tableData="ruleForm.ywrList" @upDateQlrxxList="upDateYwrxxList" :disabled="!ableOperation" />
<qlrCommonTable :tableData="ruleForm.ywrList" @upDateQlrxxList="upDateYwrxxList" :disabled="!viewEdit" />
<div class="slxx_title title-block">
登记原因
......@@ -184,19 +184,19 @@
<el-row :gutter="10" v-if="ruleForm.diyaqList && ruleForm.diyaqList.length>0">
<el-col>
<el-form-item v-if="ruleForm.sldyList[0].djlx == '400'" label="注销抵押原因:" prop="djyy">
<el-input class="textArea" type="textarea" :disabled="!ableOperation"
<el-input class="textArea" type="textarea" :disabled="!viewEdit"
v-model="ruleForm.diyaqList[0].zxdyyy">
</el-input>
</el-form-item>
<el-form-item v-else label="登记原因:" prop="djyy">
<el-input class="textArea" type="textarea" maxlength="500" show-word-limit :disabled="!ableOperation"
<el-input class="textArea" type="textarea" maxlength="500" show-word-limit :disabled="!viewEdit"
v-model="ruleForm.diyaqList[0].djyy">
</el-input>
</el-form-item>
</el-col>
</el-row>
</div>
<el-row class="btn" v-if="ableOperation">
<el-row class="btn" v-if="viewEdit">
<el-form-item>
<el-button type="primary" @click="onSubmitClick()">保存</el-button>
</el-form-item>
......@@ -211,14 +211,14 @@
import { mapGetters } from "vuex";
export default {
mounted () {
this.ableOperation = this.$parent.currentSelectTab.ableOperation
this.viewEdit = this.$parent.currentSelectTab.ableOperation
this.propsParam = this.$attrs;
var formdata = new FormData();
this.$startLoading();
formdata.append("bsmSlsq", this.$route.query.bsmSlsq);
formdata.append("djlx", this.propsParam.djlx);
formdata.append("isEdit", this.ableOperation);
formdata.append("isEdit", this.viewEdit);
bacthInit(formdata).then((res) => {
this.$endLoading();
if (res.code === 200 && res.result) {
......@@ -241,7 +241,7 @@
data () {
return {
//表单是否可操作
ableOperation: true,
viewEdit: true,
disabled: true,
czrOptions: [],
ruleForm: {},
......