Explorar el Código

修改单位月季年考评主表操作逻辑增加loading,详情页面增加板块与业务相关联操作逻辑,代码调整;前端增加考评业务预警页面,增加echarts与表格页面功能,后端待开发与联调;

SunZehao hace 1 año
padre
commit
0f15a7fc89

+ 2 - 2
src/api/api.js

@@ -23,8 +23,8 @@ export function apiGetModel(url, params) {
 //获取菜单数据
 export function apiGetMenuData() {
     return httpRequest({
-        url: 'menu/menuList?parentId=10105', // 测试
-        // url: 'menu/menuList?parentId=6802', // 生产
+        // url: 'menu/menuList?parentId=10105', // 测试
+        url: 'menu/menuList?parentId=6802', // 生产
         method: 'post'
     })
 }

+ 18 - 1
src/components/assessment/evaluationMonthPage.vue

@@ -1,5 +1,5 @@
 <template>
-    <div class="evaluationMonth">
+    <div class="evaluationMonth" v-loading="loading">
         <div class="evaluationMonthBtn">
             <div class="collectSeach" :style="$utils.collectSeachSty()">
                 <div class="exceed">
@@ -205,6 +205,7 @@ export default {
     },
     data() {
         return {
+            loading: false,
             dialogVisible: false,
             statesVisible: false,
             stageArr: [],
@@ -442,6 +443,7 @@ export default {
         //计算得分
         calculateScore(row) {
             let that = this
+            that.loading = true
             let params = {
                 id: row.id
             }
@@ -452,6 +454,7 @@ export default {
                             message: datas.message,
                             type: 'success'
                         });
+                        that.loading = false
                     } else {
                         that.$message({
                             message: datas.message,
@@ -459,12 +462,19 @@ export default {
                         });
                     }
                 } 
+            }).catch(e =>{
+                that.loading = false
+                that.$message({
+                    message: '计算得分失败,请联系管理员',
+                    type: 'error'
+                });
             })
         },
         //生成报表
         generateReport(row) {
             let that = this
             that.isReportshow = true
+            that.loading = true
             let params = {
                 organizationEvaluationId: row.id
             }
@@ -476,6 +486,7 @@ export default {
                             message: datas.message,
                             type: 'success'
                         });
+                        that.loading = false
                     } else {
                         that.$message({
                             message: datas.message,
@@ -483,6 +494,12 @@ export default {
                         });
                     }
                 } 
+            }).catch(e =>{
+                that.loading = false
+                that.$message({
+                    message: '生成报表失败,请联系管理员',
+                    type: 'error'
+                });
             })
         },
         getSeachData() {

+ 19 - 2
src/components/assessment/evaluationQuarterPage.vue

@@ -1,5 +1,5 @@
 <template>
-    <div class="evaluationQuarter">
+    <div class="evaluationQuarter" v-loading="loading">
         <div class="evaluationQuarterBtn">
             <div class="collectSeach" :style="$utils.collectSeachSty()">
                 <div class="exceed">
@@ -205,6 +205,7 @@ export default {
     },
     data() {
         return {
+            loading: false,
             dialogVisible: false,
             statesVisible: false,
             stageArr: [],
@@ -465,6 +466,7 @@ export default {
         //计算得分
         calculateScore(row) {
             let that = this
+            that.loading = true
             let params = {
                 id: row.id
             }
@@ -475,6 +477,7 @@ export default {
                             message: datas.message,
                             type: 'success'
                         });
+                        that.loading = false
                     } else {
                         that.$message({
                             message: datas.message,
@@ -482,12 +485,19 @@ export default {
                         });
                     }
                 } 
+            }).catch(e =>{
+                that.loading = false
+                that.$message({
+                    message: '计算得分失败,请联系管理员',
+                    type: 'error'
+                });
             })
         },
         //生成报表
         generateReport(row) {
             let that = this
             that.isReportshow = true
+            that.loading = true
             let params = {
                 organizationEvaluationId: row.id
             }
@@ -499,13 +509,20 @@ export default {
                             message: datas.message,
                             type: 'success'
                         });
+                        that.loading = false
                     } else {
                         that.$message({
                             message: datas.message,
                             type: 'error'
                         });
                     }
