Browse Source

ai分析报告修改

shilipojs 2 years ago
parent
commit
272af7cd9a

+ 10 - 3
src/views/career/components/UniversityDetail.vue

@@ -16,6 +16,10 @@
         <el-col :span="19">
           <el-row style="padding:20px 0 30px 30px;">
             <el-col :span="20">
+              <div class="baseInfo">
+                <span>院校属性:</span>
+                <p></p>
+              </div>
               <div class="baseInfo">
                 <span>网址:</span>
                 <el-link :underline="false" style="color:#1154FF">{{universityDetails.baseInfo.url}}</el-link>
@@ -53,8 +57,13 @@
       </el-row>
       <el-row style="padding:20px 0px;" v-if="universityDetails.overview">
         <el-col :span="5" class="detailNaver">
+          <div >院校概况</div>
+          <div >院系设置</div>
+          <div >招生简章</div>
+          <div >录取分数线</div>
+          <div >招生计划</div>
+          <div >VR校园</div>
           <div @click="activeSelectNaver('1')" :class="{'activeNaver':selectNaver==='1','noActiveNaver':selectNaver==='2' || selectNaver==='3' }">学校状况</div>
-
           <div @click="activeSelectNaver('2')" :class="{'activeNaver':selectNaver==='2','noActiveNaver':selectNaver==='1' || selectNaver==='3' }">招生简章</div>
           <div @click="activeSelectNaver('3')" :class="{'activeNaver':selectNaver==='3','noActiveNaver':selectNaver==='2' || selectNaver==='1' }">开设专业</div>
         </el-col>
@@ -89,8 +98,6 @@
               <span :style="{'color':theme}" style="font-size:36px;color:#FCE1B0;">MARJOR</span>
             </div>
             <div style="padding:30px;">
-              <!--苹方-简 常规体;-->
-              <!--PingFangSC-Regular, PingFang SC,Helvetica,serif-->
               <el-row :gutter="30" style="font-family: PingFangSC-Regular, PingFang SC;
     font-weight: 400;">
                 <el-col :span="12" v-for="(item,index) in universityDetails.marjors" :key="item.name+index">

+ 18 - 15
src/views/career/plan/UniversitiesColleges.vue

@@ -42,11 +42,12 @@
           <el-radio-button v-for="item in universityList.levels" :key="item" :label="item" style="margin-bottom:10px"></el-radio-button>
         </el-radio-group>
       </el-row>
-      <el-row class="radioInput02" style="background-color: #ffffff;font-size: 14px;padding:5px;">
-        <div style="margin-top:-5px">
-          <span class="radiaTitle">院 校 特 性:</span>
-        </div>
-        <el-row>
+      <mx-search-group justify="space-between" >
+        <el-row class="radioInput"  style="background-color: #ffffff;font-size: 14px;padding:5px;">
+          <div style="margin-top:-5px">
+            <span class="radiaTitle">院 校 特 性:</span>
+          </div>
+
           <el-checkbox-group v-model="universityParams.checkList">
             <el-checkbox label="1">一流大学建设高校</el-checkbox>
             <el-checkbox label="2">一流学科建设高校</el-checkbox>
@@ -54,16 +55,17 @@
             <el-checkbox label="4">独立学院</el-checkbox>
             <el-checkbox label="5">民办高校</el-checkbox>
           </el-checkbox-group>
+          <!--        <el-row style="margin-left: 10px;">-->
+          <!--          <el-input style="width:150%" suffix-icon=" " placeholder="搜索" v-model="univerName" @keyup.enter.native="clickSuffix">-->
+          <!--            &lt;!&ndash; @click.native="clickSuffix"&ndash;&gt;-->
+          <!--            <span slot="suffix" @click="clickSuffix" style="cursor: pointer">-->
+          <!--              <i class="el-icon-search"></i>-->
+          <!--            </span>-->
+          <!--          </el-input>-->
+          <!--        </el-row>-->
         </el-row>
-        <el-row style="margin-left: 10px;">
-          <el-input style="width:150%" suffix-icon=" " placeholder="搜索" v-model="univerName" @keyup.enter.native="clickSuffix">
-            <!-- @click.native="clickSuffix"-->
-            <span slot="suffix" @click="clickSuffix" style="cursor: pointer">
-              <i class="el-icon-search"></i>
-            </span>
-          </el-input>
-        </el-row>
-      </el-row>
+      </mx-search-group>
+
       <el-row style="margin-top:10px;">
         <universities-table :universityParams="universityParams"></universities-table>
       </el-row>
