|
@@ -147,7 +147,7 @@ import {
|
|
|
getFId,
|
|
|
} from "@packages/bo-utils/myFieldUtil";
|
|
|
import { getActive } from "@packages/bpmn-utils/BpmnDesignerUtils";
|
|
|
-import { getForm } from "@/api/dragform/form";
|
|
|
+import { getForm, getInfoByFormKey } from "@/api/dragform/form";
|
|
|
import { getFormItems } from "@packages/bo-utils/getFormItems";
|
|
|
import {
|
|
|
getFormName,
|
|
@@ -290,7 +290,7 @@ export default {
|
|
|
}
|
|
|
//获取表单数据
|
|
|
try {
|
|
|
- let res = await getForm(fId);
|
|
|
+ let res = await getInfoByFormKey(fId);
|
|
|
if (res.code == 200) {
|
|
|
this.formItemsList = getFormItems(res.data.dfVueTemplate);
|
|
|
this.getAllTable(); //获取所有表格数据
|