2 Commits 2c514b8a29 ... 389da3af18

Author SHA1 Message Date
  liudan 389da3af18 提示; 3 weeks ago
  liudan 0f76e50bd0 1 3 weeks ago
3 changed files with 10 additions and 1 deletions
  1. BIN
      dist.zip
  2. 1 1
      index.html
  3. 9 0
      src/pages/bigScreen/Index.jsx

BIN
dist.zip


+ 1 - 1
index.html

@@ -12,4 +12,4 @@
   <script type="module" src="/src/main.jsx"></script>
 </body>
 
-</html>
+</html>

+ 9 - 0
src/pages/bigScreen/Index.jsx

@@ -5,6 +5,7 @@ import { Grid } from 'antd-mobile';
 import { initDate } from '@utils/index.js';
 import ScrollTop from '@components/ScrollTop.jsx';
 import { Swiper } from 'antd-mobile';
+import { Toast } from 'antd-mobile';
 /**
  * @刘丹: 大屏叫号
  */
@@ -69,11 +70,19 @@ class BigScreen extends React.Component {
   };
   // 叫号的诊室数据默认
   initRoom = () => {
+    Toast.show({
+      duration: 3000,
+      content: '获取接口数据',
+    });
     React.$fetchPost('04150020', {
       params: [{
        locID: '2068',
      }],
     }, true).then((data) => {
+      Toast.show({
+        duration: 3000,
+        content: '获取数据成功' + data.result.length + '条',
+      });
       // data = {
       //   'errorCode': 0,
       //   'errorMessage': '成功',