From 84699297f35a96a9e1f863ad6036ae16bf68f59c Mon Sep 17 00:00:00 2001
From: GuLiMmo <2820890765@qq.com>
Date: Sat, 20 Jan 2024 16:46:03 +0800
Subject: [PATCH] update
---
src/views/evaluate/components/editSectionTask.vue | 28 +++++++++-------------------
1 files changed, 9 insertions(+), 19 deletions(-)
diff --git a/src/views/evaluate/components/editSectionTask.vue b/src/views/evaluate/components/editSectionTask.vue
index 0faacaf..a8405a4 100644
--- a/src/views/evaluate/components/editSectionTask.vue
+++ b/src/views/evaluate/components/editSectionTask.vue
@@ -141,25 +141,15 @@
handler(val) {
if (!val) return
const { id, taskName, evaluateAwards, identificationStandard, pollingPersons, votePersonObjInfo, evaluateCutoffTimeStart, evaluateCutoffTimeEnd } = this.params.data
- // this.form.id = id
- // this.form.taskName = taskName
- // this.form.evaluateAwards = evaluateAwards
- // this.form.identificationStandard = identificationStandard
- // this.form.pollingPersons = pollingPersons.split(',') || []
- // this.form.votePersonObjInfo = JSON.parse(votePersonObjInfo) || []
- // this.form.evaluateCutoffTimeStart = evaluateCutoffTimeStart
- // this.form.evaluateCutoffTimeEnd = evaluateCutoffTimeEnd
- this.form = {
- id,
- taskName,
- evaluateAwards,
- identificationStandard,
- pollingPersons: pollingPersons.split(',') || [],
- votePersonObjInfo: JSON.parse(votePersonObjInfo) || [],
- evaluateCutoffTimeStart,
- evaluateCutoffTimeEnd
- }
- console.log(this.form);
+ this.form.id = id
+ this.form.taskName = taskName
+ this.form.evaluateAwards = evaluateAwards
+ this.form.identificationStandard = identificationStandard
+ this.form.pollingPersons = pollingPersons.split(',') || []
+ this.form.votePersonObjInfo = JSON.parse(votePersonObjInfo) || []
+ this.form.evaluateCutoffTimeStart = evaluateCutoffTimeStart
+ this.form.evaluateCutoffTimeEnd = evaluateCutoffTimeEnd
+ console.log('编辑回显');
},
deep: true
}
--
Gitblit v1.9.3