diff --git a/src/api/workflow/businessForm/types.ts b/src/api/workflow/businessForm/types.ts
index aca4ec1..530f783 100644
--- a/src/api/workflow/businessForm/types.ts
+++ b/src/api/workflow/businessForm/types.ts
@@ -14,6 +14,16 @@ export interface BusinessFormVO {
*/
formId: string | number;
+ /**
+ * 表单内容
+ */
+ content: string;
+
+ /**
+ * 表单值
+ */
+ contentValue: string;
+
/**
* 表单名称
*/
diff --git a/src/api/workflow/category/types.ts b/src/api/workflow/category/types.ts
index 154bd6f..5a58982 100644
--- a/src/api/workflow/category/types.ts
+++ b/src/api/workflow/category/types.ts
@@ -23,6 +23,8 @@ export interface CategoryVO {
* 排序
*/
sortNum: number;
+
+ children?: CategoryVO[];
}
export interface CategoryForm extends BaseEntity {
diff --git a/src/views/index.vue b/src/views/index.vue
index 438c1af..465d52b 100644
--- a/src/views/index.vue
+++ b/src/views/index.vue
@@ -40,9 +40,7 @@
访问码云
访问GitHub
- 更新日志
+ 更新日志
@@ -85,9 +83,7 @@
访问码云
访问GitHub
- 更新日志
+ 更新日志
diff --git a/src/views/workflow/businessForm/index.vue b/src/views/workflow/businessForm/index.vue
index 91047a6..5f68a4a 100644
--- a/src/views/workflow/businessForm/index.vue
+++ b/src/views/workflow/businessForm/index.vue
@@ -1,7 +1,6 @@
-
+
@@ -28,7 +27,8 @@

+ width="60"
+ />
{{ item.formName }}
@@ -65,6 +65,7 @@ import { addBusinessForm, updateBusinessForm } from '@/api/workflow/businessForm
import { BusinessFormForm } from '@/api/workflow/businessForm/types';
import { startWorkFlow } from '@/api/workflow/task';
import SubmitVerify from '@/components/Process/submitVerify.vue';
+
const { proxy } = getCurrentInstance() as ComponentInternalInstance;
//提交组件
const submitVerifyRef = ref
>();
@@ -78,7 +79,7 @@ const buttonLoading = ref(false);
const processDefinitionKey = ref('');
const queryFormRef = ref();
-const vfRenderRef = ref(null);
+const vfRenderRef = ref();
const render = reactive({
visible: false,
@@ -146,7 +147,7 @@ const submitData = (status: string) => {
if (vfRenderRef.value) {
fromLoading.value = true
buttonLoading.value = true;
- vfRenderRef.value.getFormData().then((formData) => {
+ vfRenderRef.value.getFormData().then((formData: object) => {
initFormData.value.contentValue = JSON.stringify(formData)
if ('draft' === status) {
addBusinessForm(initFormData.value).then(res => {
@@ -206,7 +207,7 @@ onMounted(() => {
});
-