我的申请
This commit is contained in:
1 parent
9bec3c6de0
commit
ce5cb62367
2 files changed
+12
-9
No files matched your search
@@ -251,7 +251,7 @@ Vue.component("create-task-drawer", {
|
||||
const {rows} = (await window.jianghuAxios({
|
||||
data: {
|
||||
appData: {
|
||||
pageId: 'createTaskDrawer',
|
||||
pageId: 'taskApply',
|
||||
actionId: 'selectUserList',
|
||||
actionData: {},
|
||||
where: {},
|
||||
@@ -287,7 +287,7 @@ Vue.component("create-task-drawer", {
|
||||
const {rows} = (await window.jianghuAxios({
|
||||
data: {
|
||||
appData: {
|
||||
pageId: 'createTaskDrawer',
|
||||
pageId: 'taskApply',
|
||||
actionId: 'selectGroupList',
|
||||
actionData: {},
|
||||
where: {},
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
<div class="jh-page-second-bar px-8">
|
||||
<v-row class="align-center">
|
||||
<v-col cols="12" xs="12" sm="12" md="4" xl="3">
|
||||
<div class="py-4 text-body-1 font-weight-bold">任务列表
|
||||
<div class="py-4 text-body-1 font-weight-bold">我的申请
|
||||
<!-- 帮助页按钮 -->
|
||||
<span role="button" class="success--text font-weight-regular jh-font-size-13 ml-2" @click="isHelpPageDrawerShown = true">
|
||||
<v-icon size="13" class="success--text">mdi-help-circle-outline</v-icon>帮助
|
||||
@@ -177,10 +177,11 @@
|
||||
isTableLoading: true,
|
||||
tableData: [],
|
||||
headers: [
|
||||
{ text: "审批项", value: "taskTitle", width: 350 },
|
||||
{ text: "审核状态", value: "taskStatus" },
|
||||
{ text: "操作者", value: "operationByUser", width: 120 },
|
||||
{ text: "操作时间", value: "operationAt", width: 250 },
|
||||
{ text: "申请ID", value: "taskId", width: 100 },
|
||||
{ text: "申请名称", value: "taskTitle", width: 350 },
|
||||
{ text: "申请状态", value: "taskStatus" },
|
||||
{ text: "申请时间", value: "taskCreateAt", width: 300 },
|
||||
{ text: "结束时间", value: "taskFinishAt", width: 300 },
|
||||
{ text: '操作', value: 'action', align: 'center', sortable: false, width: 80, class: 'fixed', cellClass: 'fixed' },
|
||||
],
|
||||
|
||||
@@ -220,9 +221,10 @@
|
||||
const result = await window.jianghuAxios({
|
||||
data: {
|
||||
appData: {
|
||||
pageId: 'taskHistory',
|
||||
pageId: 'taskManagement',
|
||||
actionId: 'selectItemList',
|
||||
actionData: {},
|
||||
where:{taskInitUser: this.userId},
|
||||
orderBy: [{ column: 'operationAt', order: 'desc' }]
|
||||
}
|
||||
}
|
||||
@@ -235,7 +237,8 @@
|
||||
};
|
||||
rows.forEach(row => {
|
||||
row.taskFormInput = JSON.parse(row.taskFormInput);
|
||||
row.operationAt = dayjs(row.operationAt).format('YYYY-MM-DD HH:mm:ss');
|
||||
row.taskCreateAt = row.taskCreateAt && dayjs(row.taskCreateAt).format('YYYY-MM-DD HH:mm:ss');
|
||||
row.taskFinishAt = row.taskFinishAt && dayjs(row.taskFinishAt).format('YYYY-MM-DD HH:mm:ss');
|
||||
row.taskStatus = statusMap[row.taskStatus];
|
||||
});
|
||||
this.tableData = rows;
|
||||
|
||||
Reference in new issue
Block a user