65ab6675 by renchao@pashanhoo.com

style:受理申请

1 parent 8ae3aec1
<!--
* @Description: 受理信息
* @Autor: renchao
* @LastEditTime: 2023-08-14 12:58:35
* @LastEditTime: 2023-08-16 16:34:10
-->
<template>
<div class="slxx">
......@@ -111,7 +111,7 @@
<el-col :span="12" v-if="ruleForm.sldyList.length>0">
<el-form-item label="共有方式:">
<el-radio-group
:disabled="!ableOperation"
:disabled="!viewEdit"
@change="showCZInfo"
v-model="ruleForm.sldyList[0].gyfs">
<el-radio label="0">单独所有</el-radio>
......@@ -126,7 +126,7 @@
<el-form-item label="是否分别持证:">
<el-radio-group
v-model="ruleForm.sldyList[0].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"
......@@ -151,6 +151,7 @@
</el-row>
<qlrCommonTable
:disabled="viewEdit"
@upDateQlrxxList="upDateQlrxxList"
:tableData="ruleForm.qlrList"
:gyfs="ruleForm.sldyList[0].gyfs" />
......@@ -164,15 +165,16 @@
<el-input
class="textArea"
type="textarea"
maxlength="500" show-word-limit
:disabled="!ableOperation"
maxlength="500"
show-word-limit
:disabled="!viewEdit"
v-model="ruleForm.fdcq2List[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="onSubmit">保存</el-button>
</el-form-item>
......@@ -224,7 +226,7 @@
//传递参数
propsParam: this.$attrs,
//表单是否可操作
ableOperation: true,
viewEdit: true,
rules: {},
gyfs: "",
bsmSlsq: this.$route.query.bsmSlsq,//受理申请标识码
......@@ -237,13 +239,13 @@
}
},
mounted (callbackfn, thisArg) {
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("bsmSlsq", this.bsmSlsq);
formdata.append("isEdit", this.ableOperation);
formdata.append("isEdit", this.viewEdit);
BatchInit(formdata).then((res) => {
if (res.code == 200) {
this.ruleForm = res.result;
......