mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-07 01:46:43 +08:00
style:增加审核页面
This commit is contained in:
@@ -27,6 +27,54 @@
|
||||
@openChange="onOpenChange"
|
||||
@select="selectItem"
|
||||
>
|
||||
<a-sub-menu key="sub10" @titleClick="titleClick">
|
||||
<template #icon>
|
||||
<div class="imgBox">
|
||||
<img
|
||||
style="width: 15px; height: 15px"
|
||||
src="../assets/images/navleft/project.png"
|
||||
/>
|
||||
</div>
|
||||
</template>
|
||||
<template #title>审核管理</template>
|
||||
<a-menu-item key="sub10-1">
|
||||
<span
|
||||
:class="{
|
||||
circleActive: selectedKeys[0] === 'sub10-1' ? true : false,
|
||||
circle: selectedKeys[0] === 'sub10-1' ? false : true,
|
||||
}"
|
||||
></span>
|
||||
<router-link to="/coursereviewedn">待审核课程</router-link>
|
||||
</a-menu-item>
|
||||
<a-menu-item key="sub10-2">
|
||||
<span
|
||||
:class="{
|
||||
circleActive: selectedKeys[0] === 'sub10-2' ? true : false,
|
||||
circle: selectedKeys[0] === 'sub10-2' ? false : true,
|
||||
}"
|
||||
></span>
|
||||
<router-link to="/coursereviewed">已审核课程</router-link>
|
||||
</a-menu-item>
|
||||
<a-menu-item key="sub10-3">
|
||||
<span
|
||||
:class="{
|
||||
circleActive: selectedKeys[0] === 'sub10-3' ? true : false,
|
||||
circle: selectedKeys[0] === 'sub10-3' ? false : true,
|
||||
}"
|
||||
></span>
|
||||
<router-link to="/projecreviewedn">待审核项目</router-link>
|
||||
</a-menu-item>
|
||||
<a-menu-item key="sub10-4">
|
||||
<span
|
||||
:class="{
|
||||
circleActive: selectedKeys[0] === 'sub10-4' ? true : false,
|
||||
circle: selectedKeys[0] === 'sub10-4' ? false : true,
|
||||
}"
|
||||
></span>
|
||||
<router-link to="/projecreviewed">已审核项目</router-link>
|
||||
</a-menu-item>
|
||||
</a-sub-menu>
|
||||
|
||||
<a-menu-item key="sub1" @titleClick="titleClick">
|
||||
<div class="imgBox">
|
||||
<img
|
||||
@@ -246,6 +294,30 @@ export default {
|
||||
: ["sub1"], //默认选择以及选择的二级导航
|
||||
|
||||
keysList: [
|
||||
{
|
||||
href: "/coursereviewedn",
|
||||
openKeys: "sub10",
|
||||
selectedKeys: "sub10-1",
|
||||
pagename: "待审核课程",
|
||||
},
|
||||
{
|
||||
href: "/coursereviewed",
|
||||
openKeys: "sub10",
|
||||
selectedKeys: "sub10-2",
|
||||
pagename: "已审核课程",
|
||||
},
|
||||
{
|
||||
href: "/projectviewedn",
|
||||
openKeys: "sub10",
|
||||
selectedKeys: "sub10-3",
|
||||
pagename: "待审核项目",
|
||||
},
|
||||
{
|
||||
href: "/projectviewed",
|
||||
openKeys: "sub10",
|
||||
selectedKeys: "sub10-4",
|
||||
pagename: "已审核项目",
|
||||
},
|
||||
{
|
||||
href: "/learningpath",
|
||||
openKeys: "sub1",
|
||||
|
||||
39
src/views/examine/CourseReviewed.vue
Normal file
39
src/views/examine/CourseReviewed.vue
Normal file
@@ -0,0 +1,39 @@
|
||||
<!--
|
||||
* @Author: lixg lixg@dongwu-inc.com
|
||||
* @Date: 2022-11-16 20:59:06
|
||||
* @LastEditors: lixg lixg@dongwu-inc.com
|
||||
* @LastEditTime: 2022-11-16 21:08:27
|
||||
* @FilePath: /fe-manage/src/views/examine/CourseReviewed.vue
|
||||
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%A
|
||||
-->
|
||||
<!-- 已审核课程页面 -->
|
||||
<template>
|
||||
<div class="coursereviewed">
|
||||
|
||||
</div>
|
||||
</template>
|
||||
<script>
|
||||
import { reactive, toRefs, } from "vue";
|
||||
|
||||
export default {
|
||||
name: "CoursereViewed",
|
||||
|
||||
setup() {
|
||||
const state = reactive({
|
||||
|
||||
});
|
||||
|
||||
|
||||
return {
|
||||
...toRefs(state),
|
||||
|
||||
};
|
||||
},
|
||||
};
|
||||
</script>
|
||||
<style lang="scss">
|
||||
.coursereviewed {
|
||||
|
||||
}
|
||||
|
||||
</style>
|
||||
39
src/views/examine/CourseReviewedN.vue
Normal file
39
src/views/examine/CourseReviewedN.vue
Normal file
@@ -0,0 +1,39 @@
|
||||
<!--
|
||||
* @Author: lixg lixg@dongwu-inc.com
|
||||
* @Date: 2022-11-16 20:59:33
|
||||
* @LastEditors: lixg lixg@dongwu-inc.com
|
||||
* @LastEditTime: 2022-11-16 21:09:01
|
||||
* @FilePath: /fe-manage/src/views/examine/CourseReviewedN.vue
|
||||
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
||||
-->
|
||||
<!-- 待审核课程页面 -->
|
||||
<template>
|
||||
<div class="coursereviewedn">
|
||||
|
||||
</div>
|
||||
</template>
|
||||
<script>
|
||||
import { reactive, toRefs, } from "vue";
|
||||
|
||||
export default {
|
||||
name: "CoursereViewedN",
|
||||
|
||||
setup() {
|
||||
const state = reactive({
|
||||
|
||||
});
|
||||
|
||||
|
||||
return {
|
||||
...toRefs(state),
|
||||
|
||||
};
|
||||
},
|
||||
};
|
||||
</script>
|
||||
<style lang="scss">
|
||||
.coursereviewedn {
|
||||
|
||||
}
|
||||
|
||||
</style>
|
||||
39
src/views/examine/ProjectReviewed.vue
Normal file
39
src/views/examine/ProjectReviewed.vue
Normal file
@@ -0,0 +1,39 @@
|
||||
<!--
|
||||
* @Author: lixg lixg@dongwu-inc.com
|
||||
* @Date: 2022-11-16 21:00:40
|
||||
* @LastEditors: lixg lixg@dongwu-inc.com
|
||||
* @LastEditTime: 2022-11-16 21:09:49
|
||||
* @FilePath: /fe-manage/src/views/examine/ProjectReviewed.vue
|
||||
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
||||
-->
|
||||
<!-- 待审核课程页面 -->
|
||||
<template>
|
||||
<div class="projectviewed">
|
||||
|
||||
</div>
|
||||
</template>
|
||||
<script>
|
||||
import { reactive, toRefs, } from "vue";
|
||||
|
||||
export default {
|
||||
name: "ProjectViewed",
|
||||
|
||||
setup() {
|
||||
const state = reactive({
|
||||
|
||||
});
|
||||
|
||||
|
||||
return {
|
||||
...toRefs(state),
|
||||
|
||||
};
|
||||
},
|
||||
};
|
||||
</script>
|
||||
<style lang="scss">
|
||||
.projectviewed {
|
||||
|
||||
}
|
||||
|
||||
</style>
|
||||
38
src/views/examine/ProjectReviewedN.vue
Normal file
38
src/views/examine/ProjectReviewedN.vue
Normal file
@@ -0,0 +1,38 @@
|
||||
<!--
|
||||
* @Author: lixg lixg@dongwu-inc.com
|
||||
* @Date: 2022-11-16 21:01:51
|
||||
* @LastEditors: lixg lixg@dongwu-inc.com
|
||||
* @LastEditTime: 2022-11-16 21:10:02
|
||||
* @FilePath: /fe-manage/src/views/examine/ProjectReviewedN.vue
|
||||
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
||||
-->
|
||||
<template>
|
||||
<div class="projectviewedn">
|
||||
|
||||
</div>
|
||||
</template>
|
||||
<script>
|
||||
import { reactive, toRefs, } from "vue";
|
||||
|
||||
export default {
|
||||
name: "ProjectViewedN",
|
||||
|
||||
setup() {
|
||||
const state = reactive({
|
||||
|
||||
});
|
||||
|
||||
|
||||
return {
|
||||
...toRefs(state),
|
||||
|
||||
};
|
||||
},
|
||||
};
|
||||
</script>
|
||||
<style lang="scss">
|
||||
.projectviewedn {
|
||||
|
||||
}
|
||||
|
||||
</style>
|
||||
@@ -323,6 +323,12 @@
|
||||
>
|
||||
<!-- <img class="im" :src="item.source" /> -->
|
||||
</div>
|
||||
<div
|
||||
@click="showImgMore"
|
||||
v-if="imgData.length>=5"
|
||||
class="learnBgItem">
|
||||
<!-- <img class="im" :src="item.source" /> -->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="info">
|
||||
|
||||
@@ -2669,52 +2669,53 @@ export default {
|
||||
编辑
|
||||
</span>
|
||||
) : (
|
||||
<span
|
||||
onClick={() => {
|
||||
console.log("单层子项目的编辑");
|
||||
console.log(value);
|
||||
<span class="operation1"></span>
|
||||
// <span
|
||||
// onClick={() => {
|
||||
// console.log("单层子项目的编辑");
|
||||
// console.log(value);
|
||||
|
||||
{
|
||||
/* 判断是班级\单层项目\单层子项目 */
|
||||
}
|
||||
if (value.record.parentId == "0") {
|
||||
router.push({
|
||||
path: "/projectadd",
|
||||
query: {
|
||||
projectId: value.record.projectId,
|
||||
name: value.record.name,
|
||||
viewDetail:1,
|
||||
},
|
||||
});
|
||||
} else {
|
||||
if (value.record.isbj) {
|
||||
router.push({
|
||||
path: "/classadd",
|
||||
query: {
|
||||
projectId: value.record.projectId,
|
||||
name: value.record.paraentName,
|
||||
edit: 0,
|
||||
viewDetail:1,
|
||||
},
|
||||
});
|
||||
} else {
|
||||
router.push({
|
||||
path: "/sonproject",
|
||||
query: {
|
||||
projectId: value.record.projectId,
|
||||
name: value.record.paraentName,
|
||||
edit: 0,
|
||||
viewDetail:1,
|
||||
},
|
||||
});
|
||||
}
|
||||
}
|
||||
}}
|
||||
style="cursor:pointer;"
|
||||
class="operation1"
|
||||
>
|
||||
查看
|
||||
</span>
|
||||
// {
|
||||
// /* 判断是班级\单层项目\单层子项目 */
|
||||
// }
|
||||
// if (value.record.parentId == "0") {
|
||||
// router.push({
|
||||
// path: "/projectadd",
|
||||
// query: {
|
||||
// projectId: value.record.projectId,
|
||||
// name: value.record.name,
|
||||
// viewDetail:1,
|
||||
// },
|
||||
// });
|
||||
// } else {
|
||||
// if (value.record.isbj) {
|
||||
// router.push({
|
||||
// path: "/classadd",
|
||||
// query: {
|
||||
// projectId: value.record.projectId,
|
||||
// name: value.record.paraentName,
|
||||
// edit: 0,
|
||||
// viewDetail:1,
|
||||
// },
|
||||
// });
|
||||
// } else {
|
||||
// router.push({
|
||||
// path: "/sonproject",
|
||||
// query: {
|
||||
// projectId: value.record.projectId,
|
||||
// name: value.record.paraentName,
|
||||
// edit: 0,
|
||||
// viewDetail:1,
|
||||
// },
|
||||
// });
|
||||
// }
|
||||
// }
|
||||
// }}
|
||||
// style="cursor:pointer;"
|
||||
// class="operation1"
|
||||
// >
|
||||
// 查看
|
||||
// </span>
|
||||
)}
|
||||
<div class="tableSelect">
|
||||
<a-select
|
||||
|
||||
Reference in New Issue
Block a user