mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-10 11:26:45 +08:00
Merge remote-tracking branch 'origin/develop' into develop
This commit is contained in:
@@ -436,7 +436,8 @@
|
|||||||
src="../assets/images/navleft/review.png"
|
src="../assets/images/navleft/review.png"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<router-link to="/oldsystemmanage">旧版管理员界面</router-link>
|
<a target="_blank" href="https://u-pre.boe.com/web/">旧版管理员界面</a>
|
||||||
|
<!-- <router-link target="_blank" to="/oldsystemmanage">旧版管理员界面</router-link> -->
|
||||||
</a-menu-item>
|
</a-menu-item>
|
||||||
<a-menu-item key="sub17" v-if="checkMenu('ReadingClubManage')">
|
<a-menu-item key="sub17" v-if="checkMenu('ReadingClubManage')">
|
||||||
<div class="imgBox">
|
<div class="imgBox">
|
||||||
|
|||||||
@@ -1165,7 +1165,7 @@
|
|||||||
<span style="margin-right: 3px"></span>
|
<span style="margin-right: 3px"></span>
|
||||||
</div>
|
</div>
|
||||||
<div class="b_input">
|
<div class="b_input">
|
||||||
<FJUpload v-model:value="attach" @changevalue="changevalue" />
|
<FJUpload v-model:value="attachName" @changevalue="changevalue" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -2591,6 +2591,7 @@ export default defineComponent({
|
|||||||
imgList: [],
|
imgList: [],
|
||||||
validated: 0,
|
validated: 0,
|
||||||
attach: "",
|
attach: "",
|
||||||
|
attachName: "",
|
||||||
pageSize2: 10,
|
pageSize2: 10,
|
||||||
currentPage2: 0,
|
currentPage2: 0,
|
||||||
tableDataTotal2: 0,
|
tableDataTotal2: 0,
|
||||||
@@ -3746,7 +3747,8 @@ export default defineComponent({
|
|||||||
: (str += arrss[i].slice(arrss[i].lastIndexOf("/") + 1) + ",");
|
: (str += arrss[i].slice(arrss[i].lastIndexOf("/") + 1) + ",");
|
||||||
}
|
}
|
||||||
console.log(str);
|
console.log(str);
|
||||||
state.attach = str;
|
state.attachName = str;
|
||||||
|
state.attach = item.attach;
|
||||||
|
|
||||||
state.xjkkinputV3 = [
|
state.xjkkinputV3 = [
|
||||||
dayjs(item.beginTime, "YYYY-MM-DD HH:mm"),
|
dayjs(item.beginTime, "YYYY-MM-DD HH:mm"),
|
||||||
|
|||||||
@@ -357,12 +357,22 @@
|
|||||||
<span style="margin-right: 14px">内容标签</span>
|
<span style="margin-right: 14px">内容标签</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="item_inp">
|
<div class="item_inp">
|
||||||
|
|
||||||
|
<div
|
||||||
|
style="cursor: pointer"
|
||||||
|
@click="handleTagChange"
|
||||||
|
>
|
||||||
<a-input
|
<a-input
|
||||||
v-model:value="tags_val_single"
|
v-model:value="tags_val_single"
|
||||||
style="width: 440px; height: 40px; border-radius: 8px"
|
style="width: 440px; height: 40px; border-radius: 8px"
|
||||||
placeholder="请输入内容标签按回车键添加内容标签,可添加多个内容标签。"
|
placeholder="请输入内容标签按回车键添加内容标签,可添加多个内容标签。"
|
||||||
@pressEnter="handleTagChange"
|
@pressEnter="handleTagChange"
|
||||||
/>
|
/>
|
||||||
|
<img
|
||||||
|
style="width: 20px; height: 20px;margin-left: 20px; "
|
||||||
|
src="../../assets/images/courseManage/add1.png"
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
<div class="tag-content">
|
<div class="tag-content">
|
||||||
<a-tag
|
<a-tag
|
||||||
v-for="(item, index) in tags_val"
|
v-for="(item, index) in tags_val"
|
||||||
|
|||||||
@@ -2653,8 +2653,8 @@ export default {
|
|||||||
let codeUrl = "";
|
let codeUrl = "";
|
||||||
// 在线课 停用 -- 暂时没有在线课停用标记
|
// 在线课 停用 -- 暂时没有在线课停用标记
|
||||||
if (item.type == 1) {
|
if (item.type == 1) {
|
||||||
if (item.taskStatus == 1 || item.taskStatus == 2)
|
// if (item.taskStatus == 1 || item.taskStatus == 2)
|
||||||
return message.error("该任务无法学习,请联系管理员进行替换。");
|
// return message.error("该任务无法学习,请联系管理员进行替换。");
|
||||||
codeUrl =
|
codeUrl =
|
||||||
window.location.protocol +
|
window.location.protocol +
|
||||||
process.env.VUE_APP_ONLINE_CLASS_URL +
|
process.env.VUE_APP_ONLINE_CLASS_URL +
|
||||||
@@ -2664,8 +2664,8 @@ export default {
|
|||||||
let date1 = new Date(item.endTime).getTime();
|
let date1 = new Date(item.endTime).getTime();
|
||||||
let date2 = new Date().getTime();
|
let date2 = new Date().getTime();
|
||||||
if (date1 < date2) return message.warning("当前面授课已结束");
|
if (date1 < date2) return message.warning("当前面授课已结束");
|
||||||
if (item.taskStatus == 1 || item.taskStatus == 2)
|
// if (item.taskStatus == 1 || item.taskStatus == 2)
|
||||||
return message.error("该任务无法学习,请联系管理员进行替换。");
|
// return message.error("该任务无法学习,请联系管理员进行替换。");
|
||||||
codeUrl =
|
codeUrl =
|
||||||
window.location.protocol +
|
window.location.protocol +
|
||||||
process.env.VUE_APP_H5 +
|
process.env.VUE_APP_H5 +
|
||||||
@@ -2690,8 +2690,8 @@ export default {
|
|||||||
}
|
}
|
||||||
// 考试 停用
|
// 考试 停用
|
||||||
if (item.type == 5) {
|
if (item.type == 5) {
|
||||||
if (item.taskStatus == 1 || item.taskStatus == 2)
|
// if (item.taskStatus == 1 || item.taskStatus == 2)
|
||||||
return message.error("该任务无法学习,请联系管理员进行替换。");
|
// return message.error("该任务无法学习,请联系管理员进行替换。");
|
||||||
// 此处判断外部考试跳转
|
// 此处判断外部考试跳转
|
||||||
if (item.startTime == null || item.endTime == null) {
|
if (item.startTime == null || item.endTime == null) {
|
||||||
codeUrl =
|
codeUrl =
|
||||||
|
|||||||
@@ -4606,19 +4606,19 @@ export default {
|
|||||||
let codeUrl = "";
|
let codeUrl = "";
|
||||||
// 在线课 停用 -- 暂时没有在线课停用标记
|
// 在线课 停用 -- 暂时没有在线课停用标记
|
||||||
if (item.type == 1) {
|
if (item.type == 1) {
|
||||||
if (item.taskStatus == 1 || item.taskStatus == 2)
|
// if (item.taskStatus == 1 || item.taskStatus == 2)
|
||||||
return message.error("该任务无法学习,请联系管理员进行替换。");
|
// return message.error("该任务无法学习,请联系管理员进行替换。");
|
||||||
codeUrl =
|
codeUrl =
|
||||||
window.location.protocol +
|
window.location.protocol +
|
||||||
process.env.VUE_APP_ONLINE_CLASS_URL +
|
process.env.VUE_APP_ONLINE_CLASS_URL +
|
||||||
item.targetId;
|
item.courseId;
|
||||||
}
|
}
|
||||||
if (item.type == 2) {
|
if (item.type == 2) {
|
||||||
let date1 = new Date(item.endTime).getTime();
|
let date1 = new Date(item.endTime).getTime();
|
||||||
let date2 = new Date().getTime();
|
let date2 = new Date().getTime();
|
||||||
if (date1 < date2) return message.warning("当前面授课已结束");
|
if (date1 < date2) return message.warning("当前面授课已结束");
|
||||||
if (item.taskStatus == 1 || item.taskStatus == 2)
|
// if (item.taskStatus == 1 || item.taskStatus == 2)
|
||||||
return message.error("该任务无法学习,请联系管理员进行替换。");
|
// return message.error("该任务无法学习,请联系管理员进行替换。");
|
||||||
codeUrl =
|
codeUrl =
|
||||||
window.location.protocol +
|
window.location.protocol +
|
||||||
process.env.VUE_APP_H5 +
|
process.env.VUE_APP_H5 +
|
||||||
@@ -4642,8 +4642,8 @@ export default {
|
|||||||
}
|
}
|
||||||
// 考试 停用
|
// 考试 停用
|
||||||
if (item.type == 5) {
|
if (item.type == 5) {
|
||||||
if (item.taskStatus == 1 || item.taskStatus == 2)
|
// if (item.taskStatus == 1 || item.taskStatus == 2)
|
||||||
return message.error("该任务无法学习,请联系管理员进行替换。");
|
// return message.error("该任务无法学习,请联系管理员进行替换。");
|
||||||
// 此处判断外部考试跳转
|
// 此处判断外部考试跳转
|
||||||
if (item.startTime == null || item.endTime == null) {
|
if (item.startTime == null || item.endTime == null) {
|
||||||
codeUrl =
|
codeUrl =
|
||||||
|
|||||||
Reference in New Issue
Block a user