调试预警信息推送接口

This commit is contained in:
BianLzhaoMin 2024-08-13 19:07:43 +08:00
parent 30542baa34
commit 95aa4f4a03
9 changed files with 19365 additions and 7860 deletions

View File

@ -1,8 +1,8 @@
import Http from'./request'
import Http from './request'
import HttpConfig from './http'
const login = {
async codeLogin (data = {} , header = {}){
async codeLogin(data = {}, header = {}) {
return await Http.post(
HttpConfig.authPath,
HttpConfig.serviceUrl.login.code,
@ -10,7 +10,7 @@ const login = {
header
)
},
async checkCode (data = {} , header = {}){
async checkCode(data = {}, header = {}) {
return await Http.post(
HttpConfig.authPath,
HttpConfig.serviceUrl.login.checkCode,
@ -18,10 +18,10 @@ const login = {
header
)
},
async log (data = {} , header = {}){
async log(data = {}, header = {}) {
return await Http.post(
HttpConfig.authPath,
HttpConfig.serviceUrl.login.log,
HttpConfig.serviceUrl.login.log,
data,
header
)
@ -29,7 +29,7 @@ const login = {
}
const user = {
async logOut (data = {} , header = {}){
async logOut(data = {}, header = {}) {
return await Http.delete(
HttpConfig.authPath,
HttpConfig.serviceUrl.user.logOut,
@ -40,7 +40,7 @@ const user = {
}
const index = {
async noticeCont (data = {} , header = {}){
async noticeCont(data = {}, header = {}) {
return await Http.get(
HttpConfig.basePath,
HttpConfig.serviceUrl.index.noticeCont,
@ -48,7 +48,7 @@ const index = {
header
)
},
async singleNotice (data = {} , header = {}){
async singleNotice(data = {}, header = {}) {
return await Http.get(
HttpConfig.systemPath,
HttpConfig.serviceUrl.index.singleNotice,
@ -56,7 +56,7 @@ const index = {
header
)
},
async waitDo (data = {} , header = {}){
async waitDo(data = {}, header = {}) {
return await Http.get(
HttpConfig.basePath,
HttpConfig.serviceUrl.index.waitDo,
@ -64,7 +64,7 @@ const index = {
header
)
},
async keyData (data = {} , header = {}){
async keyData(data = {}, header = {}) {
return await Http.get(
HttpConfig.basePath,
HttpConfig.serviceUrl.index.keyData,
@ -72,7 +72,7 @@ const index = {
header
)
},
async getUserInfo (data = {} , header = {}){
async getUserInfo(data = {}, header = {}) {
return await Http.get(
HttpConfig.systemPath,
HttpConfig.serviceUrl.index.getUserInfo,
@ -80,7 +80,15 @@ const index = {
header
)
},
async fetchCompanyName (data = {} , header = {}){
async alarmPush(data = {}, header = {}) {
return await Http.get(
HttpConfig.materialPath,
HttpConfig.serviceUrl.index.alarmPush,
data,
header
)
},
async fetchCompanyName(data = {}, header = {}) {
return await Http.get(
HttpConfig.systemPath,
HttpConfig.serviceUrl.index.fetchCompanyName,
@ -91,7 +99,7 @@ const index = {
}
const fetchMaterial = {
async fetchMaterialList (data = {} , header = {}){
async fetchMaterialList(data = {}, header = {}) {
return await Http.get(
HttpConfig.basePath,
HttpConfig.serviceUrl.fetchMaterial.fetchMaterialList,
@ -99,7 +107,7 @@ const fetchMaterial = {
header
)
},
async getDeptList (data = {} , header = {}){
async getDeptList(data = {}, header = {}) {
return await Http.post(
HttpConfig.systemPath,
HttpConfig.serviceUrl.fetchMaterial.getDeptList,
@ -107,7 +115,7 @@ const fetchMaterial = {
header
)
},
async getProjList (data = {} , header = {}){
async getProjList(data = {}, header = {}) {
return await Http.post(
HttpConfig.systemPath,
HttpConfig.serviceUrl.fetchMaterial.getProjList,
@ -115,7 +123,7 @@ const fetchMaterial = {
header
)
},
async subCart (data = {} , header = {}){
async subCart(data = {}, header = {}) {
return await Http.post(
HttpConfig.basePath,
HttpConfig.serviceUrl.fetchMaterial.subCart,
@ -123,7 +131,7 @@ const fetchMaterial = {
header
)
},
async getDeviceDetail (data = {} , header = {}){
async getDeviceDetail(data = {}, header = {}) {
return await Http.get(
HttpConfig.basePath,
HttpConfig.serviceUrl.fetchMaterial.getDeviceDetail,
@ -131,7 +139,7 @@ const fetchMaterial = {
header
)
},
async addItemToCart (data = {} , header = {}){
async addItemToCart(data = {}, header = {}) {
return await Http.post(
HttpConfig.basePath,
HttpConfig.serviceUrl.fetchMaterial.addItemToCart,
@ -139,7 +147,7 @@ const fetchMaterial = {
header
)
},
async delCart (data = {} , header = {}){
async delCart(data = {}, header = {}) {
return await Http.delete(
HttpConfig.basePath,
HttpConfig.serviceUrl.fetchMaterial.delCart,
@ -147,7 +155,7 @@ const fetchMaterial = {
header
)
},
async getCartDetail (data = {} , header = {}){
async getCartDetail(data = {}, header = {}) {
return await Http.get(
HttpConfig.basePath,
HttpConfig.serviceUrl.fetchMaterial.getCartDetail,
@ -155,7 +163,7 @@ const fetchMaterial = {
header
)
},
async itemNumChange (data = {} , header = {}){
async itemNumChange(data = {}, header = {}) {
return await Http.post(
HttpConfig.basePath,
HttpConfig.serviceUrl.fetchMaterial.itemNumChange,
@ -166,7 +174,7 @@ const fetchMaterial = {
}
const fetchExam = {
async fetchExamList (data = {} , header = {}){
async fetchExamList(data = {}, header = {}) {
return await Http.get(
HttpConfig.basePath,
HttpConfig.serviceUrl.fetchExam.fetchExamList,
@ -174,7 +182,7 @@ const fetchExam = {
header
)
},
async subExam (data = {} , header = {}){
async subExam(data = {}, header = {}) {
return await Http.post(
HttpConfig.basePath,
HttpConfig.serviceUrl.fetchExam.subExam,
@ -182,7 +190,7 @@ const fetchExam = {
header
)
},
async subExamCq (data = {} , header = {}){
async subExamCq(data = {}, header = {}) {
return await Http.post(
HttpConfig.basePath,
HttpConfig.serviceUrl.fetchExam.subExamCq,
@ -190,7 +198,7 @@ const fetchExam = {
header
)
},
async rejectExam (data = {} , header = {}){
async rejectExam(data = {}, header = {}) {
return await Http.post(
HttpConfig.basePath,
HttpConfig.serviceUrl.fetchExam.rejectExam,
@ -198,7 +206,7 @@ const fetchExam = {
header
)
},
async rejectExamCq (data = {} , header = {}){
async rejectExamCq(data = {}, header = {}) {
return await Http.post(
HttpConfig.basePath,
HttpConfig.serviceUrl.fetchExam.rejectExamCq,
@ -206,7 +214,7 @@ const fetchExam = {
header
)
},
async fetchExamListAll (data = {} , header = {}){
async fetchExamListAll(data = {}, header = {}) {
return await Http.get(
HttpConfig.basePath,
HttpConfig.serviceUrl.fetchExam.fetchExamListAll,
@ -214,7 +222,7 @@ const fetchExam = {
header
)
},
async fetchTrueExamList (data = {} , header = {}){
async fetchTrueExamList(data = {}, header = {}) {
return await Http.get(
HttpConfig.basePath,
HttpConfig.serviceUrl.fetchExam.fetchTrueExamList,
@ -222,7 +230,7 @@ const fetchExam = {
header
)
},
async fetchTrueExamListCq (data = {} , header = {}){
async fetchTrueExamListCq(data = {}, header = {}) {
return await Http.get(
HttpConfig.basePath,
HttpConfig.serviceUrl.fetchExam.fetchTrueExamListCq,
@ -230,7 +238,7 @@ const fetchExam = {
header
)
},
async fetchDetailList (data = {} , header = {}){
async fetchDetailList(data = {}, header = {}) {
return await Http.get(
HttpConfig.basePath,
HttpConfig.serviceUrl.fetchExam.fetchDetailList,
@ -241,7 +249,7 @@ const fetchExam = {
}
const newInStore = {
async fetchNewInStoreList (data = {} , header = {}){
async fetchNewInStoreList(data = {}, header = {}) {
return await Http.get(
HttpConfig.basePath,
HttpConfig.serviceUrl.newInStore.fetchNewInStoreList,
@ -249,7 +257,7 @@ const newInStore = {
header
)
},
async fetchNewBuyDetail (data = {} , header = {}){
async fetchNewBuyDetail(data = {}, header = {}) {
return await Http.get(
HttpConfig.materialPath,
HttpConfig.serviceUrl.newInStore.fetchNewBuyDetail,
@ -257,7 +265,7 @@ const newInStore = {
header
)
},
async subNewBuy (data = {} , header = {}){
async subNewBuy(data = {}, header = {}) {
return await Http.post(
HttpConfig.basePath,
HttpConfig.serviceUrl.newInStore.subNewBuy,
@ -268,7 +276,7 @@ const newInStore = {
}
const fetchMaterialOutStore = {
async fetchInfoByCode (data = {} , header = {}){
async fetchInfoByCode(data = {}, header = {}) {
return await Http.get(
HttpConfig.basePath,
HttpConfig.serviceUrl.fetchMaterialOutStore.fetchInfoByCode,
@ -276,7 +284,7 @@ const fetchMaterialOutStore = {
header
)
},
async subOutStore (data = {} , header = {}){
async subOutStore(data = {}, header = {}) {
return await Http.post(
HttpConfig.basePath,
HttpConfig.serviceUrl.fetchMaterialOutStore.subOutStore,
@ -284,7 +292,7 @@ const fetchMaterialOutStore = {
header
)
},
async subOutStoreArr (data = {} , header = {}){
async subOutStoreArr(data = {}, header = {}) {
return await Http.post(
HttpConfig.basePath,
HttpConfig.serviceUrl.fetchMaterialOutStore.subOutStoreArr,
@ -292,21 +300,21 @@ const fetchMaterialOutStore = {
header
)
},
async fetchInfoByQrCode(data = {}){
async fetchInfoByQrCode(data = {}) {
return await Http.get(
HttpConfig.basePath,
HttpConfig.serviceUrl.fetchMaterialOutStore.fetchInfoByQrCode,
data
)
},
async fetchSingleDetail(data = {}){
async fetchSingleDetail(data = {}) {
return await Http.get(
HttpConfig.basePath,
HttpConfig.serviceUrl.fetchMaterialOutStore.fetchSingleDetail,
data
)
},
async searchRfid(data = {}){
async searchRfid(data = {}) {
return await Http.post(
HttpConfig.basePath,
HttpConfig.serviceUrl.fetchMaterialOutStore.searchRfid,
@ -316,7 +324,7 @@ const fetchMaterialOutStore = {
}
const exitMaterial = {
async exitDeptList (data = {} , header = {}){
async exitDeptList(data = {}, header = {}) {
return await Http.post(
HttpConfig.basePath,
HttpConfig.serviceUrl.exitMaterial.exitDeptList,
@ -324,7 +332,7 @@ const exitMaterial = {
header
)
},
async exitMaterialList (data = {} , header = {}){
async exitMaterialList(data = {}, header = {}) {
return await Http.post(
HttpConfig.basePath,
HttpConfig.serviceUrl.exitMaterial.exitMaterialList,
@ -332,7 +340,7 @@ const exitMaterial = {
header
)
},
async exitMaterialDetail (data = {} , header = {}){
async exitMaterialDetail(data = {}, header = {}) {
return await Http.post(
HttpConfig.basePath,
HttpConfig.serviceUrl.exitMaterial.exitMaterialDetail,
@ -340,7 +348,7 @@ const exitMaterial = {
header
)
},
async subExitMaterial (data = {} , header = {}){
async subExitMaterial(data = {}, header = {}) {
return await Http.post(
HttpConfig.basePath,
HttpConfig.serviceUrl.exitMaterial.subExitMaterial,
@ -348,7 +356,7 @@ const exitMaterial = {
header
)
},
async delMaterial (data = {} , header = {}){
async delMaterial(data = {}, header = {}) {
return await Http.post(
HttpConfig.basePath,
HttpConfig.serviceUrl.exitMaterial.delMaterial,
@ -356,7 +364,7 @@ const exitMaterial = {
header
)
},
async newExitList (data = {} , header = {}){
async newExitList(data = {}, header = {}) {
return await Http.post(
HttpConfig.basePath,
HttpConfig.serviceUrl.exitMaterial.newExitList,
@ -364,7 +372,7 @@ const exitMaterial = {
header
)
},
async selectMaterial (data = {} , header = {}){
async selectMaterial(data = {}, header = {}) {
return await Http.post(
HttpConfig.basePath,
HttpConfig.serviceUrl.exitMaterial.selectMaterial,
@ -372,7 +380,7 @@ const exitMaterial = {
header
)
},
async ifAgreement (data = {} , header = {}){
async ifAgreement(data = {}, header = {}) {
return await Http.post(
HttpConfig.systemPath,
HttpConfig.serviceUrl.exitMaterial.ifAgreement,
@ -383,7 +391,7 @@ const exitMaterial = {
}
const exitExam = {
async exitExamList (data = {} , header = {}){
async exitExamList(data = {}, header = {}) {
return await Http.post(
HttpConfig.basePath,
HttpConfig.serviceUrl.exitExam.exitExamList,
@ -391,7 +399,7 @@ const exitExam = {
header
)
},
async exitExamDetail (data = {} , header = {}){
async exitExamDetail(data = {}, header = {}) {
return await Http.post(
HttpConfig.basePath,
HttpConfig.serviceUrl.exitExam.exitExamDetail,
@ -399,7 +407,7 @@ const exitExam = {
header
)
},
async subExitExam (data = {} , header = {}){
async subExitExam(data = {}, header = {}) {
return await Http.post(
HttpConfig.basePath,
HttpConfig.serviceUrl.exitExam.subExitExam,
@ -407,7 +415,7 @@ const exitExam = {
header
)
},
async rejectExitExam (data = {} , header = {}){
async rejectExitExam(data = {}, header = {}) {
return await Http.post(
HttpConfig.basePath,
HttpConfig.serviceUrl.exitExam.rejectExitExam,
@ -418,7 +426,7 @@ const exitExam = {
}
const fix = {
async fixList (data = {} , header = {}){
async fixList(data = {}, header = {}) {
return await Http.get(
HttpConfig.basePath,
HttpConfig.serviceUrl.fix.fixList,
@ -426,7 +434,7 @@ const fix = {
header
)
},
async fixDetail (data = {} , header = {}){
async fixDetail(data = {}, header = {}) {
return await Http.get(
HttpConfig.basePath,
HttpConfig.serviceUrl.fix.fixDetail,
@ -434,7 +442,7 @@ const fix = {
header
)
},
async fixExam (data = {} , header = {}){
async fixExam(data = {}, header = {}) {
return await Http.post(
HttpConfig.basePath,
HttpConfig.serviceUrl.fix.fixExam,
@ -442,7 +450,7 @@ const fix = {
header
)
},
async completeFix (data = {} , header = {}){
async completeFix(data = {}, header = {}) {
return await Http.post(
HttpConfig.basePath,
HttpConfig.serviceUrl.fix.completeFix,
@ -450,7 +458,7 @@ const fix = {
header
)
},
async submitFix (data = {} , header = {}){
async submitFix(data = {}, header = {}) {
return await Http.post(
HttpConfig.basePath,
HttpConfig.serviceUrl.fix.submitFix,
@ -458,7 +466,7 @@ const fix = {
header
)
},
async fixCrew (data = {} , header = {}){
async fixCrew(data = {}, header = {}) {
return await Http.get(
HttpConfig.basePath,
HttpConfig.serviceUrl.fix.fixCrew,
@ -466,7 +474,7 @@ const fix = {
header
)
},
async maList (data = {} , header = {}){
async maList(data = {}, header = {}) {
return await Http.get(
HttpConfig.basePath,
HttpConfig.serviceUrl.fix.maList,
@ -474,7 +482,7 @@ const fix = {
header
)
},
async fixFactory (data = {} , header = {}){
async fixFactory(data = {}, header = {}) {
return await Http.get(
HttpConfig.basePath,
HttpConfig.serviceUrl.fix.fixFactory,
@ -482,7 +490,7 @@ const fix = {
header
)
},
async uploadPic (data = {} , header = {}){
async uploadPic(data = {}, header = {}) {
return await Http.upload(
HttpConfig.systemPath,
HttpConfig.serviceUrl.fix.uploadPic,
@ -493,7 +501,7 @@ const fix = {
}
const repairTestInStore = {
async repairTestInStoreList (data = {} , header = {}){
async repairTestInStoreList(data = {}, header = {}) {
return await Http.post(
HttpConfig.materialPath,
HttpConfig.serviceUrl.repairTestInStore.repairTestInStoreList,
@ -501,7 +509,7 @@ const repairTestInStore = {
header
)
},
async repairTestInStoreDetail (data = {} , header = {}){
async repairTestInStoreDetail(data = {}, header = {}) {
return await Http.post(
HttpConfig.materialPath,
HttpConfig.serviceUrl.repairTestInStore.repairTestInStoreDetail,
@ -509,7 +517,7 @@ const repairTestInStore = {
header
)
},
async processOrReject (data = {} , header = {}){
async processOrReject(data = {}, header = {}) {
return await Http.post(
HttpConfig.materialPath,
HttpConfig.serviceUrl.repairTestInStore.processOrReject,
@ -520,7 +528,7 @@ const repairTestInStore = {
}
const backMaterialReceive = {
async backMaterialReceiveList (data = {} , header = {}){
async backMaterialReceiveList(data = {}, header = {}) {
return await Http.get(
HttpConfig.basePath,
HttpConfig.serviceUrl.backMaterialReceive.backMaterialReceiveList,
@ -528,7 +536,7 @@ const backMaterialReceive = {
header
)
},
async backMaterialReceiveDetail (data = {} , header = {}){
async backMaterialReceiveDetail(data = {}, header = {}) {
return await Http.post(
HttpConfig.basePath,
HttpConfig.serviceUrl.backMaterialReceive.backMaterialReceiveDetail,
@ -536,7 +544,7 @@ const backMaterialReceive = {
header
)
},
async backMaterialSetNumBack (data = {} , header = {}){
async backMaterialSetNumBack(data = {}, header = {}) {
return await Http.post(
HttpConfig.basePath,
HttpConfig.serviceUrl.backMaterialReceive.backMaterialSetNumBack,
@ -544,7 +552,7 @@ const backMaterialReceive = {
header
)
},
async backMaterialQrcodeQuery (data = {} , header = {}){
async backMaterialQrcodeQuery(data = {}, header = {}) {
return await Http.post(
HttpConfig.basePath,
HttpConfig.serviceUrl.backMaterialReceive.backMaterialQrcodeQuery,
@ -552,7 +560,7 @@ const backMaterialReceive = {
header
)
},
async backMaterialSetCodeBack (data = {} , header = {}){
async backMaterialSetCodeBack(data = {}, header = {}) {
return await Http.post(
HttpConfig.basePath,
HttpConfig.serviceUrl.backMaterialReceive.backMaterialSetCodeBack,
@ -560,8 +568,8 @@ const backMaterialReceive = {
header
)
},
async backReceiveCodeQuery (data = {} , header = {}){
async backReceiveCodeQuery(data = {}, header = {}) {
return await Http.post(
HttpConfig.basePath,
HttpConfig.serviceUrl.backMaterialReceive.backReceiveCodeQuery,
@ -569,7 +577,7 @@ const backMaterialReceive = {
header
)
},
async backReceiveEndBack (data = {} , header = {}){
async backReceiveEndBack(data = {}, header = {}) {
return await Http.post(
HttpConfig.basePath,
HttpConfig.serviceUrl.backMaterialReceive.backReceiveEndBack,
@ -577,7 +585,7 @@ const backMaterialReceive = {
header
)
},
async seeBackMaterialDetail (data = {}, header = {}){
async seeBackMaterialDetail(data = {}, header = {}) {
return await Http.post(
HttpConfig.basePath,
HttpConfig.serviceUrl.backMaterialReceive.seeBackMaterialDetail,
@ -585,7 +593,7 @@ const backMaterialReceive = {
header
)
},
async searchRfid (data = {}, header = {}){
async searchRfid(data = {}, header = {}) {
return await Http.post(
HttpConfig.basePath,
HttpConfig.serviceUrl.backMaterialReceive.searchRfid,
@ -593,7 +601,7 @@ const backMaterialReceive = {
header
)
},
async subRfid (data = {}, header = {}){
async subRfid(data = {}, header = {}) {
return await Http.post(
HttpConfig.basePath,
HttpConfig.serviceUrl.backMaterialReceive.subRfid,
@ -602,7 +610,7 @@ const backMaterialReceive = {
)
},
// fetchMaterialOutStore
async searchByCode (data = {}, header = {}){
async searchByCode(data = {}, header = {}) {
return await Http.get(
HttpConfig.basePath,
HttpConfig.serviceUrl.backMaterialReceive.searchByCode,
@ -785,7 +793,7 @@ const indexScan = {
const url = HttpConfig.systemPath
export default{
export default {
login,
index,
user,

View File

@ -6,7 +6,7 @@ class HttpConfig {
// baseUrl = "http://112.29.103.165:21624"
// baseUrl = "http://192.168.0.14:21624"
// baseUrl = "http://192.168.0.56:21626"
baseUrl = "http://192.168.0.14:18866"
baseUrl = "http://192.168.2.216:49080"
// baseUrl = "http://112.29.103.165:21626"
// baseUrl = "http://172.20.10.3:8080"
// baseUrl = "http://10.40.92.9:8080"
@ -17,14 +17,14 @@ class HttpConfig {
// baseUrl = "https://z.csgmall.com.cn/gl"
// #endif
// 基地址
authPath = `${this.baseUrl}/dev-api/auth`
systemPath = `${this.baseUrl}/dev-api/system`
basePath = `${this.baseUrl}/dev-api/base`
materialPath = `${this.baseUrl}/dev-api/material`
/* authPath = `${this.baseUrl}/auth`
// authPath = `${this.baseUrl}/dev-api/auth`
// systemPath = `${this.baseUrl}/dev-api/system`
// basePath = `${this.baseUrl}/dev-api/base`
// materialPath = `${this.baseUrl}/dev-api/material`
authPath = `${this.baseUrl}/auth`
systemPath = `${this.baseUrl}/system`
basePath = `${this.baseUrl}/base`
materialPath = `${this.baseUrl}/material` */
basePath = `${this.baseUrl}/material/base`
materialPath = `${this.baseUrl}/material`
// 短链
serviceUrl = {
login: {
@ -42,6 +42,7 @@ class HttpConfig {
keyData: '/app/getCriticalData', // 获取关键数据
getUserInfo: '/user/getInfo', // 获取用户信息
fetchCompanyName: '/dept/getCompanyByAncestors', // 获取公司名称
alarmPush: '/iotMachine/alarmPush'
},
fetchMaterial: {
fetchMaterialList: '/type/selectMaTypeListByLevelIndex', // 获取设备列表
@ -114,10 +115,10 @@ class HttpConfig {
backMaterialReceiveList: '/backReceive/getbackReceiveList', // 获取退料接收列表
backMaterialReceiveDetail: '/backReceive/receiveView',
backMaterialSetNumBack: '/backReceive/setNumBack',
backMaterialQrcodeQuery:'/backReceive/qrcodeQuery',
backMaterialSetCodeBack:'/backReceive/setCodeBack',
backReceiveCodeQuery:"/backReceive/codeQuery",
backReceiveEndBack:"/backReceive/endBack",
backMaterialQrcodeQuery: '/backReceive/qrcodeQuery',
backMaterialSetCodeBack: '/backReceive/setCodeBack',
backReceiveCodeQuery: "/backReceive/codeQuery",
backReceiveEndBack: "/backReceive/endBack",
seeBackMaterialDetail: '/backReceive/backReceiveRecord', // 查看退料明细
searchRfid: '/backReceive/rfidCodeQuery', // 查询rfid
subRfid: '/backReceive/setRfidCodeBack', // rfid接收

View File

@ -22,7 +22,8 @@
/* */
"modules" : {
"Camera" : {},
"Barcode" : {}
"Barcode" : {},
"Push" : {}
},
/* */
"distribute" : {
@ -62,7 +63,13 @@
},
/* SDK */
"sdkConfigs" : {
"ad" : {}
"ad" : {},
"push" : {
"unipush" : {
"version" : "2",
"offline" : false
}
}
},
"icons" : {
"android" : {

View File

@ -1,42 +1,41 @@
<template>
<view>
<view class="upper-user">
<view class="user-lef">
<image src="/static/bg1.jpg" mode=""></image>
</view>
<view class="user-rig">
<view>你好{{ username }}</view>
<view>欢迎使用智慧仓储装备共享平台</view>
</view>
</view>
<view class="sliders">
<view>
<h2>{{ todayDatas.dayLeaseNum }}</h2>
<span>当日领料</span>
</view>
<view>
<h2>{{ todayDatas.dayBackNum }}</h2>
<span>当日退料</span>
</view>
<view>
<h2>{{ todayDatas.dayInputNum }}</h2>
<span>当日入库</span>
</view>
<view>
<h2>{{ todayDatas.dayOutNum }}</h2>
<span>当日出库</span>
</view>
</view>
<view class="sections">
<view
v-for="(part, index) in isUsingList"
:key="index"
@click="jumpUrl(part.iconMark)"
>
<image :src="`/static/${part.iconMark}.png`" mode=""></image>
<span>{{ part.iconName }}</span>
</view>
<!-- <view @click="jumpUrl('fetchMaterial')">
<view>
<view class="upper-user">
<view class="user-lef">
<image src="/static/bg1.jpg" mode=""></image>
</view>
<view class="user-rig">
<view>你好{{ username }}</view>
<view>欢迎使用智慧仓储装备共享平台</view>
</view>
</view>
<view class="sliders">
<view>
<h2>{{ todayDatas.dayLeaseNum }}</h2>
<span>当日领料</span>
</view>
<view>
<h2>{{ todayDatas.dayBackNum }}</h2>
<span>当日退料</span>
</view>
<view>
<h2>{{ todayDatas.dayInputNum }}</h2>
<span>当日入库</span>
</view>
<view>
<h2>{{ todayDatas.dayOutNum }}</h2>
<span>当日出库</span>
</view>
</view>
<view class="sections">
<view
v-for="(part, index) in isUsingList"
:key="index"
@click="jumpUrl(part.iconMark)">
<image :src="`/static/${part.iconMark}.png`" mode=""></image>
<span>{{ part.iconName }}</span>
</view>
<!-- <view @click="jumpUrl('fetchMaterial')">
<image src="/static/领料申请.png" mode=""></image>
<span>领料申请</span>
</view>
@ -44,423 +43,479 @@
<image src="/static/退料申请.png" mode=""></image>
<span>退料申请</span>
</view> -->
</view>
<h4 style="width: 90%; margin: 3vh auto;">待办事项</h4>
<view class="wait-do">
<view class="llsp" @click="jumpUrl('fetchExam')">
<h4>{{ waitList.leaseNum }}</h4>
<h5>领料待审批</h5>
</view>
<view class="tlsp" @click="jumpUrl('exitExam')">
<h4>{{ waitList.backNum }}</h4>
<h5>退料待审批</h5>
</view>
<view class="bfsh" @click="jumpUrl('crashExam')">
<h4>{{ waitList.scrapNum }}</h4>
<h5>报废待审核</h5>
</view>
<view class="sysh" @click="jumpUrl('testExam')">
<h4>{{ waitList.trialNum }}</h4>
<h5>维修待审核</h5>
</view>
</view>
<h4 style="width: 90%; margin: 3vh auto; display: flex; justify-content: space-between; align-items: center;">
<span>通知公告</span>
<text @click="seeMore" style="color: #5297FF; font-weight: normal; font-size: 12px;">查看更多>></text>
</h4>
<view
class="single-notice"
v-for="(notice, index) in noticeList"
:key="index"
@click="noticeDetail(notice.noticeId)"
>
<view class="notice-lef">
<image src="/static/notice.png" mode=""></image>
</view>
<view class="notice-rig">
<h4>{{ notice.noticeTitle }}</h4>
<h5>{{ notice.createTime }}</h5>
</view>
</view>
<u-loading-page :loading="showLoading" color="#000" :loading-text="`下载中,请稍后...${percent}%`"></u-loading-page>
</view>
</view>
<h4 style="width: 90%; margin: 3vh auto">待办事项</h4>
<view class="wait-do">
<view class="llsp" @click="jumpUrl('fetchExam')">
<h4>{{ waitList.leaseNum }}</h4>
<h5>领料待审批</h5>
</view>
<view class="tlsp" @click="jumpUrl('exitExam')">
<h4>{{ waitList.backNum }}</h4>
<h5>退料待审批</h5>
</view>
<view class="bfsh" @click="jumpUrl('crashExam')">
<h4>{{ waitList.scrapNum }}</h4>
<h5>报废待审核</h5>
</view>
<view class="sysh" @click="jumpUrl('testExam')">
<h4>{{ waitList.trialNum }}</h4>
<h5>维修待审核</h5>
</view>
</view>
<h4
style="
width: 90%;
margin: 3vh auto;
display: flex;
justify-content: space-between;
align-items: center;
">
<span>通知公告</span>
<text
@click="seeMore"
style="color: #5297ff; font-weight: normal; font-size: 12px"
>查看更多>></text
>
</h4>
<view
class="single-notice"
v-for="(notice, index) in noticeList"
:key="index"
@click="noticeDetail(notice.noticeId)">
<view class="notice-lef">
<image src="/static/notice.png" mode=""></image>
</view>
<view class="notice-rig">
<h4>{{ notice.noticeTitle }}</h4>
<h5>{{ notice.createTime }}</h5>
</view>
</view>
<u-loading-page
:loading="showLoading"
color="#000"
:loading-text="`下载中,请稍后...${percent}%`"></u-loading-page>
</view>
</template>
<script>
import { authPath, basePath, publicPath, systemPath } from '../../public';
export default {
data() {
return {
showLoading: false,
username: uni.getStorageSync('userInfo').username,
noticeList: [],
todayDatas: {
dayLeaseNum: '',
dayBackNum: '',
dayInputNum: '',
dayOutNum: ''
},
waitList: {
lldsp: '',
tldsp: '',
bfdsh: '',
sydsh: ''
},
isUsingList: [],
percent: ''
}
},
methods: {
seeMore () {
uni.navigateTo({
url: '/pages/moreNotice/moreNotice'
})
},
noticeDetail (id) {
console.log(id);
uni.navigateTo({
url: `/pages/noticeDetail/noticeDetail?noticeId=${id}`
})
},
jumpUrl (path) {
uni.navigateTo({
url: `/pages/${path}/${path}`
})
},
toast () {
uni.showToast({
icon: 'none',
title: '敬请期待!'
})
}
},
onReady() {
},
onLoad() {
let that = this
let nowVer = ''
let serveVer = ''
let apkPath = ''
// app
plus.runtime.getProperty(plus.runtime.appid, (info) => {
nowVer = info.version.replace(/\./g, '')
})
// app
this.$api.update.fetchAppVer().then(res => {
console.log(res);
if (res.data.code == 200) {
serveVer = res.data.data[0].versionName.replace(/\./g, '')
apkPath = res.data.data[0].apkPath
//
setTimeout(() => {
console.log(nowVer, serveVer, apkPath);
if (nowVer < serveVer) {
uni.showModal({
title: '版本升级',
content: '当前版本非最新版本,请前往升级!',
showCancel: false,
confirmText: '升级',
success: (res) => {
if (res.confirm) {
that.showLoading = true
uni.hideTabBar()
let downloadApk = uni.downloadFile({
url: apkPath,
success: (download) => {
console.log(download);
if (download.statusCode == 200) {
plus.runtime.install(download.tempFilePath, {
force: true
}, (install) => {
that.showLoading = false
uni.showTabBar()
console.log(install);
})
} else {
uni.showTabBar()
that.showLoading = false
uni.showToast({
icon: 'none',
title: '下载异常,请稍后再试!'
})
}
}
})
downloadApk.onProgressUpdate(res => {
that.percent = res.progress
})
}
}
})
}
}, 500)
}
}).catch(err => {
console.log(err);
})
},
onShow() {
console.log(uni.getStorageSync('token'));
console.log(uni.getStorageSync('userInfo'));
let that = this
that.noticeList = []
//
that.$api.index.noticeCont().then(res => {
console.log(res);
if (res.data.code == 200) {
that.noticeList = res.data.data.slice(0, 5)
} else if (res.data.code == 401) {
uni.showToast({
icon: 'none',
title: '登录状态已过期,请重新登录!',
success: () => {
uni.removeStorageSync('token')
uni.removeStorageSync('userInfo')
uni.reLaunch({
url: '/pages/login/login'
})
}
})
}
}).catch(err => {
console.log(err);
})
//
that.$api.index.waitDo().then(res => {
console.log(res);
if (res.data.code == 200) {
that.waitList = res.data.data
}
}).catch(err => {
console.log(err);
})
//
that.$api.index.keyData().then(res => {
console.log(res);
if (res.data.code == 200) {
that.todayDatas = res.data.data
}
}).catch(err => {
console.log(err);
})
//
that.$api.authManage.fetchIsUsing({
userId: uni.getStorageSync('userInfo').userid
}).then(res => {
console.log(res);
if (res.data.code == 200) {
that.isUsingList = res.data.data
console.log(that.isUsingList);
}
}).catch(err => {
console.log(err);
})
//
that.$api.index.fetchCompanyName({
ancestors: uni.getStorageSync('userInfo').sysUser.dept.ancestors
}).then(res => {
console.log(res);
if (res.data.code == 200) uni.setStorageSync('companyName', res.data.msg)
}).catch(err => {
console.log(err);
})
},
onNavigationBarButtonTap(e) {
console.log(e);
if (e.text == '权限') {
uni.navigateTo({
url: '/pages/authManage/authManage'
})
} else if (e.text == '扫一扫') {
uni.scanCode({
success: (res) => {
console.log(res);
const fixedRes = res.result.split('=')[1]
console.log(fixedRes);
uni.navigateTo({
url: `/pages/indexScan/indexScan?scan=${fixedRes}`
})
}
})
}
}
}
import { authPath, basePath, publicPath, systemPath } from "../../public";
export default {
data() {
return {
showLoading: false,
username: uni.getStorageSync("userInfo").username,
noticeList: [],
todayDatas: {
dayLeaseNum: "",
dayBackNum: "",
dayInputNum: "",
dayOutNum: "",
},
waitList: {
lldsp: "",
tldsp: "",
bfdsh: "",
sydsh: "",
},
isUsingList: [],
percent: "",
};
},
methods: {
seeMore() {
uni.navigateTo({
url: "/pages/moreNotice/moreNotice",
});
},
noticeDetail(id) {
console.log(id);
uni.navigateTo({
url: `/pages/noticeDetail/noticeDetail?noticeId=${id}`,
});
},
jumpUrl(path) {
uni.navigateTo({
url: `/pages/${path}/${path}`,
});
},
toast() {
uni.showToast({
icon: "none",
title: "敬请期待!",
});
},
},
onReady() {},
onLoad() {
let that = this;
let nowVer = "";
let serveVer = "";
let apkPath = "";
// app
plus.runtime.getProperty(plus.runtime.appid, (info) => {
nowVer = info.version.replace(/\./g, "");
});
// app
this.$api.update
.fetchAppVer()
.then((res) => {
console.log(res);
if (res.data.code == 200) {
serveVer = res.data.data[0].versionName.replace(
/\./g,
""
);
apkPath = res.data.data[0].apkPath;
//
setTimeout(() => {
console.log(nowVer, serveVer, apkPath);
if (nowVer < serveVer) {
uni.showModal({
title: "版本升级",
content: "当前版本非最新版本,请前往升级!",
showCancel: false,
confirmText: "升级",
success: (res) => {
if (res.confirm) {
that.showLoading = true;
uni.hideTabBar();
let downloadApk = uni.downloadFile({
url: apkPath,
success: (download) => {
console.log(download);
if (
download.statusCode ==
200
) {
plus.runtime.install(
download.tempFilePath,
{
force: true,
},
(install) => {
that.showLoading = false;
uni.showTabBar();
console.log(
install
);
}
);
} else {
uni.showTabBar();
that.showLoading = false;
uni.showToast({
icon: "none",
title: "下载异常,请稍后再试!",
});
}
},
});
downloadApk.onProgressUpdate(
(res) => {
that.percent = res.progress;
}
);
}
},
});
}
}, 500);
}
})
.catch((err) => {
console.log(err);
});
},
onShow() {
console.log(uni.getStorageSync("token"));
console.log(uni.getStorageSync("userInfo"));
let that = this;
that.noticeList = [];
//
that.$api.index
.noticeCont()
.then((res) => {
console.log(res);
if (res.data.code == 200) {
that.noticeList = res.data.data.slice(0, 5);
} else if (res.data.code == 401) {
uni.showToast({
icon: "none",
title: "登录状态已过期,请重新登录!",
success: () => {
uni.removeStorageSync("token");
uni.removeStorageSync("userInfo");
uni.reLaunch({
url: "/pages/login/login",
});
},
});
}
})
.catch((err) => {
console.log(err);
});
//
that.$api.index
.waitDo()
.then((res) => {
console.log(res);
if (res.data.code == 200) {
that.waitList = res.data.data;
}
})
.catch((err) => {
console.log(err);
});
//
that.$api.index
.keyData()
.then((res) => {
console.log(res);
if (res.data.code == 200) {
that.todayDatas = res.data.data;
}
})
.catch((err) => {
console.log(err);
});
//
that.$api.authManage
.fetchIsUsing({
userId: uni.getStorageSync("userInfo").userid,
})
.then((res) => {
console.log(res);
if (res.data.code == 200) {
that.isUsingList = res.data.data;
console.log(that.isUsingList);
}
})
.catch((err) => {
console.log(err);
});
//
that.$api.index
.fetchCompanyName({
ancestors:
uni.getStorageSync("userInfo").sysUser.dept.ancestors,
})
.then((res) => {
console.log(res);
if (res.data.code == 200)
uni.setStorageSync("companyName", res.data.msg);
})
.catch((err) => {
console.log(err);
});
//
that.$api.index.alarmPush().then((res) => {
console.log(res, "推送结果---");
if (res.data.data == 1) {
// uni.showToast({
// icon: "none",
// title: "",
// });
}
});
},
onNavigationBarButtonTap(e) {
console.log(e);
if (e.text == "权限") {
uni.navigateTo({
url: "/pages/authManage/authManage",
});
} else if (e.text == "扫一扫") {
uni.scanCode({
success: (res) => {
console.log(res);
const fixedRes = res.result.split("=")[1];
console.log(fixedRes);
uni.navigateTo({
url: `/pages/indexScan/indexScan?scan=${fixedRes}`,
});
},
});
}
},
};
</script>
<style lang="scss">
body{
background: url('/static/bgd.png');
background-repeat: no-repeat;
background-size: 100% 100%;
}
.upper-user{
width: 85%;
margin: 8vh auto;
margin-bottom: 0;
box-sizing: border-box;
padding: 15rpx;
display: flex;
.user-lef{
width: 15%;
height: 6vh;
border-radius: 50%;
overflow: hidden;
image{
width: 100%;
height: 100%;
}
}
.user-rig{
flex: 1;
display: flex;
flex-direction: column;
justify-content: space-around;
box-sizing: border-box;
padding-left: 20rpx;
view{
width: 100%;
color: #fff;
}
view:first-child{
font-size: 18px;
}
view:last-child{
font-size: 12px;
letter-spacing: 6rpx;
}
}
}
.sliders{
width: 85%;
height: 5vh;
margin: 4vh auto;
margin-bottom: 2vh;
border-radius: 15rpx 15rpx 0 0;
background: rgba(255, 255, 255, 0.1);
backdrop-filter: blur(2px);
border: 1px solid #B3D3FF;
padding: 1.3vh 0;
display: flex;
view{
width: 25%;
height: 100%;
border-right: 1px solid #CDE2FF;
display: flex;
flex-direction: column;
justify-content: space-around;
align-items: center;
color: #fff;
h2{
font-size: 22px;
}
span{
font-size: 12px;
}
}
view:last-child{
border-right: none;
}
}
.sections{
width: 90%;
margin: 15rpx auto;
display: flex;
flex-wrap: wrap;
box-sizing: border-box;
padding-top: 2vh;
view{
width: 25%;
display: flex;
flex-direction: column;
align-items: center;
margin-bottom: 2vh;
image{
width: 50%;
height: 6vh;
margin-bottom: 10rpx;
}
span{
font-size: 20rpx;
}
}
}
.wait-do{
width: 90%;
margin: 0 auto;
display: flex;
flex-wrap: wrap;
justify-content: space-around;
view{
width: 48%;
height: 13vh;
margin-bottom: 15rpx;
border-radius: 15rpx;
box-sizing: border-box;
padding: 25rpx;
h4{
margin-bottom: 5rpx;
font-size: 22px;
}
h5{
font-weight: normal;
font-size: 14px;
}
}
.llsp{
background: url('/static/llsp.png');
background-repeat: no-repeat;
background-size: 100% 100%;
}
.tlsp{
background: url('/static/tlsp.png');
background-repeat: no-repeat;
background-size: 100% 100%;
}
.bfsh{
background: url('/static/bfsh.png');
background-repeat: no-repeat;
background-size: 100% 100%;
}
.sysh{
background: url('/static/sysh.png');
background-repeat: no-repeat;
background-size: 100% 100%;
}
}
.single-notice{
width: 100%;
margin: 0 auto;
border-bottom: 1px solid #DEE3EA;
box-sizing: border-box;
padding: 20rpx 5%;
display: flex;
background-color: #fff;
.notice-lef{
width: 12%;
height: 5.5vh;
border-radius: 50%;
overflow: hidden;
image{
width: 100%;
height: 100%;
}
}
.notice-rig{
flex: 1;
display: flex;
flex-direction: column;
justify-content: space-around;
box-sizing: border-box;
padding-left: 20rpx;
h4{
font-size: 14px;
}
h5{
font-size: 12px;
color: #8F9298;
font-weight: normal;
}
}
}
body {
background: url("/static/bgd.png");
background-repeat: no-repeat;
background-size: 100% 100%;
}
.upper-user {
width: 85%;
margin: 8vh auto;
margin-bottom: 0;
box-sizing: border-box;
padding: 15rpx;
display: flex;
.user-lef {
width: 15%;
height: 6vh;
border-radius: 50%;
overflow: hidden;
image {
width: 100%;
height: 100%;
}
}
.user-rig {
flex: 1;
display: flex;
flex-direction: column;
justify-content: space-around;
box-sizing: border-box;
padding-left: 20rpx;
view {
width: 100%;
color: #fff;
}
view:first-child {
font-size: 18px;
}
view:last-child {
font-size: 12px;
letter-spacing: 6rpx;
}
}
}
.sliders {
width: 85%;
height: 5vh;
margin: 4vh auto;
margin-bottom: 2vh;
border-radius: 15rpx 15rpx 0 0;
background: rgba(255, 255, 255, 0.1);
backdrop-filter: blur(2px);
border: 1px solid #b3d3ff;
padding: 1.3vh 0;
display: flex;
view {
width: 25%;
height: 100%;
border-right: 1px solid #cde2ff;
display: flex;
flex-direction: column;
justify-content: space-around;
align-items: center;
color: #fff;
h2 {
font-size: 22px;
}
span {
font-size: 12px;
}
}
view:last-child {
border-right: none;
}
}
.sections {
width: 90%;
margin: 15rpx auto;
display: flex;
flex-wrap: wrap;
box-sizing: border-box;
padding-top: 2vh;
view {
width: 25%;
display: flex;
flex-direction: column;
align-items: center;
margin-bottom: 2vh;
image {
width: 50%;
height: 6vh;
margin-bottom: 10rpx;
}
span {
font-size: 20rpx;
}
}
}
.wait-do {
width: 90%;
margin: 0 auto;
display: flex;
flex-wrap: wrap;
justify-content: space-around;
view {
width: 48%;
height: 13vh;
margin-bottom: 15rpx;
border-radius: 15rpx;
box-sizing: border-box;
padding: 25rpx;
h4 {
margin-bottom: 5rpx;
font-size: 22px;
}
h5 {
font-weight: normal;
font-size: 14px;
}
}
.llsp {
background: url("/static/llsp.png");
background-repeat: no-repeat;
background-size: 100% 100%;
}
.tlsp {
background: url("/static/tlsp.png");
background-repeat: no-repeat;
background-size: 100% 100%;
}
.bfsh {
background: url("/static/bfsh.png");
background-repeat: no-repeat;
background-size: 100% 100%;
}
.sysh {
background: url("/static/sysh.png");
background-repeat: no-repeat;
background-size: 100% 100%;
}
}
.single-notice {
width: 100%;
margin: 0 auto;
border-bottom: 1px solid #dee3ea;
box-sizing: border-box;
padding: 20rpx 5%;
display: flex;
background-color: #fff;
.notice-lef {
width: 12%;
height: 5.5vh;
border-radius: 50%;
overflow: hidden;
image {
width: 100%;
height: 100%;
}
}
.notice-rig {
flex: 1;
display: flex;
flex-direction: column;
justify-content: space-around;
box-sizing: border-box;
padding-left: 20rpx;
h4 {
font-size: 14px;
}
h5 {
font-size: 12px;
color: #8f9298;
font-weight: normal;
}
}
}
</style>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1 +1 @@
{"@platforms":["android","iPhone","iPad"],"id":"__UNI__9D122E1","name":"智慧仓储","version":{"name":"1.1.0","code":110},"description":"","launch_path":"__uniappview.html","developer":{"name":"","email":"","url":""},"permissions":{"Camera":{},"Barcode":{},"UniNView":{"description":"UniNView原生渲染"}},"plus":{"useragent":{"value":"uni-app","concatenate":true},"splashscreen":{"target":"id:1","autoclose":true,"waiting":true,"delay":0},"popGesture":"close","launchwebview":{"id":"1","kernel":"WKWebview"},"statusbar":{"immersed":"supportedDevice","style":"dark","background":"#F8F8F8"},"compatible":{"ignoreVersion":true},"usingComponents":true,"nvueStyleCompiler":"uni-app","compilerVersion":3,"distribute":{"icons":{"android":{"hdpi":"unpackage/res/icons/72x72.png","xhdpi":"unpackage/res/icons/96x96.png","xxhdpi":"unpackage/res/icons/144x144.png","xxxhdpi":"unpackage/res/icons/192x192.png"},"ios":{"appstore":"unpackage/res/icons/1024x1024.png","ipad":{"app":"unpackage/res/icons/76x76.png","app@2x":"unpackage/res/icons/152x152.png","notification":"unpackage/res/icons/20x20.png","notification@2x":"unpackage/res/icons/40x40.png","proapp@2x":"unpackage/res/icons/167x167.png","settings":"unpackage/res/icons/29x29.png","settings@2x":"unpackage/res/icons/58x58.png","spotlight":"unpackage/res/icons/40x40.png","spotlight@2x":"unpackage/res/icons/80x80.png"},"iphone":{"app@2x":"unpackage/res/icons/120x120.png","app@3x":"unpackage/res/icons/180x180.png","notification@2x":"unpackage/res/icons/40x40.png","notification@3x":"unpackage/res/icons/60x60.png","settings@2x":"unpackage/res/icons/58x58.png","settings@3x":"unpackage/res/icons/87x87.png","spotlight@2x":"unpackage/res/icons/80x80.png","spotlight@3x":"unpackage/res/icons/120x120.png"}}},"google":{"permissions":["<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>","<uses-permission android:name=\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/>","<uses-permission android:name=\"android.permission.VIBRATE\"/>","<uses-permission android:name=\"android.permission.READ_LOGS\"/>","<uses-permission android:name=\"android.permission.ACCESS_WIFI_STATE\"/>","<uses-feature android:name=\"android.hardware.camera.autofocus\"/>","<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\"/>","<uses-permission android:name=\"android.permission.CAMERA\"/>","<uses-permission android:name=\"android.permission.GET_ACCOUNTS\"/>","<uses-permission android:name=\"android.permission.READ_PHONE_STATE\"/>","<uses-permission android:name=\"android.permission.CHANGE_WIFI_STATE\"/>","<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>","<uses-permission android:name=\"android.permission.FLASHLIGHT\"/>","<uses-feature android:name=\"android.hardware.camera\"/>","<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>"]},"apple":{"dSYMs":false,"idfa":false,"privacyDescription":{"NSPhotoLibraryUsageDescription":"该应用上传照片信息时需要访问您的相册","NSPhotoLibraryAddUsageDescription":"该应用上传照片信息时需要访问您的相册","NSCameraUsageDescription":"该应用需要扫描二维码或拍照,是否允许打开相机","NSMicrophoneUsageDescription":"该应用需要使用您的麦克风,以便视频录音","NSLocationWhenInUseUsageDescription":"该应用需要使用您的地理位置,以便为您提供当前位置信息","NSLocationAlwaysUsageDescription":"该应用需要使用您的地理位置,以便为您提供当前位置信息","NSLocationAlwaysAndWhenInUseUsageDescription":"该应用需要使用您的地理位置,以便为您提供当前位置信息"}},"plugins":{"ad":{},"audio":{"mp3":{"description":"Android平台录音支持MP3格式文件"}}}},"nativePlugins":{"BNS-RfidRed":{"__plugin_info__":{"name":"BNS-RfidRed","description":"BNS-RfidRed","platforms":"Android","url":"","android_package_name":"","ios_bundle_id":"","isCloud":false,"bought":-1,"pid":"","parameters":{}}}},"uniStatistics":{"enable":false},"allowsInlineMediaPlayback":true,"safearea":{"background":"#FFFFFF","bottom":{"offset":"auto"}},"uni-app":{"compilerVersion":"4.23","control":"uni-v3","nvueCompiler":"uni-app","renderer":"auto","nvue":{"flex-direction":"column"},"nvueLaunchMode":"normal"},"tabBar":{"color":"#2c2c2c","selectedColor":"#1296db","borderStyle":"rgba(0,0,0,0.4)","backgroundColor":"#FFFFFF","iconWidth":"24px","list":[{"pagePath":"pages/index/index","iconPath":"static/home.png","selectedIconPath":"static/homeSelected.png","text":"首页"},{"pagePath":"pages/workSpace/workSpace","iconPath":"static/workSpace.png","selectedIconPath":"static/workSpaceSelected.png","text":"工作台"},{"pagePath":"pages/user/user","iconPath":"static/my.png","selectedIconPath":"static/mySelected.png","text":"个人中心"}],"height":"50px","child":["lauchwebview"],"selected":0},"launch_path":"__uniappview.html"}}
{"@platforms":["android","iPhone","iPad"],"id":"__UNI__9D122E1","name":"智慧仓储","version":{"name":"1.1.0","code":110},"description":"","launch_path":"__uniappview.html","developer":{"name":"","email":"","url":""},"permissions":{"Camera":{},"Barcode":{},"Push":{},"UniNView":{"description":"UniNView原生渲染"}},"plus":{"useragent":{"value":"uni-app","concatenate":true},"splashscreen":{"target":"id:1","autoclose":true,"waiting":true,"delay":0},"popGesture":"close","launchwebview":{"id":"1","kernel":"WKWebview"},"statusbar":{"immersed":"supportedDevice","style":"dark","background":"#F8F8F8"},"compatible":{"ignoreVersion":true},"usingComponents":true,"nvueStyleCompiler":"uni-app","compilerVersion":3,"distribute":{"icons":{"android":{"hdpi":"unpackage/res/icons/72x72.png","xhdpi":"unpackage/res/icons/96x96.png","xxhdpi":"unpackage/res/icons/144x144.png","xxxhdpi":"unpackage/res/icons/192x192.png"},"ios":{"appstore":"unpackage/res/icons/1024x1024.png","ipad":{"app":"unpackage/res/icons/76x76.png","app@2x":"unpackage/res/icons/152x152.png","notification":"unpackage/res/icons/20x20.png","notification@2x":"unpackage/res/icons/40x40.png","proapp@2x":"unpackage/res/icons/167x167.png","settings":"unpackage/res/icons/29x29.png","settings@2x":"unpackage/res/icons/58x58.png","spotlight":"unpackage/res/icons/40x40.png","spotlight@2x":"unpackage/res/icons/80x80.png"},"iphone":{"app@2x":"unpackage/res/icons/120x120.png","app@3x":"unpackage/res/icons/180x180.png","notification@2x":"unpackage/res/icons/40x40.png","notification@3x":"unpackage/res/icons/60x60.png","settings@2x":"unpackage/res/icons/58x58.png","settings@3x":"unpackage/res/icons/87x87.png","spotlight@2x":"unpackage/res/icons/80x80.png","spotlight@3x":"unpackage/res/icons/120x120.png"}}},"google":{"permissions":["<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>","<uses-permission android:name=\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/>","<uses-permission android:name=\"android.permission.VIBRATE\"/>","<uses-permission android:name=\"android.permission.READ_LOGS\"/>","<uses-permission android:name=\"android.permission.ACCESS_WIFI_STATE\"/>","<uses-feature android:name=\"android.hardware.camera.autofocus\"/>","<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\"/>","<uses-permission android:name=\"android.permission.CAMERA\"/>","<uses-permission android:name=\"android.permission.GET_ACCOUNTS\"/>","<uses-permission android:name=\"android.permission.READ_PHONE_STATE\"/>","<uses-permission android:name=\"android.permission.CHANGE_WIFI_STATE\"/>","<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>","<uses-permission android:name=\"android.permission.FLASHLIGHT\"/>","<uses-feature android:name=\"android.hardware.camera\"/>","<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>"]},"apple":{"dSYMs":false,"idfa":false,"privacyDescription":{"NSPhotoLibraryUsageDescription":"该应用上传照片信息时需要访问您的相册","NSPhotoLibraryAddUsageDescription":"该应用上传照片信息时需要访问您的相册","NSCameraUsageDescription":"该应用需要扫描二维码或拍照,是否允许打开相机","NSMicrophoneUsageDescription":"该应用需要使用您的麦克风,以便视频录音","NSLocationWhenInUseUsageDescription":"该应用需要使用您的地理位置,以便为您提供当前位置信息","NSLocationAlwaysUsageDescription":"该应用需要使用您的地理位置,以便为您提供当前位置信息","NSLocationAlwaysAndWhenInUseUsageDescription":"该应用需要使用您的地理位置,以便为您提供当前位置信息"}},"plugins":{"ad":{},"push":{"unipush":{"version":"2","offline":false}},"audio":{"mp3":{"description":"Android平台录音支持MP3格式文件"}}}},"nativePlugins":{"BNS-RfidRed":{"__plugin_info__":{"name":"BNS-RfidRed","description":"BNS-RfidRed","platforms":"Android","url":"","android_package_name":"","ios_bundle_id":"","isCloud":false,"bought":-1,"pid":"","parameters":{}}}},"uniStatistics":{"enable":false},"allowsInlineMediaPlayback":true,"safearea":{"background":"#FFFFFF","bottom":{"offset":"auto"}},"uni-app":{"compilerVersion":"4.24","control":"uni-v3","nvueCompiler":"uni-app","renderer":"auto","nvue":{"flex-direction":"column"},"nvueLaunchMode":"normal"},"tabBar":{"color":"#2c2c2c","selectedColor":"#1296db","borderStyle":"rgba(0,0,0,0.4)","backgroundColor":"#FFFFFF","iconWidth":"24px","list":[{"pagePath":"pages/index/index","iconPath":"static/home.png","selectedIconPath":"static/homeSelected.png","text":"首页"},{"pagePath":"pages/workSpace/workSpace","iconPath":"static/workSpace.png","selectedIconPath":"static/workSpaceSelected.png","text":"工作台"},{"pagePath":"pages/user/user","iconPath":"static/my.png","selectedIconPath":"static/mySelected.png","text":"个人中心"}],"height":"50px","child":["lauchwebview"],"selected":0},"launch_path":"__uniappview.html"}}