|
@@ -5,29 +5,14 @@
|
|
<div class="content-left">
|
|
<div class="content-left">
|
|
<div class="tab-box">
|
|
<div class="tab-box">
|
|
<div :class="[onePage?'item-box-active':'item-box']" @click="showPage(1)">
|
|
<div :class="[onePage?'item-box-active':'item-box']" @click="showPage(1)">
|
|
- <img v-if="onePage" src="@/assets/images/environment/contrast/01-active.png">
|
|
|
|
- <img v-else src="@/assets/images/environment/contrast/01.png">
|
|
|
|
|
|
+ <img v-if="onePage" src="@/assets/images/environment/contrast/career/01-active.png">
|
|
|
|
+ <img v-else src="@/assets/images/environment/contrast/career/01.png">
|
|
基本信息
|
|
基本信息
|
|
</div>
|
|
</div>
|
|
<div :class="[twoPage?'item-box-active':'item-box']" @click="showPage(2)">
|
|
<div :class="[twoPage?'item-box-active':'item-box']" @click="showPage(2)">
|
|
- <img v-if="twoPage" src="@/assets/images/environment/contrast/02-active.png">
|
|
|
|
- <img v-else src="@/assets/images/environment/contrast/02.png">
|
|
|
|
- 主修课程
|
|
|
|
- </div>
|
|
|
|
- <div :class="[threePage?'item-box-active':'item-box']" @click="showPage(3)">
|
|
|
|
- <img v-if="threePage" src="@/assets/images/environment/contrast/03.png">
|
|
|
|
- <img v-else src="@/assets/images/environment/contrast/03-active.png">
|
|
|
|
- 专业解读
|
|
|
|
- </div>
|
|
|
|
- <div :class="[fourPage?'item-box-active':'item-box']" @click="showPage(4)">
|
|
|
|
- <img v-if="fourPage" src="@/assets/images/environment/contrast/04-active.png">
|
|
|
|
- <img v-else src="@/assets/images/environment/contrast/04.png">
|
|
|
|
- 就业前景与方向
|
|
|
|
- </div>
|
|
|
|
- <div :class="[fivePage?'item-box-active':'item-box']" @click="showPage(5)">
|
|
|
|
- <img v-if="fivePage" src="@/assets/images/environment/contrast/05-active.png">
|
|
|
|
- <img v-else src="@/assets/images/environment/contrast/05.png">
|
|
|
|
- 开设院校
|
|
|
|
|
|
+ <img v-if="twoPage" src="@/assets/images/environment/contrast/career/02-active.png">
|
|
|
|
+ <img v-else src="@/assets/images/environment/contrast/career/02.png">
|
|
|
|
+ 工作内容
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@@ -37,39 +22,35 @@
|
|
<thead>
|
|
<thead>
|
|
<tr class="one-tr">
|
|
<tr class="one-tr">
|
|
<td class="first-title">专业名称</td>
|
|
<td class="first-title">专业名称</td>
|
|
- <td v-for="(item,index) in contrastData" :key="index">{{ item.name }}</td>
|
|
|
|
|
|
+ <td v-for="(item,index) in contrastData" :key="index">{{ item.occupation.name }}</td>
|
|
</tr>
|
|
</tr>
|
|
</thead>
|
|
</thead>
|
|
<tbody>
|
|
<tbody>
|
|
<tr v-show="false"></tr>
|
|
<tr v-show="false"></tr>
|
|
<tr class="two-tr">
|
|
<tr class="two-tr">
|
|
- <td>专业代码</td>
|
|
|
|
|
|
+ <td>职业兴趣代码</td>
|
|
<td class="text-td" v-for="(item,index) in contrastData" :key="index">
|
|
<td class="text-td" v-for="(item,index) in contrastData" :key="index">
|
|
- <p style="text-align: center">{{ item.code }}</p>
|
|
|
|
|
|
+ <p style="text-align: center">{{ item.occupation.interestcode }}</p>
|
|
</td>
|
|
</td>
|
|
</tr>
|
|
</tr>
|
|
<tr>
|
|
<tr>
|
|
- <td>学科门类</td>
|
|
|
|
|
|
+ <td>行业分类</td>
|
|
<td class="text-td" v-for="(item,index) in contrastData" :key="index">
|
|
<td class="text-td" v-for="(item,index) in contrastData" :key="index">
|
|
- <p style="text-align: center">{{ item.subjectcategories }}</p>
|
|
|
|
|
|
+ <p style="text-align: center;font-size:32px;">{{ item.occupation.industryname }}</p>
|
|
</td>
|
|
</td>
|
|
</tr>
|
|
</tr>
|
|
<tr>
|
|
<tr>
|
|
- <td>一级学科</td>
|
|
|
|
|
|
+ <td>职业定义</td>
|
|
<td class="text-td" v-for="(item,index) in contrastData" :key="index">
|
|
<td class="text-td" v-for="(item,index) in contrastData" :key="index">
|
|
- <p style="text-align: center">{{ item.firstsubject }}</p>
|
|
|
|
|
|
+ <p style="padding:0 15px;text-indent: 2em;" v-html="item.occupation.definition"></p>
|
|
</td>
|
|
</td>
|
|
</tr>
|
|
</tr>
|
|
<tr>
|
|
<tr>
|
|
- <td>授权学位</td>
|
|
|
|
- <td v-for="(item,index) in contrastData" :key="index" >
|
|
|
|
- <p>{{ item.degree }}</p>
|
|
|
|
|
|
+ <td>相关专业</td>
|
|
|
|
+ <td v-for="(item,index) in contrastData" :key="index">
|
|
|
|
+ <p v-for="(ite,index) in item.bk_list">{{ ite.name }}</p>
|
|
</td>
|
|
</td>
|
|
</tr>
|
|
</tr>
|
|
- <tr>
|
|
|
|
- <td>修学年限</td>
|
|
|
|
- <td v-for="(item,index) in contrastData" :key="index" class="text-td">{{ item.years }}</td>
|
|
|
|
- </tr>
|
|
|
|
</tbody>
|
|
</tbody>
|
|
</table>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
@@ -77,79 +58,16 @@
|
|
<table class="table table-bordered">
|
|
<table class="table table-bordered">
|
|
<thead>
|
|
<thead>
|
|
<tr class="one-tr">
|
|
<tr class="one-tr">
|
|
- <td class="first-title">专业名称</td>
|
|
|
|
- <td v-for="(item,index) in contrastData" :key="index">{{ item.name }}</td>
|
|
|
|
- </tr>
|
|
|
|
- </thead>
|
|
|
|
- <tbody>
|
|
|
|
- <tr v-show="false"></tr>
|
|
|
|
- <tr class="two-tr">
|
|
|
|
- <td>主修课程</td>
|
|
|
|
- <td class="text-td" v-for="(item,index) in contrastData" :key="index">
|
|
|
|
- <p style="text-align: center" v-html="item.course"></p>
|
|
|
|
- </td>
|
|
|
|
- </tr>
|
|
|
|
- </tbody>
|
|
|
|
- </table>
|
|
|
|
- </div>
|
|
|
|
- <div class="three-page" v-show="threePage">
|
|
|
|
- <table class="table table-bordered">
|
|
|
|
- <thead>
|
|
|
|
- <tr class="one-tr">
|
|
|
|
- <td class="first-title">专业名称</td>
|
|
|
|
- <td v-for="(item,index) in contrastData" :key="index">{{ item.name }}</td>
|
|
|
|
- </tr>
|
|
|
|
- </thead>
|
|
|
|
- <tbody>
|
|
|
|
- <tr v-show="false"></tr>
|
|
|
|
- <tr class="two-tr">
|
|
|
|
- <td>专业解读</td>
|
|
|
|
- <td class="text-td" v-for="(item,index) in contrastData" :key="index">
|
|
|
|
- <div class="info" v-if="!item.describe" v-html="item.describe"></div>
|
|
|
|
- <div class="info" v-else >暂无</div>
|
|
|
|
-
|
|
|
|
- <!-- <p style="text-align: center" >{{ item.code }}</p>-->
|
|
|
|
- </td>
|
|
|
|
- </tr>
|
|
|
|
- </tbody>
|
|
|
|
- </table>
|
|
|
|
- </div>
|
|
|
|
- <div class="four-page" v-show="fourPage">
|
|
|
|
- <table class="table table-bordered">
|
|
|
|
- <thead>
|
|
|
|
- <tr class="one-tr">
|
|
|
|
- <td class="first-title">专业名称</td>
|
|
|
|
- <td v-for="(item,index) in contrastData" :key="index">{{ item.name }}</td>
|
|
|
|
|
|
+ <td class="first-title">职业名称</td>
|
|
|
|
+ <td v-for="(item,index) in contrastData" :key="index">{{ item.occupation.name }}</td>
|
|
</tr>
|
|
</tr>
|
|
</thead>
|
|
</thead>
|
|
<tbody>
|
|
<tbody>
|
|
<tr v-show="false"></tr>
|
|
<tr v-show="false"></tr>
|
|
<tr class="two-tr">
|
|
<tr class="two-tr">
|
|
- <td>就业前景与方向</td>
|
|
|
|
|
|
+ <td>工作内容</td>
|
|
<td class="text-td" v-for="(item,index) in contrastData" :key="index">
|
|
<td class="text-td" v-for="(item,index) in contrastData" :key="index">
|
|
- <div class="info" v-html="item.describe"></div>
|
|
|
|
- <!-- <p style="text-align: center" >{{ item.code }}</p>-->
|
|
|
|
- </td>
|
|
|
|
- </tr>
|
|
|
|
- </tbody>
|
|
|
|
- </table>
|
|
|
|
- </div>
|
|
|
|
- <div class="five-page" v-show="fivePage">
|
|
|
|
- <table class="table table-bordered">
|
|
|
|
- <thead>
|
|
|
|
- <tr class="one-tr">
|
|
|
|
- <td class="first-title">专业名称</td>
|
|
|
|
- <td v-for="(item,index) in contrastData" :key="index">{{ item.name }}</td>
|
|
|
|
- </tr>
|
|
|
|
- </thead>
|
|
|
|
- <tbody>
|
|
|
|
- <tr v-show="false"></tr>
|
|
|
|
- <tr class="two-tr">
|
|
|
|
- <td>开设院校</td>
|
|
|
|
- <td class="school-box" v-for="(item,index) in contrastData" :key="index">
|
|
|
|
- <div class="info" v-for="(item,index) in item.kaishe_list">
|
|
|
|
- {{ item.name }}
|
|
|
|
- </div>
|
|
|
|
|
|
+ <p style="font-size:32px;padding:0 15px;text-indent: 2em;text-align: left;" v-html="item.occupation.definition"></p>
|
|
</td>
|
|
</td>
|
|
</tr>
|
|
</tr>
|
|
</tbody>
|
|
</tbody>
|
|
@@ -167,6 +85,8 @@ import headComponent from '@/views/xjc-integratedmachine/components/head_compone
|
|
import Drag_component from "@/views/xjc-integratedmachine/components/drag_component.vue";
|
|
import Drag_component from "@/views/xjc-integratedmachine/components/drag_component.vue";
|
|
import {ref} from "vue";
|
|
import {ref} from "vue";
|
|
import {getUniversityByKeyword} from "@/api/xjc-integratedmachine/environment/university.js";
|
|
import {getUniversityByKeyword} from "@/api/xjc-integratedmachine/environment/university.js";
|
|
|
|
+import {getCompareList} from "@/api/xjc-integratedmachine/environment/common.js";
|
|
|
|
+import {occupationDetail} from "@/api/xjc-integratedmachine/environment/occupation.js";
|
|
|
|
|
|
|
|
|
|
const router = useRouter()
|
|
const router = useRouter()
|
|
@@ -198,7 +118,9 @@ function setHeadinfo() {
|
|
nickName: '张三'
|
|
nickName: '张三'
|
|
},
|
|
},
|
|
backUrl: '/xjc-integratedmachine/environment/index',
|
|
backUrl: '/xjc-integratedmachine/environment/index',
|
|
- homeUrl: '/xjc-integratedmachine/environment/index'
|
|
|
|
|
|
+ homeUrl: '/xjc-integratedmachine/environment/index',
|
|
|
|
+ contrastPage:true,
|
|
|
|
+ contrastType:'occ'
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
@@ -251,14 +173,23 @@ function backTo() {
|
|
|
|
|
|
onMounted(() => {
|
|
onMounted(() => {
|
|
setHeadinfo()
|
|
setHeadinfo()
|
|
-
|
|
|
|
|
|
+ getData();
|
|
})
|
|
})
|
|
|
|
|
|
const contrastData = ref({})
|
|
const contrastData = ref({})
|
|
function getData() {
|
|
function getData() {
|
|
- const contrastList = sessionStorage.getItem('majorList') && JSON.parse(sessionStorage.getItem('majorList'));
|
|
|
|
- contrastData.value = contrastList;
|
|
|
|
- console.log("{{contrastA.name}}", contrastData.value)
|
|
|
|
|
|
+ getCompareList({
|
|
|
|
+ type:'3'
|
|
|
|
+ }).then(resp => {
|
|
|
|
+ contrastData.value = resp.rows
|
|
|
|
+ contrastData.value.map(item =>{
|
|
|
|
+ occupationDetail({
|
|
|
|
+ id: item.id
|
|
|
|
+ }).then(res => {
|
|
|
|
+ item.bk_list = res.bk_list;
|
|
|
|
+ })
|
|
|
|
+ })
|
|
|
|
+ })
|
|
}
|
|
}
|
|
|
|
|
|
const universityList = ref([])
|
|
const universityList = ref([])
|