浏览代码

修改前端,对接口

fengxu 2 年之前
父节点
当前提交
866a4dd5ca

+ 7 - 7
cokingCoal/humanResources.html

@@ -4,7 +4,7 @@
 <head>
     <meta charset="UTF-8">
     <meta name="viewport" content="width=device-width, initial-scale=1.0">
-    <title>内部人才市场双选服务平台</title>
+    <title>人才中心双选服务平台</title>
     <!-- 引入样式 -->
     <link rel="stylesheet" href="./styles/element-ui@2.15.9.css" />
     <link rel="stylesheet" href="./styles/humanResources.css" />
@@ -207,7 +207,7 @@
                                 <img src="./images/humanResources/examination.png" alt="">
 
                             </div>
-                            <div class="main_item_text">通过率 {{ rightList[rightIndex].num3 }}%</div>
+                            <div class="main_item_text">通过率 {{ rightList[rightIndex].num3 }}</div>
                         </div>
                         <div class="main_item flex_sp" style="background: none;">
                             <!-- <div class="main_item_box flex_sp" v-for="(item,index) in 5" :key="index">
@@ -233,35 +233,35 @@
                                 <div class="right_item">
                                     <div class="right_item_tit">
                                         <div class="icon_tit"></div>
-                                        <div class="tit_text">信息不完整</div>
+                                        <div class="tit_text">{{ leftErrorList[0] }}</div>
                                     </div>
                                     <div class="echarts_dom_else" ref="rightOne"></div>
                                 </div>
                                 <div class="right_item">
                                     <div class="right_item_tit">
                                         <div class="icon_tit"></div>
-                                        <div class="tit_text">信息有误</div>
+                                        <div class="tit_text">{{ leftErrorList[1] }}</div>
                                     </div>
                                     <div class="echarts_dom_else" ref="rightTwo"></div>
                                 </div>
                                 <div class="right_item">
                                     <div class="right_item_tit">
                                         <div class="icon_tit"></div>
-                                        <div class="tit_text">任职条件不符</div>
+                                        <div class="tit_text">{{ leftErrorList[2] }}</div>
                                     </div>
                                     <div class="echarts_dom_else" ref="rightThree"></div>
                                 </div>
                                 <div class="right_item">
                                     <div class="right_item_tit">
                                         <div class="icon_tit"></div>
-                                        <div class="tit_text">出勤不足</div>
+                                        <div class="tit_text">{{ leftErrorList[3] }}</div>
                                     </div>
                                     <div class="echarts_dom_else" ref="rightFour"></div>
                                 </div>
                                 <div class="right_item">
                                     <div class="right_item_tit">
                                         <div class="icon_tit"></div>
-                                        <div class="tit_text">工作年限不符</div>
+                                        <div class="tit_text">{{ leftErrorList[4] }}</div>
                                     </div>
                                     <div class="echarts_dom_else" ref="rightFive"></div>
                                 </div>

二进制
cokingCoal/images/newImage/ppt1.png


+ 4 - 4
cokingCoal/index.html

@@ -11,8 +11,8 @@
     <!-- 引入js -->
     <script src="./libs/vue@2.7.10.js"></script>
     <script src="./libs/datav.min.js"></script>
-    <!-- <script src="./libs/echarts.min.js"></script> -->
-    <script src="https://cdn.bootcdn.net/ajax/libs/echarts/5.2.2/echarts.js"></script>
+    <script src="./libs/echarts.min.js"></script>
+    <!-- <script src="https://cdn.bootcdn.net/ajax/libs/echarts/5.2.2/echarts.js"></script> -->
     <!-- <script src="https://cdn.bootcdn.net/ajax/libs/echarts/5.4.2/echarts.common.js"></script> -->
     <script src="./libs/element-ui@2.15.9.js"></script>
     <script src="./libs/axios.min.js"></script>
@@ -397,8 +397,8 @@
             <div class="box_main">
                 <div class="main_item_one">
                     <div class="main_item_one_info">
-                        <div class="main_info_item">
-                        <!-- <div class="main_info_item" @click="handleChangeData()"> -->
+                        <!-- <div class="main_info_item"> -->
+                        <div class="main_info_item" @click="handleChangeData()">
                             <div class="main_info_item_img">
                             </div>
                             <div class="main_info_item_title" >

+ 14 - 14
cokingCoal/js/dataA.js

