mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-09 02:46:45 +08:00
Merge branch 'develop' of ssh://gitlab.dongwu-inc.com:10022/BOE/fe-manage into develop
This commit is contained in:
BIN
src/assets/images/navleft/article.png
Normal file
BIN
src/assets/images/navleft/article.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 490 B |
BIN
src/assets/images/navleft/case.png
Normal file
BIN
src/assets/images/navleft/case.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 475 B |
BIN
src/assets/images/navleft/qa.png
Normal file
BIN
src/assets/images/navleft/qa.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 580 B |
BIN
src/assets/images/navleft/review.png
Normal file
BIN
src/assets/images/navleft/review.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 387 B |
BIN
src/assets/images/navleft/test.png
Normal file
BIN
src/assets/images/navleft/test.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 406 B |
@@ -341,6 +341,74 @@ export default {
|
||||
},
|
||||
];
|
||||
}
|
||||
|
||||
if (
|
||||
n.indexOf("/examinationcenter") !== -1 ||
|
||||
n.indexOf("/ExaminationCenter") !== -1
|
||||
) {
|
||||
state.list = [
|
||||
{
|
||||
name: "考试",
|
||||
},
|
||||
{
|
||||
name: "考试管理",
|
||||
},
|
||||
];
|
||||
}
|
||||
if (
|
||||
n.indexOf("/questionmanage") !== -1 ||
|
||||
n.indexOf("/QuestionManage") !== -1
|
||||
) {
|
||||
state.list = [
|
||||
{
|
||||
name: "考试",
|
||||
},
|
||||
{
|
||||
name: "试题管理",
|
||||
},
|
||||
];
|
||||
}
|
||||
if (
|
||||
n.indexOf("/papermanage") !== -1 ||
|
||||
n.indexOf("/PaperManage") !== -1
|
||||
) {
|
||||
state.list = [
|
||||
{
|
||||
name: "考试",
|
||||
},
|
||||
{
|
||||
name: "试卷管理",
|
||||
},
|
||||
];
|
||||
}
|
||||
|
||||
if (
|
||||
n.indexOf("/casemanage") !== -1 ||
|
||||
n.indexOf("/CaseManage") !== -1
|
||||
) {
|
||||
state.list = [
|
||||
{
|
||||
name: "案例管理",
|
||||
},
|
||||
];
|
||||
}
|
||||
if (
|
||||
n.indexOf("/articlemanage") !== -1 ||
|
||||
n.indexOf("/ArticleManage") !== -1
|
||||
) {
|
||||
state.list = [
|
||||
{
|
||||
name: "文章管理",
|
||||
},
|
||||
];
|
||||
}
|
||||
if (n.indexOf("/qamanage") !== -1 || n.indexOf("/QAManage") !== -1) {
|
||||
state.list = [
|
||||
{
|
||||
name: "问答管理",
|
||||
},
|
||||
];
|
||||
}
|
||||
}
|
||||
);
|
||||
|
||||
|
||||
@@ -31,8 +31,8 @@
|
||||
<template #icon>
|
||||
<div class="imgBox">
|
||||
<img
|
||||
style="width: 15px; height: 15px"
|
||||
src="../assets/images/navleft/project.png"
|
||||
style="width: 22px; height: 22px"
|
||||
src="../assets/images/navleft/review.png"
|
||||
/>
|
||||
</div>
|
||||
</template>
|
||||
@@ -212,6 +212,72 @@
|
||||
<span>系统管理</span> -->
|
||||
<!-- <router-link to="/systemmanage">系统管理</router-link> -->
|
||||
<!-- </a-menu-item> -->
|
||||
|
||||
<a-sub-menu key="sub11" @titleClick="titleClick">
|
||||
<template #icon>
|
||||
<div class="imgBox">
|
||||
<img
|
||||
style="width: 16px; height: 16px"
|
||||
src="../assets/images/navleft/test.png"
|
||||
/>
|
||||
</div>
|
||||
</template>
|
||||
<template #title>考试</template>
|
||||
<a-menu-item key="sub11-1">
|
||||
<span
|
||||
:class="{
|
||||
circleActive: selectedKeys[0] === 'sub11-1' ? true : false,
|
||||
circle: selectedKeys[0] === 'sub11-1' ? false : true,
|
||||
}"
|
||||
></span>
|
||||
<router-link to="/questionmanage">试题管理</router-link>
|
||||
</a-menu-item>
|
||||
<a-menu-item key="sub11-2">
|
||||
<span
|
||||
:class="{
|
||||
circleActive: selectedKeys[0] === 'sub11-2' ? true : false,
|
||||
circle: selectedKeys[0] === 'sub11-2' ? false : true,
|
||||
}"
|
||||
></span>
|
||||
<router-link to="/papermanage">试卷管理</router-link>
|
||||
</a-menu-item>
|
||||
<a-menu-item key="sub11-3">
|
||||
<span
|
||||
:class="{
|
||||
circleActive: selectedKeys[0] === 'sub11-3' ? true : false,
|
||||
circle: selectedKeys[0] === 'sub11-3' ? false : true,
|
||||
}"
|
||||
></span>
|
||||
<router-link to="/examinationcenter">考试管理</router-link>
|
||||
</a-menu-item>
|
||||
</a-sub-menu>
|
||||
<a-menu-item key="sub12" @titleClick="titleClick">
|
||||
<div class="imgBox">
|
||||
<img
|
||||
style="width: 20px; height: 20px"
|
||||
src="../assets/images/navleft/case.png"
|
||||
/>
|
||||
</div>
|
||||
<router-link to="/casemanage">案例管理</router-link>
|
||||
</a-menu-item>
|
||||
<a-menu-item key="sub13" @titleClick="titleClick">
|
||||
<div class="imgBox">
|
||||
<img
|
||||
style="width: 20px; height: 20px"
|
||||
src="../assets/images/navleft/article.png"
|
||||
/>
|
||||
</div>
|
||||
<router-link to="/articlemanage">文章管理</router-link>
|
||||
</a-menu-item>
|
||||
<a-menu-item key="sub14" @titleClick="titleClick">
|
||||
<div class="imgBox">
|
||||
<img
|
||||
style="width: 20px; height: 20px"
|
||||
src="../assets/images/navleft/qa.png"
|
||||
/>
|
||||
</div>
|
||||
<router-link to="/qamanage">问答管理</router-link>
|
||||
</a-menu-item>
|
||||
</a-menu>
|
||||
</div>
|
||||
<div
|
||||
@@ -247,7 +313,7 @@
|
||||
</a-menu-item> -->
|
||||
|
||||
<a-menu-item key="sub5" @titleClick="titleClick">
|
||||
<span>评估</span>
|
||||
<router-link to="/researchmanage">评估</router-link>
|
||||
</a-menu-item>
|
||||
<!-- 2022-12-10注释 后面放开 -->
|
||||
<!-- <a-menu-item key="sub6" @titleClick="titleClick">
|
||||
@@ -264,6 +330,19 @@
|
||||
<a-menu-item key="sub9" @titleClick="titleClick">
|
||||
<span>系统</span>
|
||||
</a-menu-item> -->
|
||||
|
||||
<a-menu-item key="sub11" @titleClick="titleClick">
|
||||
<router-link to="/examinationcenter">考试</router-link>
|
||||
</a-menu-item>
|
||||
<a-menu-item key="sub12" @titleClick="titleClick">
|
||||
<router-link to="/casemanage">案例</router-link>
|
||||
</a-menu-item>
|
||||
<a-menu-item key="sub13" @titleClick="titleClick">
|
||||
<router-link to="/articlemanage">文章</router-link>
|
||||
</a-menu-item>
|
||||
<a-menu-item key="sub14" @titleClick="titleClick">
|
||||
<router-link to="/qamanage">问答</router-link>
|
||||
</a-menu-item>
|
||||
</a-menu>
|
||||
</div>
|
||||
</div>
|
||||
@@ -290,6 +369,11 @@ export default {
|
||||
"sub7",
|
||||
"sub8",
|
||||
"sub9",
|
||||
"sub10",
|
||||
"sub11",
|
||||
"sub12",
|
||||
"sub13",
|
||||
"sub14",
|
||||
],
|
||||
openKeys: localStorage.getItem("openKeys")
|
||||
? JSON.parse(localStorage.getItem("openKeys"))
|
||||
@@ -414,6 +498,43 @@ export default {
|
||||
selectedKeys: "sub5",
|
||||
pagename: "评估管理",
|
||||
},
|
||||
|
||||
{
|
||||
href: "/questionmanage",
|
||||
openKeys: "sub11",
|
||||
selectedKeys: "sub11-1",
|
||||
pagename: "试题管理",
|
||||
},
|
||||
{
|
||||
href: "/papermanage",
|
||||
openKeys: "sub11",
|
||||
selectedKeys: "sub11-2",
|
||||
pagename: "试卷管理",
|
||||
},
|
||||
{
|
||||
href: "/examinationcenter",
|
||||
openKeys: "sub11",
|
||||
selectedKeys: "sub11-3",
|
||||
pagename: "考试管理",
|
||||
},
|
||||
{
|
||||
href: "/casemanage",
|
||||
openKeys: "sub12",
|
||||
selectedKeys: "sub12",
|
||||
pagename: "案例管理",
|
||||
},
|
||||
{
|
||||
href: "/articlemanage",
|
||||
openKeys: "sub13",
|
||||
selectedKeys: "sub13",
|
||||
pagename: "文章管理",
|
||||
},
|
||||
{
|
||||
href: "/qamanage",
|
||||
openKeys: "sub14",
|
||||
selectedKeys: "sub14",
|
||||
pagename: "问答管理",
|
||||
},
|
||||
],
|
||||
});
|
||||
|
||||
|
||||
52
src/views/article/ArticleManage.vue
Normal file
52
src/views/article/ArticleManage.vue
Normal file
@@ -0,0 +1,52 @@
|
||||
<!--
|
||||
* @Author: lixg lixg@dongwu-inc.com
|
||||
* @Date: 2022-11-09 09:26:26
|
||||
* @LastEditors: lixg lixg@dongwu-inc.com
|
||||
* @LastEditTime: 2022-12-11 12:01:17
|
||||
* @FilePath: /fe-manage/src/views/courselibrary/CourseManage.vue
|
||||
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
||||
-->
|
||||
<!-- 文章管理页面 -->
|
||||
<!-- sandbox="allow-forms allow-scripts allow-same-origin allow-popups" -->
|
||||
<template>
|
||||
<div class="articleManage">
|
||||
<iframe
|
||||
id="iframe"
|
||||
style="width: 100%; height: 100%"
|
||||
:src="iframeUrl + '/article/manages'"
|
||||
frameborder="0"
|
||||
name="myframe"
|
||||
security="restricted"
|
||||
sandbox="allow-forms allow-scripts allow-same-origin allow-popups"
|
||||
></iframe>
|
||||
</div>
|
||||
</template>
|
||||
<script>
|
||||
import { reactive, toRefs, onMounted } from "vue";
|
||||
import { iframeUrl } from "../../api/method";
|
||||
export default {
|
||||
name: "ArticleManage",
|
||||
|
||||
setup() {
|
||||
const state = reactive({
|
||||
iframeUrl: iframeUrl,
|
||||
});
|
||||
|
||||
onMounted(() => {
|
||||
// console.log("执行");
|
||||
});
|
||||
|
||||
return {
|
||||
...toRefs(state),
|
||||
};
|
||||
},
|
||||
};
|
||||
</script>
|
||||
<style lang="scss">
|
||||
.articleManage {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
</style>
|
||||
52
src/views/case/CaseManage.vue
Normal file
52
src/views/case/CaseManage.vue
Normal file
@@ -0,0 +1,52 @@
|
||||
<!--
|
||||
* @Author: lixg lixg@dongwu-inc.com
|
||||
* @Date: 2022-11-09 09:26:26
|
||||
* @LastEditors: lixg lixg@dongwu-inc.com
|
||||
* @LastEditTime: 2022-12-11 12:01:03
|
||||
* @FilePath: /fe-manage/src/views/courselibrary/CourseManage.vue
|
||||
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
||||
-->
|
||||
<!-- 案例管理页面 -->
|
||||
<!-- sandbox="allow-forms allow-scripts allow-same-origin allow-popups" -->
|
||||
<template>
|
||||
<div class="caseManage">
|
||||
<iframe
|
||||
id="iframe"
|
||||
style="width: 100%; height: 100%"
|
||||
:src="iframeUrl + '/cases/manages'"
|
||||
frameborder="0"
|
||||
name="myframe"
|
||||
security="restricted"
|
||||
sandbox="allow-forms allow-scripts allow-same-origin allow-popups"
|
||||
></iframe>
|
||||
</div>
|
||||
</template>
|
||||
<script>
|
||||
import { reactive, toRefs, onMounted } from "vue";
|
||||
import { iframeUrl } from "../../api/method";
|
||||
export default {
|
||||
name: "CaseManage",
|
||||
|
||||
setup() {
|
||||
const state = reactive({
|
||||
iframeUrl: iframeUrl,
|
||||
});
|
||||
|
||||
onMounted(() => {
|
||||
// console.log("执行");
|
||||
});
|
||||
|
||||
return {
|
||||
...toRefs(state),
|
||||
};
|
||||
},
|
||||
};
|
||||
</script>
|
||||
<style lang="scss">
|
||||
.caseManage {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
</style>
|
||||
@@ -812,6 +812,7 @@
|
||||
handleEdit(record, String(record.courseform));
|
||||
}
|
||||
"
|
||||
style="display: inline-block; margin-left: 20px"
|
||||
>
|
||||
编辑
|
||||
</a>
|
||||
@@ -821,10 +822,12 @@
|
||||
handleCopy(record, String(record.courseform));
|
||||
}
|
||||
"
|
||||
style="display: inline-block; margin-left: 20px"
|
||||
>
|
||||
复制
|
||||
</a>
|
||||
<a-dropdown>
|
||||
<!-- 2022-12-10注释 后面放开 -->
|
||||
<!-- <a-dropdown>
|
||||
<template #overlay>
|
||||
<a-menu>
|
||||
<a-menu-item
|
||||
@@ -879,13 +882,14 @@
|
||||
授权
|
||||
<down-outlined />
|
||||
</a>
|
||||
</a-dropdown>
|
||||
</a-dropdown> -->
|
||||
<a
|
||||
@click="
|
||||
() => {
|
||||
handleDelete(record, String(record.courseform));
|
||||
}
|
||||
"
|
||||
style="display: inline-block; margin-left: 20px"
|
||||
>
|
||||
删除
|
||||
</a>
|
||||
@@ -911,6 +915,7 @@
|
||||
handleRejectExit(record, String(record.courseform));
|
||||
}
|
||||
"
|
||||
style="display: inline-block; margin-left: 20px"
|
||||
>
|
||||
撤回
|
||||
</a>
|
||||
@@ -920,10 +925,12 @@
|
||||
handleCopy(record, String(record.courseform));
|
||||
}
|
||||
"
|
||||
style="display: inline-block; margin-left: 20px"
|
||||
>
|
||||
复制
|
||||
</a>
|
||||
<a-dropdown>
|
||||
<!-- 2022-12-10注释 后面放开 -->
|
||||
<!-- <a-dropdown>
|
||||
<template #overlay>
|
||||
<a-menu>
|
||||
<a-menu-item
|
||||
@@ -978,7 +985,7 @@
|
||||
授权
|
||||
<down-outlined />
|
||||
</a>
|
||||
</a-dropdown>
|
||||
</a-dropdown> -->
|
||||
</span>
|
||||
</template>
|
||||
<template
|
||||
@@ -1002,6 +1009,7 @@
|
||||
handleStart(record, String(record.courseform));
|
||||
}
|
||||
"
|
||||
style="display: inline-block; margin-left: 20px"
|
||||
>
|
||||
开课
|
||||
</a>
|
||||
@@ -1011,6 +1019,7 @@
|
||||
handleLook(record, String(record.courseform));
|
||||
}
|
||||
"
|
||||
style="display: inline-block; margin-left: 20px"
|
||||
>
|
||||
查看
|
||||
</a>
|
||||
@@ -1030,6 +1039,7 @@
|
||||
handleGuan22(record);
|
||||
}
|
||||
"
|
||||
style="display: inline-block; margin-left: 20px"
|
||||
>
|
||||
管理
|
||||
</a>
|
||||
@@ -1039,10 +1049,12 @@
|
||||
handleCopy(record, String(record.courseform));
|
||||
}
|
||||
"
|
||||
style="display: inline-block; margin-left: 20px"
|
||||
>
|
||||
复制
|
||||
</a>
|
||||
<a-dropdown>
|
||||
<!-- 2022-12-10注释 后面放开 -->
|
||||
<!-- <a-dropdown>
|
||||
<template #overlay>
|
||||
<a-menu>
|
||||
<a-menu-item
|
||||
@@ -1097,7 +1109,7 @@
|
||||
授权
|
||||
<down-outlined />
|
||||
</a>
|
||||
</a-dropdown>
|
||||
</a-dropdown> -->
|
||||
<span>
|
||||
<a
|
||||
@click="
|
||||
@@ -1105,6 +1117,7 @@
|
||||
handleStop(record, String(record.courseform));
|
||||
}
|
||||
"
|
||||
style="display: inline-block; margin-left: 20px"
|
||||
>
|
||||
停用
|
||||
</a>
|
||||
@@ -1132,6 +1145,7 @@
|
||||
handleStart(record, String(record.courseform));
|
||||
}
|
||||
"
|
||||
style="display: inline-block; margin-left: 20px"
|
||||
>
|
||||
开课
|
||||
</a>
|
||||
@@ -1141,6 +1155,7 @@
|
||||
handleEdit(record, String(record.courseform));
|
||||
}
|
||||
"
|
||||
style="display: inline-block; margin-left: 20px"
|
||||
>
|
||||
编辑
|
||||
</a>
|
||||
@@ -1160,6 +1175,7 @@
|
||||
handleGuan22(record);
|
||||
}
|
||||
"
|
||||
style="display: inline-block; margin-left: 20px"
|
||||
>
|
||||
管理
|
||||
</a>
|
||||
@@ -1169,10 +1185,12 @@
|
||||
handleCopy(record, String(record.courseform));
|
||||
}
|
||||
"
|
||||
style="display: inline-block; margin-left: 20px"
|
||||
>
|
||||
复制
|
||||
</a>
|
||||
<a-dropdown>
|
||||
<!-- 2022-12-10注释 后面放开 -->
|
||||
<!-- <a-dropdown>
|
||||
<template #overlay>
|
||||
<a-menu>
|
||||
<a-menu-item
|
||||
@@ -1227,13 +1245,14 @@
|
||||
授权
|
||||
<down-outlined />
|
||||
</a>
|
||||
</a-dropdown>
|
||||
</a-dropdown> -->
|
||||
<a
|
||||
@click="
|
||||
() => {
|
||||
handleOpen(record, String(record.courseform));
|
||||
}
|
||||
"
|
||||
style="display: inline-block; margin-left: 20px"
|
||||
>
|
||||
启用
|
||||
</a>
|
||||
@@ -1243,6 +1262,7 @@
|
||||
handleDelete(record, String(record.courseform));
|
||||
}
|
||||
"
|
||||
style="display: inline-block; margin-left: 20px"
|
||||
>
|
||||
删除
|
||||
</a>
|
||||
@@ -1269,6 +1289,7 @@
|
||||
handleEdit(record, String(record.courseform));
|
||||
}
|
||||
"
|
||||
style="display: inline-block; margin-left: 20px"
|
||||
>
|
||||
编辑
|
||||
</a>
|
||||
@@ -1278,10 +1299,12 @@
|
||||
handleCopy(record, String(record.courseform));
|
||||
}
|
||||
"
|
||||
style="display: inline-block; margin-left: 20px"
|
||||
>
|
||||
复制
|
||||
</a>
|
||||
<a-dropdown>
|
||||
<!-- 2022-12-10注释 后面放开 -->
|
||||
<!-- <a-dropdown>
|
||||
<template #overlay>
|
||||
<a-menu>
|
||||
<a-menu-item
|
||||
@@ -1336,13 +1359,14 @@
|
||||
授权
|
||||
<down-outlined />
|
||||
</a>
|
||||
</a-dropdown>
|
||||
</a-dropdown> -->
|
||||
<a
|
||||
@click="
|
||||
() => {
|
||||
handleDelete(record, String(record.courseform));
|
||||
}
|
||||
"
|
||||
style="display: inline-block; margin-left: 20px"
|
||||
>
|
||||
删除
|
||||
</a>
|
||||
@@ -2992,7 +3016,7 @@ const columns1 = [
|
||||
},
|
||||
{
|
||||
title: "操作",
|
||||
width: 300,
|
||||
width: 315,
|
||||
className: "h",
|
||||
dataIndex: "operation",
|
||||
key: "operation",
|
||||
@@ -3449,7 +3473,7 @@ export default defineComponent({
|
||||
// },
|
||||
],
|
||||
currentPage1: 1,
|
||||
tableDataTotal1: 100,
|
||||
tableDataTotal1: -1,
|
||||
pageSize1: 10,
|
||||
|
||||
currentPageTea1: 1,
|
||||
|
||||
@@ -1204,7 +1204,8 @@
|
||||
>
|
||||
复制
|
||||
</a>
|
||||
<a-dropdown>
|
||||
<!-- 2022-12-10注释 后面放开 -->
|
||||
<!-- <a-dropdown>
|
||||
<template #overlay>
|
||||
<a-menu>
|
||||
<a-menu-item
|
||||
@@ -1259,7 +1260,7 @@
|
||||
授权
|
||||
<down-outlined />
|
||||
</a>
|
||||
</a-dropdown>
|
||||
</a-dropdown> -->
|
||||
<a
|
||||
@click="
|
||||
() => {
|
||||
@@ -1302,7 +1303,8 @@
|
||||
>
|
||||
复制
|
||||
</a>
|
||||
<a-dropdown>
|
||||
<!-- 2022-12-10注释 后面放开 -->
|
||||
<!-- <a-dropdown>
|
||||
<template #overlay>
|
||||
<a-menu>
|
||||
<a-menu-item
|
||||
@@ -1357,7 +1359,7 @@
|
||||
授权
|
||||
<down-outlined />
|
||||
</a>
|
||||
</a-dropdown>
|
||||
</a-dropdown> -->
|
||||
</span>
|
||||
</template>
|
||||
<template
|
||||
@@ -1420,7 +1422,8 @@
|
||||
>
|
||||
复制
|
||||
</a>
|
||||
<a-dropdown>
|
||||
<!-- 2022-12-10注释 后面放开 -->
|
||||
<!-- <a-dropdown>
|
||||
<template #overlay>
|
||||
<a-menu>
|
||||
<a-menu-item
|
||||
@@ -1475,7 +1478,7 @@
|
||||
授权
|
||||
<down-outlined />
|
||||
</a>
|
||||
</a-dropdown>
|
||||
</a-dropdown> -->
|
||||
<span>
|
||||
<a
|
||||
@click="
|
||||
@@ -1549,7 +1552,8 @@
|
||||
>
|
||||
复制
|
||||
</a>
|
||||
<a-dropdown>
|
||||
<!-- 2022-12-10注释 后面放开 -->
|
||||
<!-- <a-dropdown>
|
||||
<template #overlay>
|
||||
<a-menu>
|
||||
<a-menu-item
|
||||
@@ -1604,7 +1608,7 @@
|
||||
授权
|
||||
<down-outlined />
|
||||
</a>
|
||||
</a-dropdown>
|
||||
</a-dropdown> -->
|
||||
<a
|
||||
@click="
|
||||
() => {
|
||||
@@ -1657,7 +1661,8 @@
|
||||
>
|
||||
复制
|
||||
</a>
|
||||
<a-dropdown>
|
||||
<!-- 2022-12-10注释 后面放开 -->
|
||||
<!-- <a-dropdown>
|
||||
<template #overlay>
|
||||
<a-menu>
|
||||
<a-menu-item
|
||||
@@ -1712,7 +1717,7 @@
|
||||
授权
|
||||
<down-outlined />
|
||||
</a>
|
||||
</a-dropdown>
|
||||
</a-dropdown> -->
|
||||
<a
|
||||
@click="
|
||||
() => {
|
||||
|
||||
@@ -0,0 +1,52 @@
|
||||
<!--
|
||||
* @Author: lixg lixg@dongwu-inc.com
|
||||
* @Date: 2022-11-09 09:26:26
|
||||
* @LastEditors: lixg lixg@dongwu-inc.com
|
||||
* @LastEditTime: 2022-12-11 11:34:57
|
||||
* @FilePath: /fe-manage/src/views/courselibrary/CourseManage.vue
|
||||
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
||||
-->
|
||||
<!-- 考试管理页面 -->
|
||||
<!-- sandbox="allow-forms allow-scripts allow-same-origin allow-popups" -->
|
||||
<template>
|
||||
<div class="examinationCenter">
|
||||
<iframe
|
||||
id="iframe"
|
||||
style="width: 100%; height: 100%"
|
||||
:src="iframeUrl + '/exam/tests'"
|
||||
frameborder="0"
|
||||
name="myframe"
|
||||
security="restricted"
|
||||
sandbox="allow-forms allow-scripts allow-same-origin allow-popups"
|
||||
></iframe>
|
||||
</div>
|
||||
</template>
|
||||
<script>
|
||||
import { reactive, toRefs, onMounted } from "vue";
|
||||
import { iframeUrl } from "../../api/method";
|
||||
export default {
|
||||
name: "ExaminationCenter",
|
||||
|
||||
setup() {
|
||||
const state = reactive({
|
||||
iframeUrl: iframeUrl,
|
||||
});
|
||||
|
||||
onMounted(() => {
|
||||
// console.log("执行");
|
||||
});
|
||||
|
||||
return {
|
||||
...toRefs(state),
|
||||
};
|
||||
},
|
||||
};
|
||||
</script>
|
||||
<style lang="scss">
|
||||
.examinationCenter {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
</style>
|
||||
|
||||
52
src/views/examination/PaperManage.vue
Normal file
52
src/views/examination/PaperManage.vue
Normal file
@@ -0,0 +1,52 @@
|
||||
<!--
|
||||
* @Author: lixg lixg@dongwu-inc.com
|
||||
* @Date: 2022-11-09 09:26:26
|
||||
* @LastEditors: lixg lixg@dongwu-inc.com
|
||||
* @LastEditTime: 2022-12-11 11:40:16
|
||||
* @FilePath: /fe-manage/src/views/courselibrary/CourseManage.vue
|
||||
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
||||
-->
|
||||
<!-- 试卷管理页面 -->
|
||||
<!-- sandbox="allow-forms allow-scripts allow-same-origin allow-popups" -->
|
||||
<template>
|
||||
<div class="paperManage">
|
||||
<iframe
|
||||
id="iframe"
|
||||
style="width: 100%; height: 100%"
|
||||
:src="iframeUrl + '/exam/papers'"
|
||||
frameborder="0"
|
||||
name="myframe"
|
||||
security="restricted"
|
||||
sandbox="allow-forms allow-scripts allow-same-origin allow-popups"
|
||||
></iframe>
|
||||
</div>
|
||||
</template>
|
||||
<script>
|
||||
import { reactive, toRefs, onMounted } from "vue";
|
||||
import { iframeUrl } from "../../api/method";
|
||||
export default {
|
||||
name: "PaperManage",
|
||||
|
||||
setup() {
|
||||
const state = reactive({
|
||||
iframeUrl: iframeUrl,
|
||||
});
|
||||
|
||||
onMounted(() => {
|
||||
// console.log("执行");
|
||||
});
|
||||
|
||||
return {
|
||||
...toRefs(state),
|
||||
};
|
||||
},
|
||||
};
|
||||
</script>
|
||||
<style lang="scss">
|
||||
.paperManage {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
</style>
|
||||
52
src/views/examination/QuestionManage.vue
Normal file
52
src/views/examination/QuestionManage.vue
Normal file
@@ -0,0 +1,52 @@
|
||||
<!--
|
||||
* @Author: lixg lixg@dongwu-inc.com
|
||||
* @Date: 2022-11-09 09:26:26
|
||||
* @LastEditors: lixg lixg@dongwu-inc.com
|
||||
* @LastEditTime: 2022-12-11 11:40:03
|
||||
* @FilePath: /fe-manage/src/views/courselibrary/CourseManage.vue
|
||||
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
||||
-->
|
||||
<!-- 试题管理页面 -->
|
||||
<!-- sandbox="allow-forms allow-scripts allow-same-origin allow-popups" -->
|
||||
<template>
|
||||
<div class="questionManage">
|
||||
<iframe
|
||||
id="iframe"
|
||||
style="width: 100%; height: 100%"
|
||||
:src="iframeUrl + '/exam/questions'"
|
||||
frameborder="0"
|
||||
name="myframe"
|
||||
security="restricted"
|
||||
sandbox="allow-forms allow-scripts allow-same-origin allow-popups"
|
||||
></iframe>
|
||||
</div>
|
||||
</template>
|
||||
<script>
|
||||
import { reactive, toRefs, onMounted } from "vue";
|
||||
import { iframeUrl } from "../../api/method";
|
||||
export default {
|
||||
name: "QuestionManage",
|
||||
|
||||
setup() {
|
||||
const state = reactive({
|
||||
iframeUrl: iframeUrl,
|
||||
});
|
||||
|
||||
onMounted(() => {
|
||||
// console.log("执行");
|
||||
});
|
||||
|
||||
return {
|
||||
...toRefs(state),
|
||||
};
|
||||
},
|
||||
};
|
||||
</script>
|
||||
<style lang="scss">
|
||||
.questionManage {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
</style>
|
||||
File diff suppressed because it is too large
Load Diff
@@ -179,7 +179,14 @@
|
||||
</div>
|
||||
<div class="inname">项目名称:</div>
|
||||
<div class="in">
|
||||
<NameInput placeholder="请输入项目名称" v-model:value="projectInfo.name" v-model:validate="projectInfo.validate" :maxlength="30" show-count :id="projectInfo.projectId"></NameInput>
|
||||
<NameInput
|
||||
placeholder="请输入项目名称"
|
||||
v-model:value="projectInfo.name"
|
||||
v-model:validate="projectInfo.validate"
|
||||
:maxlength="30"
|
||||
show-count
|
||||
:id="projectInfo.projectId"
|
||||
></NameInput>
|
||||
</div>
|
||||
</div>
|
||||
<div class="name">
|
||||
@@ -685,34 +692,34 @@
|
||||
</div>
|
||||
</a-modal>
|
||||
<!-- 创建项目提示框 -->
|
||||
<!-- <a-modal-->
|
||||
<!-- v-model:visible="reminderModal"-->
|
||||
<!-- :footer="null"-->
|
||||
<!-- :closable="closeBack"-->
|
||||
<!-- wrapClassName="CopyModal"-->
|
||||
<!-- centered="true"-->
|
||||
<!-- >-->
|
||||
<!-- <div class="delete">-->
|
||||
<!-- <div class="del_header"></div>-->
|
||||
<!-- <div class="del_main">-->
|
||||
<!-- <div class="header">-->
|
||||
<!-- <div class="icon"></div>-->
|
||||
<!-- <span>温馨提示</span>-->
|
||||
<!-- <div class="close_exit" @click="closeReminderModal"></div>-->
|
||||
<!-- </div>-->
|
||||
<!-- <div class="body">-->
|
||||
<!-- <div style="margin-left: 60px; margin-right: 60px">-->
|
||||
<!-- 请您根据自身需求选择对应项目类别,多层项目与单层项目操作不同,层级不同-->
|
||||
<!-- </div>-->
|
||||
<!-- </div>-->
|
||||
<!-- <div class="del_btnbox">-->
|
||||
<!-- <div class="del_btn btn2" @click="okReminderModal">-->
|
||||
<!-- <div class="btnText">好的</div>-->
|
||||
<!-- </div>-->
|
||||
<!-- </div>-->
|
||||
<!-- </div>-->
|
||||
<!-- </div>-->
|
||||
<!-- </a-modal>-->
|
||||
<!-- <a-modal-->
|
||||
<!-- v-model:visible="reminderModal"-->
|
||||
<!-- :footer="null"-->
|
||||
<!-- :closable="closeBack"-->
|
||||
<!-- wrapClassName="CopyModal"-->
|
||||
<!-- centered="true"-->
|
||||
<!-- >-->
|
||||
<!-- <div class="delete">-->
|
||||
<!-- <div class="del_header"></div>-->
|
||||
<!-- <div class="del_main">-->
|
||||
<!-- <div class="header">-->
|
||||
<!-- <div class="icon"></div>-->
|
||||
<!-- <span>温馨提示</span>-->
|
||||
<!-- <div class="close_exit" @click="closeReminderModal"></div>-->
|
||||
<!-- </div>-->
|
||||
<!-- <div class="body">-->
|
||||
<!-- <div style="margin-left: 60px; margin-right: 60px">-->
|
||||
<!-- 请您根据自身需求选择对应项目类别,多层项目与单层项目操作不同,层级不同-->
|
||||
<!-- </div>-->
|
||||
<!-- </div>-->
|
||||
<!-- <div class="del_btnbox">-->
|
||||
<!-- <div class="del_btn btn2" @click="okReminderModal">-->
|
||||
<!-- <div class="btnText">好的</div>-->
|
||||
<!-- </div>-->
|
||||
<!-- </div>-->
|
||||
<!-- </div>-->
|
||||
<!-- </div>-->
|
||||
<!-- </a-modal>-->
|
||||
<!-- 项目提交审核弹窗 -->
|
||||
<a-modal
|
||||
v-model:visible="reviewModal"
|
||||
@@ -963,7 +970,7 @@ export default {
|
||||
}
|
||||
if (!state.projectInfo.validate) {
|
||||
message.destroy();
|
||||
message.warning('项目名称重复,请修改名称!');
|
||||
message.warning("项目名称重复,请修改名称!");
|
||||
return;
|
||||
}
|
||||
api.createProject(state.projectInfo).then((res) => {
|
||||
@@ -1489,6 +1496,8 @@ export default {
|
||||
) : (
|
||||
""
|
||||
)}
|
||||
{/**
|
||||
//<!-- 2022-12-10注释 后面放开 -->
|
||||
<div className="tableSelect">
|
||||
<a-select
|
||||
style="width: 50px"
|
||||
@@ -1536,6 +1545,7 @@ export default {
|
||||
</a-select-option>
|
||||
</a-select>
|
||||
</div>
|
||||
*/}
|
||||
{value.record.type === 1 ? (
|
||||
<span
|
||||
className="operation3"
|
||||
|
||||
52
src/views/questionsanswers/QAManage.vue
Normal file
52
src/views/questionsanswers/QAManage.vue
Normal file
@@ -0,0 +1,52 @@
|
||||
<!--
|
||||
* @Author: lixg lixg@dongwu-inc.com
|
||||
* @Date: 2022-11-09 09:26:26
|
||||
* @LastEditors: lixg lixg@dongwu-inc.com
|
||||
* @LastEditTime: 2022-12-11 12:00:41
|
||||
* @FilePath: /fe-manage/src/views/courselibrary/CourseManage.vue
|
||||
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
||||
-->
|
||||
<!-- 问答管理页面 -->
|
||||
<!-- sandbox="allow-forms allow-scripts allow-same-origin allow-popups" -->
|
||||
<template>
|
||||
<div class="qaManage">
|
||||
<iframe
|
||||
id="iframe"
|
||||
style="width: 100%; height: 100%"
|
||||
:src="iframeUrl + '/qa/manages'"
|
||||
frameborder="0"
|
||||
name="myframe"
|
||||
security="restricted"
|
||||
sandbox="allow-forms allow-scripts allow-same-origin allow-popups"
|
||||
></iframe>
|
||||
</div>
|
||||
</template>
|
||||
<script>
|
||||
import { reactive, toRefs, onMounted } from "vue";
|
||||
import { iframeUrl } from "../../api/method";
|
||||
export default {
|
||||
name: "QAManage",
|
||||
|
||||
setup() {
|
||||
const state = reactive({
|
||||
iframeUrl: iframeUrl,
|
||||
});
|
||||
|
||||
onMounted(() => {
|
||||
// console.log("执行");
|
||||
});
|
||||
|
||||
return {
|
||||
...toRefs(state),
|
||||
};
|
||||
},
|
||||
};
|
||||
</script>
|
||||
<style lang="scss">
|
||||
.qaManage {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user