From d8c126fccff2ef86b78f337982425816cad30e7a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E2=80=98937886381=E2=80=99?= <‘937886381@qq.com’>
Date: Fri, 1 Mar 2024 15:27:01 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9bug?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.env.dev | 8 +--
src/views/OperationalOverview/AGVBoard.vue | 3 +-
src/views/OperationalOverview/coldBoard.vue | 46 ++++++-----------
.../qualityInspectionBoxPermissions/index.vue | 22 ++++++--
.../base/qualityHotMaterial/add-or-updata.vue | 13 +++--
.../base/qualityScrapLog/add-or-updata.vue | 4 +-
.../base/qualityScrapLog/detail-or-updata.vue | 51 +++++++++----------
.../monitoring/originalGlassRetrace/index.vue | 8 +--
.../report/productionDayReport/index.vue | 4 +-
9 files changed, 79 insertions(+), 80 deletions(-)
diff --git a/.env.dev b/.env.dev
index e6eafbc1..6a03e051 100644
--- a/.env.dev
+++ b/.env.dev
@@ -1,8 +1,8 @@
###
# @Author: Do not edit
# @Date: 2023-08-29 09:40:39
- # @LastEditTime: 2024-02-26 08:45:43
- # @LastEditors: DY
+ # @LastEditTime: 2024-02-29 08:34:48
+ # @LastEditors: zhp
# @Description:
###
# 开发环境配置
@@ -20,10 +20,10 @@ VUE_APP_TITLE = MES系统
# VUE_APP_BASE_API = 'http://192.168.1.8:48082'
# VUE_APP_BASE_API = 'http://192.168.4.159:48080'
# VUE_APP_BASE_API = 'http://192.168.1.104:48082'
-# VUE_APP_BASE_API = 'http://192.168.0.33:48082'
+VUE_APP_BASE_API = 'http://192.168.0.33:48082'
# VUE_APP_BASE_API = 'http://192.168.1.62:48082'
# VUE_APP_BASE_API = 'http://192.168.1.78:48082'
-VUE_APP_BASE_API = 'http://192.168.1.47:48082'
+# VUE_APP_BASE_API = 'http://192.168.1.47:48082'
# socket地址
VUE_APP_Socket_API = 'ws://192.168.0.30:8888'
VUE_APP_Socket_Dcs_API = 'ws://10.70.180.10:8081'
diff --git a/src/views/OperationalOverview/AGVBoard.vue b/src/views/OperationalOverview/AGVBoard.vue
index 4ba4aed8..6493c3c5 100644
--- a/src/views/OperationalOverview/AGVBoard.vue
+++ b/src/views/OperationalOverview/AGVBoard.vue
@@ -2,7 +2,7 @@
* @Author: zwq
* @Date: 2021-07-19 15:18:30
* @LastEditors: zhp
- * @LastEditTime: 2024-02-23 16:11:33
+ * @LastEditTime: 2024-02-29 15:48:47
* @Description:
-->
@@ -715,6 +715,7 @@ export default {
qualityMonthTableProps,
modelMonth: '',
qualityList1,
+ // logoutTime: 43200000,
qualityTableProps2,
qualityList2,
dateType: '0',
diff --git a/src/views/OperationalOverview/coldBoard.vue b/src/views/OperationalOverview/coldBoard.vue
index 3d07693d..b041214c 100644
--- a/src/views/OperationalOverview/coldBoard.vue
+++ b/src/views/OperationalOverview/coldBoard.vue
@@ -1,7 +1,7 @@
@@ -341,7 +341,9 @@ export default {
// offsetWidth: null,
cxNameList,
cxDataList,
+ // time:12,
cutProps,
+ // logoutTime: 43200000,
cutTableDataList:[],
clientWidth: 0,
containerWidth: 111111,
@@ -432,36 +434,15 @@ export default {
this.beilv2 = _this.clientWidth / 1920
})()
}
- // let obj = {
- // 'a': 11111,
- // 'b': 22222,
- // 'c': 33333,
- // 'd': 44444,
- // 'e': 55555,
+ // logoutInterval = setInterval(() => {
+ // this.logoutTime -= 1000
+ // }, 1000)
+ // if (this.logoutTime === 0) {
+ // this.SJGInitWebSocket()
+ // this.CutInitWebSocket()
+ // this.funInitWebSocket()
+ // this.logoutTimeReset()
// }
- // let index = 0
- // for (let i in obj) {
- // index++,
- // console.log(index);
- // }
- // this.getList()
- // const _this = this;
- // window.onresize = () => {
- // return (() => {
- // _this.clientWidth = `${document.documentElement.clientWidth}`
- // this.beilv2 = _this.clientWidth / 1920
- // })()
- // }
- // this.beilv2 = window.innerWidth / 1920
- // addEventListener('resize', resizeFun = () => {
- // this.beilv2 = window.innerWidth / 1920
- // })
- // erd.listenTo(document, (element) => {
- // this.beilv2 = element.offsetWidth / 1920
-
- // // var width = element.offsetWidth;
- // // var height = element.offsetHeight;
- // });
},
// beforeDestroy() {
// //离开页面删除检测器和所有侦听器
@@ -469,13 +450,16 @@ export default {
// removeEventListener('resize', resizeFun)
// },
methods: {
+ // logoutTimeReset() {
+ // this.logoutTime = this.time * 60 * 60 * 1000
+ // },
CutWebsocketClose(e) {
console.log('WebSocket 断开连接', e)
},
SJGWebsocketClose(e) {
console.log('WebSocket 断开连接', e)
},
- funInitWebSocket(e) {
+ funWebSocketClose(e) {
console.log('WebSocket 断开连接', e)
},
formatTime(time, option) {
diff --git a/src/views/quality/base/basicData/qualityInspectionBoxPermissions/index.vue b/src/views/quality/base/basicData/qualityInspectionBoxPermissions/index.vue
index b553af67..364770fe 100644
--- a/src/views/quality/base/basicData/qualityInspectionBoxPermissions/index.vue
+++ b/src/views/quality/base/basicData/qualityInspectionBoxPermissions/index.vue
@@ -51,8 +51,16 @@ export default {
label: '用户名称',
selectOptions: [],
labelField: 'name',
- valueField: 'id',
+ valueField: 'name',
param: 'userName',
+ },
+ {
+ type: 'select',
+ label: '用户昵称',
+ selectOptions: [],
+ labelField: 'name',
+ valueField: 'name',
+ param: 'nickName',
},
{
type: 'button',
@@ -143,10 +151,16 @@ export default {
}).then((res) => {
this.searchBarFormConfig[0].selectOptions = res.data.map((item) => {
return {
- id: item.id,
+ id: item.username,
name:item.username
}
})
+ this.searchBarFormConfig[1].selectOptions = res.data.map((item) => {
+ return {
+ id: item.nickname,
+ name: item.nickname
+ }
+ })
})
},
getDataList() {
@@ -206,7 +220,9 @@ export default {
case 'search':
this.listQuery.pageNo = 1;
this.listQuery.pageSize = 10;
- this.listQuery.inspectionDetContent = val.inspectionDetContent ? val.inspectionDetContent : undefined;
+ this.listQuery.userName = val.userName ? val.userName : undefined;
+ this.listQuery.nickName = val.nickName ? val.nickName : undefined;
+
// this.listQuery.teamId = val.teamId ? val.teamId : undefined;
this.getDataList()
break;
diff --git a/src/views/quality/base/qualityHotMaterial/add-or-updata.vue b/src/views/quality/base/qualityHotMaterial/add-or-updata.vue
index a7959590..1a974283 100644
--- a/src/views/quality/base/qualityHotMaterial/add-or-updata.vue
+++ b/src/views/quality/base/qualityHotMaterial/add-or-updata.vue
@@ -1,7 +1,7 @@
@@ -80,8 +80,9 @@
-
@@ -91,14 +92,12 @@
-
+
-
+
diff --git a/src/views/quality/base/qualityScrapLog/add-or-updata.vue b/src/views/quality/base/qualityScrapLog/add-or-updata.vue
index 48866b9e..dc063ca6 100644
--- a/src/views/quality/base/qualityScrapLog/add-or-updata.vue
+++ b/src/views/quality/base/qualityScrapLog/add-or-updata.vue
@@ -1,7 +1,7 @@
@@ -130,7 +130,7 @@ export default {
mounted() {
this.getDict()
console.log('我看看', this.dataForm)
- this.getCurrentTime()
+ // this.getCurrentTime()
this.getWorksectionById()
},
methods: {
diff --git a/src/views/quality/base/qualityScrapLog/detail-or-updata.vue b/src/views/quality/base/qualityScrapLog/detail-or-updata.vue
index 7a6acef7..165c2921 100644
--- a/src/views/quality/base/qualityScrapLog/detail-or-updata.vue
+++ b/src/views/quality/base/qualityScrapLog/detail-or-updata.vue
@@ -1,7 +1,7 @@
@@ -75,7 +75,7 @@
diff --git a/src/views/quality/monitoring/originalGlassRetrace/index.vue b/src/views/quality/monitoring/originalGlassRetrace/index.vue
index 71231acf..75faf29f 100644
--- a/src/views/quality/monitoring/originalGlassRetrace/index.vue
+++ b/src/views/quality/monitoring/originalGlassRetrace/index.vue
@@ -2,7 +2,7 @@
* @Author: zwq
* @Date: 2023-08-01 14:55:51
* @LastEditors: zhp
- * @LastEditTime: 2024-02-23 09:16:24
+ * @LastEditTime: 2024-03-01 10:27:29
* @Description:
-->
@@ -124,8 +124,8 @@ export default {
label: '工单',
selectOptions: [],
labelField: 'name',
- valueField: 'id',
- param: 'workOrderId'
+ valueField: 'name',
+ param: 'workOrderName'
},
// {
// type: 'datePicker',
@@ -233,7 +233,7 @@ export default {
buttonClick(val) {
console.log(val)
if (val.btnName === 'search') {
- this.listQuery.workOrderId = val.workOrderId ? val.workOrderId :undefined
+ this.listQuery.workOrderName = val.workOrderName ? val.workOrderName :undefined
// this.queryParams.status = val.status
// if (val.timeVal && val.timeVal.length != 0 ) {
// this.listQuery.startTime = val.timeVal[0] + ' 00:00:00'
diff --git a/src/views/report/productionDayReport/index.vue b/src/views/report/productionDayReport/index.vue
index 71b69624..9b3a60ba 100644
--- a/src/views/report/productionDayReport/index.vue
+++ b/src/views/report/productionDayReport/index.vue
@@ -1,7 +1,7 @@
@@ -9,7 +9,7 @@
-
+
查询