4a2c5e37 by renchao@pashanhoo.com

Merge branch 'dev'

2 parents eb5dee78 83d5ddee
......@@ -18,51 +18,54 @@
>
<el-table-column prop="index" width="50" :render-header="renderHeader">
<template slot-scope="scope">
<div style="text-align: center">
{{ scope.$index + 1 }}
</div>
<div style="text-align: center">{{ scope.$index + 1 }}</div>
</template>
</el-table-column>
<el-table-column prop="bdcdyh" label="不动产单元号" min-width="100">
<template slot-scope="scope">
<div style="text-align: center">
{{ scope.row.bdcdyh }}
</div>
<div style="text-align: center">{{ scope.row.bdcdyh }}</div>
</template>
</el-table-column>
<el-table-column prop="xmmc" label="项目名称" min-width="100">
<template slot-scope="scope">
<div style="text-align: center">
{{ scope.row.xmmc }}
</div>
<div style="text-align: center">{{ scope.row.xmmc }}</div>
</template>
</el-table-column>
<el-table-column prop="zcs" label="总层数" min-width="100">
<template slot-scope="scope">
<div style="text-align: center">{{ scope.row.zcs }}</div>
</template>
</el-table-column>
<el-table-column prop="ytmc" label="房屋用途" min-width="100">
<template slot-scope="scope">
<div style="text-align: center">{{ scope.row.ytmc }}</div>
</template>
</el-table-column>
<el-table-column prop="fwjgmc" label="房屋结构" min-width="100">
<template slot-scope="scope">
<div style="text-align: center">{{ scope.row.fwjgmc }}</div>
</template>
</el-table-column>
<el-table-column prop="jzmj" label="建筑面积" min-width="100">
<template slot-scope="scope">
<div style="text-align: center">
{{ scope.row.jzmj }}
</div>
<div style="text-align: center">{{ scope.row.jzmj }}</div>
</template>
</el-table-column>
<el-table-column prop="ytmc" label="用途名称" min-width="100">
<el-table-column prop="jgsj" label="竣工时间" min-width="100">
<template slot-scope="scope">
<div style="text-align: center">
{{ scope.row.ytmc }}
</div>
<div style="text-align: center">{{ scope.row.jgsj }}</div>
</template>
</el-table-column>
<el-table-column prop="fwjgmc" label="房屋结构名称" min-width="100">
<el-table-column prop="zts" label="总套数" min-width="100">
<template slot-scope="scope">
<div style="text-align: center">
{{ scope.row.fwjgmc }}
</div>
<div style="text-align: center">{{ scope.row.zts }}</div>
</template>
</el-table-column>
</el-table>
</div>
</template>
<script>
import {mapGetters} from "vuex";
import { mapGetters } from "vuex";
export default {
computed: {
......@@ -84,11 +87,10 @@ export default {
return {
// 键名转换,方法默认是label和children进行树状渲染
key: 0,
tableDataList: []
tableDataList: [],
};
},
mounted() {
},
mounted() {},
watch: {
tableData: {
handler: function (val, oldVal) {
......@@ -133,7 +135,7 @@ export default {
)}
</div>
);
}
},
},
};
</script>
......
<!--
* @Description: 审批意见
* @Autor: renchao
* @LastEditTime: 2023-05-17 10:41:24
* @LastEditTime: 2023-08-16 14:39:55
-->
<template>
<div class="spyj loadingtext">
......@@ -25,7 +25,7 @@
<el-col :span="24">
<el-form-item label-width="0" class="opinion_item">
<el-input
:disabled="!ableOperation || item.show"
:disabled="!viewEdit || item.show"
type="textarea"
:rows="4"
class="opinion"
......@@ -35,7 +35,7 @@
<el-button
class="opinion_btn"
@click="commonOpinion(index)"
v-if="ableOperation"
v-if="viewEdit"
>常用意见</el-button
>
</el-form-item>
......@@ -57,7 +57,7 @@
</div>
</el-form>
</div>
<div class="submit_button" v-if="ableOperation">
<div class="submit_button" v-if="viewEdit">
<el-button type="primary" :disabled="shows" @click="onSubmit()">保存</el-button>
</div>
</div>
......@@ -78,7 +78,7 @@ export default {
currentindex: 0,
bsmSlsq: "",
refresh: 10,
ableOperation: false,
viewEdit: false,
bsmSlsq: this.$route.query.bsmSlsq,
bestepid: this.$route.query.bestepid,
propsParam: {},
......@@ -103,8 +103,7 @@ export default {
created() {},
mounted() {
this.propsParam = this.$attrs;
this.ableOperation = this.$parent.currentSelectTab.ableOperation;
// this.ableOperation = this.$parent.ableOperation;
this.viewEdit = this.$parent.currentSelectTab.ableOperation;
this.getShList();
switch (this.$parent.dqhj) {
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-08-14 13:14:44
* @LastEditTime: 2023-08-16 14:40:56
-->
<template>
<!-- 受理信息 -->
......@@ -126,7 +126,7 @@
</el-col>
<el-col :span="9">
<el-form-item label="是否存在禁止或者限制转让抵押不动产的约定:" label-width="350px">
<el-radio-group v-model="ruleForm.diyaq.sfczjzhxz" :disabled="!ableOperation|| isJfOperation">
<el-radio-group v-model="ruleForm.diyaq.sfczjzhxz" :disabled="!viewEdit|| isJfOperation">
<el-radio label="1">启用</el-radio>
<el-radio label="0">禁用</el-radio>
</el-radio-group>
......@@ -138,8 +138,8 @@
<el-col :span="8" v-show="ruleForm.diyaq.dyfs == 1">
<el-form-item label="被担保主债权数额:">
<div style="display:flex">
<el-input v-model="ruleForm.diyaq.bdbzzqse" :disabled="!ableOperation|| isJfOperation" style="width:500%"></el-input>
<el-select v-model="ruleForm.diyaq.jedw" :disabled="!ableOperation|| isJfOperation">
<el-input v-model="ruleForm.diyaq.bdbzzqse" :disabled="!viewEdit|| isJfOperation" style="width:500%"></el-input>
<el-select v-model="ruleForm.diyaq.jedw" :disabled="!viewEdit|| isJfOperation">
<el-option v-for="item in dictData['A57']" :key="item.dcode" :label="item.dname" :value="item.dcode">
</el-option>
</el-select>
......@@ -149,19 +149,19 @@
<el-col :span="8" v-show="ruleForm.diyaq.dyfs == 2">
<el-form-item label="最高债权额:">
<el-input v-model="ruleForm.diyaq.zgzqse" :disabled="!ableOperation|| isJfOperation"></el-input>
<el-input v-model="ruleForm.diyaq.zgzqse" :disabled="!viewEdit|| isJfOperation"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="债务履行起始时间:">
<el-date-picker v-model="ruleForm.diyaq.zwlxqssj" :disabled="!ableOperation|| isJfOperation" type="date">
<el-date-picker v-model="ruleForm.diyaq.zwlxqssj" :disabled="!viewEdit|| isJfOperation" 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|| isJfOperation" type="date">
<el-date-picker v-model="ruleForm.diyaq.zwlxjssj" :disabled="!viewEdit|| isJfOperation" type="date">
</el-date-picker>
</el-form-item>
</el-col>
......@@ -170,21 +170,21 @@
<el-col :span="24">
<el-form-item label="担保范围:">
<el-input v-model="ruleForm.diyaq.dbfw"
:disabled="ruleForm.sldy.djlx == '300'&& !ableOperation|| isJfOperation"></el-input>
:disabled="ruleForm.sldy.djlx == '300'&& !viewEdit|| isJfOperation"></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|| isJfOperation"></el-input>
<el-input v-model="ruleForm.diyaq.zgzqqdss" :disabled="!viewEdit|| isJfOperation"></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|| isJfOperation"></el-input>
<el-input type="textarea" v-model="ruleForm.diyaq.fj" :disabled="!viewEdit|| isJfOperation"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -196,7 +196,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>
......@@ -208,7 +208,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>
......@@ -221,7 +221,7 @@
<el-select
v-model="ruleForm.czr"
placeholder="持证人"
:disabled="!ableOperation">
:disabled="!viewEdit">
<el-option
v-for="item in czrOptions"
:key="item.zjh"
......@@ -232,14 +232,13 @@
</el-form-item>
</el-col>
</el-row>
<qlrCommonTable :tableData="ruleForm.qlrList" :disabled="!ableOperation" @upDateQlrxxList="upDateQlrxxList"
:viewtype="!ableOperation" :gyfs="ruleForm.sldy.gyfs" />
<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="!ableOperation" @upDateQlrxxList="upDateYwrxxList"
:viewtype="!ableOperation" />
<qlrCommonTable :tableData="ruleForm.ywrList" :disabled="!viewEdit" @upDateQlrxxList="upDateYwrxxList" />
<div class="slxx_title title-block">
登记原因
......@@ -248,12 +247,12 @@
<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>
......@@ -261,7 +260,7 @@
</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>
......@@ -275,7 +274,7 @@
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();
if (this.propsParam.djlx == '400') {
......@@ -285,7 +284,7 @@
formdata.append("bsmSldy", this.propsParam.bsmSldy);
formdata.append("bsmSlsq", this.$route.query.bsmSlsq);
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;
......@@ -307,7 +306,7 @@
data () {
return {
//表单是否可操作
ableOperation: true,
viewEdit: true,
disabled: true,
czrOptions: [],
ruleForm: {
......
<!--
* @Description: 受理信息
* @Autor: renchao
* @LastEditTime: 2023-08-16 11:06:29
* @LastEditTime: 2023-08-16 14:38:36
-->
<template>
<div class="slxx">
......@@ -94,6 +94,7 @@
<el-col :span="8">
<el-form-item label="土地性质:">
<treeselect
:disabled="!viewEdit"
v-model="ruleForm.fdcq2.tdxz"
noOptionsText="暂无数据"
placeholder=""
......@@ -101,7 +102,6 @@
:default-expand-level="1"
:show-count="true"
:options="dictData['A9']" />
</el-form-item>
</el-col>
</el-row>
......@@ -109,7 +109,7 @@
<el-col :span="8">
<el-form-item label="独用土地面积:">
<div class="flex">
<el-input v-model="ruleForm.fdcq2.dytdmj"
<el-input v-model="ruleForm.fdcq2.dytdmj" :disabled="!viewEdit"
oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input>
<el-select
disabled
......@@ -128,7 +128,7 @@
<el-col :span="8">
<el-form-item label="分摊土地面积:">
<div class="flex">
<el-input v-model="ruleForm.fdcq2.fttdmj"
<el-input v-model="ruleForm.fdcq2.fttdmj" :disabled="!viewEdit"
oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input>
<el-select
disabled
......@@ -146,7 +146,7 @@
</el-col>
<el-col :span="8">
<el-form-item label="房屋性质:">
<el-select v-model="ruleForm.fdcq2.fwxz">
<el-select v-model="ruleForm.fdcq2.fwxz" :disabled="!viewEdit">
<el-option
v-for="item in dictData['A19']"
:key="item.dcode"
......@@ -162,6 +162,7 @@
<el-form-item label="房屋用途:">
<treeselect
v-model="ruleForm.fdcq2.ghyt"
:disabled="!viewEdit"
noOptionsText=""
placeholder=""
:normalizer="normalizer"
......@@ -172,7 +173,7 @@
</el-col>
<el-col :span="8">
<el-form-item label="房屋结构:">
<el-select v-model="ruleForm.fdcq2.fwjg">
<el-select v-model="ruleForm.fdcq2.fwjg" :disabled="!viewEdit">
<el-option
v-for="item in dictData['A46']"
:key="item.dcode"
......@@ -191,19 +192,19 @@
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-row>
<el-row :gutter="10" v-if="ruleForm.qlxx">
<el-col :span="8">
<el-form-item label="所在层:">
<el-input v-model="ruleForm.fdcq2.szc"></el-input>
<el-input v-model="ruleForm.fdcq2.szc" :disabled="!viewEdit"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="总层数:">
<el-input v-model.number="ruleForm.fdcq2.zcs" oninput="value=value.replace(/[^0-9]/g,'')"></el-input>
<el-input :disabled="!viewEdit" v-model.number="ruleForm.fdcq2.zcs" oninput="value=value.replace(/[^0-9]/g,'')"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
......@@ -212,8 +213,9 @@
<el-input
v-model="ruleForm.fdcq2.fdcjyjg"
style="width: 500%"
:disabled="!viewEdit"
oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input>
<el-select v-model="ruleForm.fdcq2.jedw">
<el-select v-model="ruleForm.fdcq2.jedw" :disabled="!viewEdit">
<el-option
v-for="item in dictData['A57']"
:key="item.dcode"
......@@ -229,7 +231,7 @@
<el-col :span="8">
<el-form-item label="建筑面积:">
<div class="flex">
<el-input v-model="ruleForm.fdcq2.jzmj"
<el-input v-model="ruleForm.fdcq2.jzmj" :disabled="!viewEdit"
oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input>
<el-select
disabled
......@@ -248,7 +250,7 @@
<el-col :span="8">
<el-form-item label="专有建筑面积:">
<div class="flex">
<el-input v-model="ruleForm.fdcq2.zyjzmj"
<el-input v-model="ruleForm.fdcq2.zyjzmj" :disabled="!viewEdit"
oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input>
<el-select
disabled
......@@ -267,7 +269,7 @@
<el-col :span="8">
<el-form-item label="分摊建筑面积:">
<div class="flex">
<el-input v-model="ruleForm.fdcq2.ftjzmj"
<el-input v-model="ruleForm.fdcq2.ftjzmj" :disabled="!viewEdit"
oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input>
<el-select
disabled
......@@ -287,7 +289,7 @@
<el-row :gutter="10">
<el-col :span="24">
<el-form-item label="附记:">
<el-input v-model="ruleForm.fdcq2.fj"></el-input>
<el-input v-model="ruleForm.fdcq2.fj" :disabled="!viewEdit"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -296,7 +298,7 @@
<div class="triangle"></div>
</div>
<tdytTable
:ableOperation="ableOperation"
:ableOperation="viewEdit"
:tableData="ruleForm.tdytqxList"
@upDateTdytxxList="upDateTdytxxList" />
<div class="slxx_title title-block">
......@@ -306,7 +308,7 @@
<el-row :gutter="10">
<el-col :span="12" v-if="ruleForm.qlxx">
<el-form-item label="共有方式:">
<el-radio-group :disabled="!ableOperation"
<el-radio-group :disabled="!viewEdit"
v-model="ruleForm.sldy.gyfs">
<el-radio label="0">单独所有</el-radio>
<el-radio label="1">共同共有</el-radio>
......@@ -319,7 +321,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>
......@@ -332,7 +334,7 @@
<el-select
v-model="ruleForm.czr"
placeholder="持证人"
:disabled="!ableOperation">
:disabled="!viewEdit">
<el-option
v-for="item in czrOptions"
:key="item.zjh"
......@@ -343,7 +345,7 @@
</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.qlxx.gyfs" />
<div v-if="ruleForm.ywrList && ruleForm.qlxx.djlx == '200'">
......@@ -361,14 +363,14 @@
<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.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>
......@@ -385,12 +387,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 = {
......@@ -451,7 +453,7 @@
//传递参数
propsParam: this.$attrs,
//表单是否可操作
ableOperation: true,
viewEdit: true,
rules: {}
}
},
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-08-14 13:04:38
* @LastEditTime: 2023-08-16 14:42:19
-->
<template>
<!-- 受理信息 -->
......@@ -124,7 +124,7 @@
<div class="triangle"></div>
</div>
<tdytTable
:ableOperation="ableOperation"
:ableOperation="viewEdit"
:tableData="ruleForm.tdytqxList"
@upDateTdytxxList="upDateTdytxxList" />
<div class="slxx_title title-block">
......@@ -134,7 +134,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>
......@@ -146,7 +146,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>
......@@ -159,7 +159,7 @@
<el-select
v-model="ruleForm.czr"
placeholder="持证人"
:disabled="!ableOperation">
:disabled="!viewEdit">
<el-option
v-for="(item,index) in czrOptions"
:key="index"
......@@ -171,7 +171,7 @@
</el-col>
</el-row>
<qlrCommonTable :tableData="ruleForm.qlrList"
:disabled="!ableOperation"
:disabled="!viewEdit"
@upDateQlrxxList="upDateQlrxxList" :key="key" :gyfs="ruleForm.sldy.gyfs" />
<div v-if="ruleForm.ywrList && ruleForm.ywrList.length > 0">
......@@ -179,7 +179,7 @@
义务人信息
<div class="triangle"></div>
</div>
<qlrCommonTable v-if="ruleForm.ywrList" :disabled="!ableOperation" :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">
......@@ -189,14 +189,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.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>
......@@ -213,14 +213,14 @@
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();
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;
......@@ -240,7 +240,7 @@
...mapGetters(["dictData", "flag"]),
// 根据流程判断表单是否为只读
editDisabled () {
if (!this.ableOperation) {
if (!this.viewEdit) {
//只读状态
return true;
}
......@@ -251,7 +251,7 @@
return {
mjdw: "1",
//表单是否可操作
ableOperation: true,
viewEdit: true,
key: 0,
isShow: false,
disabled: true,
......
......@@ -90,17 +90,17 @@
<el-row :gutter="10">
<el-col :span="8">
<el-form-item label="发包方名称:">
<el-input v-model="ruleForm.nydsyq.fbfmc" :disabled="!ableOperation"></el-input>
<el-input v-model="ruleForm.nydsyq.fbfmc" :disabled="!viewEdit"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="发包方代码:">
<el-input v-model="ruleForm.nydsyq.fbfdm" :disabled="!ableOperation"></el-input>
<el-input v-model="ruleForm.nydsyq.fbfdm" :disabled="!viewEdit"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="土地所有权性质:">
<el-select v-model="ruleForm.nydsyq.tdsyqxzmc" class="width100" :disabled="!ableOperation" filterable clearable>
<el-select v-model="ruleForm.nydsyq.tdsyqxzmc" class="width100" :disabled="!viewEdit" 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" :disabled="!ableOperation" class="width100" filterable clearable @change="changeYdyhfl">
<el-select v-model="ruleForm.nydsyq.ydyhfl" :disabled="!viewEdit" class="width100" 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 :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>
......@@ -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,17 +212,17 @@
</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">
家庭成员
<div class="triangle"></div>
</div>
<JtcyTable :tableData="ruleForm.jtcyList" :disabled="!ableOperation" @upDateJtcyList="upDateJtcyList" :gyfs="ruleForm.slywxx.gyfs" />
<JtcyTable :tableData="ruleForm.jtcyList" :disabled="!viewEdit" @upDateJtcyList="upDateJtcyList" :gyfs="ruleForm.slywxx.gyfs" />
<div class="slxx_title title-block">
登记原因
<div class="triangle"></div>
......@@ -230,14 +230,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>
......@@ -254,13 +254,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) => {
this.ruleForm = res.result;
this.ruleForm.qlrList.forEach((item, index) => {
......@@ -280,7 +280,7 @@
data () {
return {
//表单是否可操作
ableOperation: true,
viewEdit: true,
disabled: true,
czrOptions: [],
ruleForm: {},
......
......@@ -117,10 +117,10 @@
<el-col :span="8">
<el-form-item label="被担保主债权数额:">
<div class="flex">
<el-input v-model="ruleForm.ygdj.qdjg" :disabled="!ableOperation"></el-input>
<el-input v-model="ruleForm.ygdj.qdjg" :disabled="!viewEdit"></el-input>
<el-select
v-model="ruleForm.ygdj.jedw"
:disabled="!ableOperation"
:disabled="!viewEdit"
style="width: 68px">
<el-option
v-for="item in dictData['A57']"
......@@ -134,13 +134,13 @@
</el-col>
<el-col :span="8">
<el-form-item label="债务履行起始时间:">
<el-date-picker v-model="ruleForm.ygdj.zwlxqssj" :disabled="!ableOperation" type="date">
<el-date-picker v-model="ruleForm.ygdj.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.ygdj.zwlxjssj" :disabled="!ableOperation" type="date">
<el-date-picker v-model="ruleForm.ygdj.zwlxjssj" :disabled="!viewEdit" type="date">
</el-date-picker>
</el-form-item>
</el-col>
......@@ -149,13 +149,13 @@
<el-col :span="16">
<el-form-item label="是否存在禁止或限制转让抵押不动产的约定:">
<el-input v-model="ruleForm.ygdj.sfczjzhxz"
:disabled="ruleForm.sldy.djlx == '300' && !ableOperation"></el-input>
:disabled="ruleForm.sldy.djlx == '300' && !viewEdit"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="担保范围:">
<el-input v-model="ruleForm.ygdj.dbfw"
:disabled="ruleForm.sldy.djlx == '300' && !ableOperation"></el-input>
:disabled="ruleForm.sldy.djlx == '300' && !viewEdit"></el-input>
</el-form-item>
</el-col>
......@@ -163,7 +163,7 @@
<el-row>
<el-col :span="24">
<el-form-item label="附记:" prop="fj">
<el-input type="textarea" v-model="ruleForm.ygdj.fj" :disabled="!ableOperation"></el-input>
<el-input type="textarea" v-model="ruleForm.ygdj.fj" :disabled="!viewEdit"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -174,7 +174,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>
......@@ -186,7 +186,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>
......@@ -199,7 +199,7 @@
<el-select
v-model="ruleForm.czr"
placeholder="持证人"
:disabled="!ableOperation">
:disabled="!viewEdit">
<el-option
v-for="item in czrOptions"
:key="item.zjh"
......@@ -210,13 +210,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">
登记原因
......@@ -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.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>
......@@ -248,7 +248,7 @@
export default {
mixins: [ywmix],
created () {
this.ableOperation = this.$parent.currentSelectTab.ableOperation
this.viewEdit = this.$parent.currentSelectTab.ableOperation
this.propsParam = this.$attrs;
var formdata = new FormData();
let that = this
......@@ -256,7 +256,7 @@
formdata.append("bsmSldy", this.propsParam.bsmSldy);
formdata.append("bsmSlsq", this.$route.query.bsmSlsq);
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) {
that.ruleForm = res.result;
......@@ -279,7 +279,7 @@
data () {
return {
//表单是否可操作
ableOperation: true,
viewEdit: true,
loading: false,
disabled: true,
tdytOption: [],
......