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()