From 594db4f5274caf8c6d89bdd91c871b5c0e0c5a8e Mon Sep 17 00:00:00 2001
From: GuLiMmo <2820890765@qq.com>
Date: Fri, 05 Jan 2024 14:02:57 +0800
Subject: [PATCH] 更新

---
 src/option/evaluate/evaluateTask.js |  178 ++++-------------------------------------------------------
 1 files changed, 13 insertions(+), 165 deletions(-)

diff --git a/src/option/evaluate/evaluateTask.js b/src/option/evaluate/evaluateTask.js
index a407a7d..6b8ac3a 100644
--- a/src/option/evaluate/evaluateTask.js
+++ b/src/option/evaluate/evaluateTask.js
@@ -47,43 +47,13 @@
       minWidth: '120px'
     },
     {
-      label: "任务类别",
-      prop: "taskType",
-      type: "input",
-      minWidth: '100px'
-    },
-    {
-      label: "认定标准描述",
-      prop: "remark",
-      type: "input",
-      hide: true,
-    },
-    {
-      label: "候选人数量",
-      prop: "candidateNum",
-      type: "textarea",
-      span: 24,
-      minWidth: '100px',
-      // prop: {
-      //   label: "title",
-      // },
-      formatter: (row, value) => {
-       return value
-      },
-    },
-    {
-      label: "类型",
+      label: "任务类型",
       prop: 'type',
-      type: 'select',
-      hide: true,
-      dicData: [{
-        label: '个人评优',
-        value: 0,
-      },
-      {
-        label: '部门评优',
-        value: 1,
-      }]
+      type: 'input',
+      minWidth: '120px',
+      formatter: (row, value) => {
+        return value ? '部门评优' : '员工评优'
+      }
     },
     {
       label: "第一轮状态",
@@ -103,12 +73,6 @@
       type: "input",
       minWidth: '170px',
       isSlot: true
-    },
-    {
-      label: "评优数量",
-      prop: "evaluateNum",
-      type: "input",
-      minWidth: '100px'
     },
     {
       label: "第二轮状态",
@@ -213,24 +177,6 @@
   labelWidth: '120',
   column: [
     {
-      label: "主键",
-      prop: "id",
-      type: "input",
-      addDisplay: false,
-      editDisplay: false,
-      viewDisplay: false,
-      hide: true,
-    },
-    {
-      label: "租户ID",
-      prop: "tenantId",
-      type: "input",
-      addDisplay: false,
-      editDisplay: false,
-      viewDisplay: false,
-      hide: true,
-    },
-    {
       label: "任务名称",
       prop: "taskName",
       type: "input",
@@ -238,48 +184,13 @@
       minWidth: '120px'
     },
     {
-      label: "任务类别",
-      prop: "taskType",
-      type: "input",
-      minWidth: '100px'
-    },
-    {
-      label: "认定标准描述",
-      prop: "remark",
-      type: "input",
-      hide: true,
-    },
-    {
-      label: "评定人数量",
-      prop: "candidateNum",
-      type: "textarea",
-      span: 24,
-      minWidth: '100px',
-      slot: 'true',
-      formatter: (row, value) => {
-        
-        return 0
-      },
-    },
-    {
-      label: "类型",
+      label: "任务类型",
       prop: 'type',
-      type: 'select',
-      hide: true,
-      dicData: [{
-        label: '个人评优',
-        value: 0,
-      },
-      {
-        label: '部门评优',
-        value: 1,
-      }]
-    },
-    {
-      label: "评优数量",
-      prop: "evaluateNum",
-      type: "input",
-      minWidth: '100px'
+      type: 'input',
+      minWidth: '120px',
+      formatter: (row, value) => {
+        return value ? '部门评优' : '员工评优'
+      }
     },
     {
       label: "评选状态",
@@ -297,69 +208,6 @@
       label: "截止时间",
       prop: "candidateCutoffTimeEnd",
       minWidth: '200px'
-    },
-    {
-      label: "创建人",
-      prop: "createUser",
-      type: "input",
-      addDisplay: false,
-      editDisplay: false,
-      viewDisplay: false,
-      hide: true,
-    },
-    {
-      label: "创建部门",
-      prop: "createDept",
-      type: "input",
-      addDisplay: false,
-      editDisplay: false,
-      viewDisplay: false,
-      hide: true,
-    },
-    {
-      label: "创建时间",
-      prop: "createTime",
-      type: "input",
-      addDisplay: false,
-      editDisplay: false,
-      viewDisplay: false,
-      hide: true,
-    },
-    {
-      label: "修改人",
-      prop: "updateUser",
-      type: "input",
-      addDisplay: false,
-      editDisplay: false,
-      viewDisplay: false,
-      hide: true,
-    },
-    {
-      label: "修改时间",
-      prop: "updateTime",
-      type: "input",
-      addDisplay: false,
-      editDisplay: false,
-      viewDisplay: false,
-      hide: true,
-    },
-    {
-      label: "状态",
-      prop: "status",
-      type: "input",
-      addDisplay: false,
-      editDisplay: false,
-      viewDisplay: false,
-      hide: true,
-    },
-    {
-      label: "是否已删除",
-      prop: "isDeleted",
-      type: "input",
-      addDisplay: false,
-      editDisplay: false,
-      viewDisplay: false,
-      hide: true,
-    },
+    }
   ]
 }

--
Gitblit v1.9.3