diff --git a/src/api/admin/userFaceApprove.ts b/src/api/admin/userFaceApprove.ts
new file mode 100644
index 0000000..2db1c99
--- /dev/null
+++ b/src/api/admin/userFaceApprove.ts
@@ -0,0 +1,19 @@
+import request from "/@/utils/request"
+
+// 获取人脸审批列表
+export function getUserFaceList(params?: object) {
+ return request({
+ url: "/admin/user-face/page-join",
+ method: "get",
+ params,
+ })
+}
+
+// 开始处理人脸审批
+export function userFaceApprove(params?: object) {
+ return request({
+ url: "/admin/user-face/apply",
+ method: "get",
+ params,
+ })
+}
diff --git a/src/components/taskDrawer/agree.vue b/src/components/processDrawer/agree.vue
similarity index 64%
rename from src/components/taskDrawer/agree.vue
rename to src/components/processDrawer/agree.vue
index 68b74bc..0d39024 100644
--- a/src/components/taskDrawer/agree.vue
+++ b/src/components/processDrawer/agree.vue
@@ -1,14 +1,30 @@
+
+
+
+
+
+ 取消
+ 确定
+
+
+
+
-
-
-
-
diff --git a/src/components/taskDrawer/index.vue b/src/components/processDrawer/index.vue
similarity index 61%
rename from src/components/taskDrawer/index.vue
rename to src/components/processDrawer/index.vue
index 9b8c269..af30b36 100644
--- a/src/components/taskDrawer/index.vue
+++ b/src/components/processDrawer/index.vue
@@ -1,18 +1,13 @@
-
-
+
+
{{ curAssignTask?.processName }}
-
-
+
+
diff --git a/src/components/taskDrawer/refuse.vue b/src/components/processDrawer/refuse.vue
similarity index 60%
rename from src/components/taskDrawer/refuse.vue
rename to src/components/processDrawer/refuse.vue
index 34cc281..d3be7b0 100644
--- a/src/components/taskDrawer/refuse.vue
+++ b/src/components/processDrawer/refuse.vue
@@ -1,29 +1,50 @@
+
+
+
+
+ 取消
+ 确定
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/components/taskDrawer/transfer.vue b/src/components/processDrawer/transfer.vue
similarity index 63%
rename from src/components/taskDrawer/transfer.vue
rename to src/components/processDrawer/transfer.vue
index 85542fc..5cdc12d 100644
--- a/src/components/taskDrawer/transfer.vue
+++ b/src/components/processDrawer/transfer.vue
@@ -1,8 +1,29 @@
+
+
+
+
+
+
+
+
+
+ 取消
+ 确定
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 取消
- 确定
-
-
-
-
-
diff --git a/src/components/taskDrawer/types.ts b/src/components/processDrawer/types.ts
similarity index 88%
rename from src/components/taskDrawer/types.ts
rename to src/components/processDrawer/types.ts
index 50b91d3..b9c96ce 100644
--- a/src/components/taskDrawer/types.ts
+++ b/src/components/processDrawer/types.ts
@@ -1,4 +1,3 @@
-// First let's create types for our form data
export interface FlowFormItem {
id: string
type: string
diff --git a/src/views/admin/system/userFaceApprove/i18n/en.ts b/src/views/admin/system/userFaceApprove/i18n/en.ts
new file mode 100644
index 0000000..c1899ed
--- /dev/null
+++ b/src/views/admin/system/userFaceApprove/i18n/en.ts
@@ -0,0 +1,29 @@
+export default {
+ sysuser: {
+ index: '#',
+ username: 'username',
+ name: 'name',
+ phone: 'phone',
+ post: 'post',
+ role: 'role',
+ lockFlag: 'lockFlag',
+ createTime: 'createTime',
+ password: 'password',
+ dept: 'dept',
+ email: 'email',
+ nickname: 'nickname',
+ inputUsernameTip: 'input username',
+ inputPhoneTip: 'input phone',
+ inputPasswordTip: 'input password',
+ inputNameTip: 'input name',
+ importUserTip: 'user import',
+ deleteDisabledTip: 'admin are not allowed to delete',
+ noDataScopeTip: 'no data permissions',
+ passwordBtn: 'password',
+ },
+ personal: {
+ name: 'personal info',
+ passwordRule: 'The two passwords are inconsistent',
+ passwordScore: 'Password level is too low',
+ },
+};
diff --git a/src/views/admin/system/userFaceApprove/i18n/zh-cn.ts b/src/views/admin/system/userFaceApprove/i18n/zh-cn.ts
new file mode 100644
index 0000000..df7ffec
--- /dev/null
+++ b/src/views/admin/system/userFaceApprove/i18n/zh-cn.ts
@@ -0,0 +1,29 @@
+export default {
+ sysuser: {
+ index: '#',
+ username: '用户名',
+ name: '姓名',
+ phone: '手机号',
+ post: '岗位',
+ role: '角色',
+ lockFlag: '启用',
+ createTime: '创建时间',
+ password: '密码',
+ dept: '部门',
+ email: '邮箱',
+ nickname: '昵称',
+ inputUsernameTip: '请输入用户名',
+ inputPhoneTip: '请输入手机号',
+ inputNameTip: '请输入姓名',
+ inputPasswordTip: '请输入6-20位合法密码',
+ importUserTip: '用户导入',
+ deleteDisabledTip: 'admin 不允许被删除',
+ noDataScopeTip: '没有数据权限',
+ passwordBtn: '密码',
+ },
+ personal: {
+ name: '个人信息',
+ passwordRule: '两次输入密码不一致',
+ passwordScore: '密码等级太低',
+ },
+};
diff --git a/src/views/admin/system/userFaceApprove/index.vue b/src/views/admin/system/userFaceApprove/index.vue
new file mode 100644
index 0000000..bfb98ed
--- /dev/null
+++ b/src/views/admin/system/userFaceApprove/index.vue
@@ -0,0 +1,122 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 查询
+ 重置
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 开始处理
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/hard/hard-order/index.vue b/src/views/hard/hard-order/index.vue
index f46811a..0eec7d6 100644
--- a/src/views/hard/hard-order/index.vue
+++ b/src/views/hard/hard-order/index.vue
@@ -288,7 +288,6 @@ const showSearch = ref(true)
// 多选变量
const selectObjs = ref([]) as any
const multiple = ref(true)
-const draggableDepTreeRef = ref() // 树组件ref引用
const state: BasicTableProps = reactive({
queryForm: {},
diff --git a/src/views/wallet/wallet-recharge-apply/index.vue b/src/views/wallet/wallet-recharge-apply/index.vue
index 639a8fa..0fac6c9 100644
--- a/src/views/wallet/wallet-recharge-apply/index.vue
+++ b/src/views/wallet/wallet-recharge-apply/index.vue
@@ -142,8 +142,8 @@
@refreshDataList="getDataList(false)"
/>
-
-
+
+
@@ -153,7 +153,7 @@ import * as walletRechargeApplyApi from "/@/api/wallet/wallet-recharge-apply"
import { useMessage, useMessageBox } from "/@/hooks/message"
import { useDict } from "/@/hooks/dict"
import { ElLoading } from "element-plus"
-import taskDrawer from "/@/components/taskDrawer/index.vue"
+import ProcessDrawer from "/@/components/processDrawer/index.vue"
const { push } = useRouter()
@@ -170,8 +170,7 @@ const showSearch = ref(true)
// 多选变量
const selectObjs = ref([]) as any
const multiple = ref(true)
-const taskDrawerVisible = ref()
-const currentData = ref()
+const processDrawerRef = ref()
const state: BasicTableProps = reactive({
queryForm: {},
@@ -248,13 +247,12 @@ const handleDelete = async (ids: string[]) => {
* @param row
*/
const deal = (row: any) => {
- currentData.value = row
- taskDrawerVisible.value = true
+ if (!row.processId) return useMessage().info("流程id不存在")
+ processDrawerRef.value.openProcessDrawer(row)
}
// 任务提交事件
const taskSubmitEvent = () => {
- taskDrawerVisible.value = false
getDataList()
}