| | |
| | | "name" : "智云LMES", |
| | | "appid" : "__UNI__B002F49", |
| | | "description" : "", |
| | | "versionName" : "2.084", |
| | | "versionCode" : 284, |
| | | "versionName" : "2.085", |
| | | "versionCode" : 285, |
| | | "transformPx" : false, |
| | | /* 5+App特有相关 */ |
| | | "app-plus" : { |
| | |
| | | }, |
| | | /* ios打包配置 */ |
| | | "ios" : { |
| | | |
| | | "dSYMs" : false, |
| | | "privacyDescription" : { |
| | | "NSPhotoLibraryUsageDescription" : "我们需要访问您的相册来进行图片选择", |
| | |
| | | /* SDK配置 */ |
| | | "sdkConfigs" : { |
| | | "ad" : {}, |
| | | "push" : { |
| | | |
| | | } |
| | | "push" : {} |
| | | }, |
| | | "icons" : { |
| | | "android" : { |
| | |
| | | "path" : "pages/MJGL/Sc_MouldRepairCheckTaskReport/Sc_MouldRepairCheckTaskReport", |
| | | "style" : |
| | | { |
| | | "navigationBarTitleText" : "器具登记故障跟踪" |
| | | "navigationBarTitleText" : "模具故障登记跟踪" |
| | | } |
| | | } |
| | | |
| | |
| | | <view class="op" v-if="operations == index"> |
| | | <!-- <button class="op3" size="mini" plain @tap.stop="edit(item)">编辑</button> --> |
| | | <!-- <button class="op4" size="mini" plain @tap.stop="del(item)">删除</button> --> |
| | | <button class="op3" size="mini" v-if="tabs == 0" plain @tap.stop="pushBill(0, item)">下推派工单</button> |
| | | <!-- <button class="op3" size="mini" v-if="tabs == 0" plain @tap.stop="pushBill(0, item)">下推派工单</button> |
| | | <button class="op3" size="mini" v-if="tabs == 1" plain @tap.stop="pushBill(1, item)">下推维修单</button> |
| | | <button class="op3" size="mini" v-if="tabs == 2" plain @tap.stop="pushBill(2, item)">下推验收单</button> |
| | | <button class="op3" size="mini" v-if="tabs == 2" plain @tap.stop="pushBill(2, item)">下推验收单</button> --> |
| | | <button class="op5" size="mini" plain @tap.stop="operations = -1">取消操作</button> |
| | | </view> |
| | | </uni-card> |
| | |
| | | <view class="op" v-if="operations == index"> |
| | | <!-- <button class="op3" size="mini" plain @tap.stop="edit(item)">编辑</button> --> |
| | | <!-- <button class="op4" size="mini" plain @tap.stop="del(item)">删除</button> --> |
| | | <button class="op3" size="mini" v-if="tabs == 0" plain @tap.stop="pushBill(0, item)">下推派工单</button> |
| | | <!-- <button class="op3" size="mini" v-if="tabs == 0" plain @tap.stop="pushBill(0, item)">下推派工单</button> |
| | | <button class="op3" size="mini" v-if="tabs == 1" plain @tap.stop="pushBill(1, item)">下推维修单</button> |
| | | <button class="op3" size="mini" v-if="tabs == 2" plain @tap.stop="pushBill(2, item)">下推验收单</button> |
| | | <button class="op3" size="mini" v-if="tabs == 2" plain @tap.stop="pushBill(2, item)">下推验收单</button> --> |
| | | <button class="op5" size="mini" plain @tap.stop="operations = -1">取消操作</button> |
| | | </view> |
| | | </uni-card> |
| | |
| | | <view class="op" v-if="operations == index"> |
| | | <!-- <button class="op3" size="mini" plain @tap.stop="edit(item)">编辑</button> --> |
| | | <!-- <button class="op4" size="mini" plain @tap.stop="del(item)">删除</button> --> |
| | | <button class="op3" size="mini" v-if="tabs == 0" plain @tap.stop="pushBill(0, item)">下推派工单</button> |
| | | <!-- <button class="op3" size="mini" v-if="tabs == 0" plain @tap.stop="pushBill(0, item)">下推派工单</button> |
| | | <button class="op3" size="mini" v-if="tabs == 1" plain @tap.stop="pushBill(1, item)">下推维修单</button> |
| | | <button class="op3" size="mini" v-if="tabs == 2" plain @tap.stop="pushBill(2, item)">下推验收单</button> |
| | | <button class="op3" size="mini" v-if="tabs == 2" plain @tap.stop="pushBill(2, item)">下推验收单</button> --> |
| | | <button class="op5" size="mini" plain @tap.stop="operations = -1">取消操作</button> |
| | | </view> |
| | | </uni-card> |
| | |
| | | // 读取语言包并加载 |
| | | // let languagePack = await getLanguagePackJson(lang) |
| | | // this.$i18n.setLocaleMessage(lang, languagePack) |
| | | this.$i18n.locale = lang |
| | | this.$i18n.locale = lang |
| | | }, |
| | | onLanguageChangeHandler(e) { |
| | | //动态获取后端的语言包文件,并将语言包应用到全局 |
| | |
| | | uni.setStorageSync('HSourceID', res.data.data[0].HSourceID); //对应生产资源 |
| | | uni.setStorageSync('HSourceName', res.data.data[0].HSourceName); |
| | | this.CommonUtils.setServerUrl(this.serverUrl) |
| | | // this.WebSocketServices.createConnect(res.data.data[0].Czybm,res.data.data[0].Czymc); |
| | | this.WebSocketServices.createConnect(res.data.data[0].Czybm,res.data.data[0].Czymc); |
| | | // getuiUtils.getClientID() |
| | | getuiUtils.getClientID(res.data.data[0].Czybm, res.data.data[0].Czymc) |
| | | uni.reLaunch({ |
| | |
| | | createConnect(userId, userName, count = 0, limit = 3) { |
| | | // 登录建立连接时,需要重新获取http地址,可能会变更 |
| | | this.wsUrl = CommonUtils.httpFormatWs(); |
| | | //this.wsUrl = uni.getStorageSync("serverUrl") + "WebSocketHandler.ashx" |
| | | // 缓存用户信息(用于重连) |
| | | this.currentUserId = userId; |
| | | this.currentUserName = userName; |
| | |
| | | httpUrl = httpUrl.substring(0, httpUrl.length - 1) |
| | | let BackSlashLast = httpUrl.lastIndexOf('/') |
| | | httpUrl = httpUrl.substring(0, BackSlashLast) |
| | | httpUrl = "ws://" + httpUrl.split(":")[0]+":8888/ws" |
| | | httpUrl = "ws://" + httpUrl.split(":")[0]+":12345/ws" |
| | | }else if(httpUrl.indexOf("https://") === 0) { |
| | | httpUrl = httpUrl.replace("https://", "") |
| | | httpUrl = httpUrl.substring(0, httpUrl.length - 1) |
| | | let BackSlashLast = httpUrl.lastIndexOf('/') |
| | | httpUrl = httpUrl.substring(0, BackSlashLast) |
| | | httpUrl = "wss://" + httpUrl.split(":")[0]+":8888/ws" |
| | | httpUrl = "wss://" + httpUrl.split(":")[0]+":12345/ws" |
| | | }else{ |
| | | // 提示传入连接错误 |
| | | } |