| 
														
															@@ -68,7 +68,7 @@ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                     <p class="f14 f-999">修业年限</p> 
														 | 
														
														 | 
														
															                     <p class="f14 f-999">修业年限</p> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                   </div> 
														 | 
														
														 | 
														
															                   </div> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                 </div> 
														 | 
														
														 | 
														
															                 </div> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-                <div class="info-item"> 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                <div class="info-item" v-if="majorDetail.degree"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                   <el-image :src="require('@/assets/images/career/pre_icon.png')" /> 
														 | 
														
														 | 
														
															                   <el-image :src="require('@/assets/images/career/pre_icon.png')" /> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                   <div> 
														 | 
														
														 | 
														
															                   <div> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                     <p class="f18">{{ majorDetail.degree }}</p> 
														 | 
														
														 | 
														
															                     <p class="f18">{{ majorDetail.degree }}</p> 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -120,7 +120,7 @@ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                   <div class="desc-item" > 
														 | 
														
														 | 
														
															                   <div class="desc-item" > 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                     <p class="format-tit">主要职业分布</p> 
														 | 
														
														 | 
														
															                     <p class="format-tit">主要职业分布</p> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                     <div class="f-666 f14" > 
														 | 
														
														 | 
														
															                     <div class="f-666 f14" > 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-                      <mx-chart :options="industry" height="200px"></mx-chart> 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                      <mx-chart :options="occupation" height="200px"></mx-chart> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                       <el-collapse accordion> 
														 | 
														
														 | 
														
															                       <el-collapse accordion> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                         <el-collapse-item v-for="desc in prospects.vocationalDistribution"> 
														 | 
														
														 | 
														
															                         <el-collapse-item v-for="desc in prospects.vocationalDistribution"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                           <template slot="title"> 
														 | 
														
														 | 
														
															                           <template slot="title"> 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -193,12 +193,13 @@ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 <script> 
														 | 
														
														 | 
														
															 <script> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 import MxChart from '@/components/MxChart/index' 
														 | 
														
														 | 
														
															 import MxChart from '@/components/MxChart/index' 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 import { allMajor, careerProspects, majorOverview } from '@/api/webApi/professlib' 
														 | 
														
														 | 
														
															 import { allMajor, careerProspects, majorOverview } from '@/api/webApi/professlib' 
														 | 
													
												
											
												
													
														| 
														 | 
														
															- 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+import MxMajorTreeTranslateMixin from '@/components/Cache/modules/mx-major-tree-translate-mixin' 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 export default { 
														 | 
														
														 | 
														
															 export default { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   name: 'ProfessLibDetails', 
														 | 
														
														 | 
														
															   name: 'ProfessLibDetails', 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   components: { 
														 | 
														
														 | 
														
															   components: { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     MxChart 
														 | 
														
														 | 
														
															     MxChart 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   }, 
														 | 
														
														 | 
														
															   }, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+  mixins:[MxMajorTreeTranslateMixin], 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   data() { 
														 | 
														
														 | 
														
															   data() { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     return { 
														 | 
														
														 | 
														
															     return { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       desc: '', 
														 | 
														
														 | 
														
															       desc: '', 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -210,8 +211,6 @@ export default { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         label: 'name' 
														 | 
														
														 | 
														
															         label: 'name' 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       }, 
														 | 
														
														 | 
														
															       }, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       type: '本科', 
														 | 
														
														 | 
														
															       type: '本科', 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-      masterMajorList: [], 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-      specialtyMajorList: [], 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       majorDetail: {}, // 概况 
														 | 
														
														 | 
														
															       majorDetail: {}, // 概况 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       prospects: {}, // 前景 
														 | 
														
														 | 
														
															       prospects: {}, // 前景 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       contentPropsByBen: ['introduction', 'eduObjective', 'eduRequirement', 'subjectRequirement', 'loreAndAbility', 'studyDirection', 'mainCourse', 'famousScholar'], // 本科概况列 
														 | 
														
														 | 
														
															       contentPropsByBen: ['introduction', 'eduObjective', 'eduRequirement', 'subjectRequirement', 'loreAndAbility', 'studyDirection', 'mainCourse', 'famousScholar'], // 本科概况列 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -233,7 +232,30 @@ export default { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       return averageSalary.reverse().splice(0 ,10) 
														 | 
														
														 | 
														
															       return averageSalary.reverse().splice(0 ,10) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     }, 
														 | 
														
														 | 
														
															     }, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     // 主要职业分布 
														 | 
														
														 | 
														
															     // 主要职业分布 
														 | 
													
												
											
												
													
														| 
														 | 
														
															- 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    occupation() { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+      if (!this.prospects.vocationalDistribution) return null 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+      const pieData = this.prospects.vocationalDistribution 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+      const options  = { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        toolbox: { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+          show: true, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        }, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        series: [ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+          { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            type: 'pie', 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            radius: [40, 60], 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            label:{ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+              formatter: '{b}' 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            }, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            labelLine: { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+              length2: 6, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+              length: 5 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            }, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            data: pieData 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+          } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        ] 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+      } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+      return options 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    }, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     // 主要行业分布 
														 | 
														
														 | 
														
															     // 主要行业分布 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     industry() { 
														 | 
														
														 | 
														
															     industry() { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       if (!this.prospects.industryDistribution) return null 
														 | 
														
														 | 
														
															       if (!this.prospects.industryDistribution) return null 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -360,27 +382,21 @@ export default { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         if (newVal == 1) this.getCareerProspects() 
														 | 
														
														 | 
														
															         if (newVal == 1) this.getCareerProspects() 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       } 
														 | 
														
														 | 
														
															       } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     }, 
														 | 
														
														 | 
														
															     }, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-    type: { 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-      immediate:true, 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-      handler(val){ 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        console.log(val) 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        if((val  == '本科' && this.masterMajorList.length == 0) || (val  == '专科' && this.specialtyMajorList.length == 0)){ 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-          this.getAllMajor() 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        } 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-      } 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-    }, 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     '$route': { 
														 | 
														
														 | 
														
															     '$route': { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       immediate: true, 
														 | 
														
														 | 
														
															       immediate: true, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       handler(val) { 
														 | 
														
														 | 
														
															       handler(val) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        console.log(val) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         this.code = val.query.code 
														 | 
														
														 | 
														
															         this.code = val.query.code 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         this.type =  val.query.type || '本科' 
														 | 
														
														 | 
														
															         this.type =  val.query.type || '本科' 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         if (val.query.code) { 
														 | 
														
														 | 
														
															         if (val.query.code) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															           this.getOverView() 
														 | 
														
														 | 
														
															           this.getOverView() 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         } 
														 | 
														
														 | 
														
															         } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        this.$refs.tree.setCurrentKey(this.code) 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       } 
														 | 
														
														 | 
														
															       } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     } 
														 | 
														
														 | 
														
															     } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   }, 
														 | 
														
														 | 
														
															   }, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+  mounted() { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    this.$refs.tree.setCurrentKey(this.code) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+  }, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   methods: { 
														 | 
														
														 | 
														
															   methods: { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     handleNodeClick(data,node) { 
														 | 
														
														 | 
														
															     handleNodeClick(data,node) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       if(!node.isLeaf || this.code == node.data.code) return 
														 | 
														
														 | 
														
															       if(!node.isLeaf || this.code == node.data.code) return 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -394,18 +410,6 @@ export default { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     tabClick(type) { 
														 | 
														
														 | 
														
															     tabClick(type) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       this.type =type.name 
														 | 
														
														 | 
														
															       this.type =type.name 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     }, 
														 | 
														
														 | 
														
															     }, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-    getAllMajor() { 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-      allMajor({ 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        type: this.type 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-      }).then(res => { 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        if(this.type == '本科'){ 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-          this.masterMajorList = res.data 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        } 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        if(this.type == '专科'){ 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-          this.specialtyMajorList = res.data 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        } 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-      }) 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-    }, 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     getCareerProspects() { 
														 | 
														
														 | 
														
															     getCareerProspects() { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       this.loading = true 
														 | 
														
														 | 
														
															       this.loading = true 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       careerProspects({ 
														 | 
														
														 | 
														
															       careerProspects({ 
														 |