|
@@ -10,7 +10,8 @@
|
|
|
<view class="bg_color"></view>
|
|
|
<view class="check_ck">
|
|
|
<view class="checked">
|
|
|
- <view class="check_title">{{selObj.eName}}:{{selObj.pName}}-{{selObj.bName}}</view>
|
|
|
+ <!-- {{selObj.pName}}-{{selObj.bName}} -->
|
|
|
+ <view class="check_title">{{selObj.eName}}:{{ selObj.aliasName }}</view>
|
|
|
<view class="again_ck" @click="openLeft()">
|
|
|
<view style="color: #007AFF;font-size: 32rpx;">重新选择</view>
|
|
|
<u-icon name="list" color="#007AFF" size="40"></u-icon>
|
|
@@ -136,7 +137,9 @@
|
|
|
<view class="tylsz" v-for="(item, index) in eList" :key="index" @click="item.id === 0 ? activeAll(1) : active1(item)" :class="item.id === selObj.eId ? 'activeStys':''">{{ item.educationName }}</view>
|
|
|
</view>
|
|
|
<view class="rzs" >
|
|
|
- <view class="tylszB" v-for="(item, index) in bList" :key="index" @click="item.id === 0 ? activeAll(2) : active2(item)" :class="item.id === selObj.bId ? 'activeStys2':''">{{ item.projectName }}-{{ item.businessName }}</view>
|
|
|
+ <!-- {{ item.projectName }}-{{ item.businessName }} -->
|
|
|
+ <view class="tylszB" v-for="(item, index) in bList" :key="index" @click="item.id === 0 ? activeAll(2) : active2(item)"
|
|
|
+ :class="item.id === selObj.bId ? 'activeStys2':''">{{ item.aliasName }}</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
@@ -256,11 +259,13 @@ export default {
|
|
|
});
|
|
|
},
|
|
|
active2(item){
|
|
|
+ console.log('sfsdfg', item)
|
|
|
this.selObj.bId = item.id
|
|
|
this.show = false
|
|
|
this.selObj.pId = item.projectId
|
|
|
this.selObj.bName = item.businessName
|
|
|
this.selObj.pName = item.projectName
|
|
|
+ this.selObj.aliasName = item.aliasName
|
|
|
uni.setStorageSync('eduObj', JSON.stringify(this.selObj));
|
|
|
this.subjectList({businessId:item.id,projectId:item.projectId,educationId:this.selObj.eId})
|
|
|
this.mergeBusiness()
|
|
@@ -269,6 +274,7 @@ export default {
|
|
|
},
|
|
|
businessList(data) {
|
|
|
var self = this;
|
|
|
+ // /app/common/course/business/list
|
|
|
this.$api.businessList(data).then(res => {
|
|
|
if(res.data.code==200){
|
|
|
self.bList = res.data.rows
|
|
@@ -282,6 +288,7 @@ export default {
|
|
|
},
|
|
|
educationList() {
|
|
|
var self = this;
|
|
|
+ // /app/common/course/educationType/list
|
|
|
this.$api.educationTypeList().then(res => {
|
|
|
if(res.data.code==200){
|
|
|
self.eList = res.data.rows
|