浏览代码

所有的单位考评报告页面和考评详情页列表(包含任务中心相关页面)增加排序,降序;首页样式兼容1440分辨率;根据后端需要考评对标分析页面,搜索栏 阶段默认生产经营;类型中选择月度和季度,右侧属性新能源为风电,选择年度,属性为新能源;首页煤电一体化季度数据和以上模块数据格式保持一致;

SunZehao 1 年之前
父节点
当前提交
901751a647

+ 6 - 1
src/components/assessment/evaluationAmendmentNewFrom.vue

@@ -166,7 +166,7 @@
                                 <el-table-column label="考评单位" prop="organizationShortName" width="300" />
                                 <el-table-column  v-for="(it, index) in monthQuarterYearHeader" :key="index" :label="it.name" align="center">
                                     <el-table-column v-for="(iv, index) in it.children" :key="index" :label="iv.key"
-                                     align="center" width="150">
+                                     align="center" width="150" sortable :sort-method="(a,b)=>sortMethods(a,b,iv.code)">
                                         <template #default="scope">
                                             <el-select v-model="scope.row[iv.code]" placeholder="请选择审核状态" v-if="scope.row['IS_LH_'+iv.code] === '3'">
                                                 <el-option
@@ -316,6 +316,11 @@ export default {
             this.getModelData()
             this.rowMsg = row
         },
+        sortMethods(a, b, it) {
+            if (a[it] < b[it]) {
+                return -1
+            }
+        },
         // 获取业务属性
         getModelData() {
             let that = this

+ 17 - 2
src/components/assessment/evaluationBenchmarkingIndicPage.vue

@@ -222,18 +222,27 @@ export default {
                 showClick: false
             }
         ]
