From 31343bb1d812bdf43a1b61b67be789507b790f5a Mon Sep 17 00:00:00 2001
From: wupengfei <834520024@qq.com>
Date: 星期二, 11 十一月 2025 11:16:24 +0800
Subject: [PATCH] feat: 1.3.0.2
---
src/views/EmploymentManage/TaskManageList.vue | 110 +++++++++++++++++++++++++++---------------------------
1 files changed, 55 insertions(+), 55 deletions(-)
diff --git a/src/views/EmploymentManage/TaskManageList.vue b/src/views/EmploymentManage/TaskManageList.vue
index e015140..1bd80f8 100644
--- a/src/views/EmploymentManage/TaskManageList.vue
+++ b/src/views/EmploymentManage/TaskManageList.vue
@@ -36,14 +36,14 @@
<SearchInput
v-model="extraParamState.keywords"
style="width: 260px"
- placeholder="浠诲姟鍚嶇О"
+ placeholder="浠诲姟鍚嶇О/瀹㈡埛"
@on-click-search="getList"
>
</SearchInput>
</QueryFilterItem>
</template>
<template #btn>
- <!-- <el-button @click="goAddOrEdit()" type="primary">鍙戝竷</el-button> -->
+ <el-button @click="goAddOrEdit()" type="primary">鍙戝竷</el-button>
</template>
</ProTableQueryFilterBar>
<ProTableV2
@@ -88,18 +88,18 @@
});
const operationBtns = defineOperationBtns([
- // {
- // data: {
- // enCode: 'editBtn',
- // name: '缂栬緫',
- // },
- // emits: {
- // onClick: (role) => goAddOrEdit(role),
- // },
- // extraProps: {
- // hide: (row: API.GetTaskInfosQueryResultItem) => row.status === EnumTaskStatus.Complete,
- // },
- // },
+ {
+ data: {
+ enCode: 'editBtn',
+ name: '缂栬緫',
+ },
+ emits: {
+ onClick: (role) => goAddOrEdit(role),
+ },
+ extraProps: {
+ hide: (row: API.GetTaskInfosQueryResultItem) => row.status === EnumTaskStatus.Complete,
+ },
+ },
{
data: {
enCode: 'detailBtn',
@@ -109,47 +109,47 @@
onClick: (row: API.GetTaskInfosQueryResultItem) => goDetail(row),
},
},
- // {
- // data: {
- // enCode: 'publishBtn',
- // name: '鍙戝竷',
- // },
- // emits: {
- // onClick: (row: API.GetTaskInfosQueryResultItem) =>
- // setTaskInfoReleaseStatus(row, EnumTaskReleaseStatus.InProcess),
- // },
- // extraProps: {
- // hide: (row: API.GetTaskInfosQueryResultItem) =>
- // row.releaseStatus === EnumTaskReleaseStatus.InProcess,
- // },
- // },
- // {
- // data: {
- // enCode: 'unPublishBtn',
- // name: '鍋滄鍙戝竷',
- // },
- // emits: {
- // onClick: (row: API.GetTaskInfosQueryResultItem) =>
- // setTaskInfoReleaseStatus(row, EnumTaskReleaseStatus.Stopped),
- // },
- // extraProps: {
- // hide: (row: API.GetTaskInfosQueryResultItem) =>
- // row.releaseStatus === EnumTaskReleaseStatus.Stopped,
- // },
- // },
- // {
- // data: {
- // enCode: 'arrangeBtn',
- // name: '瀹夋帓',
- // },
- // emits: {
- // onClick: (row: API.GetTaskInfosQueryResultItem) => handleArrange(row),
- // },
- // extraProps: {
- // hide: (row: API.GetTaskInfosQueryResultItem) =>
- // row.releaseStatus === EnumTaskReleaseStatus.Stopped,
- // },
- // },
+ {
+ data: {
+ enCode: 'publishBtn',
+ name: '鍙戝竷',
+ },
+ emits: {
+ onClick: (row: API.GetTaskInfosQueryResultItem) =>
+ setTaskInfoReleaseStatus(row, EnumTaskReleaseStatus.InProcess),
+ },
+ extraProps: {
+ hide: (row: API.GetTaskInfosQueryResultItem) =>
+ row.releaseStatus === EnumTaskReleaseStatus.InProcess,
+ },
+ },
+ {
+ data: {
+ enCode: 'unPublishBtn',
+ name: '鍋滄鍙戝竷',
+ },
+ emits: {
+ onClick: (row: API.GetTaskInfosQueryResultItem) =>
+ setTaskInfoReleaseStatus(row, EnumTaskReleaseStatus.Stopped),
+ },
+ extraProps: {
+ hide: (row: API.GetTaskInfosQueryResultItem) =>
+ row.releaseStatus === EnumTaskReleaseStatus.Stopped,
+ },
+ },
+ {
+ data: {
+ enCode: 'arrangeBtn',
+ name: '瀹夋帓',
+ },
+ emits: {
+ onClick: (row: API.GetTaskInfosQueryResultItem) => handleArrange(row),
+ },
+ extraProps: {
+ hide: (row: API.GetTaskInfosQueryResultItem) =>
+ row.releaseStatus === EnumTaskReleaseStatus.Stopped,
+ },
+ },
]);
const router = useRouter();
--
Gitblit v1.9.1