|
@@ -1,6 +1,6 @@
|
|
|
<template>
|
|
|
<div class="my-page">
|
|
|
- <div class="breadcrumb">
|
|
|
+ <el-card class="mt10 mb20 box-card">
|
|
|
<el-breadcrumb separator="/">
|
|
|
<el-breadcrumb-item :to="{ path: '/' }">首页</el-breadcrumb-item>
|
|
|
<el-breadcrumb-item :to="{ path: '/career/plan/index' }"
|
|
@@ -11,87 +11,73 @@
|
|
|
>
|
|
|
<el-breadcrumb-item>由专业选科目</el-breadcrumb-item>
|
|
|
</el-breadcrumb>
|
|
|
- </div>
|
|
|
- <div class="my-box">
|
|
|
- <div class="my-box-title">我的其他选科方案</div>
|
|
|
- <div class="major-card-list">
|
|
|
- <div
|
|
|
- class="divide-equally-box"
|
|
|
- v-for="(item, index) in dataList"
|
|
|
- :key="index"
|
|
|
- >
|
|
|
- <div class="major-card-item">
|
|
|
- <div class="major-card-title">{{ item.course }}</div>
|
|
|
- <div class="major-progress-box">
|
|
|
- <el-progress
|
|
|
- type="circle"
|
|
|
- stroke-width="14"
|
|
|
- width="96"
|
|
|
- color="#c8eee3"
|
|
|
- :percentage="item.marjorRate"
|
|
|
- ></el-progress>
|
|
|
- <div class="major-progress-text">
|
|
|
- 可报{{ item.marjorRate }}%的专业
|
|
|
- </div>
|
|
|
- <div class="bottom-box">
|
|
|
- <div class="bottom-bar">
|
|
|
- <div class="setdf" @click="httpschemeDf(item)">设为默认</div>
|
|
|
- <i class="el-icon-delete" @click="httpschemeDfRemove(item)"></i>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
+ </el-card>
|
|
|
+ <select-subject-report></select-subject-report>
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
-import { getMyXkcx, schemeDf, schemeDfRemove } from "@/api/webApi/webQue";
|
|
|
-
|
|
|
+import SelectSubjectReport from './components/select-subjec-report'
|
|
|
export default {
|
|
|
+ components: {
|
|
|
+ SelectSubjectReport
|
|
|
+ },
|
|
|
data() {
|
|
|
return {
|
|
|
dataList: [],
|
|
|
+ activeName: 'first',
|
|
|
+ rows:[],
|
|
|
+ propDefine: {
|
|
|
+ year:{
|
|
|
+ label:'所属年份'
|
|
|
+ },
|
|
|
+ schoolName:{
|
|
|
+ label:'学校名称'
|
|
|
+ },
|
|
|
+ major:{
|
|
|
+ label:'专业(类)名称'
|
|
|
+ },
|
|
|
+ majorRemark:{
|
|
|
+ label:'专业备注'
|
|
|
+ },
|
|
|
+ majorLevel:{
|
|
|
+ label:'专业层次'
|
|
|
+ },
|
|
|
+ course0:{
|
|
|
+ label:'首选科目范围'
|
|
|
+ },
|
|
|
+ course1:{
|
|
|
+ label:'再选科目范围'
|
|
|
+ },
|
|
|
+ data:{
|
|
|
+ label:'历年录取数据'
|
|
|
+ },
|
|
|
+ collect:{
|
|
|
+ label:'收藏'
|
|
|
+ },
|
|
|
+ majorCollect:{
|
|
|
+ label:'选科收藏'
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
};
|
|
|
},
|
|
|
created() {
|
|
|
- this.httpGetMyXkcx();
|
|
|
},
|
|
|
methods: {
|
|
|
- httpGetMyXkcx() {
|
|
|
- getMyXkcx({}).then((res) => {
|
|
|
- this.dataList = res.rows;
|
|
|
- });
|
|
|
- },
|
|
|
- httpschemeDf(item) {
|
|
|
- schemeDf({
|
|
|
- id:item.id,
|
|
|
- df:true
|
|
|
- }).then((res) => {
|
|
|
- this.$message.success("操作成功!")
|
|
|
- });
|
|
|
- },
|
|
|
- httpschemeDfRemove(item) {
|
|
|
- schemeDfRemove({
|
|
|
- id:item.id
|
|
|
- }).then((res) => {
|
|
|
- this.httpGetMyXkcx()
|
|
|
- });
|
|
|
- },
|
|
|
+ handleClick() {
|
|
|
+
|
|
|
+ }
|
|
|
},
|
|
|
};
|
|
|
</script>
|
|
|
|
|
|
<style scoped>
|
|
|
-.breadcrumb {
|
|
|
- padding: 15px 30px;
|
|
|
- margin: 15px 0;
|
|
|
- border-bottom: 1px solid #eee;
|
|
|
- border-radius: 2px;
|
|
|
- background-color: #fff;
|
|
|
- box-shadow: 0 1px 2px 0 rgb(0 0 0 / 5%);
|
|
|
+.tabs-min-height{
|
|
|
+ min-height: calc(100vh - 124px - 58px);
|
|
|
+}
|
|
|
+.my-page{
|
|
|
+ padding: 0 100px;
|
|
|
}
|
|
|
.el-breadcrumb {
|
|
|
font-size: 16px !important;
|