From 5690161529a894a2d7642b0a2e3fe0335e054556 Mon Sep 17 00:00:00 2001 From: schangxiang@126.com <schangxiang@126.com> Date: 周三, 11 9月 2024 14:25:04 +0800 Subject: [PATCH] 增加来源 --- yiqi_pda/config/modules/ajax.js | 4 ++-- yiqi_pda/pages/retrospect/index.vue | 10 +++++++++- yiqi_pda/api/api.js | 4 ++-- 3 files changed, 13 insertions(+), 5 deletions(-) diff --git a/yiqi_pda/api/api.js b/yiqi_pda/api/api.js index d246566..bd42100 100644 --- a/yiqi_pda/api/api.js +++ b/yiqi_pda/api/api.js @@ -1,7 +1,7 @@ // 鍚屾椂鍙戦�佸紓姝ヨ姹傜殑娆℃暟锛岄槻姝竴娆$偣鍑绘湁澶氭璇锋眰 let ajaxTime = 0; -//export const baseUrl = 'http://localhost:7788' -export const baseUrl = 'http://10.135.75.70:7788' //鐢熶骇鐢� +export const baseUrl = 'http://localhost:7788' +//export const baseUrl = 'http://10.135.75.70:7788' //鐢熶骇鐢� //export const baseUrl = 'http://192.168.216.203:7788' //娴嬭瘯鐢� // 鍏叡鐨剅equest鏂规硶 diff --git a/yiqi_pda/config/modules/ajax.js b/yiqi_pda/config/modules/ajax.js index e1134aa..93463f7 100644 --- a/yiqi_pda/config/modules/ajax.js +++ b/yiqi_pda/config/modules/ajax.js @@ -1,9 +1,9 @@ export default { errMsg:'缃戠粶閿欒锛�', host:{ //鎺ュ彛璋冪敤鐨勫煙鍚嶈缃� - 'default':'http://10.135.75.70:7788',//鐢熶骇鐢� + //'default':'http://10.135.75.70:7788',//鐢熶骇鐢� //'default':'http://192.168.216.203:7788', //鐢熶骇鐜鍦板潃 - //'default':'http://localhost:7788', + 'default':'http://localhost:7788', 'mock':'http://localhost:3012' }, block:{ diff --git a/yiqi_pda/pages/retrospect/index.vue b/yiqi_pda/pages/retrospect/index.vue index 0771ab5..aa61317 100644 --- a/yiqi_pda/pages/retrospect/index.vue +++ b/yiqi_pda/pages/retrospect/index.vue @@ -54,7 +54,15 @@ onLoad() { // this.barDetail = {special: "SAE1041(0.80%~1.10%Mn)",barType: "楂樼⒊閽�",barSpec: "70鍙�",material: "229-255HBS",status: 1}; // this.statusArr = [{code: 1,title: '涓嶅悎鏍�'},{code: 2,title: '鍚堟牸'},{code: 3,title: '鐤戜技'}] - this.detailArr = [{code: "operationType",title: '鎿嶄綔绫诲瀷'},{code: "startTime",title: '宸ュ簭涓婄嚎鏃堕棿'},{code: "endTime",title: '宸ュ簭涓嬬嚎鏃堕棿'},{code: "timeSceonds",title: '鍔犲伐鏃堕暱'},{code: 'qualityStateName',title: '璐ㄩ噺鐘舵��'}] + this.detailArr = [ + {code: "operationType",title: '鎿嶄綔绫诲瀷'}, + {code: "startTime",title: '宸ュ簭涓婄嚎鏃堕棿'}, + {code: "endTime",title: '宸ュ簭涓嬬嚎鏃堕棿'}, + {code: "timeSceonds",title: '鍔犲伐鏃堕暱'}, + {code: 'qualityStateName',title: '璐ㄩ噺鐘舵��'}, + {code: 'dataCapturePointCname',title: '鏉ユ簮'}, + {code: 'createUserName',title: '鏉ユ簮浠g爜'} + ] }, methods:{ onSearchContainter(barId) { -- Gitblit v1.9.3