| | |
| | | <view style="color: #FFF;position: fixed;bottom: 10px;left: 10px;" v-show="timeOut"> |
| | | 连接超时: {{times}} s |
| | | </view> |
| | | |
| | | <!-- 版本号 --> |
| | | <!-- #ifdef APP-PLUS --> |
| | | <view class="version"> |
| | | 当前版本:{{version}} |
| | | </view> |
| | | <!-- #endif --> |
| | | </view> |
| | | </template> |
| | | <!-- {"msg":"操作成功","code":200,"data":[{"title":"全板出库","workNo":7460,"staNo":110,"sourceStaNo":null,"locNo":null,"sourceLocNo":"0807102","matDtos":[{"matNo":"50460834","maknx":"200x60桌面","count":26.0}],"emptyMk":false,"ioType":101}]} --> |
| | |
| | | export default { |
| | | data() { |
| | | return { |
| | | version: '1231313', |
| | | newModeClass: 'slide-top', |
| | | errorBoardShow: false, |
| | | carInfo: [], |
| | |
| | | that.baseCrnId = BaseCrnId |
| | | |
| | | |
| | | |
| | | this.getVersion() |
| | | this.getDate2() |
| | | setTimeout(() => { |
| | | this.getShuttle() |
| | |
| | | this.initPieChart() |
| | | this.getOther() |
| | | }, 600000) |
| | | |
| | | // #ifdef APP-PLUS |
| | | setTimeout(()=>{ |
| | | plus.runtime.restart() |
| | | },28800000) |
| | | // #endif |
| | | |
| | | |
| | | }, |
| | | methods: { |
| | | getVersion() { |
| | | let that = this |
| | | plus.runtime.getProperty(plus.runtime.appid, (wgtinfo) => { |
| | | that.version = wgtinfo.version //客户端版本号 |
| | | }) |
| | | }, |
| | | getShuttleTest() { |
| | | let res = ycqdata.infoData2.data |
| | | this.shuttleInfoModel(res) |
| | |
| | | <style> |
| | | /* @import url("../../static/css/common.css"); */ |
| | | @import url("home.css"); |
| | | |
| | | /* 版本号 */ |
| | | .version { |
| | | min-width: 100rpx; |
| | | position: fixed; |
| | | right: 20rpx; |
| | | bottom: 10rpx; |
| | | font-size: .1rem; |
| | | color: #909399; |
| | | } |
| | | /* 列 */ |
| | | .flex-col { |
| | | display: flex; |