@@ -75,9 +77,10 @@
 import { mapState } from 'vuex';
 import UniversitiesTable from '@/views/career/components/UniversitiesTable';
 import { selectUniversity } from '@/api/webApi/career-course'
+import MxSearchGroup from '@/components/MxSearch/mx-search-group'
 export default {
   name: "UniversitiesColleges",
-  components: { UniversitiesTable },
+  components: { MxSearchGroup, UniversitiesTable },
   data() {
     return {
       backimg: 'url(' + require('@/assets/images/career/icon_colleges.png') + ')',

+ 2 - 2
src/views/system/user/profile/components/ai-analysis-dialog.vue

@@ -127,8 +127,8 @@ export default {
       const resolverKey = this.generation.activeOpt.key + 'Resolver'
       const resolver = this[resolverKey]
       if (typeof resolver === 'function') {
-            const genColumns = resolver(this.generation.active)
-            Object.assign(dynamicColumns, genColumns)
+         const genColumns = resolver(this.generation.active)
+         Object.assign(dynamicColumns, genColumns)
       }
       // for (let gen = options.primary.value; gen <= this.generation.active; gen++) {
       //   const opt = optValues.find(opt => opt.value == gen)

+ 4 - 4
src/views/system/user/profile/components/report-table.vue

@@ -72,18 +72,18 @@
       </template>
     </mx-table>
     <!-- 初录 多志愿拖拽 -->
-    <div v-if="this.generation.active == 1 || this.generation.active == 2">
+    <div v-if="this.generation.active == generation.options.primary.value || this.generation.active == generation.options.primaryDM.value">
       <p>您的选科志愿: <span v-for="(item,index) in activeModels.selectedList">
         {{ item.groupName }}
       </span>
       </p>
       <div>
-        <test-drage ref="drage" :btnDisabled="this.generation.current != 1" :selectedList="activeModels.selectedList"
+        <test-drage ref="drage" :btnDisabled="this.generation.current != generation.options.primary.value" :selectedList="activeModels.selectedList"
         ></test-drage>
-        <el-button @click="commit" type="primary" v-if="this.generation.current == 1">提交</el-button>
+        <el-button @click="commit" type="primary" v-if="this.generation.current == generation.options.primary.value">提交</el-button>
       </div>
     </div>
-    <div v-if="generation.current > generation.active && generation.active > 2">
+    <div v-if="generation.current > generation.active && generation.active > generation.options.primaryDM.value">
       <!--  补录报名和二次补录报名和调剂报名历史报名信息 -->
       {{ historySupply }}
     </div>

+ 43 - 40
src/views/system/user/profile/components/single-subject-report.vue

@@ -6,54 +6,57 @@
     :visible.sync="dialogVisible"
     width="70%"
   >
-    <div v-if="aiType == 'single' && !singleRow.allowSelect">
-      {{singleRow.groupName}}不可报名
-    </div>
-    <div v-else>
+    <div>
       <div v-if="Object.keys(reportInfo).length > 0">
         <p>点评:</p>
         <div class="mt10 mb10">
           <div class="fx-row" style="align-items: center">1,
             <p v-html="admissionInfo.slice(0,admissionInfo.lastIndexOf(','))"></p>
             <span>,学校现在所开设的六种科目,</span> 现有
-              <span class="f-primary">
+            <span class="f-primary">
               {{ canSign.map(item => item.groupName).join(',') }}
             </span>您可以报名
           </div>
         </div>
-        <div class="mb10">
-          <p>2,专业符合情况:</p>
-          <div class="mb5" v-for="item in canSign">
-            <div v-if="!singleRow || singleRow.groupId == item.groupId">
-              <span class="f-primary mr5"> {{item.groupName}}:</span>
+        <div class="mt10" v-if="aiType == 'single' && !singleRow.allowSelect">
+          {{ singleRow.groupName }}不可报名
+        </div>
+        <div v-else>
+          <div class="mb10">
+            <p>2,专业符合情况:</p>
+            <div class="mb5" v-for="item in canSign">
+              <span class="f-primary mr5"> {{ item.groupName }}:</span>
               <div style="display: inline" v-if="item.colleges.length > 0">
-                <span class="mr5" v-for="college in item.colleges">{{`${college.major}(${college.college})`}},</span>
+                <span class="mr5" v-for="college in item.colleges">{{ `${college.major}(${college.college})` }},</span>
                 符合您的专业要求;
               </div>
               <p style="display: inline" class="f-red" v-else>您的自选专业没有符合该组合的</p>
-            </div>
 
+            </div>
           </div>
-        </div>
-        <div class="mb10">
-          <p>3,成绩情况:</p>
-          <div v-for="(item,index) in canSign">
-            <p v-if=" !singleRow || singleRow.groupId == item.groupId"><span>{{item.groupName}} : </span>成绩{{item.scoreSumGroup}} <span class="f-primary" v-if="index == 0"> *成绩最优</span>
-            </p>
-          </div>
-        </div>
-        <div class="mb10">
-          <p class="mb10">4,录取分析:</p>
-          <div v-for="(item,index) in canSign" class="mb10">
-            <div v-if="!singleRow || singleRow.groupId == item.groupId">
-              <p>{{item.groupName}} : 成绩{{item.scoreSumGroup}}<span class="f-primary" v-if="index == 0"> (补录成绩最优组合)</span> </p>
-              <p>在补录学生{{tipsModel.countNumber}}人中该组合成绩最优学生有{{item.bestInIndicator}}人,该组合计划人数为{{item.groupIndicator}}
-                您在该<span v-if="index == 0">最优</span>组合中排名{{ item.rankInBest }},您可以被该组合录取。您的成绩符合该组合。<span v-if="item.colleges.length == 0">(自选专业不符合)</span>
-                <span v-if="index == 0">按照成绩优先原则,系统推荐您报该组合。</span>
-                <span v-else>您如果不填写系统推荐您的最优组合,您也可以报该组合。</span>
-              </p>
+          <div class="mb10">
+            <p>3,成绩情况:</p>
+            <div v-for="(item,index) in canSign">
+              <span>{{ item.groupName }} : </span>成绩{{ item.scoreSumGroup }} <span class="f-primary" v-if="index == 0"> *成绩最优</span>
             </div>
+          </div>
+          <div class="mb10">
+            <p class="mb10">4,录取分析:</p>
+            <div v-for="(item,index) in canSign" class="mb10">
+              <div v-if="!singleRow || singleRow.groupId == item.groupId">
+                <p>{{ item.groupName }} : 成绩{{ item.scoreSumGroup }}<span class="f-primary" v-if="index == 0"> (补录成绩最优组合)</span>
+                </p>
+                <p>
+                  在补录学生{{ tipsModel.countNumber }}人中该组合成绩最优学生有{{ item.bestInIndicator }}人,该组合计划人数为{{ item.groupIndicator }}
+                  您在该<span v-if="index == 0">最优</span>组合中排名{{ item.rankInBest }},您可以被该组合录取。您的成绩符合该组合。<span
+                  v-if="item.colleges.length == 0"
+                >(自选专业不符合)</span>
+                  <span v-if="index == 0">按照成绩优先原则,系统推荐您报该组合。</span>
+                  <span v-else>您如果不填写系统推荐您的最优组合,您也可以报该组合。</span>
+                </p>
+              </div>
 
+            </div>
           </div>
         </div>
       </div>
@@ -68,10 +71,10 @@ import MxSelectTranslateMixin from '@/components/Cache/modules/mx-select-transla
 
 export default {
   name: 'subject-report',
-  mixins:[MxSelectTranslateMixin],
+  mixins: [MxSelectTranslateMixin],
   props: {
     admissionInfo: {
-      type:String,
+      type: String,
       default: ''
     },
     reportInfo: {
@@ -80,13 +83,13 @@ export default {
     }
   },
   computed: {
-    tipsModel(){
-      const countNumber = this.canSign.reduce((prev,cur)=>{
-         return prev + cur.groupIndicator
-      },0)
+    tipsModel() {
+      const countNumber = this.canSign.reduce((prev, cur) => {
+        return prev + cur.groupIndicator
+      }, 0)
 
       return {
-        countNumber,
+        countNumber
       }
     },
     // isCanSignFlag() {
@@ -102,7 +105,7 @@ export default {
       if (!this.reportInfo.length) return []
       return this.reportInfo.filter(item => {
         return item.allowSelect
-      }).sort((prev,next )=> prev.scoreSumGroup <  next.scoreSumGroup ?  1 : -1 )
+      }).sort((prev, next) => prev.scoreSumGroup < next.scoreSumGroup ? 1 : -1)
     }
   },
   data() {
@@ -112,10 +115,10 @@ export default {
     }
   },
   methods: {
-    init(type,row) {
+    init(type, row) {
       this.aiType = type
       this.dialogVisible = true
-      this.singleRow  =row
+      this.singleRow = row
       console.log(row)
     }
   }