From 19f73f3d2370c821355d0cc0fa5b0f7cdcb898e8 Mon Sep 17 00:00:00 2001 From: huangxiaoqiang <huangxiaoqiang@hnkhzn.com> Date: 星期一, 23 六月 2025 08:48:32 +0800 Subject: [PATCH] 增强任务处理和更新版本信息在 `TaskController.cs` 中添加了对 `WIDESEAWCS_ITaskInfoRepository` 和 `WIDESEAWCS_ITaskInfoService` 的引用,以提升任务信息处理能力。在 `CommonConveyorLineJob.cs` 中引入 `platformNotusable` 列表,确保查询平台信息时的可用性检查。在 `RequestInbound.cs` 中添加对 并优化 `outJZTask` 的查询条件。修改 `CommonStackerCraneJob.cs` 中静置出库任务的判断逻辑,确保任务执行前的适当检查。 --- CodeManagement/BigScreenVue/src/api/ajax.js | 10 +++++++--- 1 files changed, 7 insertions(+), 3 deletions(-) diff --git a/CodeManagement/BigScreenVue/src/api/ajax.js b/CodeManagement/BigScreenVue/src/api/ajax.js index 7544414..874dd7c 100644 --- a/CodeManagement/BigScreenVue/src/api/ajax.js +++ b/CodeManagement/BigScreenVue/src/api/ajax.js @@ -1,7 +1,10 @@ // 杩欎釜鏃禷xios鐨勯厤缃� import axios from 'axios'; // import { config } from 'vue/types/umd'; -axios.defaults.baseURL = 'http://localhost:8098';//'http://192.168.2.110:8098';// +axios.defaults.withCredentials=true; +axios.defaults.crossDomain=true; +axios.defaults.baseURL = 'http://192.168.90.253:5000/';//'http://192.168.2.51:8099'; //'http://localhost:8099'; //'http://192.168.2.51:8099';// +axios.defaults.headers.post["Content-Type"]="application/json;charset=utf-8"; // 閿欒淇℃伅澶勭悊 const errorHandle = (status, other) => { switch (status) { @@ -29,6 +32,7 @@ // console.log(config); if(localStorage.elementToken){ config.headers.Authorization=localStorage.elementToken; + config.headers.con; } // console.log(config); return config; @@ -43,7 +47,7 @@ // console.log(); // console.log(response.data.token); // response.headers['Authorization'] = response.data.token; - return response.status=== 200 ? Promise.resolve(response): Promise.reject(response); + return response.status=== 200 ? response.data: response.data; }, function (error) { // 瀵瑰搷搴旈敊璇仛鐐逛粈涔� const {response}=error; @@ -51,7 +55,7 @@ errorHandle(response.status,response.data.message) return Promise.reject(response.data); }else{ - console.log('鏂簡'); + } }); export default axios; \ No newline at end of file -- Gitblit v1.9.3