master
lion 1 year ago
parent 9e618d2b03
commit c4cff213a4

@ -43,7 +43,7 @@ const install = (Vue, vm) => {
//
const parameterShow = (params = {}) => vm.$u.get(apiApp.parameterShow, params)
const schoolList = (params = {}) => vm.$u.get(apiApp.schoolList, params)
const schoolList = (params = {}) => vm.$u.post(apiApp.schoolList, params)
const schoolDetail = (params = {}) => vm.$u.get(apiApp.schoolDetail, params)
const area = (params = {}) => vm.$u.get(apiApp.area, params)
const score = (params = {}) => vm.$u.get(apiApp.score, params)

@ -532,7 +532,10 @@ export default {
}
}
if (this.step > 1) {
console.log("this.batches[this.step-2]?.id",this.step,this.batches[this.step-2]['batch_subs'][0].id)
let id = this.batches[this.step-2]?this.batches[this.step-2]['batch_subs'][0].id:''
await this.getBatchSub(this.batches[this.step-2]?.id)
// await this.getBatchSub(id)
}
},
setTitle() {

@ -19,8 +19,9 @@
<view class="area-pick">
<view class="area-pick__title">所在区域</view>
<view class="area-pick__panel">
<!-- ,groups = item.group -->
<view v-for="item in areaList" :key="item.id" class="area-item" @click="form.area_id = item.id">
{{ item.name }}
{{ item.name }}
<u-icon class="area-item__tag" v-if="form.area_id === item.id " name="checkmark-circle-fill" color="#fff" :size="64" />
</view>
</view>
@ -277,6 +278,7 @@ export default {
step: 1,
schoolList: [],
areaList: [],
// groups:'',
form: {
year: new Date().getFullYear().toString(),
area_id: "",
@ -346,7 +348,8 @@ export default {
page: 1,
page_size: 9999,
area_id: this.form.area_id,
from:2
from:2,
// group:this.groups
})
this.schoolList = list.data.map(school => ({
value: school.code,

@ -260,6 +260,13 @@
>
{{ tag }}
</view>
<view
v-if="i.star"
class="list-item__tags--star"
>
{{ i.star }}
</view>
</view>
<view class="list-item__info">
@ -740,6 +747,13 @@ export default {
border-radius: 20rpx;
background-color: rgba(233, 144, 50, 0.2);
padding: 6rpx 18rpx;
}
&--star{
color: #fff;
font-size: 24rpx;
border-radius: 20rpx;
background-color: #4186f2;
padding: 6rpx 18rpx;
}
& > view + view {
margin-left: 10rpx;

Loading…
Cancel
Save