@@ -269,20 +269,20 @@ let honorList = [
 
 
 let employmentList = [
-    ["01", "陈英", "男", "142752********0101", "杜儿坪矿"],
-    ["02", "李小曼", "女", "142752********0101", "杜儿坪矿"],
-    ["03", "王亮", "男", "142752********0101", "杜儿坪矿"],
-    ["04", "李鑫", "女", "142752********0101", "杜儿坪矿"],
-    ["05", "王伟", "男", "142752********0101", "杜儿坪矿"],
-    ["06", "李梦", "女", "142752********0101", "杜儿坪矿"],
-    ["07", "王小星", "男", "142752********0101", "杜儿坪矿"],
-    ["08", "张爱琴", "女", "142752********0101", "杜儿坪矿"],
-    ["09", "李丽丽", "女", "142752********0101", "杜儿坪矿"],
-    ["10", "王强", "男", "142752********0101", "杜儿坪矿"],
-    ["11", "王国兴", "男", "142752********0101", "杜儿坪矿"],
-    ["12", "王伟杰", "男", "142752********0101", "杜儿坪矿"],
-    ["13", "李亮亮", "女", "142752********0101", "杜儿坪矿"],
-    ["14", "王洁", "男", "142752********0101", "杜儿坪矿"],
+    ["01", "陈英", "男", "140152********0101", "杜儿坪矿"],
+    ["02", "李小曼", "女", "140152********0101", "杜儿坪矿"],
+    ["03", "王亮", "男", "140152********0101", "杜儿坪矿"],
+    ["04", "李鑫", "女", "140152********0101", "杜儿坪矿"],
+    ["05", "王伟", "男", "140152********0101", "杜儿坪矿"],
+    ["06", "李梦", "女", "140152********0101", "杜儿坪矿"],
+    ["07", "王小星", "男", "140152********0101", "杜儿坪矿"],
+    ["08", "张爱琴", "女", "140152********0101", "杜儿坪矿"],
+    ["09", "李丽丽", "女", "140152********0101", "杜儿坪矿"],
+    ["10", "王强", "男", "140152********0101", "杜儿坪矿"],
+    ["11", "王国兴", "男", "140152********0101", "杜儿坪矿"],
+    ["12", "王伟杰", "男", "140152********0101", "杜儿坪矿"],
+    ["13", "李亮亮", "女", "140152********0101", "杜儿坪矿"],
+    ["14", "王洁", "男", "140152********0101", "杜儿坪矿"],
 ]
 
 let monthList = ['01', '02', '03', '04', '05', '06', '07', '08', '09', '10', '11', '12']

+ 205 - 28
cokingCoal/js/humanResources.js

@@ -3,7 +3,7 @@ let app = new Vue({
     el: "#app",
     data() {
         return {
-            title: "内部人才市场双选服务平台",
+            title: "人才中心双选服务平台",
             treeList: [{
                 name: "岗位发布",
                 flag: true,
@@ -323,13 +323,13 @@ let app = new Vue({
                 flag: true,
                 num1: 100,
                 num2: 60,
-                num3: 60,
+                num3: "60%",
             }, {
                 name: "累计数",
                 flag: false,
                 num1: 500,
                 num2: 400,
-                num3: 80,
+                num3: "80%",
             }],
             rightIndex: 0,
             leftList: [{
@@ -356,6 +356,7 @@ let app = new Vue({
             imageFlag: false,
             pageFlag: true,
             hecharts: null,
+            leftErrorList: ["信息不完整", "信息有误", "任职条件不符", "出勤不足", "工作年限不符"]
         }
     },
     created() {
@@ -397,15 +398,15 @@ let app = new Vue({
 
 
             let rightOne = this.$refs.rightOne
-            this.initLineRight(rightOne, { value: 53, total: 125 })
+            this.initLineRight(rightOne, { value: 520, total: 1250 })
             let rightTwo = this.$refs.rightTwo
-            this.initLineRight(rightTwo, { value: 29, total: 125 })
+            this.initLineRight(rightTwo, { value: 290, total: 1250 })
             let rightThree = this.$refs.rightThree
-            this.initLineRight(rightThree, { value: 25, total: 125 })
+            this.initLineRight(rightThree, { value: 250, total: 1250 })
             let rightFour = this.$refs.rightFour
-            this.initLineRight(rightFour, { value: 12, total: 125 })
+            this.initLineRight(rightFour, { value: 120, total: 1250 })
             let rightFive = this.$refs.rightFive
-            this.initLineRight(rightFive, { value: 6, total: 125 })
+            this.initLineRight(rightFive, { value: 60, total: 1250 })
             // let c1 = this.$refs.c1
             // this.initRightCycle(c1, 40)
             // let c2 = this.$refs.c2
@@ -491,17 +492,20 @@ let app = new Vue({
         //         that.arrToListArr()
         //         that.getDelivcvAndApply()
         //         that.getreviewarrange()
+        //         that.getRecruitType()
+        //         that.getFailReason()
+        //         that.getQualAudits()
 
         //     })
         // }).catch(err => {
-        this.isChangeList = true
+            this.isChangeList = true
 
-        let pageBtm = this.$refs.pageBtm
-        this.initDownholeEcharts(pageBtm, { x: admissionList.x, y1: admissionList.y1, y2: admissionList.y2, y3: admissionList.y3 })
+            let pageBtm = this.$refs.pageBtm
+            this.initDownholeEcharts(pageBtm, { x: admissionList.x, y1: admissionList.y1, y2: admissionList.y2, y3: admissionList.y3 })
 
-        let vita = this.$refs.vita
-        that.initVitaEcharts(vita)
-        //     that.getPostDetail()
+            let vita = this.$refs.vita
+            that.initVitaEcharts(vita)
+            that.getPostDetail()
         // })
     },
     methods: {
@@ -952,7 +956,11 @@ let app = new Vue({
                         normal: {
                             formatter: (params) => {
                                 var text;
-                                text = `${(params.value <= 9 ? "  " + params.value : params.value)}人  |  ${(((params.value) / total) * 100).toFixed(0)}%`;
+                                if (((params.value / total) * 100).toFixed(0) < 10) {
+                                    text = `${("  " + params.value)}人  |  ${(((params.value) / total) * 100).toFixed(0)}%`;
+                                } else {
+                                    text = `${(params.value)}人  |  ${(((params.value) / total) * 100).toFixed(0)}%`;
+                                }
                                 return text;
                             },
                             textStyle: {
@@ -1609,7 +1617,9 @@ let app = new Vue({
 
             var dataStyle = {
                 normal: {
-                    formatter: '{c}',
+                    formatter: function (res) {
+                        return res.data.value
+                    },
                     position: 'center',
                     show: true,
                     textStyle: {
@@ -1688,7 +1698,7 @@ let app = new Vue({
                         },
                         label: dataStyle,
                     }, {
-                        value: 4,
+                        value: 33,
                         itemStyle: placeHolderStyle,
                     },
 
@@ -1725,7 +1735,7 @@ let app = new Vue({
                         },
                         label: dataStyle,
                     }, {
-                        value: 5,
+                        value: 33,
                         itemStyle: placeHolderStyle,
                     },
 
@@ -1763,7 +1773,7 @@ let app = new Vue({
                         },
                         label: dataStyle,
                     }, {
-                        value: 3,
+                        value: 33,
                         itemStyle: placeHolderStyle,
                     },
 
@@ -1886,10 +1896,10 @@ let app = new Vue({
                 ]
             };
             this.roseEcharts.setOption(option)
-            tools.loopShowTooltip(this.roseEcharts, option, {
-                nterval: 2000,
-                loopSeries: true,
-            });
+            // tools.loopShowTooltip(this.roseEcharts, option, {
+            //     nterval: 2000,
+            //     loopSeries: true,
+            // });
         },
         handleClick(from, type) {
             this.handleMark()
@@ -2286,7 +2296,6 @@ let app = new Vue({
                 dataList.push(["<img class='list_img' src='" + imageList[index] + "' alt=''>", item, stationList[index], timeList[index]])
             })
             this.configMark.data = dataList
-            console.log(this.configMark.data);
             this.isChangeList = true
             delete imageList
             delete nameList
@@ -2306,7 +2315,6 @@ let app = new Vue({
                     res.data.forEach(item => {
                         if (item.key == "单位名称") {
                             admissionList.x = item.value
-                            console.log(item.value);
                         }
                         if (item.key == "招聘人数") {
                             admissionList.y1 = item.value
@@ -2320,7 +2328,6 @@ let app = new Vue({
                     })
 
                 }
-                console.log(admissionList);
                 this.initDownholeEcharts(pageBtm, { x: admissionList.x, y1: admissionList.y1, y2: admissionList.y2, y3: admissionList.y3 })
 
             })
@@ -2328,12 +2335,182 @@ let app = new Vue({
         getreviewarrange() {
             let that = this;
             let data = {
-                flag: false
+                flag: true
             };
             fetchPostMethods("/ierp/kapi/v2/mdnb/mdnb_control/getreviewarrange", data).then(res => {
                 console.log(res);
             })
-        }
+        },
+        getRecruitType() {
+            let that = this;
+            let data = {
+                flag: true
+            }
+            // fetchPostMethods("/ierp/kapi/v2/mdnb/mdnb_control/RecruitType",data).then(res => {
+            //     console.log(res);
+            // })
+        },
+        getFailReason() {
+            let that = this;
+            let data = {
+                flag: false
+            };
+            let res = {
+                data: [
+                    [
+                        {
+                            value: "信息有误",
+                            key: "不通过原因"
+                        },
+                        {
+                            value: 5200,
+                            key: "不通过数量"
+                        },
+                        {
+                            value: "0.00%",
+                            key: "百分比"
+                        }
+                    ],
+                    [
+                        {
+                            value: "出勤不足",
+                            key: "不通过原因"
+                        },
+                        {
+                            value: 2900,
+                            key: "不通过数量"
+                        },
+                        {
+                            value: "0.00%",
+                            key: "百分比"
+                        }
+                    ],
+                    [
+                        {
+                            value: "工作年限不符",
+                            key: "不通过原因"
+                        },
+                        {
+                            value: 2500,
+                            key: "不通过数量"
+                        },
+                        {
+                            value: "0.00%",
+                            key: "百分比"
+                        }
+                    ],
+                    [
+                        {
+                            value: "信息不完整",
+                            key: "不通过原因"
+                        },
+                        {
+                            value: 1200,
+                            key: "不通过数量"
+                        },
+                        {
+                            value: "0.00%",
+                            key: "百分比"
+                        }
+                    ],
+                    [
+                        {
+                            value: "任职条件不符",
+                            key: "不通过原因"
+                        },
+                        {
+                            value: 600,
+                            key: "不通过数量"
+                        },
+                        {
+                            value: "0.00%",
+                            key: "百分比"
+                        }
+                    ]
+                ]
+            }
+            let dataList = []
+            let total = 0
+            res.data.forEach((item, index) => {
+                // that.leftErrorList[index] = item[]
+                item.forEach(i => {
+                    let obj = {}
+                    if (i.key == "不通过原因") {
+                        that.leftErrorList[index] = i.value
+                    }
+                    if (i.key == "不通过数量") {
+                        obj.value = i.value
+                        dataList[index] = obj
+                    }
+                })
+            })
+            dataList.forEach(item => {
+                total = total + item.value
+            })
+            // leftErrorList:["信息不完整","信息有误","任职条件不符","出勤不足","工作年限不符"]
+
+            let rightOne = this.$refs.rightOne
+            this.initLineRight(rightOne, { value: dataList[0].value, total })
+            let rightTwo = this.$refs.rightTwo
+            this.initLineRight(rightTwo, { value: dataList[1].value, total })
+            let rightThree = this.$refs.rightThree
+            this.initLineRight(rightThree, { value: dataList[2].value, total })
+            let rightFour = this.$refs.rightFour
+            this.initLineRight(rightFour, { value: dataList[3].value, total })
+            let rightFive = this.$refs.rightFive
+            this.initLineRight(rightFive, { value: dataList[4].value, total })
+            // fetchPostMethods("/ierp/kapi/v2/mdnb/mdnb_control/FailReason",data).then(res => {
+            //     console.log(res);
+            // })
+        },
+        getQualAudits() {
+            let that = this;
+            let data = {
+                flag: true
+            };
+            fetchPostMethods("/ierp/kapi/v2/mdnb/mdnb_control/QualAudits",data).then(res => {})
+            let res = {
+                data: [
+                    {
+                        value: 6,
+                        key: "当前总人数"
+                    },
+                    {
+                        value: 1,
+                        key: "通过总人数"
+                    },
+                    {
+                        value: "17.00%",
+                        key: "当前通过率"
+                    }
+                ]
+            }
+            res.data.forEach(item => {
+                if(item.key == "当前总人数"){
+                    that.rightList[0].num1 = item.value
+                }
+                if(item.key == "通过总人数"){
+                    that.rightList[0].num2 = item.value
+                }
+                if(item.key == "当前通过率"){
+                    that.rightList[0].num3 = item.value
+                }
+            })
+            console.log(that.rightList);
+            // rightList: [{
+            //     name: "当前数",
+            //     flag: true,
+            //     num1: 100,
+            //     num2: 60,
+            //     num3: 60,
+            // }, {
+            //     name: "累计数",
+            //     flag: false,
+            //     num1: 500,
+            //     num2: 400,
+            //     num3: 80,
+            // }],
+        },
 
     },
 

+ 17 - 23
cokingCoal/js/newIndex.js

@@ -472,7 +472,6 @@ let app = new Vue({
             dataFlag: true,
             isShowRequest: false,
             isShowPage: true,
-
             industryEcharts: null
         }
     },
@@ -612,7 +611,6 @@ let app = new Vue({
     methods: {
         handleChangeData() {
             this.isShowPage = false;
-            console.log(this.isShowPage);
             this.requestFunction()
             setTimeout(() => {
                 this.isShowPage = true;
@@ -627,7 +625,6 @@ let app = new Vue({
                 if (this.imageFlag) {
                     let e1 = e || event || window.event || arguments.callee.caller.arguments[0]
                     //键盘按键判断:左箭头-37;上箭头-38;右箭头-39;下箭头-40  33 翻页笔的下   34 翻页笔的下
-                    console.log(e1.keyCode);
                     if (e1 && e1.keyCode == 37) {
                         if (that.imageIndex != 0) {
                             that.imageIndex = that.imageIndex - 1
@@ -728,7 +725,6 @@ let app = new Vue({
 
         requestFunction() {
             let that = this;
-            console.log(123123);
             localEnvAppToken().then(res => {
                 localStorage.setItem("app_token", res.app_token)
                 getLocalEnvAccessToken().then(res => {
@@ -873,7 +869,6 @@ let app = new Vue({
             this.selectType = flag
         },
         selectOption(item) {
-            console.log(item);
             this.selectInfo[this.selectType] = item
         },
         SAtimeFun() {
@@ -1667,7 +1662,7 @@ let app = new Vue({
             //     this.echartsLevel.resize();
             // });
         },
-        initMap2(el) {
+        initMap2(el, data) {
             let myChart = echarts.init(el)
             let img = 'image://images/newImage/data-1619059838735-QE9mBZmhh.png'
             var geoCoordMap = {
@@ -1852,6 +1847,9 @@ let app = new Vue({
                 value: [111.134335, 37.524366, 9960, "华晋焦煤",]
             },
             ]
+            if (data) {
+                effectScatterData = data
+            }
             mapDate = []
 
             const result = effectScatterData.reduce((acc, obj) => {
@@ -2152,9 +2150,7 @@ let app = new Vue({
                     {
                         type: 'scatter',
                         coordinateSystem: 'geo',
-                        itemStyle: {
-                            color: '#f00',
-                        },
+
                         symbol: function (value, params) {
                             return params.data.img;
                         },
@@ -2368,7 +2364,7 @@ let app = new Vue({
             })
             let option = {
                 title: {
-                    text: sum,
+                    text: sum || 0,
                     subtext: '  总人数',
                     left: '15%',
                     top: '39%',
@@ -2724,7 +2720,6 @@ let app = new Vue({
             }
 
             var chart = Highcharts.chart('echartL2', option);
-            console.log(chart);
             function autoTooltip(point) {
                 chart.tooltip.refresh(point);
             }
@@ -4626,6 +4621,9 @@ let app = new Vue({
         },
         initEchartsBar(el, data, color) {
             this.studentEcharts = echarts.init(el);
+            data.x.forEach(item => {
+                item = item.slice(0, -2)
+            })
             let xLabel = data.x
             option = {
                 grid: {
@@ -4662,7 +4660,6 @@ let app = new Vue({
                     axisLabel: {
                         show: true,
                         margin: 14,
-
                         textStyle: {
                             fontSize: 26,
                             color: "#fff" //X轴文字颜色
@@ -5210,7 +5207,6 @@ let app = new Vue({
             this.mobilizeFlag = false
             this.echartsMark = false
             this.getSalaryCalProgDetail()
-            // console.log(12312312);
         },
         handleORG() {
             this.isShowMark = true
@@ -5257,7 +5253,6 @@ let app = new Vue({
 
         handleTap2(index) {
             let that = this;
-            console.log(index);
             if (this.twoIndex == index) {
                 return
             }
@@ -5268,9 +5263,7 @@ let app = new Vue({
             if (index == 1) {
                 that.initTwoBarEcharts(echartTwo, { x: that.nx1[that.twoTimeIndex], y: that.ny1[that.twoTimeIndex] })
             } else if (index == 2) {
-                console.log(that.nx2);
                 that.initTwoBarEcharts(echartTwo, { x: that.nx2[that.twoTimeIndex], y: that.ny2[that.twoTimeIndex] })
-                console.log(123);
             }
             this.twoIndex = index
             this.timeTwo()
@@ -5406,7 +5399,6 @@ let app = new Vue({
             }
             fetchPostMethods("/ierp/kapi/v2/mdnb/mdnb_control/HumanResources", data).then(res => {
                 if (res) {
-                    console.log(res);
                     that.HumanResourcesList.forEach(i => {
                         res.data.forEach(item => {
                             if (i.key == item.key) {
@@ -5519,7 +5511,6 @@ let app = new Vue({
             this.SalaryCalProgDetail = false
             fetchPostMethods("/ierp/kapi/v2/mdnb/mdnb_control/SalaryCalProg", data).then(res => {
                 if (res) {
-                    console.log(res);
                     that.config2.data = res.data
                 }
                 this.SalaryCalProgDetail = true
@@ -5765,7 +5756,7 @@ let app = new Vue({
                 if (res) {
                     let mapData = []
                     let map = []
-                    data.forEach(item => {
+                    res.data.forEach(item => {
                         let obj = {}
                         item.forEach(i => {
                             if (i.key == "区域") {
@@ -5797,11 +5788,11 @@ let app = new Vue({
                         mapData.push(obj)
 
                     })
+                    let el = this.$refs.container
+                    // this.initProvinceChart(el)
+                    this.initMap2(el, mapData)
                 }
-                // 
-                let el = this.$refs.container
-                // this.initProvinceChart(el)
-                this.initMap2(el)
+
             })
         },
         getPersonnelResource() {
@@ -5932,6 +5923,9 @@ let app = new Vue({
             fetchPostMethods("/ierp/kapi/v2/mdnb/mdnb_control/FrontLine", data).then(res => {
                 if (res) {
                     res.data.forEach(item => {
+                        if (item.key == "组织") {
+                            downhole.x = item.value
+                        }
                         if (item.key == "井下一线") {
                             downhole.y[2] = item.value
                         }

+ 22 - 5
cokingCoal/js/request.js

@@ -14,15 +14,17 @@ function isLocalEnv() {
 
 
 
-window.apiType = "sit"  // dev 本地测试 ,  sit  线上测试  
+window.apiType = "sit"  // dev 本地测试 ,  sit  线上测试  uat  客户测试环境
 window.fetchUrl = ""
 // window.fetchUrl = "http://172.21.9.236:8081"
 
 
-if(window.apiType == "dev"){
+if (window.apiType == "dev") {
   window.fetchUrl = "http://192.168.1.11:8080"
-} else if(window.apiType == "sit"){
+} else if (window.apiType == "sit") {
   window.fetchUrl = "http://172.21.9.236:8081"
+} else if (window.apiType == "uat") {
+  window.fetchUrl = "http://172.21.12.247:8081"
 }
 
 // api 前缀
@@ -199,6 +201,13 @@ function localEnvAppToken() {
         tenantid: "dev",
         accountId: "1493393884158362624",
       }
+    } else if (window.apiType == "uat") {
+      data = {
+        appId: "jsc",
+        appSecuret: "Cs?9HeKqacN%gnu3",
+        tenantid: "jmuatierp",
+        accountId: "1609428936914108416",
+      }
     } else {
       console.log("未知类型");
       return
@@ -216,10 +225,10 @@ function localEnvAppToken() {
         reject(error)
       })
       .then(response => {
-        if(response != undefined){
+        if (response != undefined) {
           resole(response.data)
         } else {
-          reject({requestType: false})
+          reject({ requestType: false })
         }
 
       });
@@ -245,6 +254,14 @@ function getLocalEnvAccessToken() {
         accountId: "1493393884158362624",
         usertype: "Mobile",
       }
+    } else if (window.apiType == "uat") {
+      data = {
+        appId: "jsc",
+        apptoken: localStorage.getItem("app_token"),
+        appSecuret: "Cs?9HeKqacN%gnu3",
+        tenantid: "jmuatierp",
+        accountId: "1609428936914108416",
+      }
     } else {
       console.log("未知类型");
       return

文件差异内容过多而无法显示
+ 5 - 0
cokingCoal/libs/echarts.min.js


部分文件因为文件数量过多而无法显示