0720打包-仅内网

This commit is contained in:
670788339
2025-07-21 21:53:21 +08:00
parent 00ecb1521a
commit c6a08cf190
5 changed files with 25 additions and 25 deletions

View File

@@ -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>-->
<!-- &lt;!&ndash; <u-button type="primary" @click="addScore()" text="提交评分"></u-button> &ndash;&gt;-->
<!-- </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;
//处理老师数据