mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-mobile.git
synced 2025-12-09 02:46:46 +08:00
0720打包-仅内网
This commit is contained in:
@@ -412,20 +412,20 @@
|
||||
</u-popup>
|
||||
<interact-share ref="comShare" :data="courseInfo":type="1"></interact-share>
|
||||
</view>
|
||||
<u-popup :show="protocolDialogVisible" mode="center" :closeable="false" :closeOnClickOverlay="false" :round="14" @close="closeDialog">
|
||||
<view class="dlgscore">
|
||||
<view class="dlgscore-top">
|
||||
<view class="dlgscore-title">{{warnTitle}}</view>
|
||||
<view class="dlgscore-desc">{{warn}}</view>
|
||||
</view>
|
||||
<view class="dlgscore-btns">
|
||||
<view class="dlgscore-submit">
|
||||
<text @click="addScore()">确认</text>
|
||||
</view>
|
||||
<!-- <u-button type="primary" @click="addScore()" text="提交评分"></u-button> -->
|
||||
</view>
|
||||
</view>
|
||||
</u-popup>
|
||||
<!-- <u-popup :show="protocolDialogVisible" mode="center" :closeable="false" :closeOnClickOverlay="false" :round="14" @close="closeDialog">-->
|
||||
<!-- <view class="dlgscore">-->
|
||||
<!-- <view class="dlgscore-top">-->
|
||||
<!-- <view class="dlgscore-title">{{warnTitle}}</view>-->
|
||||
<!-- <view class="dlgscore-desc">{{warn}}</view>-->
|
||||
<!-- </view>-->
|
||||
<!-- <view class="dlgscore-btns">-->
|
||||
<!-- <view class="dlgscore-submit">-->
|
||||
<!-- <text @click="addScore()">确认</text>-->
|
||||
<!-- </view>-->
|
||||
<!-- <!– <u-button type="primary" @click="addScore()" text="提交评分"></u-button> –>-->
|
||||
<!-- </view>-->
|
||||
<!-- </view>-->
|
||||
<!-- </u-popup>-->
|
||||
</template>
|
||||
|
||||
<script>
|
||||
@@ -701,14 +701,6 @@
|
||||
apiCourseStudy.studyIndex(this.courseId).then(rs=>{
|
||||
console.log("是这个")
|
||||
if(rs.status != 200) {
|
||||
if (!rs.result.isPermission || (rs.result.isPermission && this.Internet==1)){
|
||||
// this.getInternet()
|
||||
this.renderCourse = true
|
||||
}else{
|
||||
// this.Internet=1;
|
||||
this.renderCourse = false
|
||||
this.protocolDialogVisible=true
|
||||
}
|
||||
uni.hideLoading();
|
||||
uni.showToast({title:rs.message,type:'fail'});
|
||||
//$this.$refs.messager.show({message:rs.message,type:'error'});
|
||||
@@ -724,6 +716,14 @@
|
||||
//$this.$refs.messager.show({message:'十分抱歉,此课程已停用,如需使用,请联系管理员。',type:'error'});
|
||||
return;
|
||||
}
|
||||
if (!rs.result.isPermission || (rs.result.isPermission && this.Internet==1)){
|
||||
// this.getInternet()
|
||||
this.renderCourse = true
|
||||
}else{
|
||||
// this.Internet=1;
|
||||
this.renderCourse = false
|
||||
// this.protocolDialogVisible=true
|
||||
}
|
||||
$this.courseInfo=rs.result.course;
|
||||
//$this.scoreInfo.score=rs.result.course.score;
|
||||
//处理老师数据
|
||||
|
||||
Reference in New Issue
Block a user