qingyiay
2023-09-21 c234dffcd3adaf7b8d87a5a8301871493c0cadbd
store/index.js
@@ -93,7 +93,58 @@
      globalIntervalId: null,
      is_open_socket: false, //避免重复连接
      connectNum: 1, //重连次数,
      reconnectTimeOut: null
      reconnectTimeOut: null,
      // 打印出入门证  一次就可以有打印入门证,  两次可以有入门证 出门证  0次一张都没有
      ablePrintInduction: false, //入门证
      ablePrintOut: false, //出门证
      driverTourImgList: ['https://mx.jzeg.cn:9096/appimg/image/tour/driver/sj1.png',
         'https://mx.jzeg.cn:9096/appimg/image/tour/driver/sj2.jpg',
         'https://mx.jzeg.cn:9096/appimg/image/tour/driver/sj3.jpg',
         'https://mx.jzeg.cn:9096/appimg/image/tour/driver/sj4.jpg',
         'https://mx.jzeg.cn:9096/appimg/image/tour/driver/sj5.jpg',
         'https://mx.jzeg.cn:9096/appimg/image/tour/driver/sj6.jpg',
         'https://mx.jzeg.cn:9096/appimg/image/tour/driver/sj7.jpg',
         'https://mx.jzeg.cn:9096/appimg/image/tour/driver/sj8.jpg',
         'https://mx.jzeg.cn:9096/appimg/image/tour/driver/sj9.jpg',
         'https://mx.jzeg.cn:9096/appimg/image/tour/driver/sj10.jpg',
         'https://mx.jzeg.cn:9096/appimg/image/tour/driver/sj11.jpg',
         'https://mx.jzeg.cn:9096/appimg/image/tour/driver/sj12.jpg',
         'https://mx.jzeg.cn:9096/appimg/image/tour/driver/sj13.jpg',
         'https://mx.jzeg.cn:9096/appimg/image/tour/driver/sj14.jpg',
         'https://mx.jzeg.cn:9096/appimg/image/tour/driver/sj15.jpg',
         'https://mx.jzeg.cn:9096/appimg/image/tour/driver/sj16.jpg',
         'https://mx.jzeg.cn:9096/appimg/image/tour/driver/sj17.jpg',
         'https://mx.jzeg.cn:9096/appimg/image/tour/driver/sj18.jpg',
         'https://mx.jzeg.cn:9096/appimg/image/tour/driver/sj19.jpg',
         'https://mx.jzeg.cn:9096/appimg/image/tour/driver/sj20.jpg',
         'https://mx.jzeg.cn:9096/appimg/image/tour/driver/sj21.jpg',
         'https://mx.jzeg.cn:9096/appimg/image/tour/driver/sj22.jpg',
         'https://mx.jzeg.cn:9096/appimg/image/tour/driver/sj23.jpg',
         'https://mx.jzeg.cn:9096/appimg/image/tour/driver/sj24.jpg',
         'https://mx.jzeg.cn:9096/appimg/image/tour/driver/sj25.jpg',
         'https://mx.jzeg.cn:9096/appimg/image/tour/driver/sj26.jpg',
         'https://mx.jzeg.cn:9096/appimg/image/tour/driver/sj27.jpg',
         'https://mx.jzeg.cn:9096/appimg/image/tour/driver/sj28.jpg',
         'https://mx.jzeg.cn:9096/appimg/image/tour/driver/sj29.jpg',
         'https://mx.jzeg.cn:9096/appimg/image/tour/driver/sj30.jpg',
         'https://mx.jzeg.cn:9096/appimg/image/tour/driver/sj31.jpg',
         'https://mx.jzeg.cn:9096/appimg/image/tour/driver/sj32.jpg',
         'https://mx.jzeg.cn:9096/appimg/image/tour/driver/sj33.jpg',
         'https://mx.jzeg.cn:9096/appimg/image/tour/driver/sj33-1.jpg',
         'https://mx.jzeg.cn:9096/appimg/image/tour/driver/sj34.jpg',
         'https://mx.jzeg.cn:9096/appimg/image/tour/driver/sj35.jpg',
         'https://mx.jzeg.cn:9096/appimg/image/tour/driver/sj36.jpg',
         'https://mx.jzeg.cn:9096/appimg/image/tour/driver/sj37.jpg',
         'https://mx.jzeg.cn:9096/appimg/image/tour/driver/sj38.jpg',
         'https://mx.jzeg.cn:9096/appimg/image/tour/driver/sj39.jpg',
         'https://mx.jzeg.cn:9096/appimg/image/tour/driver/sj40.jpg',
         'https://mx.jzeg.cn:9096/appimg/image/tour/driver/sj41.jpg',
         'https://mx.jzeg.cn:9096/appimg/image/tour/driver/sj42.jpg',
         'https://mx.jzeg.cn:9096/appimg/image/tour/driver/sj43.jpg',
         'https://mx.jzeg.cn:9096/appimg/image/tour/driver/sj44.jpg',
      ],
      wsgVisiable: false, //磅房忙碌弹窗控制
      wsgContent: ''
   },
   mutations: {
      lengthchange(state, payload) {
@@ -163,6 +214,18 @@
            state.connectNum = payload
         }
      },
      changeablePrintInduction(state, payload) {
         state.ablePrintInduction = payload
      },
      changeablePrintOut(state, payload) {
         state.ablePrintOut = payload
      },
      changewsgVisiable(state, payload) {
         state.wsgVisiable = payload
      },
      changewsgContent(state, payload) {
         state.wsgContent = payload
      }
   },
   actions: {
      websocketInit({ state, dispatch, commit }) {