East 3 лет назад
Родитель
Сommit
eaf0311405
2 измененных файлов с 12 добавлено и 6 удалено
  1. 5 5
      src/utils/chenApi.js
  2. 7 1
      src/views/Alarm/EnvWarn.vue

+ 5 - 5
src/utils/chenApi.js

@@ -1,7 +1,7 @@
 /*
  * @Author: your name
  * @Date: 2021-11-18 13:40:39
- * @LastEditTime: 2021-12-13 16:29:38
+ * @LastEditTime: 2021-12-14 08:48:14
  * @LastEditors: Please set LastEditors
  * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
  * @FilePath: \hyyfClient\src\utils\chenApi.js
@@ -156,7 +156,7 @@ export function getTheSales(params) {
 // 重量详情 
 export function getDayWeight(params) {
   return axios({
-    url: '/produce/weight/getBatchWeightOnPage2',
+    url: 'http://120.27.234.126:8010/produce/weight/getBatchWeightOnPage2',
     method: 'get',
     params: params
   })
@@ -164,7 +164,7 @@ export function getDayWeight(params) {
 // 近七次
 export function getDaysQuery(params) {
   return axios({
-    url: '/produce/weight/getWeightLastNtimes',
+    url: 'http://120.27.234.126:8010/produce/weight/getWeightLastNtimes',
     method: 'get',
     params: params
   })
@@ -172,7 +172,7 @@ export function getDaysQuery(params) {
 // 本月
 export function getMonthQuery(params) {
   return axios({
-    url: '/produce/weight/getWeightInOneMonth',
+    url: 'http://120.27.234.126:8010/produce/weight/getWeightInOneMonth',
     method: 'get',
     params: params
   })
@@ -180,7 +180,7 @@ export function getMonthQuery(params) {
 // 指定时间
 export function getQuery(params) {
   return axios({
-    url: '/produce/weight/getWeight',
+    url: 'http://120.27.234.126:8010/produce/weight/getWeight',
     method: 'get',
     params: params
   })

+ 7 - 1
src/views/Alarm/EnvWarn.vue

@@ -93,8 +93,14 @@ export default {
       list: [],
       tableItems: [
         {
+          prop: "uploadTime",
+          label: "环控报警时间",
+          minWidth: "60",
+          slotName: "warningTime",
+        },
+        {
           prop: "warningTime",
-          label: "时间",
+          label: "平台报警时间",
           minWidth: "60",
           slotName: "warningTime",
         },