diff --git a/pages/zyb/fillVolunteer/aiAuto.vue b/pages/zyb/fillVolunteer/aiAuto.vue index 2592cf8..40fd0c9 100644 --- a/pages/zyb/fillVolunteer/aiAuto.vue +++ b/pages/zyb/fillVolunteer/aiAuto.vue @@ -7,15 +7,20 @@ import Request from "@/common/request"; import ImagesConstant from "@/common/ImagesConstant"; let request = new Request() + +const app = getApp() export default { name: "auto", computed: { + app(){ + return app + }, ImagesConstant() { return ImagesConstant }, StaticConstant() { return StaticConstant - } + }, }, data() { return { @@ -66,10 +71,6 @@ export default { this.getMajorList() this.majorCodeArray = [] this.onBatchClose() - }, - /*设置个性偏好*/ - selectSetting(e) { - }, /*选择专业*/ selectMajor(e) { @@ -547,7 +548,7 @@ export default { - {{ StaticConstant.year }}省内计划录取: + {{ app.globalData.StaticConstant.remote.nowYear }}省内计划录取: {{ item.planNum }}人 暂未发布 @@ -555,7 +556,7 @@ export default { - {{ StaticConstant.year }}录取方式: + {{ app.globalData.StaticConstant.remote.nowYear }}录取方式: {{ item.rulesEnrollProbability }} 暂未发布 diff --git a/pages/zyb/fillVolunteer/mockList.vue b/pages/zyb/fillVolunteer/mockList.vue index fa22fd2..ba65d93 100644 --- a/pages/zyb/fillVolunteer/mockList.vue +++ b/pages/zyb/fillVolunteer/mockList.vue @@ -37,7 +37,9 @@ export default { circle: { kcj: 0, jwt: 0, nlq: 0, kbd: 0, },//百分比 modelVale: 0, topFlag: false,//显示回到顶部 - + popupData:{ + text: '', + }, otherMajor: { visible: false, status: 'noMore', @@ -97,7 +99,6 @@ export default { volunteerMap: new Map() },//已填志愿信息 currentEduLevel: '本科', // 当前学历层次 - years: StaticConstant.years, // status: 'more', statusTypes: StaticConstant.loadStatusTypes, @@ -868,8 +869,9 @@ export default { switchEduLevel(level) { this.currentEduLevel = level }, - - + showHistoryInfo(history){ + uni.showToast({ title: `录取方式:${history.rulesEnrollProbability|| ''},\n计算方式:${history.probabilityOperator || ''}`, icon: "none" }); + }, //打开选择其他专业 onOtherMajorOpen(e) { this.otherMajor.nowMajor = { ...e } @@ -1109,14 +1111,14 @@ export default { - + {{ history.year }}年录取最低分: {{ history.admissionLine }}分 - {{ StaticConstant.year }}省内计划录取: + {{ app.globalData.StaticConstant.remote.nowYear }}省内计划录取: {{ item.planNum }}人 暂未发布 @@ -1124,7 +1126,7 @@ export default { - {{ app.globalData.StaticConstant.remote.year }}录取方式1: + {{ app.globalData.StaticConstant.remote.nowYear }}录取方式: {{ item.rulesEnrollProbability }} 暂未发布 @@ -1249,8 +1251,8 @@ export default { - - + + {{ history.year }}年录取最低分: {{ history.admissionLine }}分 @@ -1266,7 +1268,7 @@ export default { - {{ StaticConstant.year }}省内计划录取: + {{ app.globalData.StaticConstant.remote.nowYear }}省内计划录取: {{ otherMajor.nowMajor.planNum }}人 @@ -1277,7 +1279,7 @@ export default { - {{ StaticConstant.year }}录取方式: + {{ app.globalData.StaticConstant.remote.nowYear }}录取方式: {{ otherMajor.nowMajor.rulesEnrollProbability }} @@ -1345,7 +1347,7 @@ export default { - {{ StaticConstant.year }}省内计划录取: + {{ app.globalData.StaticConstant.remote.nowYear }}省内计划录取: {{ item.planNum }}人 暂未发布 @@ -1353,7 +1355,7 @@ export default { - {{ StaticConstant.year }}录取方式: + {{ app.globalData.StaticConstant.remote.nowYear }}录取方式: {{ item.rulesEnrollProbability }} 暂未发布 diff --git a/pages/zyb/fillVolunteer/my-detail.vue b/pages/zyb/fillVolunteer/my-detail.vue index 59d3714..17af71a 100644 --- a/pages/zyb/fillVolunteer/my-detail.vue +++ b/pages/zyb/fillVolunteer/my-detail.vue @@ -57,8 +57,6 @@ export default { volunteerJuniorCollegeList: [],//高职高专 volunteerMap: new Map() },//已填志愿信息 - years: StaticConstant.years, - nowYear: StaticConstant.year, allCollapseItemList: [ {batchLabel: '提前批', batch: '提前批', type: '顺序志愿', max: 1, status: false}, {batchLabel: '本科批', batch: '本科批', type: '平行志愿', max: 64, status: false}, diff --git a/pages/zyb/fillVolunteer/old-detail.vue b/pages/zyb/fillVolunteer/old-detail.vue index b2f1883..3b3300e 100644 --- a/pages/zyb/fillVolunteer/old-detail.vue +++ b/pages/zyb/fillVolunteer/old-detail.vue @@ -50,8 +50,6 @@ export default { volunteerJuniorCollegeList: [],//高职高专 volunteerMap: new Map() },//已填志愿信息 - years: StaticConstant.years, - nowYear: StaticConstant.year, allCollapseItemList: [ { batchLabel: '本科提前批', diff --git a/pages/zyb/login.vue b/pages/zyb/login.vue index 94dd09f..dfcc618 100644 --- a/pages/zyb/login.vue +++ b/pages/zyb/login.vue @@ -1,179 +1,301 @@ - - - diff --git a/pages/zyb/school/detail.vue b/pages/zyb/school/detail.vue index 289cbc1..cafe087 100644 --- a/pages/zyb/school/detail.vue +++ b/pages/zyb/school/detail.vue @@ -532,17 +532,21 @@ export default { - + + + 年份: + {{ item.year || '-' }} + 备注: {{ item.detail || '-' }} + 录取方式: {{ item.rulesEnrollProbability || '未公布' }} diff --git a/pages/zyb/testCultural/detail.vue b/pages/zyb/testCultural/detail.vue index 5fbf23e..bd1cde5 100644 --- a/pages/zyb/testCultural/detail.vue +++ b/pages/zyb/testCultural/detail.vue @@ -8,15 +8,20 @@ import Request from '@/common/request' import ImagesConstant from "@/common/ImagesConstant"; let request = new Request() + +const app = getApp() export default { name: "test-cultural-detail", components: {}, computed: { + app(){ + return app + }, ImagesConstant() { - return ImagesConstant + return ImagesConstant }, StaticConstant() { - return StaticConstant + return StaticConstant } }, data() { @@ -121,7 +126,7 @@ export default { getTestCultural() { request.get(ApiConstant.Major.testCultural, { schoolCode: this.schoolCode, - year: this.year + year: app.globalData.StaticConstant.remote.nowYear }).then(r => { console.log(r) if (r.success) { @@ -131,7 +136,6 @@ export default { }).finally(() => { }); }, - /**/ shareToggle() { uni.share({ provider: "weixin", @@ -154,16 +158,16 @@ export default { - + - + - + {{ schoolInfo.schoolName }} - + {{ schoolInfo.city }} @@ -224,7 +228,7 @@ export default { 专业名称 - {{ majorArray[majorIndex].majorNameAll }} + {{ majorArray[majorIndex].majorName + `[${majorArray[majorIndex].category}]` }} {{majorArray[majorIndex].detail}} diff --git a/pages/zyb/testCultural/index.vue b/pages/zyb/testCultural/index.vue index 3a1ff82..b9a8129 100644 --- a/pages/zyb/testCultural/index.vue +++ b/pages/zyb/testCultural/index.vue @@ -158,11 +158,11 @@ export default { - + - + [{{item.schoolCode}}] diff --git a/pages/zyb/user/detail.vue b/pages/zyb/user/detail.vue index 31ecff5..d1a4b22 100644 --- a/pages/zyb/user/detail.vue +++ b/pages/zyb/user/detail.vue @@ -4,9 +4,13 @@ import ApiConstant from "@/common/ApiConstant"; import Link from "@/pages/extUI/link/link.vue"; import StaticConstant from "../../../common/StaticConstant"; let request = new Request() +let app = getApp() export default { name: "user-index", computed: { + app(){ + return app + }, StaticConstant() { return StaticConstant } @@ -74,7 +78,7 @@ export default { 高考年份 - {{StaticConstant.year}} + {{app.globalData.StaticConstant.remote.nowYear}}