+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ $t("common.queryBtn") }}
+ {{ $t("common.resetBtn") }}
+
+
+
未自动转账
-
+
-
+
- {{ row.processTime }}
+ {{ row.processTime }}
未审核
-
-
+
+
编辑
- 删除
+
+ 开始处理
+
+
+ 删除
+
-
+
+
@@ -107,6 +158,7 @@ import { useDict } from "/@/hooks/dict"
// 引入组件
const FormDialog = defineAsyncComponent(() => import("./form.vue"))
+const ProcessDrawer = defineAsyncComponent(() => import("/@/components/processDrawer/index.vue"))
// 定义查询字典
const { user_transaction, yes_no_type, check_status } = useDict("user_transaction", "yes_no_type", "check_status")
// 定义变量内容
@@ -117,6 +169,8 @@ const showSearch = ref(true)
// 多选变量
const selectObjs = ref([]) as any
const multiple = ref(true)
+const processDrawerRef = ref()
+const batchDealRef = ref()
const state: BasicTableProps = reactive
({
queryForm: {},
@@ -126,6 +180,17 @@ const state: BasicTableProps = reactive({
// table hook
const { getDataList, currentChangeHandle, sizeChangeHandle, sortChangeHandle, downBlobFile, tableStyle } = useTable(state)
+// 点击开始处理
+const deal = (row: any) => {
+ if (!row.processId) return useMessage().warning("流程id不存在")
+ processDrawerRef.value.openProcessDrawer(row)
+}
+
+// 审批提交事件
+const taskSubmitEvent = () => {
+ getDataList()
+}
+
// 清空搜索条件
const resetQuery = () => {
// 清空搜索条件