From b3d70503ac2fc009aeb5cd8327b7049cc32daf0d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A5=A5=E5=BE=B7=E5=BD=AA=E6=9C=AC=E5=BD=AA=5C92525?= Date: Sun, 15 Sep 2024 18:42:26 +0800 Subject: [PATCH] no message --- src/App.vue | 58 +++++++++++- src/api/stock.js | 6 +- src/views/databigscreen/DeptData.vue | 134 ++++++++++++++------------- 3 files changed, 127 insertions(+), 71 deletions(-) diff --git a/src/App.vue b/src/App.vue index bcf47c6..cdf7ef0 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,10 +1,64 @@ diff --git a/src/api/stock.js b/src/api/stock.js index 8ef40c3..f79168e 100644 --- a/src/api/stock.js +++ b/src/api/stock.js @@ -80,11 +80,11 @@ export function getItemCode(stockCode) { }) } -export function stockMsg(data) { +export function stockMsg(msg) { return request({ url: 'api/stock/stockMsg', - method: 'post', - data + method: 'get', + params:{msg} }) } diff --git a/src/views/databigscreen/DeptData.vue b/src/views/databigscreen/DeptData.vue index 2f1f776..75ec3b7 100644 --- a/src/views/databigscreen/DeptData.vue +++ b/src/views/databigscreen/DeptData.vue @@ -12,14 +12,14 @@
- +
{{ msg }} @@ -56,8 +56,9 @@
+ :config="this.config2" + style="width: 365px; height: 280px;margin-left:10px;" + />
@@ -70,12 +71,13 @@
+ background + layout="prev, pager, next" + @current-change="handleCurrentClick" + :current-page="currentPage" + :page-size="pageSize" + :total="total" + >
@@ -84,14 +86,14 @@