mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-13 04:46:46 +08:00
style:增加项目/学习路径图/模板库 新建课程、新建评估、新建项目(路径图)按钮 (跳转列表页目前)
This commit is contained in:
@@ -65,7 +65,14 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="main_notice" v-if="edit">
|
||||
|
||||
<div class="main_item" style="margin-top: 16px;">
|
||||
<button class="xkbtn" @click="goProjectmanage">
|
||||
新建项目
|
||||
</button>
|
||||
</div>
|
||||
|
||||
<div class="main_notice" v-if="edit" style="display:none;">
|
||||
<div class="mntc_left">
|
||||
<div class="notice_icon"></div>
|
||||
<div v-if="selectedRows.length == 0">
|
||||
@@ -227,6 +234,7 @@ import { RouterEditTask } from "@/api/indexTask";
|
||||
import { message } from "ant-design-vue";
|
||||
// import * as apiProj from "../../api/index.js";
|
||||
import dayjs from "dayjs";
|
||||
import { useRouter } from "vue-router";
|
||||
import * as indexAudit from "../../api/indexAudit";
|
||||
|
||||
export default {
|
||||
@@ -283,6 +291,7 @@ export default {
|
||||
},
|
||||
},
|
||||
setup(props, ctx) {
|
||||
const router = useRouter();
|
||||
const state = reactive({
|
||||
inputV1: "",
|
||||
inputV2: "",
|
||||
@@ -601,6 +610,12 @@ export default {
|
||||
closeDrawer();
|
||||
ctx.emit("changeData", false);
|
||||
};
|
||||
|
||||
// 新建项目
|
||||
const goProjectmanage = () => {
|
||||
router.push({ path: "/projectmanage" });
|
||||
}
|
||||
|
||||
return {
|
||||
...toRefs(state),
|
||||
afterVisibleChange,
|
||||
@@ -619,6 +634,7 @@ export default {
|
||||
sureSameModal,
|
||||
changePagination,
|
||||
getCurrentPage,
|
||||
goProjectmanage
|
||||
};
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user