From aae615a68bf74ae0f1fe51149440d5436f7c68f1 Mon Sep 17 00:00:00 2001 From: zhangzq Date: Sat, 19 Apr 2025 20:21:38 +0800 Subject: [PATCH] =?UTF-8?q?add:=E5=AD=90=E5=8D=B7=E5=8C=85=E8=A3=85?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E5=A2=9E=E5=8A=A0=E8=B0=83=E7=94=A8MES?= =?UTF-8?q?=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lms/nladmin-ui/src/views/wms/pdm/bi/index.vue | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/lms/nladmin-ui/src/views/wms/pdm/bi/index.vue b/lms/nladmin-ui/src/views/wms/pdm/bi/index.vue index 635657ff3..139580530 100644 --- a/lms/nladmin-ui/src/views/wms/pdm/bi/index.vue +++ b/lms/nladmin-ui/src/views/wms/pdm/bi/index.vue @@ -206,6 +206,14 @@ {{ new Date(scope.row.create_time).toLocaleString() }} + + + @@ -789,6 +797,20 @@ export default { } }) }, + async syncMes(row) { + const url = 'http://10.1.3.16:8081/'+row.url + const response = await fetch(url, { + method: 'POST', // *GET, POST, PUT, DELETE, etc. + headers: { + 'Content-Type': 'application/json', + // 'Content-Type': 'application/x-www-form-urlencoded', + }, + body: JSON.stringify(row.param) // body 数据类型必须与“Content-Type”头匹配 + }); + const data = await response.json(); + window.alert(JSON.stringify(data)) + }, + initQuery() { const end = new Date() const start = new Date()