update 树形字典修改
This commit is contained in:
@@ -240,7 +240,7 @@ import { FieldType } from '../../enums/commonEnums'
|
||||
import JMultipleDatePicker from '../JMultipleDatePicker'
|
||||
import UserSelection from '../selection/UserSelection'
|
||||
import { getAction } from '../../api/manage.js'
|
||||
import { getDictTreeList } from '../../api/api.js'
|
||||
import { getFormDictTreeList } from '../../api/api.js'
|
||||
|
||||
export default {
|
||||
name: 'AddForm',
|
||||
@@ -416,7 +416,7 @@ export default {
|
||||
})
|
||||
}
|
||||
if (item.fieldShowType === FieldType.TREE.value && item.dictId) {
|
||||
getDictTreeList({ dictId: item.dictId }).then(res => {
|
||||
getFormDictTreeList({ dictId: item.dictId }).then(res => {
|
||||
if (res.success) {
|
||||
this.$set(this.optionsData, item.dbFieldName, res.result)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user