style:受理申请模块是否编辑完成
Showing
13 changed files
with
58 additions
and
28 deletions
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-05-24 17:11:21 | 4 | * @LastEditTime: 2023-05-25 08:51:13 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <!-- 受理信息 --> | 7 | <!-- 受理信息 --> |
... | @@ -238,7 +238,7 @@ | ... | @@ -238,7 +238,7 @@ |
238 | </el-row> | 238 | </el-row> |
239 | 239 | ||
240 | </div> | 240 | </div> |
241 | <el-row class="btn" v-if="!$route.query.viewtype && propsParam.issave=='0'"> | 241 | <el-row class="btn" v-if="!$route.query.viewtype && ableOperation"> |
242 | <el-form-item> | 242 | <el-form-item> |
243 | <el-button type="primary" @click="onSubmitClick()">保存</el-button> | 243 | <el-button type="primary" @click="onSubmitClick()">保存</el-button> |
244 | </el-form-item> | 244 | </el-form-item> |
... | @@ -252,6 +252,7 @@ | ... | @@ -252,6 +252,7 @@ |
252 | import { mapGetters } from "vuex"; | 252 | import { mapGetters } from "vuex"; |
253 | export default { | 253 | export default { |
254 | mounted () { | 254 | mounted () { |
255 | this.ableOperation = this.$parent.currentSelectTab.ableOperation | ||
255 | this.propsParam = this.$attrs; | 256 | this.propsParam = this.$attrs; |
256 | var formdata = new FormData(); | 257 | var formdata = new FormData(); |
257 | this.$startLoading(); | 258 | this.$startLoading(); |
... | @@ -272,6 +273,8 @@ | ... | @@ -272,6 +273,8 @@ |
272 | }, | 273 | }, |
273 | data () { | 274 | data () { |
274 | return { | 275 | return { |
276 | //表单是否可操作 | ||
277 | ableOperation: true, | ||
275 | disabled: true, | 278 | disabled: true, |
276 | czrOptions: [], | 279 | czrOptions: [], |
277 | ruleForm: { | 280 | ruleForm: { | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-05-24 17:12:40 | 4 | * @LastEditTime: 2023-05-25 08:56:17 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <!-- 受理信息 --> | 7 | <!-- 受理信息 --> |
... | @@ -234,7 +234,7 @@ | ... | @@ -234,7 +234,7 @@ |
234 | </el-row> | 234 | </el-row> |
235 | 235 | ||
236 | </div> | 236 | </div> |
237 | <el-row class="btn" v-if="!$route.query.viewtype && propsParam.issave=='0'"> | 237 | <el-row class="btn" v-if="!$route.query.viewtype && ableOperation"> |
238 | <el-form-item> | 238 | <el-form-item> |
239 | <el-button type="primary" @click="onSubmitClick()">保存</el-button> | 239 | <el-button type="primary" @click="onSubmitClick()">保存</el-button> |
240 | </el-form-item> | 240 | </el-form-item> |
... | @@ -248,6 +248,7 @@ | ... | @@ -248,6 +248,7 @@ |
248 | import { mapGetters } from "vuex"; | 248 | import { mapGetters } from "vuex"; |
249 | export default { | 249 | export default { |
250 | mounted () { | 250 | mounted () { |
251 | this.ableOperation = this.$parent.currentSelectTab.ableOperation | ||
251 | this.propsParam = this.$attrs; | 252 | this.propsParam = this.$attrs; |
252 | var formdata = new FormData(); | 253 | var formdata = new FormData(); |
253 | this.$startLoading(); | 254 | this.$startLoading(); |
... | @@ -268,6 +269,8 @@ | ... | @@ -268,6 +269,8 @@ |
268 | }, | 269 | }, |
269 | data () { | 270 | data () { |
270 | return { | 271 | return { |
272 | //表单是否可操作 | ||
273 | ableOperation: true, | ||
271 | disabled: true, | 274 | disabled: true, |
272 | czrOptions: [], | 275 | czrOptions: [], |
273 | ruleForm: { | 276 | ruleForm: { | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: 受理信息 | 2 | * @Description: 受理信息 |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-05-24 17:07:59 | 4 | * @LastEditTime: 2023-05-25 08:41:40 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="slxx"> | 7 | <div class="slxx"> |
... | @@ -197,7 +197,7 @@ | ... | @@ -197,7 +197,7 @@ |
197 | </el-col> | 197 | </el-col> |
198 | </el-row> | 198 | </el-row> |
199 | </div> | 199 | </div> |
200 | <el-row class="btn" v-if="!$route.query.viewtype && propsParam.issave=='0'"> | 200 | <el-row class="btn" v-if="!$route.query.viewtype && ableOperation"> |
201 | <el-form-item> | 201 | <el-form-item> |
202 | <el-button type="primary" @click="onSubmit">保存</el-button> | 202 | <el-button type="primary" @click="onSubmit">保存</el-button> |
203 | </el-form-item> | 203 | </el-form-item> |
... | @@ -211,6 +211,7 @@ | ... | @@ -211,6 +211,7 @@ |
211 | import { mapGetters } from "vuex"; | 211 | import { mapGetters } from "vuex"; |
212 | export default { | 212 | export default { |
213 | created () { | 213 | created () { |
214 | this.ableOperation = this.$parent.currentSelectTab.ableOperation | ||
214 | this.propsParam = this.$attrs; | 215 | this.propsParam = this.$attrs; |
215 | var formdata = new FormData(); | 216 | var formdata = new FormData(); |
216 | formdata.append("bsmSldy", this.propsParam.bsmSldy); | 217 | formdata.append("bsmSldy", this.propsParam.bsmSldy); |
... | @@ -236,8 +237,10 @@ | ... | @@ -236,8 +237,10 @@ |
236 | ruleForm: {}, | 237 | ruleForm: {}, |
237 | //传递参数 | 238 | //传递参数 |
238 | propsParam: this.$attrs, | 239 | propsParam: this.$attrs, |
239 | rules: {}, | 240 | //表单是否可操作 |
240 | }; | 241 | ableOperation: true, |
242 | rules: {} | ||
243 | } | ||
241 | }, | 244 | }, |
242 | methods: { | 245 | methods: { |
243 | // 更新权利人信息 | 246 | // 更新权利人信息 | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: 受理信息 | 2 | * @Description: 受理信息 |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-05-24 17:08:05 | 4 | * @LastEditTime: 2023-05-25 08:41:33 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="slxx"> | 7 | <div class="slxx"> |
... | @@ -181,7 +181,7 @@ | ... | @@ -181,7 +181,7 @@ |
181 | </el-col> | 181 | </el-col> |
182 | </el-row> | 182 | </el-row> |
183 | </div> | 183 | </div> |
184 | <el-row class="btn" v-if="!$route.query.viewtype && propsParam.issave=='0'"> | 184 | <el-row class="btn" v-if="!$route.query.viewtype && ableOperation"> |
185 | <el-form-item> | 185 | <el-form-item> |
186 | <el-button type="primary" @click="onSubmit">保存</el-button> | 186 | <el-button type="primary" @click="onSubmit">保存</el-button> |
187 | </el-form-item> | 187 | </el-form-item> |
... | @@ -195,6 +195,7 @@ | ... | @@ -195,6 +195,7 @@ |
195 | import { mapGetters } from "vuex"; | 195 | import { mapGetters } from "vuex"; |
196 | export default { | 196 | export default { |
197 | async created () { | 197 | async created () { |
198 | this.ableOperation = this.$parent.currentSelectTab.ableOperation | ||
198 | this.propsParam = this.$attrs; | 199 | this.propsParam = this.$attrs; |
199 | var formdata = new FormData(); | 200 | var formdata = new FormData(); |
200 | formdata.append("bsmSldy", this.propsParam.bsmSldy); | 201 | formdata.append("bsmSldy", this.propsParam.bsmSldy); |
... | @@ -216,6 +217,8 @@ | ... | @@ -216,6 +217,8 @@ |
216 | }, | 217 | }, |
217 | data () { | 218 | data () { |
218 | return { | 219 | return { |
220 | //表单是否可操作 | ||
221 | ableOperation: true, | ||
219 | disabled: true, | 222 | disabled: true, |
220 | tdytOption: [], | 223 | tdytOption: [], |
221 | czrOptions: [], | 224 | czrOptions: [], | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-05-17 10:45:21 | 4 | * @LastEditTime: 2023-05-25 08:58:04 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <!-- 受理信息 --> | 7 | <!-- 受理信息 --> |
... | @@ -169,7 +169,7 @@ | ... | @@ -169,7 +169,7 @@ |
169 | </el-col> | 169 | </el-col> |
170 | </el-row> | 170 | </el-row> |
171 | </div> | 171 | </div> |
172 | <el-row class="btn" v-if="!$route.query.viewtype"> | 172 | <el-row class="btn" v-if="!$route.query.viewtype && ableOperation"> |
173 | <el-form-item> | 173 | <el-form-item> |
174 | <el-button type="primary" @click="onSubmit">保存</el-button> | 174 | <el-button type="primary" @click="onSubmit">保存</el-button> |
175 | </el-form-item> | 175 | </el-form-item> |
... | @@ -183,6 +183,7 @@ | ... | @@ -183,6 +183,7 @@ |
183 | import { mapGetters } from "vuex"; | 183 | import { mapGetters } from "vuex"; |
184 | export default { | 184 | export default { |
185 | async created () { | 185 | async created () { |
186 | this.ableOperation = this.$parent.currentSelectTab.ableOperation | ||
186 | this.propsParam = this.$attrs; | 187 | this.propsParam = this.$attrs; |
187 | var formdata = new FormData(); | 188 | var formdata = new FormData(); |
188 | formdata.append("bsmSldy", this.propsParam.bsmSldy); | 189 | formdata.append("bsmSldy", this.propsParam.bsmSldy); |
... | @@ -203,6 +204,8 @@ | ... | @@ -203,6 +204,8 @@ |
203 | }, | 204 | }, |
204 | data () { | 205 | data () { |
205 | return { | 206 | return { |
207 | //表单是否可操作 | ||
208 | ableOperation: true, | ||
206 | disabled: true, | 209 | disabled: true, |
207 | tdytOption: [], | 210 | tdytOption: [], |
208 | czrOptions: [], | 211 | czrOptions: [], | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-05-24 14:33:47 | 4 | * @LastEditTime: 2023-05-25 08:59:02 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <!-- 受理信息 --> | 7 | <!-- 受理信息 --> |
... | @@ -183,7 +183,7 @@ | ... | @@ -183,7 +183,7 @@ |
183 | </el-col> | 183 | </el-col> |
184 | </el-row> | 184 | </el-row> |
185 | </div> | 185 | </div> |
186 | <el-row class="btn" v-if="!$route.query.viewtype && propsParam.issave=='0'"> | 186 | <el-row class="btn" v-if="!$route.query.viewtype && ableOperation"> |
187 | <el-form-item> | 187 | <el-form-item> |
188 | <el-button type="primary" @click="onSubmit">保存</el-button> | 188 | <el-button type="primary" @click="onSubmit">保存</el-button> |
189 | </el-form-item> | 189 | </el-form-item> |
... | @@ -197,6 +197,7 @@ | ... | @@ -197,6 +197,7 @@ |
197 | import qlrCommonTable from "@/views/workflow/components/qlrCommonTable" | 197 | import qlrCommonTable from "@/views/workflow/components/qlrCommonTable" |
198 | export default { | 198 | export default { |
199 | mounted () { | 199 | mounted () { |
200 | this.ableOperation = this.$parent.currentSelectTab.ableOperation | ||
200 | this.propsParam = this.$attrs; | 201 | this.propsParam = this.$attrs; |
201 | var formdata = new FormData(); | 202 | var formdata = new FormData(); |
202 | let that = this | 203 | let that = this |
... | @@ -218,6 +219,8 @@ | ... | @@ -218,6 +219,8 @@ |
218 | }, | 219 | }, |
219 | data () { | 220 | data () { |
220 | return { | 221 | return { |
222 | //表单是否可操作 | ||
223 | ableOperation: true, | ||
221 | key: 0, | 224 | key: 0, |
222 | isShow: false, | 225 | isShow: false, |
223 | disabled: true, | 226 | disabled: true, | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-05-24 15:09:45 | 4 | * @LastEditTime: 2023-05-25 08:59:49 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <!-- 受理信息 --> | 7 | <!-- 受理信息 --> |
... | @@ -178,7 +178,7 @@ | ... | @@ -178,7 +178,7 @@ |
178 | </el-col> | 178 | </el-col> |
179 | </el-row> | 179 | </el-row> |
180 | </div> | 180 | </div> |
181 | <el-row class="btn" v-if="!$route.query.viewtype=='1' && propsParam.issave=='0'"> | 181 | <el-row class="btn" v-if="!$route.query.viewtype=='1' && ableOperation"> |
182 | <el-form-item> | 182 | <el-form-item> |
183 | <el-button type="primary" @click="onSubmit">保存</el-button> | 183 | <el-button type="primary" @click="onSubmit">保存</el-button> |
184 | </el-form-item> | 184 | </el-form-item> |
... | @@ -192,6 +192,7 @@ | ... | @@ -192,6 +192,7 @@ |
192 | import { Init, saveData } from "@/api/workflow/jsydsyqFlow.js"; | 192 | import { Init, saveData } from "@/api/workflow/jsydsyqFlow.js"; |
193 | export default { | 193 | export default { |
194 | mounted () { | 194 | mounted () { |
195 | this.ableOperation = this.$parent.currentSelectTab.ableOperation | ||
195 | this.propsParam = this.$attrs; | 196 | this.propsParam = this.$attrs; |
196 | var formdata = new FormData(); | 197 | var formdata = new FormData(); |
197 | this.$startLoading(); | 198 | this.$startLoading(); |
... | @@ -210,6 +211,8 @@ | ... | @@ -210,6 +211,8 @@ |
210 | }, | 211 | }, |
211 | data () { | 212 | data () { |
212 | return { | 213 | return { |
214 | //表单是否可操作 | ||
215 | ableOperation: true, | ||
213 | disabled: true, | 216 | disabled: true, |
214 | czrOptions: [], | 217 | czrOptions: [], |
215 | ruleForm: { | 218 | ruleForm: { | ... | ... |
... | @@ -223,7 +223,7 @@ | ... | @@ -223,7 +223,7 @@ |
223 | </el-col> | 223 | </el-col> |
224 | </el-row> | 224 | </el-row> |
225 | </div> | 225 | </div> |
226 | <el-row class="btn" v-if="!$route.query.viewtype && ableOperation && propsParam.issave=='0'"> | 226 | <el-row class="btn" v-if="!$route.query.viewtype && ableOperation"> |
227 | <el-form-item> | 227 | <el-form-item> |
228 | <el-button type="primary" @click="onSubmit">保存</el-button> | 228 | <el-button type="primary" @click="onSubmit">保存</el-button> |
229 | </el-form-item> | 229 | </el-form-item> |
... | @@ -258,9 +258,6 @@ | ... | @@ -258,9 +258,6 @@ |
258 | computed: { | 258 | computed: { |
259 | ...mapGetters(["dictData", "flag"]) | 259 | ...mapGetters(["dictData", "flag"]) |
260 | }, | 260 | }, |
261 | watch: { | ||
262 | |||
263 | }, | ||
264 | data () { | 261 | data () { |
265 | return { | 262 | return { |
266 | disabled: true, | 263 | disabled: true, | ... | ... |
... | @@ -229,7 +229,7 @@ | ... | @@ -229,7 +229,7 @@ |
229 | </el-col> | 229 | </el-col> |
230 | </el-row> | 230 | </el-row> |
231 | </div> | 231 | </div> |
232 | <el-row class="btn" v-if="!$route.query.viewtype && propsParam.issave=='0'"> | 232 | <el-row class="btn" v-if="!$route.query.viewtype && ableOperation"> |
233 | <el-form-item> | 233 | <el-form-item> |
234 | <el-button type="primary" @click="onSubmit">保存</el-button> | 234 | <el-button type="primary" @click="onSubmit">保存</el-button> |
235 | </el-form-item> | 235 | </el-form-item> |
... | @@ -244,6 +244,7 @@ | ... | @@ -244,6 +244,7 @@ |
244 | import JtcyTable from "@/views/workflow/components/JtcyTable" | 244 | import JtcyTable from "@/views/workflow/components/JtcyTable" |
245 | export default { | 245 | export default { |
246 | mounted () { | 246 | mounted () { |
247 | this.ableOperation = this.$parent.currentSelectTab.ableOperation | ||
247 | this.propsParam = this.$attrs; | 248 | this.propsParam = this.$attrs; |
248 | var formdata = new FormData(); | 249 | var formdata = new FormData(); |
249 | this.$startLoading(); | 250 | this.$startLoading(); |
... | @@ -263,11 +264,10 @@ | ... | @@ -263,11 +264,10 @@ |
263 | computed: { | 264 | computed: { |
264 | ...mapGetters(["dictData", "flag"]) | 265 | ...mapGetters(["dictData", "flag"]) |
265 | }, | 266 | }, |
266 | watch: { | ||
267 | |||
268 | }, | ||
269 | data () { | 267 | data () { |
270 | return { | 268 | return { |
269 | //表单是否可操作 | ||
270 | ableOperation: true, | ||
271 | disabled: true, | 271 | disabled: true, |
272 | czrOptions: [], | 272 | czrOptions: [], |
273 | ruleForm: {}, | 273 | ruleForm: {}, | ... | ... |
... | @@ -164,7 +164,7 @@ | ... | @@ -164,7 +164,7 @@ |
164 | </el-col> | 164 | </el-col> |
165 | </el-row> | 165 | </el-row> |
166 | </div> | 166 | </div> |
167 | <el-row class="btn" v-if="!$route.query.viewtype && propsParam.issave=='0'"> | 167 | <el-row class="btn" v-if="!$route.query.viewtype && ableOperation"> |
168 | <el-form-item> | 168 | <el-form-item> |
169 | <el-button type="primary" @click="onSubmit">保存</el-button> | 169 | <el-button type="primary" @click="onSubmit">保存</el-button> |
170 | </el-form-item> | 170 | </el-form-item> |
... | @@ -178,6 +178,7 @@ | ... | @@ -178,6 +178,7 @@ |
178 | import { mapGetters } from "vuex"; | 178 | import { mapGetters } from "vuex"; |
179 | export default { | 179 | export default { |
180 | mounted () { | 180 | mounted () { |
181 | this.ableOperation = this.$parent.currentSelectTab.ableOperation | ||
181 | this.$startLoading(); | 182 | this.$startLoading(); |
182 | var formdata = new FormData(); | 183 | var formdata = new FormData(); |
183 | formdata.append("bsmSldy", this.propsParam.bsmSldy); | 184 | formdata.append("bsmSldy", this.propsParam.bsmSldy); |
... | @@ -196,6 +197,8 @@ | ... | @@ -196,6 +197,8 @@ |
196 | }, | 197 | }, |
197 | data () { | 198 | data () { |
198 | return { | 199 | return { |
200 | //表单是否可操作 | ||
201 | ableOperation: true, | ||
199 | disabled: true, | 202 | disabled: true, |
200 | tdytOption: [], | 203 | tdytOption: [], |
201 | czrOptions: [], | 204 | czrOptions: [], | ... | ... |
... | @@ -167,7 +167,7 @@ | ... | @@ -167,7 +167,7 @@ |
167 | </el-col> | 167 | </el-col> |
168 | </el-row> | 168 | </el-row> |
169 | </div> | 169 | </div> |
170 | <el-row class="btn" v-if="!$route.query.viewtype && propsParam.issave=='0'"> | 170 | <el-row class="btn" v-if="!$route.query.viewtype && ableOperation"> |
171 | <el-form-item> | 171 | <el-form-item> |
172 | <el-button type="primary" @click="onSubmit">保存</el-button> | 172 | <el-button type="primary" @click="onSubmit">保存</el-button> |
173 | </el-form-item> | 173 | </el-form-item> |
... | @@ -181,6 +181,7 @@ | ... | @@ -181,6 +181,7 @@ |
181 | import { mapGetters } from "vuex"; | 181 | import { mapGetters } from "vuex"; |
182 | export default { | 182 | export default { |
183 | mounted () { | 183 | mounted () { |
184 | this.ableOperation = this.$parent.currentSelectTab.ableOperation | ||
184 | this.propsParam = this.$attrs; | 185 | this.propsParam = this.$attrs; |
185 | var formdata = new FormData(); | 186 | var formdata = new FormData(); |
186 | this.$startLoading(); | 187 | this.$startLoading(); |
... | @@ -199,6 +200,8 @@ | ... | @@ -199,6 +200,8 @@ |
199 | }, | 200 | }, |
200 | data () { | 201 | data () { |
201 | return { | 202 | return { |
203 | //表单是否可操作 | ||
204 | ableOperation: true, | ||
202 | disabled: true, | 205 | disabled: true, |
203 | tdytOption: [], | 206 | tdytOption: [], |
204 | czrOptions: [], | 207 | czrOptions: [], | ... | ... |
... | @@ -171,7 +171,7 @@ | ... | @@ -171,7 +171,7 @@ |
171 | </el-col> | 171 | </el-col> |
172 | </el-row> | 172 | </el-row> |
173 | </div> | 173 | </div> |
174 | <el-row class="btn" v-if="!$route.query.viewtype && propsParam.issave=='0'"> | 174 | <el-row class="btn" v-if="!$route.query.viewtype && ableOperation"> |
175 | <el-form-item> | 175 | <el-form-item> |
176 | <el-button type="primary" @click="onSubmit">保存</el-button> | 176 | <el-button type="primary" @click="onSubmit">保存</el-button> |
177 | </el-form-item> | 177 | </el-form-item> |
... | @@ -185,6 +185,7 @@ | ... | @@ -185,6 +185,7 @@ |
185 | import { mapGetters } from "vuex"; | 185 | import { mapGetters } from "vuex"; |
186 | export default { | 186 | export default { |
187 | created () { | 187 | created () { |
188 | this.ableOperation = this.$parent.currentSelectTab.ableOperation | ||
188 | this.propsParam = this.$attrs; | 189 | this.propsParam = this.$attrs; |
189 | var formdata = new FormData(); | 190 | var formdata = new FormData(); |
190 | let that = this | 191 | let that = this |
... | @@ -207,6 +208,8 @@ | ... | @@ -207,6 +208,8 @@ |
207 | }, | 208 | }, |
208 | data () { | 209 | data () { |
209 | return { | 210 | return { |
211 | //表单是否可操作 | ||
212 | ableOperation: true, | ||
210 | loading: false, | 213 | loading: false, |
211 | disabled: true, | 214 | disabled: true, |
212 | tdytOption: [], | 215 | tdytOption: [], | ... | ... |
... | @@ -235,7 +235,7 @@ | ... | @@ -235,7 +235,7 @@ |
235 | </el-row> | 235 | </el-row> |
236 | 236 | ||
237 | </div> | 237 | </div> |
238 | <el-row class="btn" v-if="!$route.query.viewtype && propsParam.issave=='0'"> | 238 | <el-row class="btn" v-if="!$route.query.viewtype && ableOperation"> |
239 | <el-form-item> | 239 | <el-form-item> |
240 | <el-button type="primary" @click="onSubmitClick()">保存</el-button> | 240 | <el-button type="primary" @click="onSubmitClick()">保存</el-button> |
241 | </el-form-item> | 241 | </el-form-item> |
... | @@ -249,6 +249,7 @@ | ... | @@ -249,6 +249,7 @@ |
249 | import { mapGetters } from "vuex"; | 249 | import { mapGetters } from "vuex"; |
250 | export default { | 250 | export default { |
251 | mounted () { | 251 | mounted () { |
252 | this.ableOperation = this.$parent.currentSelectTab.ableOperation | ||
252 | this.propsParam = this.$attrs; | 253 | this.propsParam = this.$attrs; |
253 | var formdata = new FormData(); | 254 | var formdata = new FormData(); |
254 | this.$startLoading(); | 255 | this.$startLoading(); |
... | @@ -269,6 +270,8 @@ | ... | @@ -269,6 +270,8 @@ |
269 | }, | 270 | }, |
270 | data () { | 271 | data () { |
271 | return { | 272 | return { |
273 | //表单是否可操作 | ||
274 | ableOperation: true, | ||
272 | disabled: true, | 275 | disabled: true, |
273 | czrOptions: [], | 276 | czrOptions: [], |
274 | ruleForm: { | 277 | ruleForm: { | ... | ... |
-
Please register or sign in to post a comment