Merge pull request #8824 from ulleo/dev
fix(X-Pack): 修复数据填报表单管理-删除文件夹后没有刷新列表的问题
This commit is contained in:
commit
19eaf04fe6
@ -262,9 +262,13 @@ public class DataFillService {
|
||||
dataFillFormMapper.deleteByExample(example);
|
||||
}
|
||||
|
||||
DeLogUtils.save(SysLogConstants.OPERATE_TYPE.DELETE, SysLogConstants.SOURCE_TYPE.DATA_FILL_FORM, dataFillForm.getId(), dataFillForm.getPid(), null, null);
|
||||
if (dataFillForm != null) {
|
||||
|
||||
dataFillTaskService.deleteTaskByFormId(id);
|
||||
DeLogUtils.save(SysLogConstants.OPERATE_TYPE.DELETE, SysLogConstants.SOURCE_TYPE.DATA_FILL_FORM, dataFillForm.getId(), dataFillForm.getPid(), null, null);
|
||||
|
||||
dataFillTaskService.deleteTaskByFormId(id);
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
public List<ExtTableField> listFields(String id) throws Exception {
|
||||
|
||||
@ -127,7 +127,7 @@ export default {
|
||||
}
|
||||
).then(() => {
|
||||
deleteForm(data.id).then((response) => {
|
||||
if (this.displayFormData.id === data.id) {
|
||||
if (this.displayFormData && this.displayFormData.id === data.id) {
|
||||
this.displayFormData = undefined
|
||||
}
|
||||
listForm({}).then(res => {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user