style:受理申请
Showing
1 changed file
with
12 additions
and
10 deletions
1 | <!-- | 1 | <!-- |
2 | * @Description: 受理信息 | 2 | * @Description: 受理信息 |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-08-14 12:58:35 | 4 | * @LastEditTime: 2023-08-16 16:34:10 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="slxx"> | 7 | <div class="slxx"> |
... | @@ -111,7 +111,7 @@ | ... | @@ -111,7 +111,7 @@ |
111 | <el-col :span="12" v-if="ruleForm.sldyList.length>0"> | 111 | <el-col :span="12" v-if="ruleForm.sldyList.length>0"> |
112 | <el-form-item label="共有方式:"> | 112 | <el-form-item label="共有方式:"> |
113 | <el-radio-group | 113 | <el-radio-group |
114 | :disabled="!ableOperation" | 114 | :disabled="!viewEdit" |
115 | @change="showCZInfo" | 115 | @change="showCZInfo" |
116 | v-model="ruleForm.sldyList[0].gyfs"> | 116 | v-model="ruleForm.sldyList[0].gyfs"> |
117 | <el-radio label="0">单独所有</el-radio> | 117 | <el-radio label="0">单独所有</el-radio> |
... | @@ -126,7 +126,7 @@ | ... | @@ -126,7 +126,7 @@ |
126 | <el-form-item label="是否分别持证:"> | 126 | <el-form-item label="是否分别持证:"> |
127 | <el-radio-group | 127 | <el-radio-group |
128 | v-model="ruleForm.sldyList[0].sqfbcz" | 128 | v-model="ruleForm.sldyList[0].sqfbcz" |
129 | :disabled="!ableOperation"> | 129 | :disabled="!viewEdit"> |
130 | <el-radio :label="1">是</el-radio> | 130 | <el-radio :label="1">是</el-radio> |
131 | <el-radio :label="0">否</el-radio> | 131 | <el-radio :label="0">否</el-radio> |
132 | </el-radio-group> | 132 | </el-radio-group> |
... | @@ -138,7 +138,7 @@ | ... | @@ -138,7 +138,7 @@ |
138 | <el-select | 138 | <el-select |
139 | v-model="ruleForm.czr" | 139 | v-model="ruleForm.czr" |
140 | placeholder="持证人" | 140 | placeholder="持证人" |
141 | :disabled="!ableOperation"> | 141 | :disabled="!viewEdit"> |
142 | <el-option | 142 | <el-option |
143 | v-for="item in czrOptions" | 143 | v-for="item in czrOptions" |
144 | :key="item.zjh" | 144 | :key="item.zjh" |
... | @@ -151,6 +151,7 @@ | ... | @@ -151,6 +151,7 @@ |
151 | 151 | ||
152 | </el-row> | 152 | </el-row> |
153 | <qlrCommonTable | 153 | <qlrCommonTable |
154 | :disabled="viewEdit" | ||
154 | @upDateQlrxxList="upDateQlrxxList" | 155 | @upDateQlrxxList="upDateQlrxxList" |
155 | :tableData="ruleForm.qlrList" | 156 | :tableData="ruleForm.qlrList" |
156 | :gyfs="ruleForm.sldyList[0].gyfs" /> | 157 | :gyfs="ruleForm.sldyList[0].gyfs" /> |
... | @@ -164,15 +165,16 @@ | ... | @@ -164,15 +165,16 @@ |
164 | <el-input | 165 | <el-input |
165 | class="textArea" | 166 | class="textArea" |
166 | type="textarea" | 167 | type="textarea" |
167 | maxlength="500" show-word-limit | 168 | maxlength="500" |
168 | :disabled="!ableOperation" | 169 | show-word-limit |
170 | :disabled="!viewEdit" | ||
169 | v-model="ruleForm.fdcq2List[0].djyy"> | 171 | v-model="ruleForm.fdcq2List[0].djyy"> |
170 | </el-input> | 172 | </el-input> |
171 | </el-form-item> | 173 | </el-form-item> |
172 | </el-col> | 174 | </el-col> |
173 | </el-row> | 175 | </el-row> |
174 | </div> | 176 | </div> |
175 | <el-row class="btn" v-if="ableOperation"> | 177 | <el-row class="btn" v-if="viewEdit"> |
176 | <el-form-item> | 178 | <el-form-item> |
177 | <el-button type="primary" @click="onSubmit">保存</el-button> | 179 | <el-button type="primary" @click="onSubmit">保存</el-button> |
178 | </el-form-item> | 180 | </el-form-item> |
... | @@ -224,7 +226,7 @@ | ... | @@ -224,7 +226,7 @@ |
224 | //传递参数 | 226 | //传递参数 |
225 | propsParam: this.$attrs, | 227 | propsParam: this.$attrs, |
226 | //表单是否可操作 | 228 | //表单是否可操作 |
227 | ableOperation: true, | 229 | viewEdit: true, |
228 | rules: {}, | 230 | rules: {}, |
229 | gyfs: "", | 231 | gyfs: "", |
230 | bsmSlsq: this.$route.query.bsmSlsq,//受理申请标识码 | 232 | bsmSlsq: this.$route.query.bsmSlsq,//受理申请标识码 |
... | @@ -237,13 +239,13 @@ | ... | @@ -237,13 +239,13 @@ |
237 | } | 239 | } |
238 | }, | 240 | }, |
239 | mounted (callbackfn, thisArg) { | 241 | mounted (callbackfn, thisArg) { |
240 | this.ableOperation = this.$parent.currentSelectTab.ableOperation | 242 | this.viewEdit = this.$parent.currentSelectTab.ableOperation |
241 | this.propsParam = this.$attrs; | 243 | this.propsParam = this.$attrs; |
242 | var formdata = new FormData(); | 244 | var formdata = new FormData(); |
243 | formdata.append("bsmSldy", this.propsParam.bsmSldy); | 245 | formdata.append("bsmSldy", this.propsParam.bsmSldy); |
244 | formdata.append("djlx", this.propsParam.djlx); | 246 | formdata.append("djlx", this.propsParam.djlx); |
245 | formdata.append("bsmSlsq", this.bsmSlsq); | 247 | formdata.append("bsmSlsq", this.bsmSlsq); |
246 | formdata.append("isEdit", this.ableOperation); | 248 | formdata.append("isEdit", this.viewEdit); |
247 | BatchInit(formdata).then((res) => { | 249 | BatchInit(formdata).then((res) => { |
248 | if (res.code == 200) { | 250 | if (res.code == 200) { |
249 | this.ruleForm = res.result; | 251 | this.ruleForm = res.result; | ... | ... |
-
Please register or sign in to post a comment