({
@@ -110,8 +117,21 @@ const handleGetSelectNode = (curClickedNode: any, checkedTreeNodes: any, isDeepT
getDataList()
}
+onMounted(async () => {
+ const { data } = await getDicts("check_status")
+ data.unshift({ label: "全部", value: null })
+ tabItems.value = data
+})
+
+// tab点击切换
+const handleClickTabItem = (e: any) => {
+ state.queryForm.processStatus = tabItems.value[e.index].value
+ getDataList()
+}
+
+// 点击开始处理
const deal = (row: any) => {
- if (!row.processId) return useMessage().info("流程id不存在")
+ if (!row.processId) return useMessage().warning("流程id不存在")
processDrawerRef.value.openProcessDrawer(row)
}
diff --git a/src/views/flow/create/all.vue b/src/views/flow/create/all.vue
index 8fe8401..26e8cb5 100644
--- a/src/views/flow/create/all.vue
+++ b/src/views/flow/create/all.vue
@@ -6,19 +6,19 @@
1
- {{ $t('flow.basicInformation') }}
+ {{ $t("flow.basicInformation") }}
2
- {{ $t('flow.formDesign') }}
+ {{ $t("flow.formDesign") }}
3
- {{ $t('flow.processDesign') }}
+ {{ $t("flow.processDesign") }}
- {{ $t('flow.publish') }}
+ {{ $t("flow.publish") }}
@@ -37,7 +37,7 @@
- {{ $t('flow.submit') }}
+ {{ $t("flow.submit") }}
@@ -63,7 +63,7 @@
- {{ $t('common.editBtn') }}
+ {{ $t("common.editBtn") }}
@@ -73,160 +73,161 @@