mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-12 04:16:47 +08:00
feat:修改评估二维码
This commit is contained in:
@@ -19,7 +19,7 @@
|
||||
<div v-if="action == 1" class="line"></div>
|
||||
<div
|
||||
class="pubIcon"
|
||||
v-if="(action == 1 || action == 0) && checkPer(permissions,createId)"
|
||||
v-if="(action == 1 || action == 0) && checkPer(permissions, createId)"
|
||||
@click="pubIcon(action)"
|
||||
>
|
||||
<img class="img2" src="../../assets/images/leveladd/pub.png" />
|
||||
@@ -53,7 +53,7 @@
|
||||
<div class="onerow">
|
||||
<div class="taskmain">快速创建路径图详情</div>
|
||||
</div>
|
||||
<div class="second" v-if="checkPer(permissions,createId)">
|
||||
<div class="second" v-if="checkPer(permissions, createId)">
|
||||
<div @click="totask">
|
||||
<div
|
||||
class="taskbox"
|
||||
@@ -331,7 +331,7 @@
|
||||
<router-link
|
||||
:to="{ path: '/leveladddetail', query: { routerId: routerId } }"
|
||||
class="editright"
|
||||
v-if="checkPer(permissions,createId)"
|
||||
v-if="checkPer(permissions, createId)"
|
||||
>
|
||||
<img
|
||||
class="editimg"
|
||||
@@ -578,7 +578,7 @@
|
||||
<a-button
|
||||
type="link"
|
||||
@click="setLevels(record)"
|
||||
v-if="checkPer(permissions,createId)"
|
||||
v-if="checkPer(permissions, createId)"
|
||||
>调整</a-button
|
||||
>
|
||||
</template>
|
||||
@@ -601,7 +601,7 @@
|
||||
class="oneedi"
|
||||
@click="showbtn"
|
||||
v-show="twobtn"
|
||||
v-if="checkPer(permissions,createId)"
|
||||
v-if="checkPer(permissions, createId)"
|
||||
>
|
||||
编辑
|
||||
</div>
|
||||
@@ -692,7 +692,11 @@
|
||||
</div>
|
||||
</a-tab-pane>
|
||||
|
||||
<a-tab-pane key="2" tab="共享文档" v-if="checkPer(permissions,createId)">
|
||||
<a-tab-pane
|
||||
key="2"
|
||||
tab="共享文档"
|
||||
v-if="checkPer(permissions, createId)"
|
||||
>
|
||||
<div class="sametab">
|
||||
<div class="Gcon">
|
||||
<div class="pad"></div>
|
||||
@@ -907,7 +911,7 @@
|
||||
<div class="btn">
|
||||
<button
|
||||
class="sameb btn2"
|
||||
style="cursor: pointer;margin-right: 32px;"
|
||||
style="cursor: pointer; margin-right: 32px"
|
||||
@click="closeChangeModal"
|
||||
>
|
||||
取消
|
||||
@@ -952,7 +956,7 @@
|
||||
<span>请确认是否批量删除学员</span>
|
||||
</div>
|
||||
<div class="del_btnbox">
|
||||
<div class="del_btn btn2" style="margin-right:32px;">
|
||||
<div class="del_btn btn2" style="margin-right: 32px">
|
||||
<div class="btnText" @click="delete_exit">取消</div>
|
||||
</div>
|
||||
<div class="del_btn btn2">
|
||||
@@ -1088,22 +1092,28 @@
|
||||
<time-manage
|
||||
:permissions="permissions"
|
||||
:createId="createId"
|
||||
v-model:Tvisible="visible" :title="showTimeText" />
|
||||
v-model:Tvisible="visible"
|
||||
:title="showTimeText"
|
||||
/>
|
||||
<!-- 考试管理抽屉 -->
|
||||
<test-manage
|
||||
:permissions="permissions"
|
||||
:createId="createId"
|
||||
v-model:TMvisible="TMvisible" :title="showTestText" />
|
||||
v-model:TMvisible="TMvisible"
|
||||
:title="showTestText"
|
||||
/>
|
||||
<!-- 面授管理抽屉 -->
|
||||
<face-manage
|
||||
:permissions="permissions"
|
||||
:createId="createId"
|
||||
v-model:Fvisible="FaceVisivle" />
|
||||
v-model:Fvisible="FaceVisivle"
|
||||
/>
|
||||
<!-- 作业管理抽屉 -->
|
||||
<work-manage
|
||||
:permissions="permissions"
|
||||
:createId="createId"
|
||||
v-model:Wvisible="Wvisible" />
|
||||
v-model:Wvisible="Wvisible"
|
||||
/>
|
||||
</div>
|
||||
<!-- 加载动画 -->
|
||||
<div class="aeLoading" :style="{ display: addLoading ? 'flex' : 'none' }">
|
||||
@@ -1177,7 +1187,9 @@
|
||||
>
|
||||
</div> -->
|
||||
<div class="pubtn">
|
||||
<a-button class="pubtn2" @click="closePub" style="margin-right:32px;">取消</a-button>
|
||||
<a-button class="pubtn2" @click="closePub" style="margin-right: 32px"
|
||||
>取消</a-button
|
||||
>
|
||||
<a-button class="pubtn2" @click="releaseLearnPath">发布</a-button>
|
||||
</div>
|
||||
</div>
|
||||
@@ -1207,7 +1219,11 @@
|
||||
<div class="back">(路径撤回后学员进度保留,发布后可继续学习)</div>
|
||||
</div>
|
||||
<div class="del_btnbox">
|
||||
<div class="del_btn btn2" @click="closeBackModal" style="margin-right:32px;">
|
||||
<div
|
||||
class="del_btn btn2"
|
||||
@click="closeBackModal"
|
||||
style="margin-right: 32px"
|
||||
>
|
||||
<div class="btnText">取消</div>
|
||||
</div>
|
||||
<div class="del_btn btn2" @click="recallPath">
|
||||
@@ -1237,7 +1253,11 @@
|
||||
<span>您确定要复制此路径吗</span>
|
||||
</div>
|
||||
<div class="del_btnbox">
|
||||
<div class="del_btn btn2" @click="closeCopy" style="margin-right:32px;">
|
||||
<div
|
||||
class="del_btn btn2"
|
||||
@click="closeCopy"
|
||||
style="margin-right: 32px"
|
||||
>
|
||||
<div class="btnText">取消</div>
|
||||
</div>
|
||||
<div class="del_btn btn2" @click="sureCopy">
|
||||
@@ -1271,7 +1291,11 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="del_btnbox">
|
||||
<div class="del_btn btn2" @click="closeStopModal" style="margin-right:32px;">
|
||||
<div
|
||||
class="del_btn btn2"
|
||||
@click="closeStopModal"
|
||||
style="margin-right: 32px"
|
||||
>
|
||||
<div class="btnText">取消</div>
|
||||
</div>
|
||||
<div class="del_btn btn2" @click="stopLearnPath">
|
||||
@@ -1456,7 +1480,7 @@ export default {
|
||||
const stuRef = ref();
|
||||
// const store = useStore();
|
||||
const state = reactive({
|
||||
createId:null,
|
||||
createId: null,
|
||||
permissions: "",
|
||||
hasTask: false,
|
||||
stage: [],
|
||||
@@ -1662,10 +1686,11 @@ export default {
|
||||
locationHref:
|
||||
location.href.indexOf("http://") !== -1
|
||||
? "http://43.143.139.204:12016/"
|
||||
: location.href.slice(0, location.href.indexOf("/m")) + process.env.VUE_APP_FILE_PATH,
|
||||
: location.href.slice(0, location.href.indexOf("/m")) +
|
||||
process.env.VUE_APP_FILE_PATH,
|
||||
isreload: true,
|
||||
TaskFaceImpStuvisible: false,
|
||||
uploadAction: process.env.VUE_APP_BASE_API + '/file/uploadunlimit'
|
||||
uploadAction: process.env.VUE_APP_BASE_API + "/file/uploadunlimit",
|
||||
});
|
||||
|
||||
const levelList = reactive({
|
||||
@@ -2746,8 +2771,8 @@ export default {
|
||||
|
||||
// 评估 停用
|
||||
if (item.type == 11) {
|
||||
if (item.taskStatus == 1 || item.taskStatus == 2)
|
||||
return message.error("该任务无法学习,请联系管理员进行替换。");
|
||||
// if (item.taskStatus == 1 || item.taskStatus == 2)
|
||||
// return message.error("该任务无法学习,请联系管理员进行替换。");
|
||||
console.log("item", item);
|
||||
codeUrl =
|
||||
window.location.protocol +
|
||||
@@ -2823,10 +2848,10 @@ export default {
|
||||
const downloadFile = (url) => {
|
||||
console.log(url);
|
||||
window.open(
|
||||
window.location.protocol +
|
||||
process.env.VUE_APP_BOE_API_URL +
|
||||
process.env.VUE_APP_FILE_PATH +
|
||||
url
|
||||
window.location.protocol +
|
||||
process.env.VUE_APP_BOE_API_URL +
|
||||
process.env.VUE_APP_FILE_PATH +
|
||||
url
|
||||
);
|
||||
// if(url){
|
||||
// const filename = '操作指南'
|
||||
|
||||
Reference in New Issue
Block a user