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:
@@ -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
|
||||
};
|
||||
},
|
||||
};
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
@@ -46,6 +46,11 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="main_items" style="margin-bottom:32px;">
|
||||
<button class="xkbtn" @click="goCoursewaremanage">
|
||||
新建课程
|
||||
</button>
|
||||
</div>
|
||||
<!--
|
||||
<div class="main_notice">
|
||||
<div class="mntc_left">
|
||||
@@ -121,6 +126,8 @@ import { reactive, toRefs, computed } from "vue";
|
||||
//import {detail} from "../../api/indexCourse";
|
||||
import { list } from "../../api/indexTaskadd";
|
||||
import {useStore} from "vuex";
|
||||
import { useRouter } from "vue-router";
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -196,6 +203,7 @@ export default {
|
||||
},
|
||||
},
|
||||
setup(props, ctx) {
|
||||
const router = useRouter();
|
||||
const store = useStore();
|
||||
const state = reactive({
|
||||
classTableData: [
|
||||
@@ -574,6 +582,12 @@ export default {
|
||||
state.currentPage = page;
|
||||
getClassList();
|
||||
};
|
||||
|
||||
// 新建课程
|
||||
const goCoursewaremanage = () => {
|
||||
router.push({ path: "/coursewaremanage" });
|
||||
}
|
||||
|
||||
return {
|
||||
...toRefs(state),
|
||||
// showDrawerSelFacet,
|
||||
@@ -589,13 +603,25 @@ export default {
|
||||
rowSelection,
|
||||
search,
|
||||
submitCourse,
|
||||
|
||||
goCoursewaremanage
|
||||
// change,
|
||||
};
|
||||
},
|
||||
};
|
||||
</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