e94a903a by renchao@pashanhoo.com

style:受理申请

1 parent 5894e5ed
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-08-04 16:35:32
* @LastEditTime: 2023-08-16 16:11:20
-->
<template>
<!-- 受理信息 -->
......@@ -403,7 +403,7 @@
:tableData="ruleForm.qlrData"
@upDateQlrxxList="upDateQlrxxList"
:key="key"
:ableOperation="ableOperation"
:disabled="ableOperation"
:gyfs="ruleForm.sldy.gyfs" />
<div>
......@@ -415,7 +415,7 @@
v-if="ruleForm.ywrData"
:tableData="ruleForm.ywrData"
:key="key"
:ableOperation="ableOperation"
:disabled="ableOperation"
@upDateQlrxxList="upDateYwrxxList" />
</div>
</div>
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-08-16 11:06:34
* @LastEditTime: 2023-08-16 16:11:35
-->
<template>
<!-- 受理信息 -->
......@@ -412,7 +412,7 @@
<qlrCommonTable
:tableData="ruleForm.qlrData"
@upDateQlrxxList="upDateQlrxxList"
:ableOperation="ableOperation"
:disabled="ableOperation"
:key="key"
:gyfs="ruleForm.sldy.gyfs" />
</div>
......
......@@ -266,7 +266,7 @@
:tableData="ruleForm.qlrData"
@upDateQlrxxList="upDateQlrxxList"
:key="key"
:ableOperation="ableOperation"
:disabled="ableOperation"
:gyfs="ruleForm.sldy.gyfs" />
</div>
<el-row class="btn" v-if="ableOperation">
......
......@@ -367,7 +367,7 @@
:tableData="ruleForm.qlrData"
@upDateQlrxxList="upDateQlrxxList"
:key="key"
:ableOperation="ableOperation"
:disabled="ableOperation"
:gyfs="ruleForm.sldy.gyfs" />
</div>
<el-row class="btn" v-if="ableOperation">
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-08-16 09:42:01
* @LastEditTime: 2023-08-16 16:11:56
:show-message="false"
-->
<template>
......@@ -463,7 +463,7 @@
:tableData="ruleForm.qlrData"
@upDateQlrxxList="upDateQlrxxList"
:key="key"
:ableOperation="ableOperation"
:disabled="ableOperation"
:gyfs="ruleForm.sldy.gyfs" />
<div v-if="ruleForm.ywrData">
......@@ -475,7 +475,7 @@
v-if="ruleForm.ywrData"
:tableData="ruleForm.ywrData"
:key="key"
:ableOperation="ableOperation"
:disabled="ableOperation"
@upDateQlrxxList="upDateYwrxxList" />
</div>
</div>
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-08-04 15:53:48
* @LastEditTime: 2023-08-16 16:12:12
:show-message="false"
-->
<template>
......@@ -380,7 +380,7 @@
:tableData="ruleForm.qlrData"
@upDateQlrxxList="upDateQlrxxList"
:key="key"
:ableOperation="ableOperation"
:disabled="ableOperation"
:gyfs="ruleForm.sldy.gyfs" />
<div v-if="ruleForm.ywrData">
......@@ -392,7 +392,7 @@
v-if="ruleForm.ywrData"
:tableData="ruleForm.ywrData"
:key="key"
:ableOperation="ableOperation"
:disabled="ableOperation"
@upDateQlrxxList="upDateYwrxxList" />
</div>
</div>
......
......@@ -330,7 +330,7 @@
:tableData="ruleForm.qlrData"
@upDateQlrxxList="upDateQlrxxList"
:key="key"
:ableOperation="ableOperation"
:disabled="ableOperation"
:gyfs="ruleForm.sldy.gyfs" />
<div v-if="ruleForm.ywrData">
<div class="slxx_title title-block">
......@@ -341,7 +341,7 @@
v-if="ruleForm.ywrData"
:tableData="ruleForm.ywrData"
:key="key"
:ableOperation="ableOperation"
:disabled="ableOperation"
@upDateQlrxxList="upDateYwrxxList" />
</div>
</div>
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-08-16 15:33:46
* @LastEditTime: 2023-08-16 16:05:07
-->
<template>
<div>
<lb-table :column="column" :pagination="false" :key="key" :heightNumSetting="true"
:data="tableDataList">
</lb-table>
<addQlr v-model="dialog" :details="details" :showButton="!isDisabled" @updateDetail="handleupdateDetail" />
<addQlr v-model="dialog" :details="details" :showButton="disabled" @updateDetail="handleupdateDetail" />
</div>
</template>
<script>
......@@ -44,7 +44,6 @@
dataIndex: 0,
dialog: false,
isaddupdate: false,
isDisabled: this.disabled,
details: {},
tableDataList: [],
InformationTable: [
......@@ -52,7 +51,7 @@
width: '50',
renderHeader: (h, scope) => {
return <div> {
this.isDisabled ? '序号' : <i class="el-icon-plus pointer" onClick={() => { this.addClick() }}></i>
this.disabled ? '序号' : <i class="el-icon-plus pointer" onClick={() => { this.addClick() }}></i>
}
</div>
},
......@@ -60,7 +59,7 @@
return (
<div>
{
this.isDisabled ? <span>{scope.$index + 1}</span> :
this.disabled ? <span>{scope.$index + 1}</span> :
<i class="el-icon-minus pointer" onClick={() => { this.deleClick(scope.$index, scope.row) }}></i>
}
</div>
......@@ -71,7 +70,7 @@
label: '身份证读卡器',
align: 'center',
render: (h, scope) => {
return <el-button type="text" icon="el-icon-tickets" disabled={this.isDisabled} onClick={() => { this.readClick(scope.row) }}>读取</el-button>
return <el-button type="text" icon="el-icon-tickets" disabled={!this.disabled} onClick={() => { this.readClick(scope.row) }}>读取</el-button>
}
},
{
......@@ -103,13 +102,13 @@
return (
<div>
{
this.isDisabled ? <el-button
icon="el-icon-view"
type="text"
onClick={() => { this.queryViewClick(scope.$index, scope.row) }} > 查看</el-button> : <el-button
this.disabled ? <el-button
icon="el-icon-edit-outline"
type="text"
onClick={() => { this.editClick(scope.$index, scope.row) }}>编辑</el-button>
onClick={() => { this.editClick(scope.$index, scope.row) }}>编辑</el-button> : <el-button
icon="el-icon-view"
type="text"
onClick={() => { this.queryViewClick(scope.$index, scope.row) }} > 查看</el-button>
}
</div>
)
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-08-16 14:40:56
* @LastEditTime: 2023-08-16 16:10:51
-->
<template>
<!-- 受理信息 -->
......@@ -232,13 +232,13 @@
</el-form-item>
</el-col>
</el-row>
<qlrCommonTable :tableData="ruleForm.qlrList" :disabled="!viewEdit" @upDateQlrxxList="upDateQlrxxList"
<qlrCommonTable :tableData="ruleForm.qlrList" :disabled="viewEdit" @upDateQlrxxList="upDateQlrxxList"
:gyfs="ruleForm.sldy.gyfs" />
<div class="slxx_title title-block">
抵押人信息
<div class="triangle"></div>
</div>
<qlrCommonTable :tableData="ruleForm.ywrList" :disabled="!viewEdit" @upDateQlrxxList="upDateYwrxxList" />
<qlrCommonTable :tableData="ruleForm.ywrList" :disabled="viewEdit" @upDateQlrxxList="upDateYwrxxList" />
<div class="slxx_title title-block">
登记原因
......
<!--
* @Description: 受理信息
* @Autor: renchao
* @LastEditTime: 2023-08-16 15:36:07
* @LastEditTime: 2023-08-16 16:05:34
-->
<template>
<div class="slxx">
......@@ -63,7 +63,7 @@
</el-col>
<el-col :span="8">
<el-form-item label="坐落:">
<el-input v-model="ruleForm.sldy.zl"></el-input>
<el-input v-model="ruleForm.sldy.zl" disabled></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -345,7 +345,7 @@
</el-form-item>
</el-col>
</el-row>
<qlrCommonTable @upDateQlrxxList="upDateQlrxxList" :tableData="ruleForm.qlrList" :disabled="!viewEdit"
<qlrCommonTable @upDateQlrxxList="upDateQlrxxList" :tableData="ruleForm.qlrList" :disabled="viewEdit"
:gyfs="ruleForm.sldy.gyfs" />
<div v-if="ruleForm.ywrList && ruleForm.qlxx.djlx == '200'">
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-08-16 09:54:46
* @LastEditTime: 2023-08-16 16:12:58
-->
<template>
<!-- 受理信息 -->
......@@ -164,7 +164,7 @@
</el-form-item>
</el-col>
</el-row>
<qlrCommonTable :tableData="ruleForm.qlrList" :gyfs="ruleForm.gyfs" :disabled="!viewEdit" />
<qlrCommonTable :tableData="ruleForm.qlrList" :gyfs="ruleForm.gyfs" :disabled="viewEdit" />
<div class="slxx_title title-block">
登记原因
<div class="triangle"></div>
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-08-16 14:42:19
* @LastEditTime: 2023-08-16 16:13:05
-->
<template>
<!-- 受理信息 -->
......@@ -189,7 +189,7 @@
</el-col>
</el-row>
<qlrCommonTable :tableData="ruleForm.qlrList"
:disabled="!viewEdit"
:disabled="viewEdit"
@upDateQlrxxList="upDateQlrxxList" :key="key" :gyfs="ruleForm.sldy.gyfs" />
<div v-if="ruleForm.ywrList && ruleForm.ywrList.length > 0">
......@@ -197,7 +197,7 @@
义务人信息
<div class="triangle"></div>
</div>
<qlrCommonTable v-if="ruleForm.ywrList" :disabled="!viewEdit" :tableData="ruleForm.ywrList" :key="key" @upDateQlrxxList="upDateYwrxxList" />
<qlrCommonTable v-if="ruleForm.ywrList" :disabled="viewEdit" :tableData="ruleForm.ywrList" :key="key" @upDateQlrxxList="upDateYwrxxList" />
</div>
<div class="slxx_title title-block">
......
......@@ -2,7 +2,7 @@
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-08-16 09:56:08
* @LastEditTime: 2023-08-16 16:13:20
-->
<template>
<!-- 受理信息 -->
......@@ -185,7 +185,7 @@
</el-row>
<qlrCommonTable
:tableData="ruleForm.qlrList"
:disabled="!viewEdit"
:disabled="viewEdit"
@upDateQlrxxList="upDateQlrxxList"
:gyfs="ruleForm.sldy.gyfs" />
<div class="slxx_title title-block">
......
<!--
* @Description: 房屋多幢受理信息
* @Autor: ssq
* @LastEditTime: 2023-08-16 15:56:05
* @LastEditTime: 2023-08-16 16:14:03
-->
<template>
<div class="slxx">
......@@ -152,7 +152,7 @@
<div class="triangle"></div>
</div>
<tdytTable
:ableOperation="ableOperation"
:ableOperation="viewEdit"
:tableData="ruleForm.tdytqxList"
@upDateTdytxxList="upDateTdytxxList" />
<div class="slxx_title title-block">
......@@ -163,7 +163,7 @@
<el-col :span="12" v-if="ruleForm.qlxx">
<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>
......@@ -176,7 +176,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>
......@@ -189,7 +189,7 @@
<el-select
v-model="ruleForm.czr"
placeholder="持证人"
:disabled="!ableOperation">
:disabled="!viewEdit">
<el-option
v-for="(item,index) in czrOptions"
:key="index"
......@@ -203,7 +203,7 @@
<qlrCommonTable
@upDateQlrxxList="upDateQlrxxList"
:tableData="ruleForm.qlrList"
:disabled="!ableOperation"
:disabled="viewEdit"
:gyfs="ruleForm.sldy.gyfs" />
<div v-if="ruleForm.ywrList && ruleForm.slsq.djlx == '200'">
......@@ -228,14 +228,14 @@
class="textArea"
type="textarea"
maxlength="500" show-word-limit
:disabled="!ableOperation"
:disabled="!viewEdit"
v-model="ruleForm.lq.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>
......@@ -252,12 +252,12 @@
export default {
mixins: [ywmix],
mounted () {
this.ableOperation = this.$parent.currentSelectTab.ableOperation;
this.viewEdit = this.$parent.currentSelectTab.viewEdit;
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 = {
......@@ -303,7 +303,7 @@
//传递参数
propsParam: this.$attrs,
//表单是否可操作
ableOperation: true,
viewEdit: true,
rules: {},
};
},
......
......@@ -212,12 +212,13 @@
</el-form-item>
</el-col>
</el-row>
<qlrCommonTable :tableData="ruleForm.qlrList" @upDateQlrxxList="upDateQlrxxList" :disabled="!viewEdit" :gyfs="ruleForm.sldy.gyfs" />
<qlrCommonTable :tableData="ruleForm.qlrList" @upDateQlrxxList="upDateQlrxxList" :disabled="viewEdit"
:gyfs="ruleForm.sldy.gyfs" />
<div class="slxx_title title-block">
家庭成员
<div class="triangle"></div>
</div>
<JtcyTable :tableData="ruleForm.jtcyList" @upDateJtcyList="upDateJtcyList" :disabled="!viewEdit" :gyfs="ruleForm.sldy.gyfs" />
<JtcyTable :tableData="ruleForm.jtcyList" @upDateJtcyList="upDateJtcyList" :disabled="viewEdit" :gyfs="ruleForm.sldy.gyfs" />
<div class="slxx_title title-block">
登记原因
<div class="triangle"></div>
......
......@@ -212,12 +212,13 @@
</el-form-item>
</el-col>
</el-row>
<qlrCommonTable :tableData="ruleForm.qlrList" @upDateQlrxxList="upDateQlrxxList" :disabled="!viewEdit" :gyfs="ruleForm.sldy.gyfs" />
<qlrCommonTable :tableData="ruleForm.qlrList" @upDateQlrxxList="upDateQlrxxList" :disabled="viewEdit"
:gyfs="ruleForm.sldy.gyfs" />
<div class="slxx_title title-block">
义务人信息
<div class="triangle"></div>
</div>
<qlrCommonTable :tableData="ruleForm.ywrList" @upDateQlrxxList="upDateYwrxxList" :disabled="!viewEdit" />
<qlrCommonTable :tableData="ruleForm.ywrList" @upDateQlrxxList="upDateYwrxxList" :disabled="viewEdit" />
<div class="slxx_title title-block">
家庭成员
<div class="triangle"></div>
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-08-16 09:58:36
* @LastEditTime: 2023-08-16 16:09:58
-->
<template>
<!-- 受理信息 -->
......@@ -294,7 +294,7 @@
</el-row>
<qlrCommonTable
:tableData="ruleForm.qlrList"
:disabled="!viewEdit"
:disabled="viewEdit"
@upDateQlrxxList="upDateQlrxxList"
:key="key"
:gyfs="ruleForm.sldy.gyfs" />
......@@ -306,7 +306,7 @@
</div>
<qlrCommonTable
v-if="ruleForm.ywrList"
:disabled="!viewEdit"
:disabled="viewEdit"
:tableData="ruleForm.ywrList"
:key="key"
@upDateQlrxxList="upDateYwrxxList" />
......
......@@ -113,7 +113,7 @@
<el-input v-model="ruleForm.ygdj.qdjg"></el-input>
<el-select
v-model="ruleForm.ygdj.jedw"
:disabled="!ableOperation"
:disabled="!viewEdit"
style="width: 68px">
<el-option
v-for="item in dictData['A57']"
......@@ -145,7 +145,7 @@
<el-row :gutter="10">
<el-col :span="14" 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>
......@@ -157,7 +157,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>
......@@ -170,7 +170,7 @@
<el-select
v-model="ruleForm.czr"
placeholder="持证人"
:disabled="!ableOperation">
:disabled="!viewEdit">
<el-option
v-for="item in czrOptions"
:key="item.zjh"
......@@ -181,13 +181,13 @@
</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.sldy.gyfs" />
<div class="slxx_title title-block">
义务人信息
<div class="triangle"></div>
</div>
<qlrCommonTable @upDateQlrxxList="upDateYwrxxList" :disabled="!ableOperation" :tableData="ruleForm.ywrList"
<qlrCommonTable @upDateQlrxxList="upDateYwrxxList" :disabled="viewEdit" :tableData="ruleForm.ywrList"
:gyfs="ruleForm.sldy.gyfs" />
<div class="slxx_title title-block">
登记原因
......@@ -196,14 +196,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>
......@@ -219,13 +219,13 @@
export default {
mixins: [ywmix],
created () {
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 => {
if (res.code === 200 && res.result) {
this.ruleForm = res.result;
......@@ -241,7 +241,7 @@
data () {
return {
//表单是否可操作
ableOperation: true,
viewEdit: true,
disabled: true,
tdytOption: [],
czrOptions: [],
......
......@@ -149,13 +149,13 @@
</el-form-item>
</el-col>
</el-row>
<qlrCommonTable @upDateQlrxxList="upDateQlrxxList" :tableData="ruleForm.qlrList" :disabled="!viewEdit"
<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="!viewEdit"
<qlrCommonTable @upDateQlrxxList="upDateYwrxxList" :tableData="ruleForm.ywrList" :disabled="viewEdit"
:gyfs="ruleForm.sldy.gyfs" />
<div class="slxx_title title-block">
登记原因
......
......@@ -210,13 +210,13 @@
</el-form-item>
</el-col>
</el-row>
<qlrCommonTable @upDateQlrxxList="upDateQlrxxList" :tableData="ruleForm.qlrList" :disabled="!viewEdit"
<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="!viewEdit"
<qlrCommonTable @upDateQlrxxList="upDateYwrxxList" :tableData="ruleForm.ywrList" :disabled="viewEdit"
:gyfs="ruleForm.sldy.gyfs" />
<div class="slxx_title title-block">
登记原因
......
......@@ -170,12 +170,12 @@
</el-col>
</el-row>
<qlrCommonTable v-if="ruleForm.sldyList && ruleForm.sldyList.length>0" :tableData="ruleForm.qlrList" @upDateQlrxxList="upDateQlrxxList"
:disabled="!viewEdit" :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="!viewEdit" />
<qlrCommonTable :tableData="ruleForm.ywrList" @upDateQlrxxList="upDateYwrxxList" :disabled="viewEdit" />
<div class="slxx_title title-block">
登记原因
......
......@@ -122,7 +122,7 @@
</el-col>
<el-col :span="16">
<el-form-item label="是否存在禁止或者限制转让抵押不动产的约定:" label-width="350px">
<el-radio-group v-model="ruleForm.diyaq.sfczjzhxz" :disabled="!ableOperation">
<el-radio-group v-model="ruleForm.diyaq.sfczjzhxz" :disabled="!viewEdit">
<el-radio label="1">启用</el-radio>
<el-radio label="0">禁用</el-radio>
</el-radio-group>
......@@ -133,8 +133,8 @@
<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="!ableOperation"></el-input>
<el-select v-model="ruleForm.diyaq.jedw" :disabled="!ableOperation">
<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>
......@@ -143,8 +143,8 @@
<el-col :span="8" v-show="ruleForm.diyaq.dyfs == 2">
<el-form-item label="最高债权额:">
<el-input v-model="ruleForm.diyaq.zgzqse" :disabled="!ableOperation"></el-input>
<el-select v-model="ruleForm.diyaq.jedw" :disabled="!ableOperation">
<el-input v-model="ruleForm.diyaq.zgzqse" :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>
......@@ -153,13 +153,13 @@
<el-col :span="8">
<el-form-item label="债务履行起始时间:">
<el-date-picker v-model="ruleForm.diyaq.zwlxqssj" :disabled="!ableOperation" type="date">
<el-date-picker v-model="ruleForm.diyaq.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.diyaq.zwlxjssj" :disabled="!ableOperation" type="date">
<el-date-picker v-model="ruleForm.diyaq.zwlxjssj" :disabled="!viewEdit" type="date">
</el-date-picker>
</el-form-item>
</el-col>
......@@ -169,21 +169,21 @@
<el-col :span="24">
<el-form-item label="担保范围:">
<el-input v-model="ruleForm.diyaq.dbfw"
:disabled="ruleForm.sldy.djlx == '300' && !ableOperation"></el-input>
:disabled="ruleForm.sldy.djlx == '300' && !viewEdit"></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="24">
<el-form-item label="最高债权确定事实和数额:">
<el-input v-model="ruleForm.diyaq.zgzqqdss" :disabled="!ableOperation"></el-input>
<el-input v-model="ruleForm.diyaq.zgzqqdss" :disabled="!viewEdit"></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col>
<el-form-item label="附记:" prop="fj">
<el-input type="textarea" v-model="ruleForm.diyaq.fj" :disabled="!ableOperation"></el-input>
<el-input type="textarea" v-model="ruleForm.diyaq.fj" :disabled="!viewEdit"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -195,7 +195,7 @@
<el-row :gutter="10">
<el-col :span="14">
<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>
......@@ -207,7 +207,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>
......@@ -220,7 +220,7 @@
<el-select
v-model="ruleForm.czr"
placeholder="持证人"
:disabled="!ableOperation">
:disabled="!viewEdit">
<el-option
v-for="item in czrOptions"
:key="item.zjh"
......@@ -231,12 +231,12 @@
</el-form-item>
</el-col>
</el-row>
<qlrCommonTable :tableData="ruleForm.qlrList" @upDateQlrxxList="upDateQlrxxList" :disabled="!ableOperation" :gyfs="ruleForm.sldy.gyfs" />
<qlrCommonTable :tableData="ruleForm.qlrList" @upDateQlrxxList="upDateQlrxxList" :disabled="viewEdit" :gyfs="ruleForm.sldy.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">
登记原因
......@@ -245,19 +245,19 @@
<el-row :gutter="10">
<el-col>
<el-form-item v-if="ruleForm.sldy.djlx == '400'" label="注销抵押原因:" prop="djyy">
<el-input class="textArea" type="textarea" :disabled="!ableOperation"
<el-input class="textArea" type="textarea" :disabled="!viewEdit"
v-model="ruleForm.diyaq.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.diyaq.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>
......@@ -271,13 +271,13 @@
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("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;
......@@ -293,7 +293,7 @@
data () {
return {
//表单是否可操作
ableOperation: true,
viewEdit: true,
disabled: true,
czrOptions: [],
ruleForm: {},
......