mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-11 03:46:45 +08:00
feat:增加旧系统页面
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>
|
||||||
@@ -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>
|
||||||
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