mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-13 04:46:46 +08:00
feat:合并
This commit is contained in:
@@ -252,12 +252,12 @@
|
|||||||
</a-menu-item>
|
</a-menu-item>
|
||||||
</a-sub-menu>
|
</a-sub-menu>
|
||||||
|
|
||||||
<a-menu-item key="sub5" v-if="checkMenu('researchmanage')">
|
<!-- <a-menu-item key="sub5" v-if="checkMenu('researchmanage')">
|
||||||
<div class="imgBox">
|
<div class="imgBox">
|
||||||
<img style="width: 16px; height: 16px" src="../assets/images/navleft/system.png"/>
|
<img style="width: 16px; height: 16px" src="../assets/images/navleft/system.png"/>
|
||||||
</div>
|
</div>
|
||||||
<router-link to="/researchmanage">评估管理</router-link>
|
<router-link to="/researchmanage">评估管理</router-link>
|
||||||
</a-menu-item>
|
</a-menu-item> -->
|
||||||
<!-- 2022-12-10注释 后面放开 -->
|
<!-- 2022-12-10注释 后面放开 -->
|
||||||
<!-- <a-menu-item key="sub6" @titleClick="titleClick">
|
<!-- <a-menu-item key="sub6" @titleClick="titleClick">
|
||||||
<div class="imgBox">
|
<div class="imgBox">
|
||||||
|
|||||||
@@ -46,6 +46,7 @@ import {message} from "ant-design-vue";
|
|||||||
import CreateOnline from "@/components/drawers/CreateOnline.vue";
|
import CreateOnline from "@/components/drawers/CreateOnline.vue";
|
||||||
|
|
||||||
const props = defineProps({
|
const props = defineProps({
|
||||||
|
type: Number,
|
||||||
infoType: Number,
|
infoType: Number,
|
||||||
courseSyncFlag: Number,
|
courseSyncFlag: Number,
|
||||||
id: Number,
|
id: Number,
|
||||||
|
|||||||
@@ -14,7 +14,7 @@
|
|||||||
<iframe
|
<iframe
|
||||||
id="iframe"
|
id="iframe"
|
||||||
style="width: 100%; height: 600px"
|
style="width: 100%; height: 600px"
|
||||||
:src="`${iframeUrl}/course/manages?f=choose&ref_id=${props.id}&ref_type=${props.type}`"
|
:src="`${iframeUrl}/course/manages?f=choose&refId=${props.id}&refType=${props.type}`"
|
||||||
name="myframe"
|
name="myframe"
|
||||||
security="restricted"
|
security="restricted"
|
||||||
sandbox="allow-forms allow-scripts allow-same-origin allow-popups"
|
sandbox="allow-forms allow-scripts allow-same-origin allow-popups"
|
||||||
|
|||||||
@@ -107,6 +107,7 @@
|
|||||||
<a-list :data-source="stuValue === 1 ? datascoreg : datascore" :loading="scoreRankLoading">
|
<a-list :data-source="stuValue === 1 ? datascoreg : datascore" :loading="scoreRankLoading">
|
||||||
<template #renderItem="{ item }">
|
<template #renderItem="{ item }">
|
||||||
<div class="item">
|
<div class="item">
|
||||||
|
<div v-if="!isSearchRank">
|
||||||
<div v-if="item.index == 1" class="itemleft">
|
<div v-if="item.index == 1" class="itemleft">
|
||||||
<div class="itemimage">
|
<div class="itemimage">
|
||||||
<img src="../../assets/images/taskpage/gold.png" />
|
<img src="../../assets/images/taskpage/gold.png" />
|
||||||
@@ -128,7 +129,7 @@
|
|||||||
<div v-else class="itemleft">
|
<div v-else class="itemleft">
|
||||||
<div class="elseid">{{ item.index }}</div>
|
<div class="elseid">{{ item.index }}</div>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
<div class="itemcenter">{{ item.name }}</div>
|
<div class="itemcenter">{{ item.name }}</div>
|
||||||
<div class="itemright">{{ item.pointsCountStr }}</div>
|
<div class="itemright">{{ item.pointsCountStr }}</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -428,7 +429,8 @@ export default {
|
|||||||
checkStuId: null,
|
checkStuId: null,
|
||||||
proId: null,
|
proId: null,
|
||||||
startTime: (new Date(new Date(new Date().toLocaleDateString()).getTime())).getTime().toString(),
|
startTime: (new Date(new Date(new Date().toLocaleDateString()).getTime())).getTime().toString(),
|
||||||
scoresum: 0
|
scoresum: 0,
|
||||||
|
isSearchRank: false
|
||||||
});
|
});
|
||||||
const getTableData = () => {
|
const getTableData = () => {
|
||||||
let datas = state.tabledataStu;
|
let datas = state.tabledataStu;
|
||||||
@@ -524,6 +526,11 @@ export default {
|
|||||||
state.datascore = res.data.data;
|
state.datascore = res.data.data;
|
||||||
state.datascoreg = res.data.data;
|
state.datascoreg = res.data.data;
|
||||||
state.scoreRankLoading = false;
|
state.scoreRankLoading = false;
|
||||||
|
if(state.searchRankName==""){
|
||||||
|
state.isSearchRank = false;
|
||||||
|
}else{
|
||||||
|
state.isSearchRank = true;
|
||||||
|
}
|
||||||
}else{
|
}else{
|
||||||
state.datascore = [];
|
state.datascore = [];
|
||||||
state.datascoreg = [];
|
state.datascoreg = [];
|
||||||
|
|||||||
@@ -3971,7 +3971,7 @@ export default defineComponent({
|
|||||||
};
|
};
|
||||||
const handelGuan = (itm) => {
|
const handelGuan = (itm) => {
|
||||||
console.log("开课信息", itm);
|
console.log("开课信息", itm);
|
||||||
state.offcourseId = itm.id;
|
state.offcourseId = itm.offcourseId;
|
||||||
state.offcoursePlanId = itm.id;
|
state.offcoursePlanId = itm.id;
|
||||||
state.studentId = itm.studentId;
|
state.studentId = itm.studentId;
|
||||||
state.studentItem = itm;
|
state.studentItem = itm;
|
||||||
|
|||||||
@@ -332,7 +332,7 @@
|
|||||||
<NameInput
|
<NameInput
|
||||||
placeholder="请输入路径名称"
|
placeholder="请输入路径名称"
|
||||||
v-model:value="pathName"
|
v-model:value="pathName"
|
||||||
v-model:validate="validate"
|
v-model:validated="validated"
|
||||||
:maxlength="20"
|
:maxlength="20"
|
||||||
show-count
|
show-count
|
||||||
:type="3"
|
:type="3"
|
||||||
@@ -414,7 +414,7 @@
|
|||||||
<a-button
|
<a-button
|
||||||
class="samtn btn2"
|
class="samtn btn2"
|
||||||
@click="editLearnPath"
|
@click="editLearnPath"
|
||||||
:loading="confirmLoading"
|
:loading="confirmLoading || validated === 1"
|
||||||
>确定</a-button
|
>确定</a-button
|
||||||
>
|
>
|
||||||
</div>
|
</div>
|
||||||
@@ -1234,7 +1234,7 @@ export default {
|
|||||||
state.confirmLoading = false;
|
state.confirmLoading = false;
|
||||||
return message.warning("未配置H5背景图,请联系管理员!");
|
return message.warning("未配置H5背景图,请联系管理员!");
|
||||||
}
|
}
|
||||||
if (!state.validate) {
|
if (state.validated !== 2) {
|
||||||
message.destroy();
|
message.destroy();
|
||||||
state.confirmLoading = false;
|
state.confirmLoading = false;
|
||||||
message.warning("路径图名称重复");
|
message.warning("路径图名称重复");
|
||||||
@@ -1347,7 +1347,7 @@ export default {
|
|||||||
state.confirmLoading = false;
|
state.confirmLoading = false;
|
||||||
return message.warning("未配置H5背景图,请联系管理员!");
|
return message.warning("未配置H5背景图,请联系管理员!");
|
||||||
}
|
}
|
||||||
if (!state.validate) {
|
if (state.validated !== 2) {
|
||||||
message.destroy();
|
message.destroy();
|
||||||
state.confirmLoading = false;
|
state.confirmLoading = false;
|
||||||
return message.warning("路径图名称重复");
|
return message.warning("路径图名称重复");
|
||||||
|
|||||||
@@ -713,7 +713,7 @@
|
|||||||
v-if="docChecked == true"
|
v-if="docChecked == true"
|
||||||
v-model:file-list="fileList"
|
v-model:file-list="fileList"
|
||||||
name="file"
|
name="file"
|
||||||
action="/manageApi/file/uploadunlimit"
|
:action="process.env.VUE_APP_BASE_API + '/file/uploadunlimit'"
|
||||||
@change="handleChange"
|
@change="handleChange"
|
||||||
>
|
>
|
||||||
<span
|
<span
|
||||||
|
|||||||
@@ -623,7 +623,7 @@
|
|||||||
v-if="attachSwitch == true"
|
v-if="attachSwitch == true"
|
||||||
v-model:file-list="fileList"
|
v-model:file-list="fileList"
|
||||||
name="file"
|
name="file"
|
||||||
action="/manageApi/file/uploadunlimit"
|
:action="process.env.VUE_APP_BASE_API + '/file/uploadunlimit'"
|
||||||
@change="handleChange2"
|
@change="handleChange2"
|
||||||
>
|
>
|
||||||
<span
|
<span
|
||||||
|
|||||||
@@ -1299,7 +1299,7 @@
|
|||||||
v-if="docChecked == true"
|
v-if="docChecked == true"
|
||||||
v-model:file-list="fileList"
|
v-model:file-list="fileList"
|
||||||
name="file"
|
name="file"
|
||||||
action="/manageApi/file/uploadunlimit"
|
:action="process.env.VUE_APP_BASE_API + '/file/uploadunlimit'"
|
||||||
@change="handleChange"
|
@change="handleChange"
|
||||||
>
|
>
|
||||||
<span
|
<span
|
||||||
|
|||||||
Reference in New Issue
Block a user