Kaynağa Gözat

修改拔尖人才

11wqe1 9 ay önce
ebeveyn
işleme
d3d289fea1

+ 5 - 1
src/components/pages/liyuan/components/card.vue

@@ -67,7 +67,11 @@ export default {
               if(this.cardData && this.cardData.sassPlatFormTypeId){
                 query.sassPlatFormTypeId = this.cardData.sassPlatFormTypeId
               }
-                console.log('query',query);
+              if (this.to == '/testReview') {
+                // 人才评估需要修改文字,加个参数修改文字
+                    query.editName = 'person'
+              }
+                console.log('query',query); 
                 console.log('cardData',this.cardData);
                 this.$router.push({ path: this.to, query: query })
             }else if (this.type == 2) { 

+ 6 - 6
src/components/pages/liyuan/topTalent.vue

@@ -7,10 +7,10 @@
             height: 320px;
         "
         class="imgCar"
-        src="https://img2.baidu.com/it/u=3227833308,1625526130&fm=253&fmt=auto&app=138&f=JPEG?w=800&h=328"
+        src="https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/default%2F%E8%93%9D%E7%B4%AB%E7%81%B0%E7%99%BD%E8%89%B2%E7%8E%B0%E4%BB%A3%E7%AE%80%E7%BA%A6%E7%A3%A8%E7%A0%82%E7%8E%BB%E7%92%83%E5%BC%80%E5%AD%A6%E5%AD%A3%E6%95%99%E8%82%B2%E6%9C%BA%E6%9E%84%E6%8B%9B%E7%94%9F%E5%AE%A3%E4%BC%A0%E7%94%B5%E5%95%86Banner+%281%291763806566437.png"
     >
     </el-image>
-    <topBar title="拔尖人才" detail="教师年度考核 · 教师成长画像 · AI课堂观察"></topBar>
+    <topBar title="拔尖人才识别与评估系统" detail="鲲鹏学院·拔尖创新后备人才·学生综合评价与个性化培养"></topBar>
     <div class="cardBox">
       <card v-for="item in cardData(cardArray)"
       :key="item.title"
@@ -37,7 +37,7 @@ export default {
     // 进行权限判断一些只有管理员能看
     cardData(){
       return (val)=>{
-          let com = val.filter(e=> e.role==0 || (this.role == 1 && e.role == 1) )
+          let com = val.filter(e=> (e.role == 0 && e.tType != 2) || (this.role == 1 && e.role == 1))
           return com
       }
     }
@@ -48,9 +48,9 @@ export default {
       cardArray: [
         { title: '人才标准', icon: require('../../../assets/icon/liyuan/niandukaohe.svg'), type: 1, to: "/examineperson",role:0 },
         { title: '学生画像', icon: require('../../../assets/icon/liyuan/jiaoshihuaxiang.svg'), type: 1, to: `/testDataBoard?userid= +${this.$route.query.userid} +&oid= +${this.$route.query.oid} +&org= +${this.$route.query.org} +&role= +${this.$route.query.role} +&cid=`,role:0 },
-        { title: '人才数据库', icon: require('../../../assets/icon/liyuan/zhinengbiaodan.svg'), type: 1, to: "/sassPlatform",role:1,sassPlatFormTypeId:"eefb7195-8ee7-11f0-9c7b-005056924926" },
-        { title: '个人档案', icon: require('../../../assets/icon/liyuan/zlsj.svg'), type: 1, to: "/teadTest",role:0,sortId:'eefb7195-8ee7-11f0-9c7b-005056924926' },
-        { title: '人才评估', icon: require('../../../assets/icon/liyuan/workTest.svg'), type: 1, to: "/testReview",role:0 },
+        { title: '人才数据库', icon: require('../../../assets/icon/liyuan/zhinengbiaodan.svg'), type: 1, to: "/sassPlatform",role:1,sassPlatFormTypeId:"eefb7195-8ee7-11f0-9c7b-005056924926",tType:this.$route.query.tType },
+        { title: '个人档案', icon: require('../../../assets/icon/liyuan/zlsj.svg'), type: 1, to: "/teadTest",role:0,sortId:'00c21d13-e829-11ef-b508-005056924926' },
+        { title: '人才评估', icon: require('../../../assets/icon/liyuan/workTest.svg'), type: 1, to: "/testReview",role:0,tType:this.$route.query.tType },
       ]
       
     }

+ 6 - 2
src/components/pages/test/examine/conpoments/personPage.vue

@@ -27,7 +27,7 @@
       >
         <el-table-column type="index" align="center" label="序号" width="180">
         </el-table-column>
-        <el-table-column prop="username" align="center" label="教师姓名">
+        <el-table-column prop="username" align="center" :label="editname ? '姓名' : '教师姓名'">
         </el-table-column>
         <el-table-column
           prop="tea"
@@ -426,7 +426,11 @@ export default {
     timeB: {
       type: String,
       default:""
-    }
+    },
+    editname: {
+      type:String,
+      default:""
+    },
   },
   components: {
     shareBox

+ 4 - 2
src/components/pages/test/examine/index.vue

@@ -10,7 +10,7 @@
           @click="cutPage(2)"
           :class="[pType == 2 ? 'Tbor' : '']"
         >
-          专任教师
+          {{ editname ? '人才标准' : '专任教师' }}
         </div>
         <div
           class="teal"
@@ -26,7 +26,7 @@
           v-if="cutTable == 1"
           v-model="teacherName"
           @change="selectTeaName"
-          placeholder="请输入教师姓名"
+          :placeholder="'请输入' + editname ? '' : '教师' + '姓名'"
         ></el-input>
         <div style="margin: 0 20px;" v-if="timeListA.length>1 && pType == 1">
           <el-select v-model="timeA" placeholder="请选择">
@@ -78,6 +78,7 @@
     <div class="testCon">
       <targetPage :pType="pType" :timeA="timeA" :timeB="timeB" v-if="cutTable == 0"></targetPage>
       <personPage
+        :editname="editname"
         ref="child"
         :pType="pType"
         :teacherName="teacherName"
@@ -111,6 +112,7 @@ export default {
       timeB:"",
       oid: this.$route.query.oid,
       org: this.$route.query.org,
+      editname: this.$route.query.editName,
       pType: 2,
       cutTable: 1,
       teacherName: "",