-                } 
+                }
+            }).catch(e =>{
+                that.loading = false
+                that.$message({
+                    message: '生成报表失败,请联系管理员',
+                    type: 'error'
+                });
             })
         },
         getSeachData() {

+ 18 - 1
src/components/assessment/evaluationYearPage.vue

@@ -1,5 +1,5 @@
 <template>
-    <div class="evaluationYear">
+    <div class="evaluationYear" v-loading="loading">
         <div class="evaluationYearBtn">
             <div class="collectSeach" :style="$utils.collectSeachSty()">
                 <div class="exceed">
@@ -202,6 +202,7 @@ export default {
     },
     data() {
         return {
+            loading: false,
             dialogVisible: false,
             statesVisible: false,
             stageArr: [],
@@ -437,6 +438,7 @@ export default {
         //计算得分
         calculateScore(row) {
             let that = this
+            that.loading = true
             let params = {
                 id: row.id
             }
@@ -447,6 +449,7 @@ export default {
                             message: datas.message,
                             type: 'success'
                         });
+                        that.loading = false
                     } else {
                         that.$message({
                             message: datas.message,
@@ -454,12 +457,19 @@ export default {
                         });
                     }
                 } 
+            }).catch(e =>{
+                that.loading = false
+                that.$message({
+                    message: '计算得分失败,请联系管理员',
+                    type: 'error'
+                });
             })
         },
         //生成报表
         generateReport(row) {
             let that = this
             that.isReportshow = true
+            that.loading = true
             let params = {
                 organizationEvaluationId: row.id
             }
@@ -471,6 +481,7 @@ export default {
                             message: datas.message,
                             type: 'success'
                         });
+                        that.loading = false
                     } else {
                         that.$message({
                             message: datas.message,
@@ -478,6 +489,12 @@ export default {
                         });
                     }
                 } 
