From ce9e2cd40451ae99ad95cd4a55eee3da20deb1d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=91=A8=E6=98=9F=E5=AE=87?= <290269163@qq.com> Date: Mon, 22 Aug 2022 17:23:25 +0800 Subject: [PATCH] a --- .../pages/Questionnaires/components/Body.vue | 106 +- Fronts/unpackage/dist/dev/mp-weixin/app.js | 2 +- .../dist/dev/mp-weixin/common/vendor.js | 2698 ++--------------- .../dist/dev/mp-weixin/pages/Course/Course.js | 2 +- .../dev/mp-weixin/pages/Course/Course.wxml | 2 +- .../pages/Course/components/Course.js | 2 +- .../mp-weixin/pages/Percenter/Percenter.js | 2 +- .../mp-weixin/pages/Percenter/Percenter.wxml | 2 +- .../pages/Percenter/Sublayout/loginAva.js | 2 +- .../Percenter/Sublayout/mallFunctions.js | 2 +- .../pages/Percenter/Sublayout/myList.js | 2 +- .../pages/Percenter/Sublayout/myList.wxml | 2 +- .../pages/Percenter/Sublayout/myinfo.js | 2 +- .../pages/Percenter/Sublayout/myinfo.wxml | 2 +- .../pages/Percenter/Sublayout/problem.js | 2 +- .../pages/Percenter/Sublayout/room.js | 8 +- .../dev/mp-weixin/pages/Percenter/contact.js | 2 +- .../pages/Questionnaires/Questionnaires.js | 2 +- .../pages/Questionnaires/Questionnaires.wxml | 2 +- .../mp-weixin/pages/Questionnaires/Record.js | 2 +- .../pages/Questionnaires/Record.wxml | 2 +- .../pages/Questionnaires/components/Body.js | 62 +- .../pages/Questionnaires/components/Body.json | 4 +- .../pages/Questionnaires/components/Body.wxml | 2 +- .../pages/Questionnaires/components/Body.wxss | 20 +- .../pages/Questionnaires/components/Head.js | 4 +- .../dev/mp-weixin/pages/TeLogin/AuLogin.js | 2 +- .../dist/dev/mp-weixin/pages/TeLogin/Login.js | 2 +- .../dist/dev/mp-weixin/pages/index/School.js | 2 +- .../dist/dev/mp-weixin/pages/index/Teather.js | 8 +- .../pages/index/TedentSon/College.js | 2 +- .../pages/index/TedentSon/Headtitle.js | 2 +- .../mp-weixin/pages/index/TedentSon/Menu.js | 2 +- .../mp-weixin/pages/index/TedentSon/Round.js | 2 +- .../mp-weixin/pages/index/TedentSon/Title.js | 2 +- .../dist/dev/mp-weixin/pages/index/book.js | 8 +- .../dist/dev/mp-weixin/pages/index/index.js | 2 +- .../dist/dev/mp-weixin/pages/index/index.wxml | 2 +- .../dist/dev/mp-weixin/pages/index/major.js | 4 +- .../dist/dev/mp-weixin/pages/index/many.js | 2 +- .../dev/mp-weixin/pages/register/Register.js | 2 +- .../mp-weixin/pages/register/updatepass.js | 2 +- .../pages/results/components/Grades.js | 18 +- .../pages/results/components/Grades.wxml | 2 +- .../pages/results/components/Teaching.js | 2 +- .../pages/results/components/Teaching.wxml | 2 +- .../dev/mp-weixin/pages/results/results.js | 2 +- .../dev/mp-weixin/pages/results/results.wxml | 2 +- .../dist/dev/mp-weixin/project.config.json | 29 +- .../uni-card/components/uni-card/uni-card.js | 2 +- .../uni-data-checkbox/uni-data-checkbox.js | 401 --- .../uni-data-checkbox/uni-data-checkbox.json | 6 - .../uni-data-checkbox/uni-data-checkbox.wxml | 1 - .../uni-data-checkbox/uni-data-checkbox.wxss | 255 -- .../components/uni-icons/uni-icons.js | 2 +- .../components/uni-load-more/i18n/index.js | 22 - .../components/uni-load-more/uni-load-more.js | 110 - .../uni-load-more/uni-load-more.json | 4 - .../uni-load-more/uni-load-more.wxml | 1 - .../uni-load-more/uni-load-more.wxss | 156 - .../uni-search-bar/uni-search-bar.js | 2 +- .../uni-search-bar/uni-search-bar.wxml | 2 +- .../components/uni-table/uni-table.js | 2 +- .../uni-table/components/uni-td/uni-td.js | 2 +- .../uni-table/components/uni-th/uni-th.js | 2 +- .../components/uni-tr/table-checkbox.js | 2 +- .../uni-table/components/uni-tr/uni-tr.js | 2 +- .../uni-table/components/uni-tr/uni-tr.wxml | 2 +- 68 files changed, 375 insertions(+), 3644 deletions(-) delete mode 100644 Fronts/unpackage/dist/dev/mp-weixin/uni_modules/uni-data-checkbox/components/uni-data-checkbox/uni-data-checkbox.js delete mode 100644 Fronts/unpackage/dist/dev/mp-weixin/uni_modules/uni-data-checkbox/components/uni-data-checkbox/uni-data-checkbox.json delete mode 100644 Fronts/unpackage/dist/dev/mp-weixin/uni_modules/uni-data-checkbox/components/uni-data-checkbox/uni-data-checkbox.wxml delete mode 100644 Fronts/unpackage/dist/dev/mp-weixin/uni_modules/uni-data-checkbox/components/uni-data-checkbox/uni-data-checkbox.wxss delete mode 100644 Fronts/unpackage/dist/dev/mp-weixin/uni_modules/uni-load-more/components/uni-load-more/i18n/index.js delete mode 100644 Fronts/unpackage/dist/dev/mp-weixin/uni_modules/uni-load-more/components/uni-load-more/uni-load-more.js delete mode 100644 Fronts/unpackage/dist/dev/mp-weixin/uni_modules/uni-load-more/components/uni-load-more/uni-load-more.json delete mode 100644 Fronts/unpackage/dist/dev/mp-weixin/uni_modules/uni-load-more/components/uni-load-more/uni-load-more.wxml delete mode 100644 Fronts/unpackage/dist/dev/mp-weixin/uni_modules/uni-load-more/components/uni-load-more/uni-load-more.wxss diff --git a/Fronts/pages/Questionnaires/components/Body.vue b/Fronts/pages/Questionnaires/components/Body.vue index 3536109..b27e8a3 100644 --- a/Fronts/pages/Questionnaires/components/Body.vue +++ b/Fronts/pages/Questionnaires/components/Body.vue @@ -6,37 +6,38 @@   {{this.Title}} +   {{item.questionnaireQuestion}}   - - - - -   @@ -50,12 +51,13 @@ export default { data() { return { - radioValue:'0', + radioValue: '0', Title: [], Question: [], id: '', optionValue: '', - Options: [] + Options: [], + text:[] } }, onLoad: function(option) { @@ -83,7 +85,7 @@ console.log(this.Question) this.Question.forEach((item) => { this.Title = item.questionnaireTitle; - this.Options = item.optionName.split(","); + this.Options.push(item.optionName.split(',')); }) console.log(this.Title) console.log(this.Options) @@ -94,24 +96,24 @@ }, post() { uni.showToast({ - title: '提交成功!', - }); - uni.request({ - url: 'http://localhost:5003/questionnaireres', - method: 'POST', - data: { - QuestionnaireId: 1, - QuestionnaireQuestionId:1, - OptionId:1, - optionValue:1 - }, - header: { - 'Content-Type': 'application/x-www-form-urlencoded' //自定义请求头信息 - }, - success: (res) => { - console.log(res.data); - } + title: '提交成功!', }); + // uni.request({ + // url: 'https://backendth.flymi.top/questionnaireres', + // method: 'POST', + // data: { + // QuestionnaireId: 1, + // QuestionnaireQuestionId: 1, + // OptionId: 1, + // optionValue: 1 + // }, + // header: { + // 'Content-Type': 'application/x-www-form-urlencoded' //自定义请求头信息 + // }, + // success: (res) => { + // console.log(res.data); + // } + // }); } @@ -120,6 +122,22 @@