mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-11 03: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>
|
<template #icon>
|
||||||
<div class="imgBox">
|
<div class="imgBox">
|
||||||
<img
|
<img
|
||||||
style="width: 15px; height: 15px"
|
style="width: 22px; height: 22px"
|
||||||
src="../assets/images/navleft/project.png"
|
src="../assets/images/navleft/review.png"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
@@ -212,6 +212,72 @@
|
|||||||
<span>系统管理</span> -->
|
<span>系统管理</span> -->
|
||||||
<!-- <router-link to="/systemmanage">系统管理</router-link> -->
|
<!-- <router-link to="/systemmanage">系统管理</router-link> -->
|
||||||
<!-- </a-menu-item> -->
|
<!-- </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>
|
</a-menu>
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
@@ -247,7 +313,7 @@
|
|||||||
</a-menu-item> -->
|
</a-menu-item> -->
|
||||||
|
|
||||||
<a-menu-item key="sub5" @titleClick="titleClick">
|
<a-menu-item key="sub5" @titleClick="titleClick">
|
||||||
<span>评估</span>
|
<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">
|
||||||
@@ -264,6 +330,19 @@
|
|||||||
<a-menu-item key="sub9" @titleClick="titleClick">
|
<a-menu-item key="sub9" @titleClick="titleClick">
|
||||||
<span>系统</span>
|
<span>系统</span>
|
||||||
</a-menu-item> -->
|
</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>
|
</a-menu>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -290,6 +369,11 @@ export default {
|
|||||||
"sub7",
|
"sub7",
|
||||||
"sub8",
|
"sub8",
|
||||||
"sub9",
|
"sub9",
|
||||||
|
"sub10",
|
||||||
|
"sub11",
|
||||||
|
"sub12",
|
||||||
|
"sub13",
|
||||||
|
"sub14",
|
||||||
],
|
],
|
||||||
openKeys: localStorage.getItem("openKeys")
|
openKeys: localStorage.getItem("openKeys")
|
||||||
? JSON.parse(localStorage.getItem("openKeys"))
|
? JSON.parse(localStorage.getItem("openKeys"))
|
||||||
@@ -414,6 +498,43 @@ export default {
|
|||||||
selectedKeys: "sub5",
|
selectedKeys: "sub5",
|
||||||
pagename: "评估管理",
|
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));
|
handleEdit(record, String(record.courseform));
|
||||||
}
|
}
|
||||||
"
|
"
|
||||||
|
style="display: inline-block; margin-left: 20px"
|
||||||
>
|
>
|
||||||
编辑
|
编辑
|
||||||
</a>
|
</a>
|
||||||
@@ -821,10 +822,12 @@
|
|||||||
handleCopy(record, String(record.courseform));
|
handleCopy(record, String(record.courseform));
|
||||||
}
|
}
|
||||||
"
|
"
|
||||||
|
style="display: inline-block; margin-left: 20px"
|
||||||
>
|
>
|
||||||
复制
|
复制
|
||||||
</a>
|
</a>
|
||||||
<a-dropdown>
|
<!-- 2022-12-10注释 后面放开 -->
|
||||||
|
<!-- <a-dropdown>
|
||||||
<template #overlay>
|
<template #overlay>
|
||||||
<a-menu>
|
<a-menu>
|
||||||
<a-menu-item
|
<a-menu-item
|
||||||
@@ -879,13 +882,14 @@
|
|||||||
授权
|
授权
|
||||||
<down-outlined />
|
<down-outlined />
|
||||||
</a>
|
</a>
|
||||||
</a-dropdown>
|
</a-dropdown> -->
|
||||||
<a
|
<a
|
||||||
@click="
|
@click="
|
||||||
() => {
|
() => {
|
||||||
handleDelete(record, String(record.courseform));
|
handleDelete(record, String(record.courseform));
|
||||||
}
|
}
|
||||||
"
|
"
|
||||||
|
style="display: inline-block; margin-left: 20px"
|
||||||
>
|
>
|
||||||
删除
|
删除
|
||||||
</a>
|
</a>
|
||||||
@@ -911,6 +915,7 @@
|
|||||||
handleRejectExit(record, String(record.courseform));
|
handleRejectExit(record, String(record.courseform));
|
||||||
}
|
}
|
||||||
"
|
"
|
||||||
|
style="display: inline-block; margin-left: 20px"
|
||||||
>
|
>
|
||||||
撤回
|
撤回
|
||||||
</a>
|
</a>
|
||||||
@@ -920,10 +925,12 @@
|
|||||||
handleCopy(record, String(record.courseform));
|
handleCopy(record, String(record.courseform));
|
||||||
}
|
}
|
||||||
"
|
"
|
||||||
|
style="display: inline-block; margin-left: 20px"
|
||||||
>
|
>
|
||||||
复制
|
复制
|
||||||
</a>
|
</a>
|
||||||
<a-dropdown>
|
<!-- 2022-12-10注释 后面放开 -->
|
||||||
|
<!-- <a-dropdown>
|
||||||
<template #overlay>
|
<template #overlay>
|
||||||
<a-menu>
|
<a-menu>
|
||||||
<a-menu-item
|
<a-menu-item
|
||||||
@@ -978,7 +985,7 @@
|
|||||||
授权
|
授权
|
||||||
<down-outlined />
|
<down-outlined />
|
||||||
</a>
|
</a>
|
||||||
</a-dropdown>
|
</a-dropdown> -->
|
||||||
</span>
|
</span>
|
||||||
</template>
|
</template>
|
||||||
<template
|
<template
|
||||||
@@ -1002,6 +1009,7 @@
|
|||||||
handleStart(record, String(record.courseform));
|
handleStart(record, String(record.courseform));
|
||||||
}
|
}
|
||||||
"
|
"
|
||||||
|
style="display: inline-block; margin-left: 20px"
|
||||||
>
|
>
|
||||||
开课
|
开课
|
||||||
</a>
|
</a>
|
||||||
@@ -1011,6 +1019,7 @@
|
|||||||
handleLook(record, String(record.courseform));
|
handleLook(record, String(record.courseform));
|
||||||
}
|
}
|
||||||
"
|
"
|
||||||
|
style="display: inline-block; margin-left: 20px"
|
||||||
>
|
>
|
||||||
查看
|
查看
|
||||||
</a>
|
</a>
|
||||||
@@ -1030,6 +1039,7 @@
|
|||||||
handleGuan22(record);
|
handleGuan22(record);
|
||||||
}
|
}
|
||||||
"
|
"
|
||||||
|
style="display: inline-block; margin-left: 20px"
|
||||||
>
|
>
|
||||||
管理
|
管理
|
||||||
</a>
|
</a>
|
||||||
@@ -1039,10 +1049,12 @@
|
|||||||
handleCopy(record, String(record.courseform));
|
handleCopy(record, String(record.courseform));
|
||||||
}
|
}
|
||||||
"
|
"
|
||||||
|
style="display: inline-block; margin-left: 20px"
|
||||||
>
|
>
|
||||||
复制
|
复制
|
||||||
</a>
|
</a>
|
||||||
<a-dropdown>
|
<!-- 2022-12-10注释 后面放开 -->
|
||||||
|
<!-- <a-dropdown>
|
||||||
<template #overlay>
|
<template #overlay>
|
||||||
<a-menu>
|
<a-menu>
|
||||||
<a-menu-item
|
<a-menu-item
|
||||||
@@ -1097,7 +1109,7 @@
|
|||||||
授权
|
授权
|
||||||
<down-outlined />
|
<down-outlined />
|
||||||
</a>
|
</a>
|
||||||
</a-dropdown>
|
</a-dropdown> -->
|
||||||
<span>
|
<span>
|
||||||
<a
|
<a
|
||||||
@click="
|
@click="
|
||||||
@@ -1105,6 +1117,7 @@
|
|||||||
handleStop(record, String(record.courseform));
|
handleStop(record, String(record.courseform));
|
||||||
}
|
}
|
||||||
"
|
"
|
||||||
|
style="display: inline-block; margin-left: 20px"
|
||||||
>
|
>
|
||||||
停用
|
停用
|
||||||
</a>
|
</a>
|
||||||
@@ -1132,6 +1145,7 @@
|
|||||||
handleStart(record, String(record.courseform));
|
handleStart(record, String(record.courseform));
|
||||||
}
|
}
|
||||||
"
|
"
|
||||||
|
style="display: inline-block; margin-left: 20px"
|
||||||
>
|
>
|
||||||
开课
|
开课
|
||||||
</a>
|
</a>
|
||||||
@@ -1141,6 +1155,7 @@
|
|||||||
handleEdit(record, String(record.courseform));
|
handleEdit(record, String(record.courseform));
|
||||||
}
|
}
|
||||||
"
|
"
|
||||||
|
style="display: inline-block; margin-left: 20px"
|
||||||
>
|
>
|
||||||
编辑
|
编辑
|
||||||
</a>
|
</a>
|
||||||
@@ -1160,6 +1175,7 @@
|
|||||||
handleGuan22(record);
|
handleGuan22(record);
|
||||||
}
|
}
|
||||||
"
|
"
|
||||||
|
style="display: inline-block; margin-left: 20px"
|
||||||
>
|
>
|
||||||
管理
|
管理
|
||||||
</a>
|
</a>
|
||||||
@@ -1169,10 +1185,12 @@
|
|||||||
handleCopy(record, String(record.courseform));
|
handleCopy(record, String(record.courseform));
|
||||||
}
|
}
|
||||||
"
|
"
|
||||||
|
style="display: inline-block; margin-left: 20px"
|
||||||
>
|
>
|
||||||
复制
|
复制
|
||||||
</a>
|
</a>
|
||||||
<a-dropdown>
|
<!-- 2022-12-10注释 后面放开 -->
|
||||||
|
<!-- <a-dropdown>
|
||||||
<template #overlay>
|
<template #overlay>
|
||||||
<a-menu>
|
<a-menu>
|
||||||
<a-menu-item
|
<a-menu-item
|
||||||
@@ -1227,13 +1245,14 @@
|
|||||||
授权
|
授权
|
||||||
<down-outlined />
|
<down-outlined />
|
||||||
</a>
|
</a>
|
||||||
</a-dropdown>
|
</a-dropdown> -->
|
||||||
<a
|
<a
|
||||||
@click="
|
@click="
|
||||||
() => {
|
() => {
|
||||||
handleOpen(record, String(record.courseform));
|
handleOpen(record, String(record.courseform));
|
||||||
}
|
}
|
||||||
"
|
"
|
||||||
|
style="display: inline-block; margin-left: 20px"
|
||||||
>
|
>
|
||||||
启用
|
启用
|
||||||
</a>
|
</a>
|
||||||
@@ -1243,6 +1262,7 @@
|
|||||||
handleDelete(record, String(record.courseform));
|
handleDelete(record, String(record.courseform));
|
||||||
}
|
}
|
||||||
"
|
"
|
||||||
|
style="display: inline-block; margin-left: 20px"
|
||||||
>
|
>
|
||||||
删除
|
删除
|
||||||
</a>
|
</a>
|
||||||
@@ -1269,6 +1289,7 @@
|
|||||||
handleEdit(record, String(record.courseform));
|
handleEdit(record, String(record.courseform));
|
||||||
}
|
}
|
||||||
"
|
"
|
||||||
|
style="display: inline-block; margin-left: 20px"
|
||||||
>
|
>
|
||||||
编辑
|
编辑
|
||||||
</a>
|
</a>
|
||||||
@@ -1278,10 +1299,12 @@
|
|||||||
handleCopy(record, String(record.courseform));
|
handleCopy(record, String(record.courseform));
|
||||||
}
|
}
|
||||||
"
|
"
|
||||||
|
style="display: inline-block; margin-left: 20px"
|
||||||
>
|
>
|
||||||
复制
|
复制
|
||||||
</a>
|
</a>
|
||||||
<a-dropdown>
|
<!-- 2022-12-10注释 后面放开 -->
|
||||||
|
<!-- <a-dropdown>
|
||||||
<template #overlay>
|
<template #overlay>
|
||||||
<a-menu>
|
<a-menu>
|
||||||
<a-menu-item
|
<a-menu-item
|
||||||
@@ -1336,13 +1359,14 @@
|
|||||||
授权
|
授权
|
||||||
<down-outlined />
|
<down-outlined />
|
||||||
</a>
|
</a>
|
||||||
</a-dropdown>
|
</a-dropdown> -->
|
||||||
<a
|
<a
|
||||||
@click="
|
@click="
|
||||||
() => {
|
() => {
|
||||||
handleDelete(record, String(record.courseform));
|
handleDelete(record, String(record.courseform));
|
||||||
}
|
}
|
||||||
"
|
"
|
||||||
|
style="display: inline-block; margin-left: 20px"
|
||||||
>
|
>
|
||||||
删除
|
删除
|
||||||
</a>
|
</a>
|
||||||
@@ -2992,7 +3016,7 @@ const columns1 = [
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: "操作",
|
title: "操作",
|
||||||
width: 300,
|
width: 315,
|
||||||
className: "h",
|
className: "h",
|
||||||
dataIndex: "operation",
|
dataIndex: "operation",
|
||||||
key: "operation",
|
key: "operation",
|
||||||
@@ -3449,7 +3473,7 @@ export default defineComponent({
|
|||||||
// },
|
// },
|
||||||
],
|
],
|
||||||
currentPage1: 1,
|
currentPage1: 1,
|
||||||
tableDataTotal1: 100,
|
tableDataTotal1: -1,
|
||||||
pageSize1: 10,
|
pageSize1: 10,
|
||||||
|
|
||||||
currentPageTea1: 1,
|
currentPageTea1: 1,
|
||||||
|
|||||||
@@ -1204,7 +1204,8 @@
|
|||||||
>
|
>
|
||||||
复制
|
复制
|
||||||
</a>
|
</a>
|
||||||
<a-dropdown>
|
<!-- 2022-12-10注释 后面放开 -->
|
||||||
|
<!-- <a-dropdown>
|
||||||
<template #overlay>
|
<template #overlay>
|
||||||
<a-menu>
|
<a-menu>
|
||||||
<a-menu-item
|
<a-menu-item
|
||||||
@@ -1259,7 +1260,7 @@
|
|||||||
授权
|
授权
|
||||||
<down-outlined />
|
<down-outlined />
|
||||||
</a>
|
</a>
|
||||||
</a-dropdown>
|
</a-dropdown> -->
|
||||||
<a
|
<a
|
||||||
@click="
|
@click="
|
||||||
() => {
|
() => {
|
||||||
@@ -1302,7 +1303,8 @@
|
|||||||
>
|
>
|
||||||
复制
|
复制
|
||||||
</a>
|
</a>
|
||||||
<a-dropdown>
|
<!-- 2022-12-10注释 后面放开 -->
|
||||||
|
<!-- <a-dropdown>
|
||||||
<template #overlay>
|
<template #overlay>
|
||||||
<a-menu>
|
<a-menu>
|
||||||
<a-menu-item
|
<a-menu-item
|
||||||
@@ -1357,7 +1359,7 @@
|
|||||||
授权
|
授权
|
||||||
<down-outlined />
|
<down-outlined />
|
||||||
</a>
|
</a>
|
||||||
</a-dropdown>
|
</a-dropdown> -->
|
||||||
</span>
|
</span>
|
||||||
</template>
|
</template>
|
||||||
<template
|
<template
|
||||||
@@ -1420,7 +1422,8 @@
|
|||||||
>
|
>
|
||||||
复制
|
复制
|
||||||
</a>
|
</a>
|
||||||
<a-dropdown>
|
<!-- 2022-12-10注释 后面放开 -->
|
||||||
|
<!-- <a-dropdown>
|
||||||
<template #overlay>
|
<template #overlay>
|
||||||
<a-menu>
|
<a-menu>
|
||||||
<a-menu-item
|
<a-menu-item
|
||||||
@@ -1475,7 +1478,7 @@
|
|||||||
授权
|
授权
|
||||||
<down-outlined />
|
<down-outlined />
|
||||||
</a>
|
</a>
|
||||||
</a-dropdown>
|
</a-dropdown> -->
|
||||||
<span>
|
<span>
|
||||||
<a
|
<a
|
||||||
@click="
|
@click="
|
||||||
@@ -1549,7 +1552,8 @@
|
|||||||
>
|
>
|
||||||
复制
|
复制
|
||||||
</a>
|
</a>
|
||||||
<a-dropdown>
|
<!-- 2022-12-10注释 后面放开 -->
|
||||||
|
<!-- <a-dropdown>
|
||||||
<template #overlay>
|
<template #overlay>
|
||||||
<a-menu>
|
<a-menu>
|
||||||
<a-menu-item
|
<a-menu-item
|
||||||
@@ -1604,7 +1608,7 @@
|
|||||||
授权
|
授权
|
||||||
<down-outlined />
|
<down-outlined />
|
||||||
</a>
|
</a>
|
||||||
</a-dropdown>
|
</a-dropdown> -->
|
||||||
<a
|
<a
|
||||||
@click="
|
@click="
|
||||||
() => {
|
() => {
|
||||||
@@ -1657,7 +1661,8 @@
|
|||||||
>
|
>
|
||||||
复制
|
复制
|
||||||
</a>
|
</a>
|
||||||
<a-dropdown>
|
<!-- 2022-12-10注释 后面放开 -->
|
||||||
|
<!-- <a-dropdown>
|
||||||
<template #overlay>
|
<template #overlay>
|
||||||
<a-menu>
|
<a-menu>
|
||||||
<a-menu-item
|
<a-menu-item
|
||||||
@@ -1712,7 +1717,7 @@
|
|||||||
授权
|
授权
|
||||||
<down-outlined />
|
<down-outlined />
|
||||||
</a>
|
</a>
|
||||||
</a-dropdown>
|
</a-dropdown> -->
|
||||||
<a
|
<a
|
||||||
@click="
|
@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>
|
||||||
<div class="inname">项目名称:</div>
|
<div class="inname">项目名称:</div>
|
||||||
<div class="in">
|
<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>
|
</div>
|
||||||
<div class="name">
|
<div class="name">
|
||||||
@@ -685,34 +692,34 @@
|
|||||||
</div>
|
</div>
|
||||||
</a-modal>
|
</a-modal>
|
||||||
<!-- 创建项目提示框 -->
|
<!-- 创建项目提示框 -->
|
||||||
<!-- <a-modal-->
|
<!-- <a-modal-->
|
||||||
<!-- v-model:visible="reminderModal"-->
|
<!-- v-model:visible="reminderModal"-->
|
||||||
<!-- :footer="null"-->
|
<!-- :footer="null"-->
|
||||||
<!-- :closable="closeBack"-->
|
<!-- :closable="closeBack"-->
|
||||||
<!-- wrapClassName="CopyModal"-->
|
<!-- wrapClassName="CopyModal"-->
|
||||||
<!-- centered="true"-->
|
<!-- centered="true"-->
|
||||||
<!-- >-->
|
<!-- >-->
|
||||||
<!-- <div class="delete">-->
|
<!-- <div class="delete">-->
|
||||||
<!-- <div class="del_header"></div>-->
|
<!-- <div class="del_header"></div>-->
|
||||||
<!-- <div class="del_main">-->
|
<!-- <div class="del_main">-->
|
||||||
<!-- <div class="header">-->
|
<!-- <div class="header">-->
|
||||||
<!-- <div class="icon"></div>-->
|
<!-- <div class="icon"></div>-->
|
||||||
<!-- <span>温馨提示</span>-->
|
<!-- <span>温馨提示</span>-->
|
||||||
<!-- <div class="close_exit" @click="closeReminderModal"></div>-->
|
<!-- <div class="close_exit" @click="closeReminderModal"></div>-->
|
||||||
<!-- </div>-->
|
<!-- </div>-->
|
||||||
<!-- <div class="body">-->
|
<!-- <div class="body">-->
|
||||||
<!-- <div style="margin-left: 60px; margin-right: 60px">-->
|
<!-- <div style="margin-left: 60px; margin-right: 60px">-->
|
||||||
<!-- 请您根据自身需求选择对应项目类别,多层项目与单层项目操作不同,层级不同-->
|
<!-- 请您根据自身需求选择对应项目类别,多层项目与单层项目操作不同,层级不同-->
|
||||||
<!-- </div>-->
|
<!-- </div>-->
|
||||||
<!-- </div>-->
|
<!-- </div>-->
|
||||||
<!-- <div class="del_btnbox">-->
|
<!-- <div class="del_btnbox">-->
|
||||||
<!-- <div class="del_btn btn2" @click="okReminderModal">-->
|
<!-- <div class="del_btn btn2" @click="okReminderModal">-->
|
||||||
<!-- <div class="btnText">好的</div>-->
|
<!-- <div class="btnText">好的</div>-->
|
||||||
<!-- </div>-->
|
<!-- </div>-->
|
||||||
<!-- </div>-->
|
<!-- </div>-->
|
||||||
<!-- </div>-->
|
<!-- </div>-->
|
||||||
<!-- </div>-->
|
<!-- </div>-->
|
||||||
<!-- </a-modal>-->
|
<!-- </a-modal>-->
|
||||||
<!-- 项目提交审核弹窗 -->
|
<!-- 项目提交审核弹窗 -->
|
||||||
<a-modal
|
<a-modal
|
||||||
v-model:visible="reviewModal"
|
v-model:visible="reviewModal"
|
||||||
@@ -963,7 +970,7 @@ export default {
|
|||||||
}
|
}
|
||||||
if (!state.projectInfo.validate) {
|
if (!state.projectInfo.validate) {
|
||||||
message.destroy();
|
message.destroy();
|
||||||
message.warning('项目名称重复,请修改名称!');
|
message.warning("项目名称重复,请修改名称!");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
api.createProject(state.projectInfo).then((res) => {
|
api.createProject(state.projectInfo).then((res) => {
|
||||||
@@ -1489,6 +1496,8 @@ export default {
|
|||||||
) : (
|
) : (
|
||||||
""
|
""
|
||||||
)}
|
)}
|
||||||
|
{/**
|
||||||
|
//<!-- 2022-12-10注释 后面放开 -->
|
||||||
<div className="tableSelect">
|
<div className="tableSelect">
|
||||||
<a-select
|
<a-select
|
||||||
style="width: 50px"
|
style="width: 50px"
|
||||||
@@ -1536,6 +1545,7 @@ export default {
|
|||||||
</a-select-option>
|
</a-select-option>
|
||||||
</a-select>
|
</a-select>
|
||||||
</div>
|
</div>
|
||||||
|
*/}
|
||||||
{value.record.type === 1 ? (
|
{value.record.type === 1 ? (
|
||||||
<span
|
<span
|
||||||
className="operation3"
|
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