mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-15 13:56:45 +08:00
style:增加项目/学习路径图/模板库 新建课程、新建评估、新建项目(路径图)按钮 (跳转列表页目前)
This commit is contained in:
@@ -18,7 +18,14 @@
|
||||
<div class="btnText">重置</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="main_notice">
|
||||
|
||||
<div class="main_item">
|
||||
<button class="xkbtn" @click="goResearchmanage">
|
||||
新建评估
|
||||
</button>
|
||||
</div>
|
||||
|
||||
<div class="main_notice" style="display:none;">
|
||||
<div class="mntc_left">
|
||||
<div class="notice_icon"></div>
|
||||
<div v-if="assessment == null">
|
||||
@@ -114,6 +121,8 @@
|
||||
import { reactive, toRefs, onMounted, watch } from "vue";
|
||||
import * as api from "../../api/indexInvist.js";
|
||||
import dayjs from "dayjs";
|
||||
import { useRouter } from "vue-router";
|
||||
|
||||
export default {
|
||||
name: "AssessmentAll",
|
||||
// components: {
|
||||
@@ -133,6 +142,7 @@ export default {
|
||||
},
|
||||
},
|
||||
setup(props, ctx) {
|
||||
const router = useRouter();
|
||||
const state = reactive({
|
||||
assessmentVisible: false,
|
||||
assessment: null,
|
||||
@@ -355,6 +365,11 @@ export default {
|
||||
}
|
||||
);
|
||||
|
||||
// 新建评估
|
||||
const goResearchmanage = () => {
|
||||
router.push({ path: "/researchmanage" });
|
||||
}
|
||||
|
||||
return {
|
||||
...toRefs(state),
|
||||
onSelectChange,
|
||||
@@ -366,11 +381,22 @@ export default {
|
||||
queryInfo,
|
||||
searchList,
|
||||
afterVisibleChange,
|
||||
goResearchmanage
|
||||
};
|
||||
},
|
||||
};
|
||||
</script>
|
||||
<style lang="scss">
|
||||
.xkbtn {
|
||||
cursor: pointer;
|
||||
width: 130px;
|
||||
height: 40px;
|
||||
background: #4ea6ff;
|
||||
border-radius: 8px;
|
||||
border: 0;
|
||||
margin-right: 8px;
|
||||
color: #fff;
|
||||
}
|
||||
.ant-table-striped :deep(.table-striped) td {
|
||||
background-color: #fafafa !important;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user