From 00268f512f126d2f4f5f5ff27c41b5384a310be2 Mon Sep 17 00:00:00 2001 From: yujialong <479214531@qq.com> Date: Mon, 14 Feb 2022 17:37:07 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=9E=E9=AA=8C=E6=8A=A5=E5=91=8A=E7=AD=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/index.js | 2 +- src/assets/img/report1.png | Bin 0 -> 201 bytes src/assets/img/report2.png | Bin 0 -> 340 bytes src/assets/img/report3.png | Bin 0 -> 402 bytes src/assets/img/report4.png | Bin 0 -> 389 bytes src/assets/img/report5.png | Bin 0 -> 563 bytes src/pages/account/login/index.vue | 11 +- src/pages/info/details/index.vue | 1 + src/pages/record/details/index.vue | 1 - src/pages/record/show/index.vue | 448 ++++++++++++----------------- src/router/permission.js | 6 +- src/styles/common.scss | 9 +- 12 files changed, 195 insertions(+), 283 deletions(-) create mode 100644 src/assets/img/report1.png create mode 100644 src/assets/img/report2.png create mode 100644 src/assets/img/report3.png create mode 100644 src/assets/img/report4.png create mode 100644 src/assets/img/report5.png diff --git a/src/api/index.js b/src/api/index.js index 17ea5a8..4ad0e9b 100644 --- a/src/api/index.js +++ b/src/api/index.js @@ -77,7 +77,7 @@ export default { queryProvince: `${host}nakadai/nakadai/province/queryProvince`, //查询省份 queryCity: `${host}nakadai/nakadai/city/queryCity`, //查询城市 - querySchoolData: `${host}nakadai/nakadai/school/querySchool`, //根据学校名称查询学校信息 + querySchool: `${host}nakadai/nakadai/school/querySchool`, //根据学校名称查询学校信息 queryCourseDiscipline: `${host}nakadai/nakadai/subject/courseDiscipline`, //查询课程学科 queryCourseProfessionalClass: `${host}nakadai/nakadai/subject/courseProfessionalClass`, //查询专业类 queryCourseProfessional: `${host}nakadai/nakadai/subject/courseProfessional`, //查询专业 diff --git a/src/assets/img/report1.png b/src/assets/img/report1.png new file mode 100644 index 0000000000000000000000000000000000000000..6f9ed93d9ebaaa8f3546154eda34c2487b3c11fb GIT binary patch literal 201 zcmeAS@N?(olHy`uVBq!ia0vp^5+KaM1|%Pp+x`GjjKx9jP7LeL$-D$|nmt_{Lp;2b zQx+H|EZO*z=kU#@UH|`k^6gV|>k&98>r%4ifgCgQ;Ygc(hA9aN0gR_7zihtA;s-j1!PC{xWt~$(69BY$M+X1^ literal 0 HcmV?d00001 diff --git a/src/assets/img/report2.png b/src/assets/img/report2.png new file mode 100644 index 0000000000000000000000000000000000000000..4611672854956b123f1b321685775c0ed6919de2 GIT binary patch literal 340 zcmV-a0jvIrP)Px$4oO5oR7gwRmAy^^K@>*M-Gs*0Mk%bQXsme#c>xm>3lbVjN(n!kNJDR>iFPK| zJ_0^~t)Vg@HkNd_pAi!hVHRd*vJKPj-FxOc^JkPitmOXeE1<7;M6IB{DXDGz<5tv@ z3O4^MPi>>04C&5vCf+C9%q)5y$-f}pn zz(K5{dlK4CfOte)!~*;!1u61xAAAn{5zz^ZSG2q!8%}C4K!}7f#x*mHV@70ju(jJb z2q3;NE=ld>->e5}lJNi>#_XaA-<)$}A5JBGogki8$_gZy0?#CL8Q5a$Dz{ZxDidd< mR$s5(*B8xy=kKg6UC|FPf?XMHxfH$t0000Px$Oi4sRR7gwZmAx(mVHAd+Gt(e(0V=J6R)XkkLn)CJKMBp=fkrY}5{)}hAd$$T zP$HrnBwFhNR4zbairqOfv$Ko|4U0+YsaH?gqs zIsGAlvVnvf^~`wQWM8Jt@BRT$xPx$KS@MER7gwh)G<#KVGzdg-@Au=01HDx=qO3Bu)zfF=&Xpjl0%cL>FADS6R*(T zP*Bj=oR(Jh#86q-Tr4O|C{XwS5N=-rmk>FT-8GhA-5_E&x;h6`|Q#Aed jXv|ykV?d#Km0NTUuFYZ@*MZZw00000NkvXXu0mjfDc`Zm literal 0 HcmV?d00001 diff --git a/src/assets/img/report5.png b/src/assets/img/report5.png new file mode 100644 index 0000000000000000000000000000000000000000..6d71daaa098e314705027d67f2ba8715e99f8b59 GIT binary patch literal 563 zcmV-30?hr1P)Px$?MXyIR7gwZls#w_K@^3*vq3Qa6=D-?j2gs36dOw=7_bm+)JB^Si&%&WScoRG z^X6g1LPQILA*9jR*ocr6B7zqFG$|xeP#Zy1v=UL&@b=2vhoZ2%FUup1PB+ZG=i{6^ zGh&gK7FnPF1>o%f3H`t}zz{QtQM_(7i?}$VtG0xS9l8U!#I@#=)vo5YXD~+h%-fuT~u|yHGsE` zB-H27^@orFkBQig*VonnMcoTHYd(Voi2U0Qegbf(ml@L1{2~AV002ovPDHLkV1ngs B{W<^u literal 0 HcmV?d00001 diff --git a/src/pages/account/login/index.vue b/src/pages/account/login/index.vue index 0345efb..6f2b6f3 100644 --- a/src/pages/account/login/index.vue +++ b/src/pages/account/login/index.vue @@ -15,11 +15,11 @@
  • {{item.label}}
  • - + - + @@ -91,7 +91,6 @@ export default { } ], verificationIMG: "", - activeName: "1", form: { account: "", password: "", @@ -136,14 +135,16 @@ export default { this.verificationIMG = this.api.verification + "?random=" + `${this.form.random}`; }, typeClick(tab) { // 切换标签 + console.log(tab) + this.form.distinguish = tab.id this.form.account = ""; this.$refs.form.clearValidate(); - this.loginRules.account[0].message = tab.index === "1" ? "请输入账号" : "请输入手机号/邮箱"; + this.loginRules.account[0].message = tab.id === "1" ? "请输入账号" : "请输入手机号/邮箱"; }, submitFormLogin() { // 提交登录 this.$refs.form.validate(valid => { if (valid) { - this.form.distinguish = Number(this.activeName); + this.form.distinguish = Number(this.form.distinguish); this.login(this.form).then(() => { let redirect = this.$route.query.redirect ? decodeURIComponent(this.$route.query.redirect) : "/station"; this.$router.replace(redirect); diff --git a/src/pages/info/details/index.vue b/src/pages/info/details/index.vue index 62ad201..6b3fbe9 100644 --- a/src/pages/info/details/index.vue +++ b/src/pages/info/details/index.vue @@ -73,6 +73,7 @@ export default {