From c1cc77ac6b88bd3cf6b4b39efc67e523f7fa0bb1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=BE=89?= <814457906@qq.com> Date: Tue, 9 Apr 2024 11:15:30 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/manage/signRecord/index.vue | 217 ++++++++++++------ .../system/ManuallyCreatingTasks/index.vue | 197 +++++++++++++++- src/views/system/addQuestionnaire/index.vue | 2 - 3 files changed, 336 insertions(+), 80 deletions(-) diff --git a/src/views/manage/signRecord/index.vue b/src/views/manage/signRecord/index.vue index 6e53572..00a7d73 100644 --- a/src/views/manage/signRecord/index.vue +++ b/src/views/manage/signRecord/index.vue @@ -108,47 +108,32 @@ --> - - - - - - - - - - - - - - - - - - - - - - - - - - -
+
+ + + + + + + + + + + + + + + + + + + @@ -158,35 +143,118 @@ -
- - - - - - - - - - - + + + + + + + + + + +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
@@ -273,6 +341,7 @@ export default { /** 查询签约记录列表 */ getList() { this.loading = true; + this.signRecordList = [] listSignRecord(this.queryParams).then(response => { this.signRecordList = response.rows; this.total = response.total; @@ -323,19 +392,19 @@ export default { }, /** 搜索按钮操作 */ handleQuery() { - if (this.intentionalTime.length > 0) { + if (this.intentionalTime?.length > 0) { this.queryParams.intentionalTimeStart = this.intentionalTime[0] this.queryParams.intentionalTimeEnd = this.intentionalTime[1] } - if (this.signTime.length > 0) { + if (this.signTime?.length > 0) { this.queryParams.signTimeStart = this.signTime[0] this.queryParams.signTimeEnd = this.signTime[1] } - if (this.serviceEndTime.length > 0) { + if (this.serviceEndTime?.length > 0) { this.queryParams.serviceEndTimeStart = this.serviceEndTime[0] this.queryParams.serviceEndTimeEnd = this.serviceEndTime[1] } - if (this.submissionTime.length > 0) { + if (this.submissionTime?.length > 0) { this.queryParams.submissionTimeStart = this.submissionTime[0] this.queryParams.submissionTimeEnd = this.submissionTime[1] } diff --git a/src/views/system/ManuallyCreatingTasks/index.vue b/src/views/system/ManuallyCreatingTasks/index.vue index 485f54c..deaf294 100644 --- a/src/views/system/ManuallyCreatingTasks/index.vue +++ b/src/views/system/ManuallyCreatingTasks/index.vue @@ -1,5 +1,90 @@ @@ -8,10 +93,114 @@ export default { name: "ManuallyCreatingTasks", data() { return { - }; + updata: { + routeName: '', + suitRange: '' + }, + formInline: { + taskType: '', + questionExpirationDate: "", + }, + list: [{ + + }, {}], + listindex: 0, + } }, created() { }, - methods: {} + methods: { + clicktimelineitem(item, index) { + this.formInline = item + this.listindex = index + }, + additem(item) { + item.push({ + }) + }, + delitem(item, index) { + this.list.splice(index, 1) + }, + } }; - \ No newline at end of file + + \ No newline at end of file diff --git a/src/views/system/addQuestionnaire/index.vue b/src/views/system/addQuestionnaire/index.vue index 03c3ec7..f0fa224 100644 --- a/src/views/system/addQuestionnaire/index.vue +++ b/src/views/system/addQuestionnaire/index.vue @@ -281,8 +281,6 @@ placeholder="填写问卷时,用户需要在此输入答案" />
- 添加选项