浏览代码

部门考评配置根据要求调整界面;移动端增加季度单位考评页面,服务联调;

SunZehao 1 年之前
父节点
当前提交
5f20757abc

+ 6 - 0
src/components/evaluationSystem/evaluationDepartmentPage.vue

@@ -37,6 +37,12 @@
                     <!-- <el-table-column label="部门编码" prop="shortDeptName" /> -->
                     <el-table-column label="部门名称" prop="deptName" />
                     <el-table-column label="部门领导名称" prop="chargePersonName" />
+                    <el-table-column label="部门应用">
+                        <template #default="scope">
+                            <span>{{scope.row.yjzbjhType === '1'?'业绩指标计划':''}}</span>
+                            <span>, {{scope.row.jxjgkhsbType === '1'?'绩效考核申报':''}}</span>
+                        </template>
+                    </el-table-column>
                     <!-- <el-table-column label="考评类型" >
                         <template #default="scope">
                                 <span>{{scope.row.evaluationCategory === 'BMKP'?'部门考评':''}}</span>

+ 1 - 1
src/mobeilComponent/menuMobeilPage.vue

@@ -12,7 +12,7 @@
                 <!-- <p @click="enterPage('quarterConpany')">季度单位评级</p>
                 <p @click="enterPage('report')">单位考评报告</p>
                 <p @click="enterPage('earlyWarning')">单位考评预警</p>
-                <p @click="enterPage('notification')">对标考评公告</p> -->
+                <p @click="enterPage('notificationMobeil')">对标考评公告</p> -->
                 <p @click="enterPage('mobeil')">年度单位评级</p>
                 <p>季度单位评级</p>
                 <p>单位考评报告</p>

+ 14 - 1
src/mobeilComponent/seasonConpanyPage.vue

@@ -26,7 +26,7 @@
                         <span @click="changeSelect">{{binSectionName}}板块</span>
                     </div>
                     <div class="mainSeachImg">
-                        <img :src="sortImg" alt="">
+                        <img :src="sortImg" alt="" @click="sortSeasonData">
                         <img :src="seachImg" alt="" @click="getSeasonData(binSection, showDate)">
                     </div>
                 </div>
@@ -168,6 +168,19 @@ export default {
                 }
             })
         },
+        sortSeasonData() {
+            if (this.seasonConpanyData.length>1) {
+                if (this.seasonConpanyData[0].score > this.seasonConpanyData[this.seasonConpanyData.length-1].score) {
+                    this.seasonConpanyData.sort(function(a,b){
+                        return a.score - b.score
+                    })
+                } else {
+                    this.seasonConpanyData.sort(function(a,b){
+                        return b.score - a.score
+                    })
+                }
+            }
+        },
         chooseMenu() {
             this.$router.push({ path: "/menu"})
         },

+ 2 - 2
src/router/index.js

@@ -437,8 +437,8 @@ const routes = [
             ),
     },
     {
-        path: '/notification',
-        name: 'notification',
+        path: '/notificationMobeil',
+        name: 'notificationMobeil',
         meta: {
             title: '对标考评公告',
         },