diff --git a/src/chart-sub/evaluate/academicReport/capabilityReport.vue b/src/chart-sub/evaluate/academicReport/capabilityReport.vue
index bd4cbd6..ac6a6eb 100644
--- a/src/chart-sub/evaluate/academicReport/capabilityReport.vue
+++ b/src/chart-sub/evaluate/academicReport/capabilityReport.vue
@@ -69,17 +69,17 @@ onLoad((options) => {
pageType.value = +options.type
pageId.value = options.id
- // getAbilityDimension({ ScaleId: pageId.value }).then((resp) => {
- // if (resp.code === 200) {
- // studyRecord.value = resp.result as {
- // description: string
- // title: string
- // linChart: any[]
- // reportItems: any[]
- // hTag: string
- // }
- // }
- // })
+ getAbilityDimension({ ScaleId: pageId.value }).then((resp) => {
+ if (resp.code === 200) {
+ studyRecord.value = resp.result as {
+ description: string
+ title: string
+ linChart: any[]
+ reportItems: any[]
+ hTag: string
+ }
+ }
+ })
})
diff --git a/src/chart-sub/evaluate/academicReport/characterReport.vue b/src/chart-sub/evaluate/academicReport/characterReport.vue
index e8b74d3..64b0cc1 100644
--- a/src/chart-sub/evaluate/academicReport/characterReport.vue
+++ b/src/chart-sub/evaluate/academicReport/characterReport.vue
@@ -85,17 +85,17 @@ onLoad((options) => {
pageType.value = +options.type
pageId.value = options.id
- // getMBTIDimension({ ScaleId: pageId.value }).then((resp) => {
- // if (resp.code === 200) {
- // studyRecord.value = resp.result as {
- // description: string
- // title: string
- // linChart: any
- // reportItem: { mainDomain: string; major: string; occupation: string }
- // hTag: string
- // }
- // }
- // })
+ getMBTIDimension({ ScaleId: pageId.value }).then((resp) => {
+ if (resp.code === 200) {
+ studyRecord.value = resp.result as {
+ description: string
+ title: string
+ linChart: any
+ reportItem: { mainDomain: string; major: string; occupation: string }
+ hTag: string
+ }
+ }
+ })
})
diff --git a/src/chart-sub/evaluate/academicReport/interestReport.vue b/src/chart-sub/evaluate/academicReport/interestReport.vue
index 558f452..8e93f53 100644
--- a/src/chart-sub/evaluate/academicReport/interestReport.vue
+++ b/src/chart-sub/evaluate/academicReport/interestReport.vue
@@ -2,7 +2,7 @@
- 性格测评报告
+ 兴趣测评报告
diff --git a/src/chart-sub/evaluate/academicReport/opinionAboutReport.vue b/src/chart-sub/evaluate/academicReport/opinionAboutReport.vue
index e78b7eb..f8d51ad 100644
--- a/src/chart-sub/evaluate/academicReport/opinionAboutReport.vue
+++ b/src/chart-sub/evaluate/academicReport/opinionAboutReport.vue
@@ -79,17 +79,17 @@ onLoad((options) => {
pageType.value = +options.type
pageId.value = options.id
- // getOpinionAbout({ ScaleId: pageId.value }).then((resp) => {
- // if (resp.code === 200) {
- // studyRecord.value = resp.result as {
- // description: string
- // title: string
- // picCharts: { radars: any[]; indicator: any[] }
- // reportItems: any[]
- // tag: string
- // }
- // }
- // })
+ getOpinionAbout({ ScaleId: pageId.value }).then((resp) => {
+ if (resp.code === 200) {
+ studyRecord.value = resp.result as {
+ description: string
+ title: string
+ picCharts: { radars: any[]; indicator: any[] }
+ reportItems: any[]
+ tag: string
+ }
+ }
+ })
})
diff --git a/src/chart-sub/evaluate/components/AiFooter.vue b/src/chart-sub/evaluate/components/AiFooter.vue
index 640e708..c28f998 100644
--- a/src/chart-sub/evaluate/components/AiFooter.vue
+++ b/src/chart-sub/evaluate/components/AiFooter.vue
@@ -6,7 +6,7 @@
v-if="aiShow"
>
(options: CustomRequestOptions) {
return reject(res)
}
- // 不存在的用户处理
- if (responseData.code === 400) {
- tokenStore.logout()
- uni.navigateTo({ url: LOGIN_PAGE })
- }
-
// 处理其他成功状态(HTTP状态码200-299)
if (res.statusCode >= 200 && res.statusCode < 300) {
// 处理业务逻辑错误
diff --git a/src/pages-sub/about/userInfo.vue b/src/pages-sub/about/userInfo.vue
index c58beb7..093fd8e 100644
--- a/src/pages-sub/about/userInfo.vue
+++ b/src/pages-sub/about/userInfo.vue
@@ -174,19 +174,19 @@ onShow(() => {
+ custom-root-class="pt-[22rpx] pb-[20rpx]" custom-item-class="py-[12rpx] text-center "
+ active-item-class="bg-[#e7f2ff] text-[#1580FF] border-none" @change="visible = false" />
+ custom-root-class="pt-[22rpx] pb-[20rpx]" custom-item-class="py-[12rpx] text-center "
+ active-item-class="bg-[#e7f2ff] text-[#1580FF] border-none" @change="visible = false" />
+ custom-root-class="pt-[22rpx] pb-[20rpx]" custom-item-class="py-[12rpx] text-center "
+ active-item-class="bg-[#e7f2ff] text-[#1580FF] border-none" @change="visible = false" />
diff --git a/src/pages-sub/information/highSchool.vue b/src/pages-sub/information/highSchool.vue
index 5991cc2..c13753f 100644
--- a/src/pages-sub/information/highSchool.vue
+++ b/src/pages-sub/information/highSchool.vue
@@ -119,7 +119,7 @@ const handleComplete = () => {
@@ -127,7 +127,7 @@ const handleComplete = () => {
@@ -136,7 +136,7 @@ const handleComplete = () => {
:options="schoolTypeList" label-key="label" value-key="value"
custom-root-class="px-[32rpx] pt-[30rpx] pb-[40rpx]"
custom-item-class="w-full py-[16rpx] text-center border-[1rpx] border-solid"
- active-item-class="bg-[#e7f2ff] text-[#1580FF] border-[#1580FF]"
+ active-item-class="bg-white text-[#1580FF] border-1 border-solid border-[#1580FF]!"
default-item-class="bg-[#F3F4F8] border-[#F3F4F8]" @change="handleComplete" />
diff --git a/src/pages-sub/information/overTheYear.vue b/src/pages-sub/information/overTheYear.vue
index 1546938..bf56d72 100644
--- a/src/pages-sub/information/overTheYear.vue
+++ b/src/pages-sub/information/overTheYear.vue
@@ -113,8 +113,8 @@ onShow(() => {
}
})
getHistoryYearList().then(resp => {
- if(resp.code ===200){
- yearList.value = [{ value: '', label: '不限' },...resp.result]
+ if (resp.code === 200) {
+ yearList.value = [{ value: '', label: '不限' }, ...resp.result]
}
})
handleChange()
@@ -126,28 +126,28 @@ onShow(() => {
-
+
-
+
+ custom-item-class="w-full py-[16rpx] text-center border-[1rpx] border-solid" @change="handleChange" />
-
+
+ custom-item-class="w-full py-[16rpx] text-center border-[1rpx] border-solid" @change="handleChange" />
@@ -168,6 +168,11 @@ onShow(() => {
:style="{ 'text-align': item.align }">{{ record[item.prop] }}
+
+
+ 暂无数据
+
+
diff --git a/src/pages-sub/information/quota.vue b/src/pages-sub/information/quota.vue
index 141e18d..7cd7713 100644
--- a/src/pages-sub/information/quota.vue
+++ b/src/pages-sub/information/quota.vue
@@ -53,7 +53,7 @@ const handleChange = () => {
onLoad(() => {
getAreaList().then(resp => {
if (resp.code === 200) {
- regions.value = [{label:'不限',value:''},...resp.result]
+ regions.value = [{ label: '不限', value: '' }, ...resp.result]
}
})
handleChange()
@@ -71,8 +71,7 @@ onLoad(() => {
{{ searchParams.regionLabel === '' || searchParams.regionLabel === '不限' ?
'区域' : searchParams.regionLabel }}
-
+
@@ -94,26 +93,23 @@ onLoad(() => {
-
-
-
- 请选择中考所在地
+
+
+
+ 请选择中考所在地
-
-
-
+ active-item-class="bg-white text-[#1580FF] border-1 border-solid border-[#1580FF]!"
+ default-item-class="bg-[#F3F4F8] border-[#F3F4F8]" @change="regionVisible = false" />
-
+
+
diff --git a/src/pages-sub/me/evaluation.vue b/src/pages-sub/me/evaluation.vue
index 8bc3fe8..e7b8e4e 100644
--- a/src/pages-sub/me/evaluation.vue
+++ b/src/pages-sub/me/evaluation.vue
@@ -23,9 +23,9 @@ onShow(() => {
-
+
+ class="text-[30rpx] grid gap-[8rpx] bg-white px-[30rpx] py-[20rpx] rounded-[16rpx] w-full flex items-center justify-between">
{{ val.title }}
@@ -33,7 +33,7 @@ onShow(() => {
{{ val.createTime }}
-
+
diff --git a/src/pages-sub/me/starSchool.vue b/src/pages-sub/me/starSchool.vue
index ceb13d1..f44ae68 100644
--- a/src/pages-sub/me/starSchool.vue
+++ b/src/pages-sub/me/starSchool.vue
@@ -42,9 +42,9 @@ onLoad(() => {
-
-
+
{{ val.schoolName }}
{{ val.schoolType }}
@@ -53,7 +53,7 @@ onLoad(() => {
{{ val.region }}·{{ val.schoolNature }}
-
+
diff --git a/src/pages-sub/me/wishlist.vue b/src/pages-sub/me/wishlist.vue
index d13fb28..6356f33 100644
--- a/src/pages-sub/me/wishlist.vue
+++ b/src/pages-sub/me/wishlist.vue
@@ -37,6 +37,10 @@ const navigateToDetail = (val) => {
uni.navigateTo({url:"/pages-sub/me/wishlistInfo"})
}
+const navigateToWish = () => {
+ uni.navigateTo({url:"/pages-sub/wishlist/create/first"})
+}
+
onShow(() => {
getWishlist().then(resp => {
if (resp.code === 200) {
@@ -48,9 +52,9 @@ onShow(() => {
-
+
+ class="text-[30rpx] grid gap-[8rpx] bg-white px-[30rpx] py-[20rpx] rounded-[16rpx] w-full">
{{ val.title }}
@@ -86,7 +90,7 @@ onShow(() => {
-
+
diff --git a/src/pages-sub/talented/create/artFirst.vue b/src/pages-sub/talented/create/artFirst.vue
index d601328..310dcb7 100644
--- a/src/pages-sub/talented/create/artFirst.vue
+++ b/src/pages-sub/talented/create/artFirst.vue
@@ -235,19 +235,19 @@ onLoad(() => {
:options="genderClassification" label-key="label" value-key="value"
custom-root-cols-class="grid grid-cols-2 items-center gap-[16rpx]"
custom-root-class="pb-[20rpx]" custom-item-class="py-[12rpx] text-center "
- active-item-class="bg-[#e7f2ff] text-[#1580FF] border-none" />
+ active-item-class="bg-[#e7f2ff] text-[#1580FF] border-none" @change="visible = false" />
+ active-item-class="bg-[#e7f2ff] text-[#1580FF] border-none" @change="visible = false" />
+ active-item-class="bg-[#e7f2ff] text-[#1580FF] border-none" @change="visible = false" />
diff --git a/src/pages-sub/talented/create/artSecond.vue b/src/pages-sub/talented/create/artSecond.vue
index 2e1e0d4..a199023 100644
--- a/src/pages-sub/talented/create/artSecond.vue
+++ b/src/pages-sub/talented/create/artSecond.vue
@@ -204,7 +204,7 @@ onLoad(() => {
:options="yearClassification" label-key="label" value-key="label"
custom-root-cols-class="grid grid-cols-3 items-center gap-[16rpx]"
custom-root-class="pb-[20rpx]" custom-item-class="py-[12rpx] text-center "
- active-item-class="bg-[#e7f2ff] text-[#1580FF] border-none" />
+ active-item-class="bg-[#e7f2ff] text-[#1580FF] border-none" @change="visible = false"/>
diff --git a/src/pages-sub/talented/create/sportsFirst.vue b/src/pages-sub/talented/create/sportsFirst.vue
index 53b1b94..c2e72e6 100644
--- a/src/pages-sub/talented/create/sportsFirst.vue
+++ b/src/pages-sub/talented/create/sportsFirst.vue
@@ -34,7 +34,7 @@ const handleBack = () => {
uni.navigateBack({ delta: 1 })
}
-const genderClassification = [{ label: '男', value: 1 }, { label: '女', value: 2 }]
+const genderClassification = [{ label: '男', value: "1" }, { label: '女', value: "2" }]
const gradeClassification = ref([])
const areaList = ref([])
@@ -251,19 +251,19 @@ onShow(() => {
:options="genderClassification" label-key="label" value-key="value"
custom-root-cols-class="grid grid-cols-2 items-center gap-[16rpx]"
custom-root-class="pb-[20rpx]" custom-item-class="py-[12rpx] text-center "
- active-item-class="bg-[#e7f2ff] text-[#1580FF] border-none" />
+ active-item-class="bg-[#e7f2ff] text-[#1580FF] border-none" @change="visible = false" />
+ active-item-class="bg-[#e7f2ff] text-[#1580FF] border-none" @change="visible = false" />
+ active-item-class="bg-[#e7f2ff] text-[#1580FF] border-none" @change="visible = false" />
diff --git a/src/pages-sub/talented/create/sportsSecond.vue b/src/pages-sub/talented/create/sportsSecond.vue
index 24914ff..3796de8 100644
--- a/src/pages-sub/talented/create/sportsSecond.vue
+++ b/src/pages-sub/talented/create/sportsSecond.vue
@@ -252,13 +252,13 @@ onLoad(() => {
:options="projectClassification" label-key="label" value-key="value"
custom-root-cols-class="grid grid-cols-3 items-center gap-[16rpx]" :label-string="true"
custom-root-class="pb-[20rpx]" custom-item-class="py-[12rpx] text-center "
- active-item-class="bg-[#e7f2ff] text-[#1580FF] border-none" />
+ active-item-class="bg-[#e7f2ff] text-[#1580FF] border-none" @change="visible = false"/>
+ active-item-class="bg-[#e7f2ff] text-[#1580FF] border-none" @change="visible = false"/>
diff --git a/src/pages-sub/wishlist/create/components/FirstBatchSchool.vue b/src/pages-sub/wishlist/create/components/FirstBatchSchool.vue
index 652fc78..c1cae76 100644
--- a/src/pages-sub/wishlist/create/components/FirstBatchSchool.vue
+++ b/src/pages-sub/wishlist/create/components/FirstBatchSchool.vue
@@ -17,12 +17,12 @@ const chooseData = ref([])
const wishlistStore = useWishlistStore()
const handleChoose = (val) => {
chooseData.value.splice(0, 1, val.schoolId)
- if(wishlistStore.getSchool()){
+ if (wishlistStore.getSchool()) {
const exitsSchool = JSON.parse(wishlistStore.getSchool())
- const willSchool = exitsSchool.schools.filter((item)=>{item.type !== '指标生'})
- wishlistStore.setSchool(JSON.stringify({schools:[{...val,type:'firstBatch'},...willSchool]}))
- }else{
- wishlistStore.setSchool(JSON.stringify({schools:[{...val,type:'firstBatch'}]}))
+ const willSchool = exitsSchool.schools.filter((item) => { item.type !== '指标生' })
+ wishlistStore.setSchool(JSON.stringify({ schools: [{ ...val, type: 'firstBatch' }, ...willSchool] }))
+ } else {
+ wishlistStore.setSchool(JSON.stringify({ schools: [{ ...val, type: 'firstBatch' }] }))
}
}
@@ -65,7 +65,7 @@ const handleChangeSchool = () => {
}
})
console.log(cwbs.value);
-
+
totalCount.value = Number(resp.result.chongCount) + Number(resp.result.wenCount) + Number(resp.result.baoCount)
})
}
@@ -102,8 +102,7 @@ onLoad(() => {
@click="handleOpenPop('school')">
全部({{ totalCount }})
-
+
@@ -111,8 +110,7 @@ onLoad(() => {
@click="handleOpenPop('nature')">
办学性质
-
+
@@ -120,13 +118,13 @@ onLoad(() => {
@click="handleOpenPop('region')">
所在地区
-
+
-
+
@@ -170,44 +168,41 @@ onLoad(() => {
-
-
-
- {{ popType === 'school' ? '全部学校' : (popType ===
+
+
+
+ {{ popType === 'school' ? '全部学校' : (popType ===
'nature' ? '请选择办学性质' : '请选择所在区(可多选)') }}
-
-
-
-
-
-
-
+
+
+
-
+
取消
- 确定
+ 确定
-
+
diff --git a/src/pages-sub/wishlist/create/components/SecondBatchSchool.vue b/src/pages-sub/wishlist/create/components/SecondBatchSchool.vue
index c54ff1b..b0fc204 100644
--- a/src/pages-sub/wishlist/create/components/SecondBatchSchool.vue
+++ b/src/pages-sub/wishlist/create/components/SecondBatchSchool.vue
@@ -63,8 +63,8 @@ const handleOpenPop = (type: string) => {
}
const handleCancel = () => {
- searchParams.value.region = []
- popVisible.value = false;
+ searchParams.value.region = []
+ popVisible.value = false;
}
@@ -192,49 +192,44 @@ onLoad(() => {
-
-
-
- {{ popType === 'school' ? '全部学校' : (popType === 'nature' ?
+
+
+
+ {{ popType === 'school' ? '全部学校' : (popType === 'nature' ?
'请选择办学性质' : '请选择所在区(可多选)') }}
+
+
+
+
-
-
-
-
-
-
-
-
-
+
取消
-
+
确定
-
+
diff --git a/src/pages-sub/wishlist/create/components/ThirdBatchSchool.vue b/src/pages-sub/wishlist/create/components/ThirdBatchSchool.vue
index 5d8958b..f51af88 100644
--- a/src/pages-sub/wishlist/create/components/ThirdBatchSchool.vue
+++ b/src/pages-sub/wishlist/create/components/ThirdBatchSchool.vue
@@ -34,11 +34,11 @@ const handleChoose = (val) => {
chooseDataMap.set(val.schoolId, val)
}
let tempSchool = []
- chooseDataMap.forEach((val,key)=>{
- tempSchool.push({...val,type:"thirdBatch"})
+ chooseDataMap.forEach((val, key) => {
+ tempSchool.push({ ...val, type: "thirdBatch" })
})
- wishlistStore.setSchool(JSON.stringify({schools:tempSchool}))
+ wishlistStore.setSchool(JSON.stringify({ schools: tempSchool }))
}
const popVisible = ref(false)
@@ -80,13 +80,13 @@ const handleChangeSchool = () => {
}
})
console.log(cwbs.value);
-
+
totalCount.value = Number(resp.result.chongCount) + Number(resp.result.wenCount) + Number(resp.result.baoCount)
})
}
const handleCancel = () => {
- searchParams.value.region = []
- popVisible.value = false;
+ searchParams.value.region = []
+ popVisible.value = false;
}
@@ -115,7 +115,7 @@ onLoad(() => {
- 全部({{ totalCount }})
+ 全部({{ totalCount }})
@@ -179,9 +179,10 @@ onLoad(() => {
-
-
+
+
@@ -190,49 +191,44 @@ onLoad(() => {
-
-
-
- {{ popType === 'school' ? '全部学校' : (popType === 'nature' ?
+
+
+
+ {{ popType === 'school' ? '全部学校' : (popType === 'nature' ?
'请选择办学性质' : '请选择所在区(可多选)') }}
-
+
+
+
+
+
-
-
-
-
-
-
-
-
-
+
取消
-
+
确定
-
+
diff --git a/src/pages-sub/wishlist/create/saveFirstBatchWishList.vue b/src/pages-sub/wishlist/create/saveFirstBatchWishList.vue
index c9280f7..303fffb 100644
--- a/src/pages-sub/wishlist/create/saveFirstBatchWishList.vue
+++ b/src/pages-sub/wishlist/create/saveFirstBatchWishList.vue
@@ -6,7 +6,7 @@ import { storeToRefs } from "pinia"
const wishlistStore = useWishlistStore()
-const {extendWishlist} = storeToRefs(wishlistStore)
+const { extendWishlist } = storeToRefs(wishlistStore)
definePage({
style: {
@@ -19,18 +19,18 @@ const show = ref(false)
const handleSave = () => {
show.value = true
}
-const handleSubmit = () =>{
- saveWishlist({data:{title:wishListName.value,contents:extendWishlist.value.contents,batchName:'第一批次',TotalScore:totalScore.value}}).then(resp => {
- if(resp.code === 200){
+const handleSubmit = () => {
+ saveWishlist({ data: { title: wishListName.value, contents: extendWishlist.value.contents, batchName: '第一批次', TotalScore: totalScore.value } }).then(resp => {
+ if (resp.code === 200) {
show.value = false
wishlistStore.clearExtendWishlist();
- uni.switchTab({url:"/pages/index/index"})
+ uni.switchTab({ url: "/pages/index/index" })
}
})
}
const navigateToHome = () => {
wishlistStore.clearExtendWishlist();
- uni.switchTab({url:"/pages/index/index"})
+ uni.switchTab({ url: "/pages/index/index" })
}
@@ -41,9 +41,9 @@ const totalScore = ref(0)
onShow(() => {
getMyScore().then(resp => {
- if (resp.code === 200 && resp.result) {
- totalScore.value = resp.result.totalScore
- }
+ if (resp.code === 200 && resp.result) {
+ totalScore.value = resp.result.totalScore
+ }
})
})
@@ -61,7 +61,8 @@ onBackPress(() => {
{{ val.schoolName }}
- {{new Date().getFullYear()}}计划招生:{{val.planCount}}人
+ {{ new Date().getFullYear() }}计划招生:{{ val.planCount }}人
+