-        this.getEvalBenchmarkingIndicData()
         this.getBinstageAndType()
     },
     methods: {
         // 查询考评对标分析数据
         getEvalBenchmarkingIndicData() {
             let that = this
+            let binSectionFin = ''
+            if (that.binSectionStr === 'XNYFG') {
+                if (that.timeStr === 'YDKP' || that.timeStr === 'JDKP') {
+                    binSectionFin = 'FD'
+                } else {
+                    binSectionFin = 'XNYFG'
+                }
+            } else {
+                binSectionFin = that.binSectionStr
+            }
             let params = {
                 condition: that.timeStr,
                 date: that.timeIds,
                 type: that.indicatorIds,
-                binSection: that.binSectionStr,
+                binSection: binSectionFin,
                 binStage: that.stageIds
             }
             apiGetscoreCountevaluationList(params).then(datas => {
@@ -278,6 +287,11 @@ export default {
             apiGetbinstageList().then(datas =>{
                 if (datas && datas.data) {
                     that.stageData = datas.data
+                    datas.data.forEach(it =>{
+                        if (it.stageName === '生产经营') {
+                            that.stageIds = it.id
+                        }
+                    })
                 }
             })
             apiGetIndicatorTypeList({
@@ -287,6 +301,7 @@ export default {
                     that.indicatorTypeData = datas.data
                 }
             })
+            that.getEvalBenchmarkingIndicData()
         },
         changType(data) {
             this.titleMsgArr.forEach(it =>{

+ 7 - 1
src/components/assessment/evaluationReportTable.vue

@@ -20,7 +20,8 @@
                         <el-table :data="reportTableData.body" ref="report-table" style="width: 100%">
                             <el-table-column :label="rowevalradio.des" align="center">
                                 <el-table-column label="序号" type="index" width="50" align="center" />
-                                <el-table-column :label="item.nameZh" :prop="item.nameEh" v-for="item in reportTableData.title" :key="item" />
+                                <el-table-column  sortable :sort-method="(a,b)=>sortMethods(a,b,item.nameEh)"
+                                 :label="item.nameZh" :prop="item.nameEh" v-for="item in reportTableData.title" :key="item" />
                             </el-table-column>
                         </el-table>
                     </div>
@@ -49,6 +50,11 @@ export default {
             this.rowevalradio = row
             this.getreportTableData(row)
         },
+        sortMethods(a, b, it) {
+            if (a[it] < b[it]) {
+                return -1
+            }
+        },
         // 查询规则详情数据
         getreportTableData(row) {
             let that = this

+ 6 - 1
src/components/assessment/evaluationStartNewFrom.vue

@@ -162,7 +162,7 @@
                                 <el-table-column label="考评单位" prop="organizationShortName" width="300" />
                                 <el-table-column  v-for="(it, index) in monthQuarterYearHeader" :key="index" :label="it.name" align="center">
                                     <el-table-column v-for="(iv, index) in it.children" :key="index" :label="iv.key"
-                                     align="center"  width="150">
+                                     align="center"  width="150" sortable :sort-method="(a,b)=>sortMethods(a,b,iv.code)">
                                       <!-- :width="iv.code === 'state'?'150':''" -->
                                         <template #default="scope">
                                             <el-select v-model="scope.row[iv.code]" placeholder="请选择审核状态" v-if="scope.row['IS_LH_'+iv.code] === '3'">
@@ -289,6 +289,11 @@ export default {
             this.getModelData()
             this.rowMsg = row
         },
+        sortMethods(a, b, it) {
+            if (a[it] < b[it]) {
+                return -1
+            }
+        },
         // 获取业务属性
         getModelData() {
             let that = this

+ 6 - 1
src/components/assessment/monthQuarterYearFrom.vue

@@ -100,7 +100,7 @@
                                 </el-table-column>
                                 <el-table-column  v-for="(it, index) in monthQuarterYearHeader" :key="index" :label="it.name" align="center">
                                     <el-table-column v-for="(iv, index) in it.children" :key="index" :label="iv.key"
-                                     align="center" width="150">
+                                     align="center" width="150" sortable :sort-method="(a,b)=>sortMethods(a,b,iv.code)">
                                         <template #default="scope">
                                             <el-select v-model="scope.row[iv.code]" placeholder="请选择审核状态" v-if="scope.row['IS_LH_'+iv.code] === '3'">
                                                 <el-option
@@ -228,6 +228,11 @@ export default {
             this.getModelData(type)
             this.rowMsg = row
         },
+        sortMethods(a, b, it) {
+            if (a[it] < b[it]) {
+                return -1
+            }
+        },
         //获取单位数据
         getorganizationData(type) {
             let that = this

+ 7 - 7
src/components/gateWay/gatewayNewSeasonFrom.vue

@@ -22,7 +22,7 @@
                                 <span>排名</span>
                                 <span style="margin-left: 20px">单位名称</span>
                             </div>
-                            <div class="headerNameForeTit_right">
+                            <div class="headerNameForeTit_right" :style="winPix === 1.25 || innerWidth < 1920?'':'width:71%'">
                                 <span>得分</span>
                                 <span>加分事项</span>
                                 <span>扣分事项</span>
@@ -36,9 +36,9 @@
                     <div style="margin-top:10px">
                         <div style="display: flex;" v-for="(item, index) in evaluationSeasonDataLeft" :key="index">
                             <div class="mainFourMsg">
-                                <span>{{item.rank}}</span>
+                                <span :style="winPix === 1.25 || innerWidth < 1920?'width:10%':''">{{item.rank}}</span>
                                 <span>{{item.company}}</span>
-                                <span>{{item.score}}</span>
+                                <span :style="winPix === 1.25 || innerWidth < 1920?'width:20%':''">{{item.score}}</span>
                                 <div class="mainFourImg">
                                     <el-popover
                                         placement="right-start"
@@ -118,7 +118,7 @@
                                 <span>排名</span>
                                 <span style="margin-left: 20px">单位名称</span>
                             </div>
-                            <div class="headerNameForeTit_right">
+                            <div class="headerNameForeTit_right" :style="winPix === 1.25 || innerWidth < 1920?'':'width:71%'">
                                 <span>得分</span>
                                 <span>加分事项</span>
                                 <span>扣分事项</span>
@@ -131,9 +131,9 @@
                     </div>
                     <div style="display: flex" v-for="(item, index) in evaluationSeasonDataRight" :key="index">
                         <div class="mainFourMsg">
-                            <span>{{item.rank}}</span>
+                            <span :style="winPix === 1.25 || innerWidth < 1920?'width:10%':''">{{item.rank}}</span>
                             <span>{{item.company}}</span>
-                            <span>{{item.score}}</span>
+                            <span :style="winPix === 1.25 || innerWidth < 1920?'width:20%':''">{{item.score}}</span>
                             <div class="mainFourImg">
                                 <el-popover
                                     placement="right-start"
@@ -267,7 +267,7 @@ export default {
             this.getYearData(name, year, season)
         },
         seasonWidth() {
-            if (this.innerWidth === 1440) {
+            if (this.innerWidth < 1920) {
                 if (this.evaluationSeasonDataRight.length>0) {
                     return '97vw'
                 } else {

+ 4 - 4
src/components/gateWay/gatewayNewYearFrom.vue

@@ -34,14 +34,14 @@
                                 <span :style="rankStyle()">{{item.rank}}</span>
                                 <span :style="companyStyle()">{{item.company}}</span>
                                 <span>{{item.grade}}</span>
-                                <span :style="winPix === 1.25?'width:20%':''">{{item.score}}</span>
+                                <span :style="winPix === 1.25 || innerWidth < 1920?'width:20%':''">{{item.score}}</span>
                             </div>
                         </div>
                     </div>
                 </el-col>
                 <el-col :span="12" v-if="evaluationYearDataRight.length>0">
                     <div class="yearFromHeader">
-                        <div class="headerNameTit" :style="winPix === 1.25?'padding: 8px 45px 8px 20px;':''">
+                        <div class="headerNameTit" :style="winPix === 1.25 || innerWidth < 1920?'padding: 8px 45px 8px 20px;':''">
                             <div class="headerNameTit_left">
                                 <span>排名</span>
                                 <span style="margin-left: 20px">单位名称</span>
@@ -58,7 +58,7 @@
                                 <span :style="rankStyle()">{{item.rank}}</span>
                                 <span :style="companyStyle()">{{item.company}}</span>
                                 <span>{{item.grade}}</span>
-                                <span :style="winPix === 1.25?'width:20%':''">{{item.score}}</span>
+                                <span :style="winPix === 1.25 || innerWidth < 1920?'width:20%':''">{{item.score}}</span>
                             </div>
                         </div>
                     </div>
@@ -115,7 +115,7 @@ export default {
             this.getYearData(name, year, season)
         },
         yearWidth() {
-            if (this.innerWidth === 1440) {
+            if (this.innerWidth < 1920) {
                 if (this.evaluationYearDataRight.length>0) {
                     return '60vw'
                 } else {

+ 131 - 21
src/components/gatewaynNewPage.vue

@@ -91,9 +91,9 @@
                                 <img :src="item.img" alt="">
                                 <div class="msgProgress">
                                     <span
-                                        :style="winPix === 1.25?'font-size: 12px;width: 65%':''">{{item.company}}</span>
+                                        :style="winPix === 1.25  || innerWidth < 1920?'font-size: 12px;width: 65%':''">{{item.company}}</span>
                                     <span>{{item.grade}}</span>
-                                    <span :style="winPix === 1.25?'width: 25%':''">{{item.score}}</span>
+                                    <span :style="winPix === 1.25 || innerWidth < 1920?'width: 25%':''">{{item.score}}</span>
                                 </div>
                             </div>
                         </div>
@@ -104,7 +104,7 @@
                             <div class="mainFourMsg">
                                 <span class="mainFourcompany" :style="getFooter12Sty()">{{item.company}}</span>
                                 <div class="mainFourImg">
-                                    <span class="mainFourImgSpan">{{item.score}}</span>
+                                    <span class="mainFourImgSpan" :style="getFooterseaSty()">{{item.score}}</span>
                                     <el-popover placement="right-start" :title="item.company +' '+ item.score"
                                         :width="200" trigger="hover" :content="item.matter_heigh_note">
                                         <template #reference>
@@ -154,8 +154,7 @@
                 </div>
                 <div class="tableFooter">
                     <div class="footerOne">
-                        <!-- :style="getFooterOneSty()" -->
-                        <span>煤电一体化</span>
+                        <span :style="getFooterOneSty()">煤电一体化</span>
                     </div>
                     <div class="footerTwo">
                         <div style="display: flex" v-for="(item, index) in cupDataYearArr.integration" :key="index">
@@ -172,8 +171,8 @@
                         </div>
                     </div>
                     <div class="footerThree">
-                        <div class="mainMore" @click="yearSeeMore(it.nameEn, 'season')"></div>
-                        <div style="display: flex; justify-content: space-between;width: 100%"
+                        <div class="mainMore" @click="yearSeeMore('MDYTH', 'season')"></div>
+                        <!-- <div style="display: flex; justify-content: space-between;width: 100%"
                             v-for="(item, index) in cupDataSeasonArr.integration" :key="index">
                             <div class="footerThreeMsg" v-for="it in matterMsg" :key="it">
                                 <div class="footerImg">
@@ -222,6 +221,56 @@
                                     </el-popover>
                                 </div>
                             </div>
+                        </div> -->
+                        <div style="display: flex" v-for="(item, index) in cupDataSeasonArr.integration" :key="index">
+                            <div class="mainFourMsg">
+                                <span class="mainFourcompany" :style="getFooter12Sty()">{{item.company}}</span>
+                                <div class="mainFourImg">
+                                    <span class="mainFourImgSpan" :style="getFooterseaSty()">{{item.score}}</span>
+                                    <el-popover placement="right-start" :title="item.company +' '+ item.score"
+                                        :width="200" trigger="hover" :content="item.matter_heigh_note">
+                                        <template #reference>
+                                            <img :src="item.matter_heigh === 0 ? cenImg : item.matter_heigh === 1 ? topImg : botImg"
+                                                alt="">
+                                        </template>
+                                    </el-popover>
+                                    <el-popover placement="right-start" :title="item.company +' '+ item.score"
+                                        :width="200" trigger="hover" :content="item.matter_low_note">
+                                        <template #reference>
+                                            <img :src="item.matter_low === 0 ? cenImg : item.matter_low === 1 ? topImg : botImg"
+                                                alt="">
+                                        </template>
+                                    </el-popover>
+                                    <el-popover placement="right-start" :title="item.company +' '+ item.score"
+                                        :width="200" trigger="hover" :content="item.manage_heigh_note">
+                                        <template #reference>
+                                            <img :src="item.manage_heigh === 0 ? cenImg : item.manage_heigh === 1 ? topImg : botImg"
+                                                alt="">
+                                        </template>
+                                    </el-popover>
+                                    <el-popover placement="right-start" :title="item.company +' '+ item.score"
+                                        :width="200" trigger="hover" :content="item.manage_low_note">
+                                        <template #reference>
+                                            <img :src="item.manage_low === 0 ? cenImg : item.manage_low === 1 ? topImg : botImg"
+                                                alt="">
+                                        </template>
+                                    </el-popover>
+                                    <el-popover placement="right-start" :title="item.company +' '+ item.score"
+                                        :width="200" trigger="hover" :content="item.standard_heigh_note">
+                                        <template #reference>
+                                            <img :src="item.standard_heigh === 0 ? cenImg : item.standard_heigh === 1 ? topImg : botImg"
+                                                alt="">
+                                        </template>
+                                    </el-popover>
+                                    <el-popover placement="right-start" :title="item.company +' '+ item.score"
+                                        :width="200" trigger="hover" :content="item.standard_low_note">
+                                        <template #reference>
+                                            <img :src="item.standard_low === 0 ? cenImg : item.standard_low === 1 ? topImg : botImg"
+                                                alt="">
+                                        </template>
+                                    </el-popover>
+                                </div>
+                            </div>
                         </div>
                     </div>
                 </div>
@@ -229,8 +278,8 @@
             <el-col :span="5" class="report">
                 <div class="gateway_report">
                     <div class="reportTit">
-                        <p :style="winPix === 1.25? 'font-size: 16px;':''">通告栏</p>
-                        <el-icon :size="20" color="#3B7AD1" :style="winPix === 1.25? 'left: 80px;':''"
+                        <p :style="winPix === 1.25 || innerWidth < 1920? 'font-size: 16px;':''">通告栏</p>
+                        <el-icon :size="20" color="#3B7AD1" :style="winPix === 1.25 || innerWidth < 1920? 'left: 80px;':''"
                             @click="watchAllNotification">
                             <Plus />
                         </el-icon>
@@ -244,7 +293,7 @@
                                     <span
                                         style="margin-right: 10px">{{it.createTime.substring(0, it.createTime.indexOf(' '))}}</span>
                                     <span class="rightTwoSpanMsg"
-                                        :style="winPix === 1.25? 'width: 50%;':''">{{it.releaseDeptName}}</span>
+                                        :style="winPix === 1.25 || innerWidth < 1920? 'width: 50%;':''">{{it.releaseDeptName}}</span>
                                 </div>
                             </div>
                         </div>
@@ -304,7 +353,8 @@
                 changeYear: '',
                 seasonStr: '',
                 seasonArr: ['第一季度', '第二季度', '第三季度'],
-                winPix: window.devicePixelRatio
+                winPix: window.devicePixelRatio,
+                innerWidth: window.innerWidth
             }
         },
         created() {
@@ -324,7 +374,7 @@
         },
         mounted() {
             this.getYearSeasonData()
-            this.getDeptNoticeData()
+            // this.getDeptNoticeData()
         },
         methods: {
             // 获取首页年份和季度数据
@@ -365,32 +415,37 @@
                 }
             },
             getPos() {
-                if (this.winPix === 1.25) {
+                if (this.winPix === 1.25 || this.innerWidth < 1920) {
                     return 'top: -15%;'
                 }
             },
             getPickerSty() {
-                if (this.winPix === 1.25) {
+                if (this.winPix === 1.25 || this.innerWidth < 1920) {
                     return 'margin: 5px 0 0 20px;'
                 }
             },
             getMainOneSty() {
-                if (this.winPix === 1.25) {
+                if (this.winPix === 1.25 || this.innerWidth < 1920) {
                     return 'font-size: 14px'
                 }
             },
             getFooterOneSty() {
-                if (this.winPix === 1.25) {
+                if (this.winPix === 1.25 || this.innerWidth < 1920) {
                     return 'font-size: 12px;line-height: 12px;'
                 }
             },
             getFooter12Sty() {
-                if (this.winPix === 1.25) {
-                    return 'font-size: 12px'
+                if (this.winPix === 1.25 || this.innerWidth < 1920) {
+                    return 'font-size: 12px;width:25%'
+                }
+            },
+            getFooterseaSty() {
+                if (this.winPix === 1.25 || this.innerWidth < 1920) {
+                    return 'width:10%'
                 }
             },
             getfooterSpan() {
-                if (this.winPix === 1.25) {
+                if (this.winPix === 1.25 || this.innerWidth < 1920) {
                     return 'width: 3.4vw;padding: 5px 3px 0;'
                 }
             },
@@ -1123,7 +1178,7 @@
                 .footerThree {
                     // width: calc(100% - 536px);
                     width: 57%;
-                    padding-top: 13px;
+                    padding-top: 10px;
                     position: relative;
 
                     .mainMore {
@@ -1183,6 +1238,61 @@
                             }
                         }
                     }
+
+                    .mainFourMsg {
+                        display: flex;
+                        justify-content: space-between;
+                        margin: 0 10px;
+                        width: 100%;
+                        // height: 33px;
+                        height: 3.5vh;
+                        background: #F6F7FA;
+                        margin-bottom: 8px;
+                        padding-left: 10px;
+                        padding-top: 2px;
+                        border-radius: 5px;
+
+                        span {
+                            font-size: 14px;
+                            font-family: Microsoft YaHei;
+                            position: relative;
+                            top: 6px;
+                            display: inline-block;
+                        }
+
+                        .mainFourcompany {
+                            width: 27%;
+                            overflow: hidden;
+                            text-overflow: ellipsis;
+                            white-space: nowrap;
+                            font-weight: 400;
+                            color: #666;
+                            margin-right: 17px;
+                        }
+
+                        .mainFourImg {
+                            display: flex;
+                            justify-content: space-between;
+                            width: 76%;
+
+                            .mainFourImgSpan {
+                                width: 5%;
+                                font-weight: 600;
+                                // margin-right: 15px;
+                                color: #666;
+                            }
+
+                            img {
+                                width: 20px;
+                                height: 20px;
+                                position: relative;
+                                top: 5px;
+                                left: -10px;
+                                // margin-right: 33px;
+                                // margin-left: 22px;
+                            }
+                        }
+                    }
                 }
             }
         }
@@ -1252,7 +1362,7 @@
 
                             p {
                                 // width: 300px;
-                                width: 100%;
+                                width: 95%;
                                 overflow: hidden;
                                 text-overflow: ellipsis;
                                 white-space: nowrap;

+ 11 - 6
src/components/notification/notificationMangePage.vue

@@ -103,7 +103,7 @@
                         </el-form-item>
                         <el-form-item label="公告内容" prop="noticeContent">
                             <!-- <pre v-if="isSave">{{ruleForm.noticeContent}}</pre> -->
-                            <el-input v-model="ruleForm.noticeContent" :disabled="isSave"
+                            <el-input v-model="ruleForm.noticeContent" :disabled="isDisable"
                             type="textarea" :rows="10" placeholder="请输入公告内容"></el-input>
                             
                         </el-form-item>
@@ -281,6 +281,7 @@ export default {
             dialogVisible: false,
             filesVisible: false,
             isSave: false,
+            isDisable: false,
             title: '',
             evalradio: {},
             changeDateSelect: [],
@@ -451,10 +452,10 @@ export default {
                 sendTo: that.ruleForm.sendTo,
                 sendToContent: that.ruleForm.sendToContent.join(','),
                 releaseState: type === '草稿'? '草稿': type === '发布'?'已发布':'未发布',
-                // releaseDept: that.userMes.deptId,
-                // releaseDeptName: that.userMes.deptName,
-                // releasePeople: that.userMes.id,
-                // releasePeopleName: that.userMes.name
+                releaseDept: that.userMes.deptId,
+                releaseDeptName: that.userMes.deptName,
+                releasePeople: that.userMes.id,
+                releasePeopleName: that.userMes.name
             }
             const formData = new FormData()
             if (that.filesList.length>0) {
@@ -513,6 +514,7 @@ export default {
         handleAdd() {
             this.dialogVisible = true
             this.isSave = false
+            this.isDisable = false
             this.title = '公告发布'
             this.$nextTick(() =>{
                 this.$refs['ruleForm'].resetFields()
@@ -531,6 +533,7 @@ export default {
         handleEdit(row) {
             this.dialogVisible = true
             this.isSave = true
+            this.isDisable = false
             this.title = '公告发布'
             this.filesList = []
             this.filesListEdit = []
@@ -539,7 +542,9 @@ export default {
             } else {
                 this.evalradio = this.changeDateSelect[0]
             }
-            
+            if (this.evalradio.releaseState === '已发布') {
+                this.isDisable = true
+            }
             let conStr = ''
             for(let i in this.evalradio.noticeContent) {
                 let it = this.evalradio.noticeContent[i]

+ 6 - 1
src/components/taskCenter/taskCenterEvlNewFrom.vue

@@ -100,7 +100,7 @@
                                 </el-table-column>
                                 <el-table-column  v-for="(it, index) in monthQuarterYearHeader" :key="index" :label="it.name" align="center">
                                     <el-table-column v-for="(iv, index) in it.children" :key="index" :label="iv.key"
-                                     align="center" width="150">
+                                     align="center" width="150" sortable :sort-method="(a,b)=>sortMethods(a,b,iv.code)">
                                         <template #default="scope">
                                             <el-select v-model="scope.row[iv.code]" placeholder="请选择审核状态" v-if="scope.row['IS_LH_'+iv.code] === '3'">
                                                 <el-option
@@ -233,6 +233,11 @@ export default {
             this.getModelData(this.taskDefKey)
             this.rowMsg = row
         },
+        sortMethods(a, b, it) {
+            if (a[it] < b[it]) {
+                return -1
+            }
+        },
         //获取头部详情
         getevalHeaderDetails(id, defKey) {
             let that = this

+ 6 - 2
src/components/taskCenter/taskEvaluationStart.vue

@@ -162,7 +162,7 @@
                                 <el-table-column label="考评单位" prop="organizationShortName" width="300" />
                                 <el-table-column  v-for="(it, index) in monthQuarterYearHeader" :key="index" :label="it.name" align="center">
                                     <el-table-column v-for="(iv, index) in it.children" :key="index" :label="iv.key"
-                                     align="center" width="150">
+                                     align="center" width="150" sortable :sort-method="(a,b)=>sortMethods(a,b,iv.code)">
                                         <template #default="scope">
                                             <el-select v-model="scope.row[iv.code]" placeholder="请选择审核状态" v-if="scope.row['IS_LH_'+iv.code] === '3'">
                                                 <el-option
@@ -293,7 +293,11 @@ export default {
             this.getModelData(this.taskDefKey)
             this.rowMsg = row
         },
-        
+        sortMethods(a, b, it) {
+            if (a[it] < b[it]) {
+                return -1
+            }
+        },
         //获取头部详情
         getevalHeaderDetails(id) {
             let that = this

+ 1 - 1
src/utils/baseUrl.js

@@ -10,7 +10,7 @@ switch (process.env.NODE_ENV) {
     case 'development': 
         baseUrl.ROOT = "/api"  //开发环境url
         // baseUrl.URL = "http://10.65.59.67:28800"
-        baseUrl.URL = "http://192.168.2.7:28800"
+        baseUrl.URL = "http://192.168.2.3:28800"
         // baseUrl.URL = "http://10.65.78.23:28800"  //测试环境
         // baseUrl.URL = "http://10.65.78.81:28800"  // 正式环境
         break