|
@@ -1,45 +1,309 @@
|
|
|
-<template>
|
|
|
- 学科评估报告2<br>
|
|
|
+<!--<template>-->
|
|
|
+<!-- 学科评估报告2<br>-->
|
|
|
+
|
|
|
+<!-- 本一级学科中......<br>-->
|
|
|
+
|
|
|
+<!-- <div v-for="(item,index) in evaluationresults_list">-->
|
|
|
+<!-- {{item.university}}-{{item.univercode}}=={{item.result}}---->
|
|
|
+<!-- <div @click="jumpToPro_details_video(item)">-->
|
|
|
+<!-- 详情>>-->
|
|
|
+<!-- </div>-->
|
|
|
+<!-- </div>-->
|
|
|
+<!--</template>-->
|
|
|
+
|
|
|
+<!--<script setup>-->
|
|
|
+
|
|
|
+<!-- import {evaluationresults} from '@/api/xjc-integratedmachine/environment/tscareer.js'-->
|
|
|
+<!-- const router = useRouter()-->
|
|
|
+<!-- const route = useRoute()-->
|
|
|
|
|
|
- 本一级学科中......<br>
|
|
|
+<!-- const param = route.query-->
|
|
|
|
|
|
- <div v-for="(item,index) in evaluationresults_list">
|
|
|
- {{item.university}}-{{item.univercode}}=={{item.result}}--
|
|
|
- <div @click="jumpToPro_details_video(item)">
|
|
|
- 详情>>
|
|
|
+<!-- const evaluationresults_list = ref([])-->
|
|
|
+<!-- function results(){-->
|
|
|
+<!-- evaluationresults({-->
|
|
|
+<!-- id : param.id-->
|
|
|
+<!-- }).then(resp =>{-->
|
|
|
+<!-- evaluationresults_list.value = resp.evaluationresults-->
|
|
|
+<!-- })-->
|
|
|
+<!-- }-->
|
|
|
+<!-- function jumpToPro_details_video(item){-->
|
|
|
+<!-- console.log("-------",item.id)-->
|
|
|
+<!-- router.push({-->
|
|
|
+<!-- path : '/xjc-integratedmachine/environment/university_details_video',-->
|
|
|
+<!-- query :{-->
|
|
|
+<!-- id : item.id-->
|
|
|
+<!-- }-->
|
|
|
+<!-- })-->
|
|
|
+<!-- }-->
|
|
|
+
|
|
|
+<!-- results()-->
|
|
|
+<!--</script>-->
|
|
|
+
|
|
|
+<!--<style scoped>-->
|
|
|
+
|
|
|
+<!--</style>-->
|
|
|
+<template>
|
|
|
+ <div class="university_details_video">
|
|
|
+ <head-component :headinfo=headinfo></head-component>
|
|
|
+ <div class="page-content">
|
|
|
+ <div class="page-img-box">
|
|
|
+ <div class="box-content">
|
|
|
+ <p class="title-info">
|
|
|
+ 本一级学科中,全国具有“博士授权”的高校共48所,本次参评38所;部分具有“硕士授权”的高校也参加了评估;参评高校共计84所。(注:评估结果相同的高校排序不分先后,按学校代码排列)</p>
|
|
|
+ <div class="school-box" v-for="(item,index) in evaluationresults_list" :key="index"
|
|
|
+ @click="jumpToPro_details_video(item)">
|
|
|
+ <img src="@/assets/images/environment/contrast.png"/>
|
|
|
+ <div class="right-box">
|
|
|
+ <div class="right-top">
|
|
|
+ <div class="right-top-title">{{ item.university }}</div>
|
|
|
+ <div class="right-top-details">详情
|
|
|
+ <img style="width: 24px;height: 24px" src="@/assets/images/environment/details_icon.png"/>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <p class="info">学校编码:{{item.universitycode }}</p>
|
|
|
+ <p class="info">学科得分: <span class="info-result" :style="{ color: computedColor(item.result) }">{{item.result}}</span></p>
|
|
|
+ <!-- <p class="info"><span>创建时间:</span><span>{{-->
|
|
|
+ <!-- item.ctime-->
|
|
|
+ <!-- }}</span><span style="margin-left: 46px">所在地区:</span><span>{{ item.areaname }}</span></p>-->
|
|
|
+ <!-- <p class="info"><span>院校隶属:</span><span>{{ item.subjection }}</span>-->
|
|
|
+ <!-- <span style="margin-left: 46px">院校类型:</span><span>-->
|
|
|
+ <!-- <dict-tag :options="school_category"-->
|
|
|
+ <!-- :value="item.categoryid"/></span>-->
|
|
|
+ <!-- </p>-->
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <!-- <div v-for="(item,index) in evaluationresults_list">–>-->
|
|
|
+ <!-- {{ item.university }}-{{ item.univercode }}=={{ item.result }}-->
|
|
|
+ <!-- <div @click="jumpToPro_details_video(item)">-->
|
|
|
+ <!-- 详情>>-->
|
|
|
+ <!-- </div>-->
|
|
|
+ <!-- </div>-->
|
|
|
</div>
|
|
|
+ </div>
|
|
|
+ <drag_component></drag_component>
|
|
|
</div>
|
|
|
-</template>
|
|
|
+ </div>
|
|
|
|
|
|
+</template>
|
|
|
<script setup>
|
|
|
+import headComponent from '@/views/xjc-integratedmachine/components/head_component.vue'
|
|
|
+import Drag_component from "@/views/xjc-integratedmachine/components/drag_component.vue";
|
|
|
+import {universityList} from '@/api/xjc-integratedmachine/environment/university.js'
|
|
|
+import {ref} from "vue";
|
|
|
+import {evaluationresults} from '@/api/xjc-integratedmachine/environment/tscareer.js'
|
|
|
+
|
|
|
+const router = useRouter()
|
|
|
+const route = useRoute()
|
|
|
+const headinfo = ref({})
|
|
|
+const param = route.query
|
|
|
+const {proxy} = getCurrentInstance()
|
|
|
+const {school_category} = proxy.useDict('school_category')
|
|
|
+import {rankinglist} from '@/api/xjc-integratedmachine/environment/tscareer.js'
|
|
|
+
|
|
|
+const total = ref(0)
|
|
|
+
|
|
|
+
|
|
|
+const evaluationresults_list = ref([])
|
|
|
+
|
|
|
+
|
|
|
+onMounted(() => {
|
|
|
+ setHeadinfo()
|
|
|
+})
|
|
|
+
|
|
|
+function setHeadinfo() {
|
|
|
+ headinfo.value = {
|
|
|
+ title: '高校列表',
|
|
|
+ user: {
|
|
|
+ avatar: '头像路径',
|
|
|
+ nickName: '张三'
|
|
|
+ },
|
|
|
+ backUrl: '/xjc-integratedmachine/environment/query_universitydb_conditions',
|
|
|
+ homeUrl: '/xjc-integratedmachine/environment/index',
|
|
|
+ contrast: true,
|
|
|
+ contrastType: 'university',
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+
|
|
|
+const data_list = ref([])
|
|
|
|
|
|
- import {evaluationresults} from '@/api/xjc-integratedmachine/environment/tscareer.js'
|
|
|
- const router = useRouter()
|
|
|
- const route = useRoute()
|
|
|
+function list() {
|
|
|
+ rankinglist().then(resp => {
|
|
|
+ console.log("##", resp)
|
|
|
+ data_list.value = resp.data_list.rows
|
|
|
+ })
|
|
|
+}
|
|
|
|
|
|
- const param = route.query
|
|
|
+list()
|
|
|
|
|
|
- const evaluationresults_list = ref([])
|
|
|
- function results(){
|
|
|
- evaluationresults({
|
|
|
- id : param.id
|
|
|
- }).then(resp =>{
|
|
|
- evaluationresults_list.value = resp.evaluationresults
|
|
|
- })
|
|
|
+function results() {
|
|
|
+ evaluationresults({
|
|
|
+ id: param.id
|
|
|
+ }).then(resp => {
|
|
|
+ evaluationresults_list.value = resp.evaluationresults
|
|
|
+ })
|
|
|
+}
|
|
|
+
|
|
|
+function jumpToPro_details_video(item) {
|
|
|
+ console.log("-------", item.id)
|
|
|
+ router.push({
|
|
|
+ path: '/xjc-integratedmachine/environment/university_details_video',
|
|
|
+ query: {
|
|
|
+ id: item.id
|
|
|
}
|
|
|
- function jumpToPro_details_video(item){
|
|
|
- console.log("-------",item.id)
|
|
|
- router.push({
|
|
|
- path : '/xjc-integratedmachine/environment/university_details_video',
|
|
|
- query :{
|
|
|
- id : item.id
|
|
|
+ })
|
|
|
+}
|
|
|
+// 定义一个计算属性来计算颜色
|
|
|
+function computedColor(devisionResult) {
|
|
|
+ switch (devisionResult) {
|
|
|
+ case 'A+':
|
|
|
+ case 'A':
|
|
|
+ case 'A-':
|
|
|
+ return '#14CB8B'; // 当devisionResult为“中等”时返回蓝色
|
|
|
+ case 'B+':
|
|
|
+ case 'B':
|
|
|
+ case 'B-':
|
|
|
+ return '#3A57F8'; // 当devisionResult为“中等”时返回蓝色
|
|
|
+ case 'C+':
|
|
|
+ case 'C':
|
|
|
+ case 'C-':
|
|
|
+ return '#FF7D59'; // 当devisionResult为“中等”时返回蓝色
|
|
|
+ }
|
|
|
+}
|
|
|
+results()
|
|
|
+</script>
|
|
|
+
|
|
|
+<style scoped lang="scss">
|
|
|
+p, div {
|
|
|
+ margin: 0;
|
|
|
+ padding: 0;
|
|
|
+}
|
|
|
+
|
|
|
+.university_details_video {
|
|
|
+ background: url('@/assets/images/environment/university-detail.png') no-repeat;
|
|
|
+ background-size: 1920px 1080px;
|
|
|
+ z-index: 10;
|
|
|
+ width: 100%;
|
|
|
+ height: 1080px;
|
|
|
+
|
|
|
+ .page-content {
|
|
|
+ width: 100%;
|
|
|
+ height: 922px;
|
|
|
+ position: absolute;
|
|
|
+ top: 100px;
|
|
|
+ bottom: 0;
|
|
|
+ display: flex;
|
|
|
+ justify-content: center;
|
|
|
+
|
|
|
+ .page-img-box {
|
|
|
+ width: 1832px;
|
|
|
+ height: 922px;
|
|
|
+ margin-top: 13px;
|
|
|
+ background: rgba(255, 255, 255, 0.4);
|
|
|
+ border-radius: 35px 35px 35px 35px;
|
|
|
+ display: flex;
|
|
|
+ flex-direction: column;
|
|
|
+
|
|
|
+ .box-content {
|
|
|
+ width: 1832px;
|
|
|
+ height: 922px;
|
|
|
+ display: flex;
|
|
|
+ padding-left: 20px;
|
|
|
+ padding-top: 30px;
|
|
|
+ padding-bottom: 55px;
|
|
|
+ //justify-content: space-between;
|
|
|
+ //margin-left: 41px;
|
|
|
+ //margin-right: 41px;
|
|
|
+ align-items: center;
|
|
|
+ flex-wrap: wrap;
|
|
|
+ overflow: auto;
|
|
|
+ //border: 1px solid red;
|
|
|
+ .school-box {
|
|
|
+ width: 570px;
|
|
|
+ height: 204px;
|
|
|
+ background: #FFFFFF;
|
|
|
+ margin-left: 20px;
|
|
|
+ box-shadow: 0px 2px 4px 2px rgba(0, 0, 0, 0.09);
|
|
|
+ border-radius: 5px 5px 5px 5px;
|
|
|
+ display: flex;
|
|
|
+ justify-content: space-between;
|
|
|
+ align-items: center;
|
|
|
+ margin-bottom: 45px;
|
|
|
+
|
|
|
+ img {
|
|
|
+ width: 154px;
|
|
|
+ height: 154px;
|
|
|
+ //border: 1px solid;
|
|
|
+ margin-left: 13px;
|
|
|
+ }
|
|
|
+
|
|
|
+ .right-box {
|
|
|
+ width: 384px;
|
|
|
+ height: 204px;
|
|
|
+ margin-left: 35px;
|
|
|
+ //border: 1px solid;
|
|
|
+ .right-top {
|
|
|
+ height: 90px;
|
|
|
+ display: flex;
|
|
|
+ justify-content: space-between;
|
|
|
+ align-items: center;
|
|
|
+ border-bottom: 1px solid #E6E6E6;
|
|
|
+
|
|
|
+ .right-top-title {
|
|
|
+ font-weight: bold;
|
|
|
+ font-size: 32px;
|
|
|
+ color: #1E410E;
|
|
|
+ line-height: 24px;
|
|
|
+ }
|
|
|
+
|
|
|
+ .right-top-details {
|
|
|
+ font-weight: 400;
|
|
|
+ font-size: 20px;
|
|
|
+ color: #515F6A;
|
|
|
+ display: flex;
|
|
|
+ justify-content: space-around;
|
|
|
+ align-items: center;
|
|
|
+ margin-right: 30px;
|
|
|
+ }
|
|
|
}
|
|
|
- })
|
|
|
- }
|
|
|
|
|
|
- results()
|
|
|
-</script>
|
|
|
+ .info {
|
|
|
+ margin-top: 14px;
|
|
|
+ font-weight: 400;
|
|
|
+ font-size: 20px;
|
|
|
+ color: #333333;
|
|
|
+ line-height: 25px;
|
|
|
+ display: flex;
|
|
|
+
|
|
|
+ span {
|
|
|
+ margin-left: 4px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .info-result{
|
|
|
+ font-weight: bold;
|
|
|
+ font-size: 48px;
|
|
|
+ color: #14CB8B;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .title-info {
|
|
|
+ font-weight: bold;
|
|
|
+ font-size: 32px;
|
|
|
+ color: #333333;
|
|
|
+ line-height: 52px;
|
|
|
+ text-indent: 2em;
|
|
|
+ //text-align: center;
|
|
|
+ margin-left: 57px;
|
|
|
+ margin-right: 57px;
|
|
|
+ margin-bottom: 30px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+}
|
|
|
|
|
|
-<style scoped>
|
|
|
|
|
|
</style>
|
|
|
+
|