From f7570b915083669c6916a621c2cd726586849639 Mon Sep 17 00:00:00 2001 From: MheePooh Date: Tue, 15 Aug 2023 22:43:09 +0700 Subject: [PATCH] fixed comment --- assets/icons/next-survey.svg | 3 + assets/icons/timeline-desktop.svg | 250 +++++++++++++------------- assets/icons/timeline-mobile.svg | 224 +++++++++++------------ components/FormDialog.vue | 13 +- components/PersistProblems.vue | 5 +- components/ProjectDevelopment.vue | 7 +- components/StrategicPlans.vue | 2 +- components/expore/SurveyByKeyword.vue | 2 +- components/landing/NavLinks.vue | 6 +- components/survey/Projects.vue | 7 +- components/survey/Review.vue | 17 +- components/survey/Topic.vue | 5 + components/vote/IdeaVote.vue | 2 +- pages/about/index.vue | 7 +- 14 files changed, 282 insertions(+), 268 deletions(-) create mode 100644 assets/icons/next-survey.svg diff --git a/assets/icons/next-survey.svg b/assets/icons/next-survey.svg new file mode 100644 index 0000000..b012acc --- /dev/null +++ b/assets/icons/next-survey.svg @@ -0,0 +1,3 @@ + + + diff --git a/assets/icons/timeline-desktop.svg b/assets/icons/timeline-desktop.svg index 8fd4a00..4a8529a 100644 --- a/assets/icons/timeline-desktop.svg +++ b/assets/icons/timeline-desktop.svg @@ -1,127 +1,123 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/assets/icons/timeline-mobile.svg b/assets/icons/timeline-mobile.svg index 250be8d..08e3720 100644 --- a/assets/icons/timeline-mobile.svg +++ b/assets/icons/timeline-mobile.svg @@ -1,115 +1,109 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/components/FormDialog.vue b/components/FormDialog.vue index 4f547c6..3224484 100644 --- a/components/FormDialog.vue +++ b/components/FormDialog.vue @@ -111,10 +111,12 @@ export default { async senduser() { const cookieId = this.$cookies.get("uuid"); try { - await this.postTableRow("User-data", [{ - userId: cookieId, - district: `เขต${this.formData.district.th_name}`, - }]); + await this.postTableRow("User-data", [ + { + userId: cookieId, + district: `เขต${this.formData.district.th_name}`, + }, + ]); } catch (e) { // eslint-disable-next-line no-console console.error(e); @@ -134,13 +136,12 @@ export default { try { await this.postTableRow("Survey", arrayForNoco).then(() => { - this.isVoted = true; setTimeout(() => { this.isShowLoading = false; this.setStepSurvey("next"); // this.closeDialog(); }, 2000); - this.$cookies.set("isVoted", "true"); + this.$cookies.set("voted", "true"); }); } catch (e) { // eslint-disable-next-line no-console diff --git a/components/PersistProblems.vue b/components/PersistProblems.vue index 8e3cf7e..757b60b 100644 --- a/components/PersistProblems.vue +++ b/components/PersistProblems.vue @@ -15,11 +15,12 @@

เลือกได้ 1 ข้อ

-

{{ item.issue }}

-
+
diff --git a/components/ProjectDevelopment.vue b/components/ProjectDevelopment.vue index c8c9b43..4a39ad5 100644 --- a/components/ProjectDevelopment.vue +++ b/components/ProjectDevelopment.vue @@ -1,10 +1,5 @@