+            }).catch(e =>{
+                that.loading = false
+                that.$message({
+                    message: '生成报表失败,请联系管理员',
+                    type: 'error'
+                });
             })
         },
         getSeachData() {

+ 42 - 0
src/components/assessment/monthQuarterYearFrom.vue

@@ -371,6 +371,36 @@ export default {
             })
         },
         handleClick(val) {
+            this.titleMsgArr.forEach(it =>{
+                it.showClick = false
+                if (val.props.name === 'QQXM') {
+                    if (it.isNameEn === 'QQ') {
+                        it.showClick = true
+                        this.binSectionStr = it.id
+                    }
+                } else if (val.props.name === 'JJXM') {
+                    if (it.isNameEn === 'JJ') {
+                        it.showClick = true
+                        this.binSectionStr = it.id
+                    }
+                } else if (val.props.name === 'GLSX') {
+                    if (it.isNameEn === 'GLSX') {
+                        it.showClick = true
+                        this.binSectionStr = it.id
+                    }
+                } else if (val.props.name === 'ZDZX') {
+                    if (it.isNameEn === 'ZDZX') {
+                        it.showClick = true
+                        this.binSectionStr = it.id
+                    }
+                } else {
+                    if (it.isNameEn === 'HD') {
+                        it.showClick = true
+                        this.binSectionStr = it.id
+                    }
+                }
+            })
+            console.log('val.props.name', val.props.name)
             let stageId = ''
             this.stageData.forEach(it =>{
                 if (it.stageCode === val.props.name) {
@@ -411,6 +441,18 @@ export default {
             this.getTableData(tag.id)
         },
         changType(data) {
+            if (data.isNameEn === 'QQ') {
+                this.activeName = 'QQXM'
+            } else if (data.isNameEn === 'JJ') {
+                this.activeName = 'JJXM'
+            } else if (data.isNameEn === 'GLSX') {
+                this.activeName = 'GLSX'
+            } else if (data.isNameEn === 'ZDZX') {
+                this.activeName = 'ZDZX'
+            } else {
+                this.activeName = 'SCJY'
+            }
+            console.log('sectionA==>', data)
             this.titleMsgArr.forEach(it =>{
                 it.showClick = false
                 if (it.isName === data.isName) {

+ 341 - 0
src/components/evaluationSystem/systemWarningPage.vue

@@ -0,0 +1,341 @@
+<template>
+    <div class="moreBrand">
+        <div class="moreBrandBtn">
+            <div class="collectSeach" :style="$utils.collectSeachSty()">
+                <div class="exceed">
+                    <span class="exceedSpan" style="width: 80px">业务属性:</span>
+                    <el-select v-model="moduleStr" placeholder="请选择业务属性">
+                        <el-option
+                        v-for="item in moduleData"
+                        :key="item.id"
+                        :label="item.sectionName"
+                        :value="item.id">
+                        </el-option>
+                    </el-select>
+                </div>
+                <div class="exceed">
+                    <span class="exceedSpan" style="width: 80px">考评周期:</span>
+                    <el-select v-model="checkCycleStr" placeholder="请选择考评周期">
+                        <el-option
+                        v-for="item in periodData"
+                        :key="item.keyValue"
+                        :label="item.keyName"
+                        :value="item.keyValue">
+                        </el-option>
+                    </el-select>
+                </div>
+                <seachs @handleSeach="getSeachData" @handleRest="resetSeach"></seachs>
+            </div>
+            <div id="warnEch" :style="{'width': '100%','height': '35vh'}"></div>
+            <div class="moreBrandTableData">
+                <el-table :data="moreBrandData" style="width: 100%" :class="moreBrandTableSty()">
+                    <el-table-column type="expand">
+                    <template #default="props">
+                        <div class="inTable">
+                            <el-table :data="props.row.children" border>
+                                <el-table-column label="单位名称" prop="organizationName" />
+                                <el-table-column label="业务属性" prop="binSectionName" />
+                                <el-table-column label="考评周期" prop="checkCycle">
+                                    <template #default="scope">
+                                        <span>{{scope.row.checkCycle === 'YDKP'?'月度考评':scope.row.checkCycle === 'JDKP'?'季度考评':'年度考评'}}</span>
+                                    </template>
+                                </el-table-column>
+                                <el-table-column label="利润金额" prop="profit" />
+                                <el-table-column label="分数" prop="score" />
+                                <el-table-column label="年" prop="year" />
+                                <el-table-column label="月" prop="month" />
+                                <el-table-column label="备注" prop="remark" />
+                            </el-table>
+                        </div>
+                    </template>
+                    </el-table-column>
+                    <el-table-column label="单位名称" prop="organizationName" />
+                    <el-table-column label="业务属性" prop="binSectionName" />
+                    <el-table-column label="考评周期" prop="checkCycle">
+                        <template #default="scope">
+                            <span>{{scope.row.checkCycle === 'YDKP'?'月度考评':scope.row.checkCycle === 'JDKP'?'季度考评':'年度考评'}}</span>
+                        </template>
+                    </el-table-column>
+                    <el-table-column label="利润金额" prop="profit" />
+                    <el-table-column label="分数" prop="score" />
+                    <el-table-column label="年" prop="year" />
+                    <el-table-column label="月" prop="month" />
+                    <el-table-column label="备注" prop="remark" />
+                </el-table>
+                <el-pagination
+                    @size-change="handleSizeChange"
+                    @current-change="handleCurrentChange"
+                    :current-page="page.currentPage"
+                    :page-size="page.pagesize"
+                    layout="total, prev, pager, next, jumper"
+                    :total="page.total">
+                </el-pagination>
+            </div>
+        </div>
+    </div>
+</template>
+
+<script>
+import seachs from '../seachGroup.vue'
+import btns from '../elbuttonS.vue'
+import {apiGetmultiplebrandtreeList, apiPostmultiplebrandSave, apiGetorganizationgetListTwo,
+apiPostmultiplebrandRemove, apiGetbinsectionList, apiGetdatadictionaryList} from '../../api/api'
+export default {
+    components: { btns, seachs },
+    data() {
+        return {
+            dialogVisible: false,
+            title: '',
+            isSave: false,
+            moduleData: [],
+            periodData: [],
+            moduleStr: '',
+            checkCycleStr: '',
+            moreBrandData:[],
+            companyDatas: [],
+            addType: '',
+            ruleForm: {
+                organizationName: '',
+                binSection: '',
+                checkCycle: '',
+                profit: 0,
+                score: 0,
+                year: '',
+                month: 1,
+                remark: ''
+            },
+            rules: {
+                organizationName: [
+                    { required: true, message: '请选择单位名称', trigger: 'change' }
+                ],
+                binSection: [
+                    { required: true, message: '请选择业务属性', trigger: 'change' }
+                ],
+                checkCycle: [
+                    { required: true, message: '请选择考评周期', trigger: 'change' }
+                ],
+                year: [
+                    { required: true, message: '请选择年份', trigger: 'change' }
+                ]
+            },
+            page:{
+                pagesize: 12,
+                currentPage: 1,
+                total: 0
+            },
+            evalradio: {},
+            winPix: window.devicePixelRatio,
+            innerWidth: window.innerWidth
+        }
+    },
+    created() {
+        this.getMoreBrandData()
+        this.getOrganizetionData()
+        this.getDataDictionary()
+    },
+    mounted() {
+        this.warnEcharts()
+    },
+    methods:{
+        // 展示预警echarts
+        warnEcharts() {
+            this.echartsOption()
+        },
+        echartsOption() {
+            let option = {
+                xAxis: {
+                    type: 'category',
+                    data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun']
+                },
+                yAxis: {
+                    type: 'value'
+                },
+                series: [
+                    {
+                    data: [150, 230, 224, 218, 135, 147, 260],
+                    type: 'line'
+                    }
+                ]
+            };
+            let dom = document.getElementById('warnEch');
+            // dom.removeAttribute("_echarts_instance_")
+            let myChart = this.$echarts.init(dom);
+            myChart.setOption(option);
+            window.addEventListener("resize", function () {
+                myChart.resize()
+            })
+        },
+        // 查询指标数据
+        getMoreBrandData() {
+            let that = this
+            let params = {
+                pageNum: that.page.currentPage,
+                pageSize: that.page.pagesize,
+                binSection: that.moduleStr,
+                checkCycle: that.checkCycleStr
+            }
+            apiGetmultiplebrandtreeList(params).then(datas =>{
+                if (datas && datas.data) {
+                    that.moreBrandData = datas.data.records
+                    that.page.total = datas.data.total
+                }
+            })
+        },
+        //查询组织数据
+        getOrganizetionData() {
+            let that = this
+            // let params = {
+            //     id: id,
+            //     num: num
+            // }
+            apiGetorganizationgetListTwo().then(datas => {
+                if (datas && datas.data) {
+                    that.companyDatas = datas.data
+                }
+            })
+        },
+        // 查询规则模块和阶段数据
+        getDataDictionary() {
+            let that = this
+            apiGetbinsectionList().then(datas =>{
+                if (datas && datas.data) {
+                    that.moduleData = datas.data
+                }
+            })
+            apiGetdatadictionaryList({superKey: 'KPZQ0001'}).then(datas => {
+                if (datas && datas.data) {
+                    that.periodData = datas.data
+                }
+            })
+        },
+        getSeachData() {
+            this.page.currentPage = 1
+            this.getMoreBrandData()
+        },
+        resetSeach() {
+            this.page.currentPage = 1
+            this.moduleStr = ''
+            this.checkCycleStr = ''
+            this.getMoreBrandData()
+        },
+        handleSizeChange(val){
+            this.page.pagesize = val
+            this.getMoreBrandData()
+        },
+        handleCurrentChange(val){
+            this.page.currentPage =val
+            this.getMoreBrandData()
+        },
+        moreBrandTableSty() {
+            if (this.winPix === 1.25 || this.innerWidth < 1800) {
+                return 'moreBrand125Table'
+            } else {
+                return 'moreBrand100Table'
+            }
+        }
+    }
+}
+</script>
+
+<style lang="less">
+.moreBrand{
+  .moreBrandBtn{
+        .collectSeach{
+            display: flex;
+            padding: 24px 20px;
+            border-bottom: 1px solid#D6DBEA;
+                .exceed{
+                    display: flex;
+                    .exceedSpan{
+                        width: 100px;
+                        height: 12px;
+                        font-size: 14px;
+                        font-family: Microsoft YaHei;
+                        font-weight: 400;
+                        color: #8991B0;
+                        line-height: 12px;
+                        margin-top: 14px;
+                    }
+                    .el-select{
+                        line-height: 40px !important;
+                        .el-input__inner, .is-disabled{
+                            height:40px !important;
+                        }
+                        .el-input__suffix{
+                            .el-select__caret{
+                                line-height:40px;
+                            }
+                        }
+                    }
+                }
+                .el-select{
+                    margin-right:10px;
+                    .el-input__inner{
+                        height:30px;
+                    }
+                    .el-input__suffix{
+                        .el-select__caret{
+                            line-height:30px;
+                        }
+                    }
+                }
+        }
+        span{
+            font-size:14px;
+        }
+        .el-button{
+            height: 30px;
+            // width:100px;
+            padding: 0 30px ;
+            // padding-top: 8px;
+            span{
+                margin:0;
+            }
+        }
+    }
+  .moreBrandTableData{
+    .moreBrand125Table{
+        .el-table__body-wrapper{
+            height: 28vh !important;
+        }
+    }
+    .moreBrand100Table{
+        .el-table__body-wrapper{
+            height: 30vh !important;
+        }
+    }
+    .el-table{
+        .el-input__inner{
+            height: 30px !important;
+        }
+        .el-radio__label{
+            display: none;
+        }
+        
+        .inTable{
+            padding: 20px;
+            .el-table{
+                .el-table__body-wrapper{
+                    height: 30vh !important;
+                }
+            }
+        }
+        .indicitem{
+            color: #409EFF;
+            font-size: 12px;
+            margin-right: 20px;
+            cursor:pointer;
+            &:hover{
+                text-decoration: underline;
+            }
+        }
+    }
+    .el-pagination{
+        margin-top: 20px;
+        text-align: end;
+        position: relative;
+    }
+    }
+    
+}
+</style>

+ 40 - 0
src/components/taskCenter/taskCenterEvlNewFrom.vue

@@ -402,6 +402,35 @@ export default {
             }
         },
         handleClick(val) {
+            this.titleMsgArr.forEach(it =>{
+                it.showClick = false
+                if (val.props.name === 'QQXM') {
+                    if (it.isNameEn === 'QQ') {
+                        it.showClick = true
+                        this.binSectionStr = it.id
+                    }
+                } else if (val.props.name === 'JJXM') {
+                    if (it.isNameEn === 'JJ') {
+                        it.showClick = true
+                        this.binSectionStr = it.id
+                    }
+                } else if (val.props.name === 'GLSX') {
+                    if (it.isNameEn === 'GLSX') {
+                        it.showClick = true
+                        this.binSectionStr = it.id
+                    }
+                } else if (val.props.name === 'ZDZX') {
+                    if (it.isNameEn === 'ZDZX') {
+                        it.showClick = true
+                        this.binSectionStr = it.id
+                    }
+                } else {
+                    if (it.isNameEn === 'HD') {
+                        it.showClick = true
+                        this.binSectionStr = it.id
+                    }
+                }
+            })
             let stageId = ''
             this.stageData.forEach(it =>{
                 if (it.stageCode === val.props.name) {
@@ -442,6 +471,17 @@ export default {
             this.getTableData(tag.id)
         },
         changType(data) {
+            if (data.isNameEn === 'QQ') {
+                this.activeName = 'QQXM'
+            } else if (data.isNameEn === 'JJ') {
+                this.activeName = 'JJXM'
+            } else if (data.isNameEn === 'GLSX') {
+                this.activeName = 'GLSX'
+            } else if (data.isNameEn === 'ZDZX') {
+                this.activeName = 'ZDZX'
+            } else {
+                this.activeName = 'SCJY'
+            }
             this.titleMsgArr.forEach(it =>{
                 it.showClick = false
                 if (it.isName === data.isName) {

+ 30 - 11
src/mobeilComponent/seasonConpanyPage.vue

@@ -19,7 +19,7 @@
             <div class="seasonConpanyMain">
                 <div class="mainSeach">
                     <div class="rankingList">
-                        <span>{{showDate}}年</span>
+                        <span>{{showDate}}年{{showSeason}}季</span>
                         <img :src="dateImg" @click="changePickerDate" alt="">
                     </div>
                     <div class="sectionModel">
@@ -27,13 +27,14 @@
                     </div>
                     <div class="mainSeachImg">
                         <img :src="sortImg" alt="" @click="sortSeasonData">
-                        <img :src="seachImg" alt="" @click="getSeasonData(binSection, showDate)">
+                        <img :src="seachImg" alt="" @click="getSeasonData(binSection, showDate, showSeason)">
                     </div>
                 </div>
                 <van-date-picker
                     v-model="currentDate"
-                    title="选择年份"
-                    :columns-type="['year']"
+                    title="选择年季"
+                    :columns-type="['year', 'month']"
+                    :filter="filterDate"
                     @confirm="confirmFn"
                     @cancel="cancelpickerFn"
                     v-if="showDatePicker"
@@ -105,7 +106,7 @@ import topImg from '../assets/getwayImg/topNewS.png'
 import botImg from '../assets/getwayImg/botNewS.png'
 import cenImg from '../assets/getwayImg/cenNew.png'
 
-import {apiGetevaluationportallist} from '../api/api'
+import {apiGetevaluationportallist, apiGetevaluationportalhomeSeason} from '../api/api'
 export default {
     data() {
         return {
@@ -121,6 +122,7 @@ export default {
             showSelect: false,
             currentDate: [],
             showDate: '',
+            showSeason: '',
             binSection: 'HD',
             binSectionName: '火电',
             seasonConpanyData: [],
@@ -128,9 +130,6 @@ export default {
         }
     },
     created() {
-        this.showDate = new Date().getFullYear()
-        this.currentDate = [this.showDate]
-        this.getSeasonData(this.binSection, this.showDate)
         this.columnSection = [
             { text: '火电', value: 'HD' },
             { text: '水电', value: 'SD' },
@@ -138,16 +137,35 @@ export default {
             { text: '海外业务', value: 'GJYW' },
             { text: '煤电一体化', value: 'MDYTH' }
         ]
+        this.getYearSeasonData()
     },
     methods: {
+        // 获取首页年份和季度数据
+        getYearSeasonData() {
+            let that = this
+            apiGetevaluationportalhomeSeason().then(datas => {
+                if (datas.success) {
+                    that.showDate = datas.data.year
+                    that.showSeason = datas.data.season
+                    that.currentDate = [that.showDate, that.showSeason]
+                    that.getSeasonData(that.binSection, that.showDate, that.showSeason)
+                }
+            })
+        },
+        filterDate(type, options) {
+            if (type === 'month') {
+                return options.filter((option) => Number(option.value) < 4);
+            }
+            return options;
+        },
         // 获取季度评级详情
-        getSeasonData(name, year) {
+        getSeasonData(name, year, season) {
             let that = this
             that.seasonConpanyData = []
             let params = {
                 binSection: name,
                 year: year,
-                season: ''
+                season: season
             }
             apiGetevaluationportallist(params).then(datas =>{
                 if (datas && datas.data && datas.data.season) {
@@ -193,6 +211,7 @@ export default {
         },
         confirmFn(val) {
             this.showDate = val.selectedValues[0]
+            this.showSeason = val.selectedValues[1].substring(1)
             this.cancelpickerFn()
         },
         selectConfirm(val) {
@@ -316,7 +335,7 @@ export default {
                         color: #fff;
                         margin-right: 5px;
                         position: relative;
-                        left: 20px;
+                        left: 10px;
                         top: 10px;
                     }
                     img{

+ 11 - 0
src/router/index.js

@@ -216,6 +216,17 @@ const routes = [
                 },
                 children: [
                     {
+                        path: '/evaluationSystem/systemWarning',
+                        name: 'systemWarning',
+                        meta: {
+                            title: '考评体系预警',
+                        },
+                        component: () =>
+                            import(
+                                '../components/evaluationSystem/systemWarningPage.vue'
+                            ),
+                    },
+                    {
                         path: '/evaluationSystem/evaluationIndex',
                         name: 'evaluationIndex',
                         meta: {

+ 3 - 3
src/utils/baseUrl.js

@@ -10,15 +10,15 @@ 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.8:28800"
+        baseUrl.URL = "http://192.168.2.17:28800"
         // baseUrl.URL = "http://10.65.78.23:28800"  //测试环境
         // baseUrl.URL = "http://10.65.78.81:28800"  // 正式环境
         break
  
     case 'production': 
         // baseUrl.ROOT = "http://123.60.219.66:28800/"
-        baseUrl.ROOT = "http://10.65.78.23:28800/" //测试环境
-        // baseUrl.ROOT = "http://10.65.78.81:28800/"  // 正式环境
+        // baseUrl.ROOT = "http://10.65.78.23:28800/" //测试环境
+        baseUrl.ROOT = "http://10.65.78.81:28800/"  // 正式环境
         break 
 }
 

+ 6 - 1
src/views/homePage.vue

@@ -93,7 +93,12 @@
             //         index: '1',
             //         name: '考评体系配置',
             //         img: tixiImg,
-            //         children: [{
+            //         children: [
+            //             {
+            //                 index: '/evaluationSystem/systemWarning',
+            //                 name: '考评体系预警',
+            //             },
+            //             {
             //                 index: '/evaluationSystem/evaluationIndex',
             //                 name: '考评指标管理',
             //             },