Commit f4588a05 authored by 皮倩雯's avatar 皮倩雯

fix: '修复选件反馈字段集外部字段bug'

parent bdb9828d
Pipeline #70274 passed with stages
...@@ -105,6 +105,7 @@ const AddModal = props => { ...@@ -105,6 +105,7 @@ const AddModal = props => {
onChangeEvent(res.data.relationEvent, aa); // 改变关联事件类型 onChangeEvent(res.data.relationEvent, aa); // 改变关联事件类型
getFeedbackTable(); getFeedbackTable();
getRoles(); getRoles();
getFields(res.data.tableName);
}); });
} else { } else {
form.setFieldsValue({ businessGroup: '区域巡检' }); form.setFieldsValue({ businessGroup: '区域巡检' });
...@@ -414,7 +415,6 @@ const AddModal = props => { ...@@ -414,7 +415,6 @@ const AddModal = props => {
const pickFiled = fileds => { const pickFiled = fileds => {
if (form.getFieldsValue().tableName) { if (form.getFieldsValue().tableName) {
let pp = formateArrDataA(nu, 'groupName'); let pp = formateArrDataA(nu, 'groupName');
console.log(pp);
if (form.getFieldValue(fileds)) { if (form.getFieldValue(fileds)) {
let ab = form.getFieldValue(fileds).split(','); let ab = form.getFieldValue(fileds).split(',');
let arr = Object.keys(pp); let arr = Object.keys(pp);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment