|
@@ -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': '成功',
|