imeik-bizui 2.0.8 → 2.0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -303,7 +303,11 @@ export default {
303
303
  this.$set(this.formConfig.formItems[index].attrs, 'disabled', false)
304
304
  }
305
305
  }
306
- this.$nextTick(() => {
306
+ if (this.isView) {
307
+ const newData = JSON.parse(JSON.stringify(this.formConfig.formItems[index]))
308
+ newData.type = 'ImInput'
309
+ this.$set(this.formConfig.formItems, index, newData)
310
+ } else {
307
311
  getTagManageList({ tagModel: 'APPLY', tagCode: 'al-fxssqxmbh' }).then((res) => {
308
312
  if (res.code === 200) {
309
313
  Axios.get(res.data[0].tagValueUrl).then((subRes) => {
@@ -326,7 +330,7 @@ export default {
326
330
  this.$message.error(res.msg)
327
331
  }
328
332
  })
329
- })
333
+ }
330
334
  },
331
335
  propChange(data) {
332
336
  // 写入负责人姓名