imeik-bizui 2.0.7 → 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.
- package/dist/bizui/src/FieldApplyTypeView/index.vue +28 -22
- package/dist/imeik-bizui.common.js +111 -105
- package/dist/imeik-bizui.common.js.gz +0 -0
- package/dist/imeik-bizui.umd.js +111 -105
- package/dist/imeik-bizui.umd.js.gz +0 -0
- package/dist/imeik-bizui.umd.min.js +4 -4
- package/dist/imeik-bizui.umd.min.js.gz +0 -0
- package/package.json +1 -1
|
@@ -303,28 +303,34 @@ export default {
|
|
|
303
303
|
this.$set(this.formConfig.formItems[index].attrs, 'disabled', false)
|
|
304
304
|
}
|
|
305
305
|
}
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
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 {
|
|
311
|
+
getTagManageList({ tagModel: 'APPLY', tagCode: 'al-fxssqxmbh' }).then((res) => {
|
|
312
|
+
if (res.code === 200) {
|
|
313
|
+
Axios.get(res.data[0].tagValueUrl).then((subRes) => {
|
|
314
|
+
if (subRes.data.code === 200) {
|
|
315
|
+
const fiterData = []
|
|
316
|
+
subRes.data.data.forEach((item) => {
|
|
317
|
+
if (this.belongCompany === item.dicExt) {
|
|
318
|
+
item.label = item.dicName
|
|
319
|
+
item.value = item.dicValue
|
|
320
|
+
fiterData.push(item)
|
|
321
|
+
}
|
|
322
|
+
})
|
|
323
|
+
const options = fiterData
|
|
324
|
+
const newData = JSON.parse(JSON.stringify(this.formConfig.formItems[index]))
|
|
325
|
+
newData.attrs.options = options
|
|
326
|
+
this.$set(this.formConfig.formItems, index, newData)
|
|
327
|
+
}
|
|
328
|
+
})
|
|
329
|
+
} else {
|
|
330
|
+
this.$message.error(res.msg)
|
|
331
|
+
}
|
|
332
|
+
})
|
|
333
|
+
}
|
|
328
334
|
},
|
|
329
335
|
propChange(data) {
|
|
330
336
|
// 写入负责人姓名
|