Compare commits
19 Commits
| Author | SHA1 | Date |
|---|---|---|
|
|
b183c0ca99 | |
|
|
95aa4f4a03 | |
|
|
30542baa34 | |
|
|
c11be82667 | |
|
|
47305d2f62 | |
|
|
71457b9f0b | |
|
|
57ea11592f | |
|
|
7d06a6964c | |
|
|
b343bed824 | |
|
|
6d88386128 | |
|
|
a844317cd6 | |
|
|
c9ccc41247 | |
|
|
ffbbf4b5ed | |
|
|
86ab717b89 | |
|
|
ed9287c9be | |
|
|
6ef31781c1 | |
|
|
254b2003f0 | |
|
|
0d4c4f31a7 | |
|
|
0824a732b4 |
|
|
@ -15,6 +15,10 @@
|
|||
{
|
||||
"playground" : "custom",
|
||||
"type" : "uni-app:app-android"
|
||||
},
|
||||
{
|
||||
"playground" : "standard",
|
||||
"type" : "uni-app:app-ios"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
|||
177
apis/apis.js
177
apis/apis.js
|
|
@ -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,15 +48,15 @@ const index = {
|
|||
header
|
||||
)
|
||||
},
|
||||
async singleNotice (data = {} , header = {}){
|
||||
async singleNotice(data = {}, header = {}) {
|
||||
return await Http.get(
|
||||
HttpConfig.basePath,
|
||||
HttpConfig.systemPath,
|
||||
HttpConfig.serviceUrl.index.singleNotice,
|
||||
data,
|
||||
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,15 +257,15 @@ const newInStore = {
|
|||
header
|
||||
)
|
||||
},
|
||||
async fetchNewBuyDetail (data = {} , header = {}){
|
||||
async fetchNewBuyDetail(data = {}, header = {}) {
|
||||
return await Http.get(
|
||||
HttpConfig.basePath,
|
||||
HttpConfig.materialPath,
|
||||
HttpConfig.serviceUrl.newInStore.fetchNewBuyDetail,
|
||||
data,
|
||||
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,6 +610,14 @@ const backMaterialReceive = {
|
|||
)
|
||||
},
|
||||
// fetchMaterialOutStore
|
||||
async searchByCode(data = {}, header = {}) {
|
||||
return await Http.get(
|
||||
HttpConfig.basePath,
|
||||
HttpConfig.serviceUrl.backMaterialReceive.searchByCode,
|
||||
data,
|
||||
header
|
||||
)
|
||||
},
|
||||
}
|
||||
|
||||
const crashExam = {
|
||||
|
|
@ -775,7 +791,9 @@ const indexScan = {
|
|||
},
|
||||
}
|
||||
|
||||
export default{
|
||||
const url = HttpConfig.systemPath
|
||||
|
||||
export default {
|
||||
login,
|
||||
index,
|
||||
user,
|
||||
|
|
@ -796,5 +814,6 @@ export default{
|
|||
update,
|
||||
rfidBinding,
|
||||
qrcodeBinding,
|
||||
indexScan
|
||||
indexScan,
|
||||
url
|
||||
}
|
||||
34
apis/http.js
34
apis/http.js
|
|
@ -5,21 +5,25 @@ class HttpConfig {
|
|||
// #ifdef APP-PLUS
|
||||
// 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.2.218:39080"
|
||||
// baseUrl = "http://112.29.103.165:21626"
|
||||
// baseUrl = "http://172.20.10.3:8080"
|
||||
baseUrl = "http://10.40.92.9:8080"
|
||||
// baseUrl = "http://10.40.92.9:8080"
|
||||
// baseUrl = "http://10.40.92.60:28080"
|
||||
// baseUrl = "http://10.40.92.138:28080"
|
||||
// baseUrl = "http://10.40.92.52:28080"
|
||||
// baseUrl = "http://10.40.92.81:8080"
|
||||
// baseUrl = "https://z.csgmall.com.cn/gl"
|
||||
// baseUrl = "http://10.40.92.140:28080"
|
||||
// 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}/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`
|
||||
basePath = `${this.baseUrl}/material/base`
|
||||
materialPath = `${this.baseUrl}/material`
|
||||
// 短链
|
||||
serviceUrl = {
|
||||
|
|
@ -33,11 +37,12 @@ class HttpConfig {
|
|||
},
|
||||
index: {
|
||||
noticeCont: '/sysNotice/getList', // 获取公告内容
|
||||
singleNotice: '/sysNotice/getById', // 查看单个公告
|
||||
singleNotice: '/notice/list', // 查看单个公告
|
||||
waitDo: '/app/getToDoList', // 获取待办事项
|
||||
keyData: '/app/getCriticalData', // 获取关键数据
|
||||
getUserInfo: '/user/getInfo', // 获取用户信息
|
||||
fetchCompanyName: '/dept/getCompanyByAncestors', // 获取公司名称
|
||||
alarmPush: '/iotMachine/alarmPush'
|
||||
},
|
||||
fetchMaterial: {
|
||||
fetchMaterialList: '/type/selectMaTypeListByLevelIndex', // 获取设备列表
|
||||
|
|
@ -87,7 +92,7 @@ class HttpConfig {
|
|||
},
|
||||
newInStore: {
|
||||
fetchNewInStoreList: '/purchaseInput/list', // 获取新购入库列表
|
||||
fetchNewBuyDetail: '/purchaseInput/putinDetails', // 获取新购入库详情
|
||||
fetchNewBuyDetail: '/purchaseMacode/putinDetails', // 获取新购入库详情
|
||||
subNewBuy: '/purchaseInput/manageStatus', // 新购明细提交审核
|
||||
},
|
||||
fix: {
|
||||
|
|
@ -110,13 +115,14 @@ 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接收
|
||||
searchByCode: '/backReceive/getBackMachineApp', // 根据编码查询该工程下的设备
|
||||
},
|
||||
// 报废审核接口
|
||||
crashExam: {
|
||||
|
|
|
|||
|
|
@ -2,8 +2,8 @@
|
|||
"name" : "智慧仓储",
|
||||
"appid" : "__UNI__9D122E1",
|
||||
"description" : "",
|
||||
"versionName" : "1.0.7",
|
||||
"versionCode" : 107,
|
||||
"versionName" : "1.1.0",
|
||||
"versionCode" : 110,
|
||||
"transformPx" : false,
|
||||
/* 5+App特有相关 */
|
||||
"app-plus" : {
|
||||
|
|
@ -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" : {
|
||||
|
|
|
|||
17
pages.json
17
pages.json
|
|
@ -7,13 +7,13 @@
|
|||
"app-plus": {
|
||||
"titleNView": {
|
||||
"buttons": [
|
||||
{
|
||||
/* {
|
||||
"text": "权限",
|
||||
"fontSize": "14px",
|
||||
"color": "#4e6ef2",
|
||||
"width": "auto" ,
|
||||
"float": "left"
|
||||
},
|
||||
}, */
|
||||
{
|
||||
"text": "扫一扫",
|
||||
"fontSize": "14px",
|
||||
|
|
@ -246,7 +246,7 @@
|
|||
{
|
||||
"path": "pages/testExam/testExam",
|
||||
"style": {
|
||||
"navigationBarTitleText": "试验检验审核"
|
||||
"navigationBarTitleText": "维修审核"
|
||||
}
|
||||
|
||||
},
|
||||
|
|
@ -254,14 +254,14 @@
|
|||
"path" : "pages/testExam/testExamDetails",
|
||||
"style" :
|
||||
{
|
||||
"navigationBarTitleText": "试验检验审核明细"
|
||||
"navigationBarTitleText": "维修审核明细"
|
||||
}
|
||||
|
||||
},{
|
||||
"path" : "pages/testExam/testExamList",
|
||||
"style" :
|
||||
{
|
||||
"navigationBarTitleText": "试验检验审核详情"
|
||||
"navigationBarTitleText": "维修审核详情"
|
||||
}
|
||||
|
||||
},
|
||||
|
|
@ -457,6 +457,13 @@
|
|||
"navigationBarTitleText": "数量接收"
|
||||
}
|
||||
|
||||
},
|
||||
{
|
||||
"path" : "pages/IOTBinding/IOTBinding",
|
||||
"style" :
|
||||
{
|
||||
"navigationBarTitleText" : "IOT设备绑定"
|
||||
}
|
||||
}
|
||||
],
|
||||
"tabBar": {
|
||||
|
|
|
|||
|
|
@ -0,0 +1,109 @@
|
|||
<template>
|
||||
<view class="page">
|
||||
<uni-forms ref="IOTForm" :modelValue="IOTFormData" :rules="IOTRules">
|
||||
<uni-forms-item name="IOTCode" label="IOT编码">
|
||||
<uni-easyinput v-model="IOTFormData.IOTCode"></uni-easyinput>
|
||||
<h4 @click="scanIOT">扫一扫</h4>
|
||||
</uni-forms-item>
|
||||
<uni-forms-item name="deviceCode" label="机具编码">
|
||||
<uni-easyinput v-model="IOTFormData.deviceCode"></uni-easyinput>
|
||||
<h4 @click="scanDevice">扫一扫</h4>
|
||||
</uni-forms-item>
|
||||
<button class="submit-btn" @click="confirmBinding">确认绑定</button>
|
||||
</uni-forms>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
IOTFormData: {
|
||||
IOTCode: '',
|
||||
deviceCode: ''
|
||||
},
|
||||
IOTRules: {
|
||||
IOTCode: {
|
||||
rules: [
|
||||
{
|
||||
required: true,
|
||||
errorMessage: '请输入IOT设备编码!'
|
||||
}
|
||||
]
|
||||
},
|
||||
deviceCode: {
|
||||
rules: [
|
||||
{
|
||||
required: true,
|
||||
errorMessage: '请输入机具装备编码!'
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
scanIOT() {
|
||||
uni.scanCode({
|
||||
scanType: ['barCode'],
|
||||
success: (res) => {
|
||||
console.log(res.result, 'iot')
|
||||
this.IOTFormData.IOTCode = res.result
|
||||
}
|
||||
})
|
||||
},
|
||||
scanDevice() {
|
||||
uni.scanCode({
|
||||
success: (res) => {
|
||||
console.log(res.result, 'device')
|
||||
this.IOTFormData.deviceCode = res.result
|
||||
}
|
||||
})
|
||||
},
|
||||
confirmBinding() {
|
||||
this.$refs.IOTForm.validate().then(formData => {
|
||||
console.log(formData)
|
||||
})
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss">
|
||||
|
||||
.page{
|
||||
|
||||
width: 100vw;
|
||||
height: 100vh;
|
||||
box-sizing: border-box;
|
||||
padding: 10vw 5vw;
|
||||
|
||||
.uni-forms-item__content[data-v-61dfc0d0] {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
h4{
|
||||
|
||||
font-size: 14px;
|
||||
font-weight: normal;
|
||||
margin-left: 2vw;
|
||||
color: #007CCA;
|
||||
|
||||
}
|
||||
|
||||
.submit-btn{
|
||||
width: 60%;
|
||||
box-sizing: border-box;
|
||||
//padding: 5rpx 0;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
background-color: #169BD5;
|
||||
color: #fff;
|
||||
margin: 10vh auto;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
</style>
|
||||
|
|
@ -181,69 +181,81 @@ export default {
|
|||
this.transMaCode = list.code
|
||||
this.sendTypeId = list.typeId
|
||||
this.parentId = list.id
|
||||
if (list.manageType == 2) {
|
||||
/* if (list.manageType == '2') {
|
||||
|
||||
return
|
||||
} else {
|
||||
console.log(1);
|
||||
|
||||
return
|
||||
} */
|
||||
/* if (Number(list.num) == 0) {
|
||||
uni.showToast({
|
||||
icon: 'none',
|
||||
title: '待退料数据为0,请勿再点击'
|
||||
})
|
||||
} */
|
||||
if (this.infoList.manageType == '0') {
|
||||
if (Number(list.num) == 0) {
|
||||
uni.showToast({
|
||||
icon: 'none',
|
||||
title: '待退料数据为0,请勿再点击'
|
||||
})
|
||||
} else {
|
||||
this.$refs.popup1.open()
|
||||
}
|
||||
} else if (this.infoList.manageType == '2') {
|
||||
if (Number(list.partNum) == 0) {
|
||||
uni.showToast({
|
||||
icon: 'none',
|
||||
title: '待退料数据为0,请勿再点击'
|
||||
})
|
||||
} else {
|
||||
const userInfo = uni.getStorageSync('userInfo');
|
||||
const { manageType, taskId } = this.infoList
|
||||
const userId = userInfo.userid
|
||||
const maList = encodeURIComponent(JSON.stringify(this.infoList.maTypeDetails))
|
||||
uni.navigateTo({
|
||||
url: `/pages/numLoanReceive/numLoanReceive?arr=${maList}&userId=${userId}&manageType=${manageType}&taskId=${taskId}`
|
||||
})
|
||||
}
|
||||
return
|
||||
} else {
|
||||
if (Number(list.num) == 0) {
|
||||
uni.showToast({
|
||||
icon: 'none',
|
||||
title: '待退料数据为0,请勿再点击'
|
||||
})
|
||||
} else {
|
||||
const userInfo = uni.getStorageSync('userInfo');
|
||||
console.log("userInfo", userInfo)
|
||||
const userId = userInfo.userid
|
||||
const {
|
||||
taskId,
|
||||
id,
|
||||
typeId,
|
||||
modelId,
|
||||
manageType,
|
||||
typeName,
|
||||
typeCode,
|
||||
num
|
||||
} = this.infoList
|
||||
const params = {
|
||||
taskId,
|
||||
id,
|
||||
typeId,
|
||||
modelId,
|
||||
manageType,
|
||||
userId,
|
||||
typeName,
|
||||
typeCode,
|
||||
num
|
||||
}
|
||||
const urlStr = QS.stringify(params)
|
||||
console.log("urlSTR", urlStr)
|
||||
uni.navigateTo({
|
||||
url: `/pages/numReceive/numReceive?${urlStr}`
|
||||
})
|
||||
}
|
||||
return
|
||||
}
|
||||
if (Number(list.num) == 0) {
|
||||
uni.showToast({
|
||||
icon: 'none',
|
||||
title: '待退料数据为0,请勿再点击'
|
||||
})
|
||||
}
|
||||
if (this.infoList.manageType == '0') {
|
||||
this.$refs.popup1.open()
|
||||
} else if (this.infoList.manageType == '2') {
|
||||
const userInfo = uni.getStorageSync('userInfo');
|
||||
const { manageType, taskId } = this.infoList
|
||||
const userId = userInfo.userid
|
||||
const maList = encodeURIComponent(JSON.stringify(this.infoList.maTypeDetails))
|
||||
uni.navigateTo({
|
||||
url: `/pages/numLoanReceive/numLoanReceive?arr=${maList}&userId=${userId}&manageType=${manageType}&taskId=${taskId}`
|
||||
})
|
||||
} else {
|
||||
const userInfo = uni.getStorageSync('userInfo');
|
||||
console.log("userInfo", userInfo)
|
||||
const userId = userInfo.userid
|
||||
const {
|
||||
taskId,
|
||||
id,
|
||||
typeId,
|
||||
modelId,
|
||||
manageType,
|
||||
typeName,
|
||||
typeCode,
|
||||
num
|
||||
} = this.infoList
|
||||
const params = {
|
||||
taskId,
|
||||
id,
|
||||
typeId,
|
||||
modelId,
|
||||
manageType,
|
||||
userId,
|
||||
typeName,
|
||||
typeCode,
|
||||
num
|
||||
}
|
||||
const urlStr = QS.stringify(params)
|
||||
console.log("urlSTR", urlStr)
|
||||
uni.navigateTo({
|
||||
url: `/pages/numReceive/numReceive?${urlStr}`
|
||||
})
|
||||
}
|
||||
},
|
||||
openPopup3 (list) {
|
||||
|
|
@ -261,6 +273,7 @@ export default {
|
|||
},
|
||||
scanCode() {
|
||||
const that = this
|
||||
console.log(that.infoList);
|
||||
that.closePopup1()
|
||||
uni.scanCode({
|
||||
success: (res) => {
|
||||
|
|
@ -273,7 +286,7 @@ export default {
|
|||
})
|
||||
} else {
|
||||
uni.navigateTo({
|
||||
url: `/pages/scanReceive/scanReceive?code=${fixedCode}&typeId=${that.infoList.modelId}&num=${that.infoList.num}&parentId=${that.infoList.id}&manageType=${that.infoList.manageType}&taskId=${that.taskId}&createBy=${userId}&scanType="back"`
|
||||
url: `/pages/scanReceive/scanReceive?code=${fixedCode}&typeId=${that.infoList.modelId}&num=${that.infoList.num}&parentId=${that.infoList.id}&manageType=${that.infoList.manageType}&taskId=${that.taskId}&createBy=${userId}&scanType="back"&agreementId=${that.infoList.agreementId}`
|
||||
})
|
||||
}
|
||||
}
|
||||
|
|
@ -296,7 +309,8 @@ export default {
|
|||
manageType,
|
||||
typeName,
|
||||
typeCode,
|
||||
num
|
||||
num,
|
||||
agreementId
|
||||
} = this.infoList
|
||||
const params = {
|
||||
taskId,
|
||||
|
|
@ -307,7 +321,8 @@ export default {
|
|||
userId,
|
||||
typeName,
|
||||
typeCode,
|
||||
num
|
||||
num,
|
||||
agreementId
|
||||
}
|
||||
const urlStr = QS.stringify(params)
|
||||
console.log("urlSTR", urlStr)
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@
|
|||
</view>
|
||||
<view>
|
||||
<h4>规格型号</h4>
|
||||
<span>{{ item.typeCode }}</span>
|
||||
<span>{{ item.typeModelName }}</span>
|
||||
</view>
|
||||
<view>
|
||||
<h4>设备编码</h4>
|
||||
|
|
@ -26,7 +26,7 @@
|
|||
</view>
|
||||
<view>
|
||||
<h4>设备状态</h4>
|
||||
<span>{{ item.sdStatus }}</span>
|
||||
<span>{{ item.maStatus }}</span>
|
||||
</view>
|
||||
<!-- <uni-data-checkbox v-model="item.selectStatus" :localdata="fixRange"></uni-data-checkbox> -->
|
||||
<!-- <view>
|
||||
|
|
@ -85,7 +85,9 @@
|
|||
manageType:'',
|
||||
createBy:'',
|
||||
updatedSubList: '',
|
||||
transCode: ''
|
||||
transCode: '',
|
||||
taskId: '',
|
||||
agreementId: ''
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
|
|
@ -94,8 +96,10 @@
|
|||
that.infoList = []
|
||||
console.log(that.transCode);
|
||||
// 根据maId获取设备详情
|
||||
that.$api.backMaterialReceive.backReceiveCodeQuery({
|
||||
maCode: that.transCode
|
||||
that.$api.backMaterialReceive.searchByCode({
|
||||
maCode: that.transCode,
|
||||
typeId: this.typeId,
|
||||
agreementId: this.agreementId
|
||||
}).then(res => {
|
||||
console.log(res);
|
||||
if (res.data.data.length == 0) {
|
||||
|
|
@ -232,6 +236,7 @@
|
|||
this.manageType = params.manageType
|
||||
this.createBy=params.userId
|
||||
this.taskId = params.taskId
|
||||
this.agreementId = params.agreementId
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
|
|
|||
|
|
@ -56,14 +56,14 @@
|
|||
<uni-icons style="color: #fff;" type="auth"></uni-icons>
|
||||
机具审核
|
||||
</view>
|
||||
<view
|
||||
<!-- <view
|
||||
style="background-color: #FCA30D;"
|
||||
v-show="fetch.taskStatus == 37 && roles.includes('tsfgs') && fetch.status == 0"
|
||||
@click="toggleOpenModal(fetch)"
|
||||
>
|
||||
<uni-icons style="color: #fff;" type="auth"></uni-icons>
|
||||
调试审核
|
||||
</view>
|
||||
</view> -->
|
||||
</view>
|
||||
<view class="sticky-area">
|
||||
<!-- <image src="/static/passed.png" v-show="Number(fetch.taskStatus) >= '38'" mode=""></image>
|
||||
|
|
@ -84,6 +84,12 @@
|
|||
>
|
||||
退料核查中
|
||||
</h4>
|
||||
<h4
|
||||
v-show="fetch.taskStatus == '101'"
|
||||
style="border: 1px solid #EE603D; color: #EE603D;"
|
||||
>
|
||||
退料审核驳回
|
||||
</h4>
|
||||
<h4
|
||||
v-show="fetch.taskStatus == '40'"
|
||||
style="border: 1px solid #27D870; color: #27D870;"
|
||||
|
|
@ -236,7 +242,8 @@ import { basePath } from '../../public'
|
|||
modalReject () {
|
||||
let that = this
|
||||
console.log(that.modalList);
|
||||
that.$refs.popup1.open()
|
||||
that.rejectExam(that.modalList.id)
|
||||
// that.$refs.popup1.open()
|
||||
},
|
||||
confirmReject () {
|
||||
let that = this
|
||||
|
|
@ -257,12 +264,12 @@ import { basePath } from '../../public'
|
|||
closePopup1 () {
|
||||
this.$refs.popup1.close()
|
||||
},
|
||||
seeExam (id, directAuditRemark) {
|
||||
seeExam (id) {
|
||||
let that = this
|
||||
// 提交单个审核
|
||||
that.$api.exitExam.subExitExam({
|
||||
id,
|
||||
directAuditRemark
|
||||
id
|
||||
// directAuditRemark
|
||||
}).then(res => {
|
||||
console.log(res);
|
||||
if (res.data.code == 200) {
|
||||
|
|
@ -294,6 +301,7 @@ import { basePath } from '../../public'
|
|||
// 拒绝单个审核
|
||||
that.$api.exitExam.rejectExitExam({
|
||||
id
|
||||
// directAuditRemark
|
||||
}).then(res => {
|
||||
console.log(res);
|
||||
if (res.data.code == 200) {
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@
|
|||
>
|
||||
<view class="exit-upper">
|
||||
<view class="upper-lef">
|
||||
{{ exit.backPerson.slice(0, 1) }}
|
||||
{{ exit.backPerson == null ? '' : exit.backPerson.slice(0, 1) }}
|
||||
</view>
|
||||
<view class="upper-rig">
|
||||
<h4 style="font-size: 16px;">{{ exit.backPerson }}</h4>
|
||||
|
|
@ -220,7 +220,8 @@ import { basePath } from '../../public'
|
|||
backPerson: '',
|
||||
remark: ''
|
||||
},
|
||||
fetchedList: []
|
||||
fetchedList: [],
|
||||
phoneReg: /^(?:(?:\+|00)86)?1[3-9]\d{9}$/
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
|
|
@ -248,50 +249,58 @@ import { basePath } from '../../public'
|
|||
})
|
||||
}
|
||||
}).catch(err => {
|
||||
|
||||
console.log(err);
|
||||
})
|
||||
},
|
||||
formSubmit () {
|
||||
let that = this
|
||||
that.$refs.exitForm.validate().then(formData => {
|
||||
that.$refs.popup.close()
|
||||
// 判断单位id和工程id是否匹配
|
||||
that.$api.exitMaterial.ifAgreement({
|
||||
unitId: formData.unitId,
|
||||
projectId: formData.lotId
|
||||
}).then(res => {
|
||||
console.log(res);
|
||||
if (res.data.code == 200) {
|
||||
if (res.data.data.agreementId != null) {
|
||||
that.newAdd.agreementId = res.data.data.agreementId
|
||||
that.newAdd.backPerson = formData.backPerson
|
||||
that.newAdd.phone = formData.phone
|
||||
that.newAdd.unitId = formData.unitId
|
||||
that.newAdd.lotId = formData.lotId
|
||||
that.newAdd.backTime = formData.exitTime
|
||||
that.newAdd.remark = formData.remark
|
||||
console.log(that.newAdd);
|
||||
that.$api.exitMaterial.newExitList(that.newAdd).then(res => {
|
||||
console.log(res);
|
||||
if (res.data.code == 200) {
|
||||
uni.showToast({
|
||||
icon: 'none',
|
||||
title: '新增申请成功!',
|
||||
success: () => {
|
||||
uni.redirectTo({
|
||||
url: '/pages/exitMaterial/exitMaterial'
|
||||
})
|
||||
}
|
||||
})
|
||||
}
|
||||
}).catch(err => {
|
||||
console.log(err);
|
||||
})
|
||||
console.log(formData);
|
||||
if (!that.phoneReg.test(formData.phone)) {
|
||||
uni.showToast({
|
||||
icon: 'none',
|
||||
title: '请输入正确格式的手机号!'
|
||||
})
|
||||
} else {
|
||||
that.$refs.popup.close()
|
||||
// 判断单位id和工程id是否匹配
|
||||
that.$api.exitMaterial.ifAgreement({
|
||||
unitId: formData.unitId,
|
||||
projectId: formData.lotId
|
||||
}).then(res => {
|
||||
console.log(res);
|
||||
if (res.data.code == 200) {
|
||||
if (res.data.data.agreementId != null) {
|
||||
that.newAdd.agreementId = res.data.data.agreementId
|
||||
that.newAdd.backPerson = formData.backPerson
|
||||
that.newAdd.phone = formData.phone
|
||||
that.newAdd.unitId = formData.unitId
|
||||
that.newAdd.lotId = formData.lotId
|
||||
that.newAdd.backTime = formData.exitTime
|
||||
that.newAdd.remark = formData.remark
|
||||
console.log(that.newAdd);
|
||||
that.$api.exitMaterial.newExitList(that.newAdd).then(res => {
|
||||
console.log(res);
|
||||
if (res.data.code == 200) {
|
||||
uni.showToast({
|
||||
icon: 'none',
|
||||
title: '新增申请成功!',
|
||||
success: () => {
|
||||
uni.redirectTo({
|
||||
url: '/pages/exitMaterial/exitMaterial'
|
||||
})
|
||||
}
|
||||
})
|
||||
}
|
||||
}).catch(err => {
|
||||
console.log(err);
|
||||
})
|
||||
}
|
||||
}
|
||||
}
|
||||
}).catch(err => {
|
||||
|
||||
})
|
||||
}).catch(err => {
|
||||
console.log(err);
|
||||
})
|
||||
}
|
||||
})
|
||||
},
|
||||
seeDetail (id, typeId) {
|
||||
|
|
|
|||
|
|
@ -43,7 +43,7 @@
|
|||
<h4>{{ fetch.createTime }}</h4>
|
||||
</view>
|
||||
<view v-show="fetch.examineStatus != null">
|
||||
<span>备注</span>
|
||||
<span>审批意见</span>
|
||||
<h4>{{ fetch.examineStatus }}</h4>
|
||||
</view>
|
||||
</view>
|
||||
|
|
@ -58,7 +58,7 @@
|
|||
</view>
|
||||
<view
|
||||
style="background-color: #FCA30D;"
|
||||
v-show="fetch.taskStatus == 31"
|
||||
v-show="fetch.taskStatus == 31 && roles.includes('jjfgs')"
|
||||
@click="toggleOpenModal(fetch)"
|
||||
>
|
||||
<uni-icons style="color: #fff;" type="auth"></uni-icons>
|
||||
|
|
@ -66,15 +66,15 @@
|
|||
</view>
|
||||
<view
|
||||
style="background-color: #FCA30D;"
|
||||
v-show="fetch.taskStatus == 32"
|
||||
v-show="fetch.taskStatus == 32 && roles.includes('sgb')"
|
||||
@click="toggleOpenModal(fetch)"
|
||||
>
|
||||
<uni-icons style="color: #fff;" type="auth"></uni-icons>
|
||||
施工部审核
|
||||
施管部审核
|
||||
</view>
|
||||
<view
|
||||
style="background-color: #FCA30D;"
|
||||
v-show="fetch.taskStatus == 117"
|
||||
v-show="fetch.taskStatus == 117 && roles.includes('jjfgs')"
|
||||
@click="toggleOpenModal(fetch)"
|
||||
>
|
||||
<uni-icons style="color: #fff;" type="auth"></uni-icons>
|
||||
|
|
@ -408,10 +408,12 @@ import { basePath } from '../../public'
|
|||
}
|
||||
switch (that.modalList.taskStatus) {
|
||||
case 31:
|
||||
that.examList.taskStatus = 99
|
||||
that.examList.taskStatus = 99
|
||||
that.examList.leaseApplyInfoList[0].status = 2
|
||||
break;
|
||||
case 32:
|
||||
that.examList.taskStatus = 100
|
||||
that.examList.leaseApplyInfoList[0].status = 2
|
||||
break;
|
||||
}
|
||||
that.modalList.leaseApplyInfoList[0].examineStatusId = that.examList.taskStatus
|
||||
|
|
@ -474,11 +476,13 @@ import { basePath } from '../../public'
|
|||
title: '请填写驳回原因!'
|
||||
})
|
||||
} else {
|
||||
if (that.modalList.taskStatus == 31) {
|
||||
console.log(that.modalList);
|
||||
/* if (that.modalList.taskStatus == 31) {
|
||||
that.examList.leaseApplyInfoList[0].deptAuditRemark = that.rejectReason
|
||||
} else if (that.modalList.taskStatus == 32) {
|
||||
that.examList.leaseApplyInfoList[0].directAuditRemark = that.rejectReason
|
||||
}
|
||||
} */
|
||||
that.examList.leaseApplyInfoList[0].companyAuditRemark = that.rejectReason
|
||||
console.log(that.examList);
|
||||
that.rejectSubmit(that.examList)
|
||||
}
|
||||
|
|
@ -558,7 +562,7 @@ import { basePath } from '../../public'
|
|||
},
|
||||
rejectSubmit (list) {
|
||||
let that = this
|
||||
that.$api.fetchExam.rejectExam(list).then(res => {
|
||||
that.$api.fetchExam.rejectExamCq(list).then(res => {
|
||||
console.log(res);
|
||||
if (res.data.code == 200) {
|
||||
that.closePopup()
|
||||
|
|
@ -588,7 +592,7 @@ import { basePath } from '../../public'
|
|||
let that = this
|
||||
that.showLoading = true
|
||||
that.$api.fetchExam.fetchTrueExamListCq({
|
||||
sourceBy: 1
|
||||
souceBy: 1
|
||||
}).then(res => {
|
||||
console.log(res);
|
||||
if (res.data.code == 200) {
|
||||
|
|
@ -599,7 +603,7 @@ import { basePath } from '../../public'
|
|||
title: '未查询到相关数据!'
|
||||
})
|
||||
} else {
|
||||
that.fetchMaterialList = res.data.data
|
||||
that.fetchMaterialList = res.data.data.rows
|
||||
that.showLoading = false
|
||||
console.log(that.fetchMaterialList);
|
||||
}
|
||||
|
|
@ -631,6 +635,13 @@ import { basePath } from '../../public'
|
|||
onShow() {
|
||||
let that = this
|
||||
console.log(that.roles);
|
||||
for (let i = 0; i < that.roles.length; i++) {
|
||||
if (that.roles[i] == 'em02') {
|
||||
that.roles[i] = 'jjfgs'
|
||||
} else if (that.roles[i] == 'em01') {
|
||||
that.roles[i] = 'sgb'
|
||||
}
|
||||
}
|
||||
if (that.roles.includes('admin')) that.roles = ['admin', 'fgs', 'sgb', 'ajb', 'jjfgs', 'tsfgs']
|
||||
that.initFetch()
|
||||
}
|
||||
|
|
|
|||
|
|
@ -82,7 +82,7 @@
|
|||
subList: [],
|
||||
itemList: [],
|
||||
badgeNum: '',
|
||||
photoUrl: 'http://112.29.103.165:21624/dev-api/system',
|
||||
photoUrl: ''
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
|
|
@ -175,10 +175,11 @@
|
|||
},
|
||||
onShow() {
|
||||
let that = this
|
||||
if (uni.getStorageSync('goodList').length == 0 || !uni.getStorageSync('goodList')) {
|
||||
that.photoUrl = that.$api.url
|
||||
/* if (uni.getStorageSync('goodList').length == 0 || !uni.getStorageSync('goodList')) {
|
||||
uni.setStorageSync('goodList', [])
|
||||
}
|
||||
console.log(uni.getStorageSync('goodList'));
|
||||
console.log(uni.getStorageSync('goodList')); */
|
||||
|
||||
this.selectType(1, 0, 0)
|
||||
that.switchStatus = 0
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@
|
|||
<checkbox :checked="fetch.checked" />
|
||||
</checkbox-group>
|
||||
<view class="upper-lef">
|
||||
{{ fetch.createName.slice(0, 1) }}
|
||||
{{ fetch.createName == null ? '' : fetch.createName.slice(0, 1) }}
|
||||
</view>
|
||||
<view class="upper-rig">
|
||||
<h4 style="font-size: 16px;">{{ fetch.createName }}</h4>
|
||||
|
|
|
|||
|
|
@ -164,10 +164,10 @@ import { basePath } from '../../public';
|
|||
console.log(err);
|
||||
})
|
||||
},
|
||||
initFixList (taskId) {
|
||||
initFixList () {
|
||||
let that = this
|
||||
that.$api.fix.fixDetail({
|
||||
taskId
|
||||
taskId: this.initTaskId
|
||||
}).then(res => {
|
||||
console.log(res);
|
||||
if (res.data.code == 200) {
|
||||
|
|
@ -202,7 +202,7 @@ import { basePath } from '../../public';
|
|||
// 获取维修任务机具列表
|
||||
},
|
||||
onShow() {
|
||||
this.initFixList(this.initTaskId)
|
||||
this.initFixList()
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
|
|
|||
|
|
@ -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,483 @@
|
|||
<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'
|
||||
})
|
||||
}
|
||||
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.createPushMessage({
|
||||
title:'仓储提醒',
|
||||
content:'您有一条装备预警信息!',
|
||||
})
|
||||
}
|
||||
}).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}`
|
||||
})
|
||||
}
|
||||
})
|
||||
}
|
||||
}
|
||||
}
|
||||
// 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>
|
||||
|
|
|
|||
|
|
@ -131,6 +131,7 @@ import form from '../../uni_modules/uview-ui/libs/config/props/form';
|
|||
subForm () {
|
||||
let that = this
|
||||
this.submitForm = this.allForm
|
||||
console.log(this.submitForm);
|
||||
for (let i = 0; i < this.submitForm.length; i++) {
|
||||
this.submitForm[i].partId = this.submitForm[i].partId[0]
|
||||
}
|
||||
|
|
@ -153,16 +154,26 @@ import form from '../../uni_modules/uview-ui/libs/config/props/form';
|
|||
title: res.data.msg,
|
||||
success: () => {
|
||||
that.showLoading = false
|
||||
uni.navigateBack({
|
||||
delta: 2
|
||||
})
|
||||
uni.navigateBack()
|
||||
}
|
||||
})
|
||||
} else {
|
||||
that.showLoading = false
|
||||
uni.showToast({
|
||||
icon: 'none',
|
||||
title: res.data.msg
|
||||
title: res.data.msg,
|
||||
success: () => {
|
||||
that.allForm = [
|
||||
{
|
||||
repairNum: 1,
|
||||
partType: 0,
|
||||
partId: [],
|
||||
partNum: '',
|
||||
repairer: '',
|
||||
repairContent: ''
|
||||
}
|
||||
]
|
||||
}
|
||||
})
|
||||
}
|
||||
}).catch(err => {
|
||||
|
|
|
|||
|
|
@ -200,6 +200,7 @@ export default {
|
|||
uni.setStorageSync('token', res.data.data.access_token)
|
||||
uni.setStorageSync('roles', res.data.data.login_user.roles)
|
||||
uni.setStorageSync('deptId', res.data.data.login_user.sysUser.dept.deptId)
|
||||
uni.setStorageSync('pwd', formData.password)
|
||||
uni.showToast({
|
||||
icon: 'none',
|
||||
title: '登录成功!',
|
||||
|
|
@ -224,6 +225,11 @@ export default {
|
|||
})
|
||||
})
|
||||
}
|
||||
},
|
||||
onShow() {
|
||||
if (uni.getStorageSync('pwd')) {
|
||||
this.accountFormData.password = uni.getStorageSync('pwd')
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
|
|
|||
|
|
@ -103,6 +103,9 @@
|
|||
export default {
|
||||
data() {
|
||||
return {
|
||||
pageNum: 1,
|
||||
pageSize: 10,
|
||||
pageTotal: 0,
|
||||
taskId: '',
|
||||
allChecked: false,
|
||||
inputs: "",
|
||||
|
|
@ -299,44 +302,54 @@
|
|||
}).catch(err => {
|
||||
console.log(err);
|
||||
})
|
||||
},
|
||||
fetchNewList () {
|
||||
let that = this
|
||||
// 初始化请求新购入库详情
|
||||
that.$api.newInStore.fetchNewBuyDetail({
|
||||
pageNum: that.pageNum,
|
||||
pageSize: that.pageSize,
|
||||
taskId: that.taskId
|
||||
}).then(res => {
|
||||
console.log(res);
|
||||
if (res.data.code == 200) {
|
||||
that.pageTotal = res.data.total
|
||||
res.data.rows.forEach(item => {
|
||||
if (item.status == '0') item.checked = false
|
||||
switch (item.status) {
|
||||
case '1':
|
||||
item.CNstatus = '已入库'
|
||||
break;
|
||||
case '2':
|
||||
item.CNstatus = '入库驳回'
|
||||
break;
|
||||
case '0':
|
||||
item.CNstatus = '待审核'
|
||||
break;
|
||||
}
|
||||
})
|
||||
that.list = [...that.list, ...res.data.rows]
|
||||
} else {
|
||||
uni.showToast({
|
||||
icon: 'none',
|
||||
title: res.data.msg
|
||||
})
|
||||
}
|
||||
}).catch(err => {
|
||||
console.log(err);
|
||||
})
|
||||
}
|
||||
},
|
||||
onLoad(params) {
|
||||
let that = this
|
||||
console.log(params.taskId);
|
||||
that.taskId = params.taskId
|
||||
// 初始化请求新购入库详情
|
||||
that.$api.newInStore.fetchNewBuyDetail({
|
||||
taskId: params.taskId
|
||||
}).then(res => {
|
||||
console.log(res);
|
||||
if (res.data.code == 200) {
|
||||
for (let i = 0; i < res.data.data.length; i++) {
|
||||
if (res.data.data[i].status == '0') {
|
||||
res.data.data[i].checked = false
|
||||
}
|
||||
switch (res.data.data[i].status) {
|
||||
case '1':
|
||||
res.data.data[i].CNstatus = '已入库'
|
||||
break;
|
||||
case '2':
|
||||
res.data.data[i].CNstatus = '入库驳回'
|
||||
break;
|
||||
case '0':
|
||||
res.data.data[i].CNstatus = '待审核'
|
||||
break;
|
||||
}
|
||||
}
|
||||
that.list = res.data.data
|
||||
} else {
|
||||
uni.showToast({
|
||||
icon: 'none',
|
||||
title: res.data.msg
|
||||
})
|
||||
}
|
||||
}).catch(err => {
|
||||
console.log(err);
|
||||
})
|
||||
that.fetchNewList()
|
||||
},
|
||||
onReachBottom() {
|
||||
if (this.list.length >= this.pageTotal) return;
|
||||
this.pageNum++
|
||||
this.fetchNewList()
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
|
|
|||
|
|
@ -4,7 +4,10 @@
|
|||
<view>公告标题:{{ listData.noticeTitle }}</view>
|
||||
<view>创建者:{{ listData.createBy }}</view>
|
||||
<view>创建时间:{{ listData.createTime }}</view>
|
||||
<view style="word-wrap: break-word;">公告内容:{{ listData.noticeContent }}</view>
|
||||
<view>公告内容:
|
||||
<view style="margin-top: 15rpx;" v-html="listData.noticeContent">
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
|
|
@ -23,21 +26,22 @@ export default {
|
|||
},
|
||||
onLoad(params) {
|
||||
let that = this;
|
||||
that.listData = ''
|
||||
console.log(params.noticeId);
|
||||
// 初始化请求单个公告详情
|
||||
that.$api.index
|
||||
.singleNotice({
|
||||
noticeId: params.noticeId
|
||||
})
|
||||
.singleNotice(params.noticeId)
|
||||
.then(res => {
|
||||
console.log(res);
|
||||
if (res.data.code == 200) {
|
||||
that.listData = res.data.data;
|
||||
let centent = decodeURIComponent(
|
||||
res.data.rows.forEach(item => {
|
||||
if (item.noticeId == params.noticeId) that.listData = item
|
||||
})
|
||||
/* let centent = decodeURIComponent(
|
||||
escape(atob(that.listData.noticeContent))
|
||||
);
|
||||
that.listData.noticeContent = this.extractTextFromHTML(centent).replace(/ /ig, "");
|
||||
console.log(that.listData.noticeContent);
|
||||
console.log(that.listData.noticeContent); */
|
||||
}
|
||||
})
|
||||
.catch(err => {
|
||||
|
|
@ -53,6 +57,7 @@ export default {
|
|||
margin: 20rpx auto;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
overflow-x: auto;
|
||||
view {
|
||||
margin-bottom: 15rpx;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -22,7 +22,11 @@
|
|||
<span >{{ qrcode }}</span>
|
||||
</view>
|
||||
<uni-forms-item name="deviceCode" required label="设备编号">
|
||||
<uni-easyinput v-model="qrFormData.deviceCode"></uni-easyinput>
|
||||
<uni-easyinput
|
||||
v-model="qrFormData.deviceCode"
|
||||
maxlength="20"
|
||||
>
|
||||
</uni-easyinput>
|
||||
</uni-forms-item>
|
||||
<view class="bind" @click="toggleBind">绑定</view>
|
||||
</uni-forms>
|
||||
|
|
@ -108,11 +112,12 @@
|
|||
},
|
||||
toggleBind () {
|
||||
let that = this
|
||||
console.log(that.qrcode);
|
||||
console.log(that.qrcode, uni.getStorageSync('userInfo').sysUser.userId);
|
||||
that.$refs.qrForm.validate().then(formData => {
|
||||
that.showLoading = true
|
||||
console.log(formData);
|
||||
console.log(formData, that.qrcode);
|
||||
that.$api.qrcodeBinding.bindQrcode({
|
||||
binder: uni.getStorageSync('userInfo').sysUser.userId,
|
||||
typeId: formData.specVal,
|
||||
maCode: formData.deviceCode,
|
||||
qrCode: that.qrcode,
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@
|
|||
<h4>{{ fetch.maCode }}</h4>
|
||||
</view>
|
||||
<view>
|
||||
<span>入库时间</span>
|
||||
<span>入库时间/状态</span>
|
||||
<h4>{{ fetch.status == '已入库' ? fetch.updateTime : fetch.status }}</h4>
|
||||
</view>
|
||||
</view>
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@
|
|||
<span>1</span>
|
||||
</view> -->
|
||||
</view>
|
||||
<view style="width: 90%; margin: 15rpx auto;">
|
||||
<view style="width: 90%; margin: 15rpx auto;" v-show="infoList.length != 0">
|
||||
<uni-data-checkbox v-model="fixVal" :localdata="fixRange"></uni-data-checkbox>
|
||||
</view>
|
||||
<view class="sub-btn" v-show="infoList.length != 0" @click="outStore">
|
||||
|
|
@ -67,6 +67,7 @@
|
|||
methods: {
|
||||
outStore() {
|
||||
let that = this
|
||||
console.log(this.infoList);
|
||||
console.log(this.infoList[0].typeId, this.typeId);
|
||||
if (!this.fixVal) {
|
||||
uni.showToast({
|
||||
|
|
@ -154,9 +155,10 @@
|
|||
this.parentId = params.parentId
|
||||
// 根据扫出的编码查询设备
|
||||
that.$api.backMaterialReceive.backMaterialQrcodeQuery({
|
||||
qrCode: params.code
|
||||
}, null).then(res => {
|
||||
console.log("backMaterialQrcodeQuery", res.data.data);
|
||||
qrCode: params.code,
|
||||
agreementId: params.agreementId
|
||||
}).then(res => {
|
||||
console.log("backMaterialQrcodeQuery", res);
|
||||
if (res.data.data.length == 0) {
|
||||
// qrcodeQuery 页面数据
|
||||
uni.showToast({
|
||||
|
|
|
|||
|
|
@ -321,13 +321,20 @@
|
|||
// 初始化查询报废审核清单
|
||||
that.$api.testExam.testExamList().then(res => {
|
||||
console.log(res);
|
||||
if (res.data.total != 0) {
|
||||
for (let i = 0; i < res.data.rows.length; i++) {
|
||||
if (res.data.rows[i].taskStatus == 46) {
|
||||
res.data.rows[i].checked = false
|
||||
if (res.data.code == 200) {
|
||||
/* for (let i = 0; i < res.data.data.length; i++) {
|
||||
if (res.data.data[i].taskStatus == 46) {
|
||||
res.data.data[i].checked = false
|
||||
}
|
||||
} */
|
||||
/* res.data.data.rows.forEach(item => {
|
||||
if (item.taskStatus == 46) item.checked = false
|
||||
}) */
|
||||
for (let item of res.data.rows) {
|
||||
if (item.taskStatus == 46) item.checked = false
|
||||
}
|
||||
that.fetchMaterialList = res.data.rows
|
||||
console.log(that.fetchMaterialList);
|
||||
} else {
|
||||
uni.showToast({
|
||||
icon: 'none',
|
||||
|
|
|
|||
|
|
@ -103,6 +103,27 @@
|
|||
</view>
|
||||
</view>
|
||||
</uni-popup>
|
||||
<uni-popup
|
||||
ref="popup1"
|
||||
type="center"
|
||||
:mask-click="false"
|
||||
>
|
||||
<view class="popup1">
|
||||
<view class="pop-top">
|
||||
<h4>驳回原因</h4>
|
||||
<uni-icons
|
||||
style="color: #AAAAAA; font-weight: bold;"
|
||||
type="closeempty"
|
||||
@click="closePopup1"
|
||||
>
|
||||
</uni-icons>
|
||||
</view>
|
||||
<view class="select-area">
|
||||
<uni-easyinput v-model="rejectReason" maxlength="50" placeholder="请填写驳回原因"></uni-easyinput>
|
||||
<view class="btn" @click="confirmReject">驳回</view>
|
||||
</view>
|
||||
</view>
|
||||
</uni-popup>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
|
|
@ -120,7 +141,8 @@
|
|||
taskStatus: '',
|
||||
status: '',
|
||||
ableNum: '',
|
||||
subObj: {}
|
||||
subObj: {},
|
||||
rejectReason: ''
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
|
|
@ -215,6 +237,7 @@
|
|||
title: res.data.msg,
|
||||
success: () => {
|
||||
that.closePopup()
|
||||
that.closePopup1()
|
||||
uni.navigateBack()
|
||||
}
|
||||
})
|
||||
|
|
@ -232,6 +255,9 @@
|
|||
closePopup () {
|
||||
this.$refs.popup.close()
|
||||
},
|
||||
closePopup1 () {
|
||||
this.$refs.popup1.close()
|
||||
},
|
||||
modalConfirm () {
|
||||
let that = this
|
||||
that.taskIdList.push(that.taskId)
|
||||
|
|
@ -251,8 +277,21 @@
|
|||
taskIdList: that.taskIdList,
|
||||
auditDetailList: that.auditDetailList
|
||||
}
|
||||
console.log(that.subObj);
|
||||
that.subInStore(that.subObj)
|
||||
that.$refs.popup1.open()
|
||||
// that.subInStore(that.subObj)
|
||||
},
|
||||
confirmReject () {
|
||||
let that = this
|
||||
if (that.rejectReason == '') {
|
||||
uni.showToast({
|
||||
icon: 'none',
|
||||
title: '请填写驳回原因!'
|
||||
})
|
||||
} else {
|
||||
that.subObj.remark = that.rejectReason
|
||||
console.log(that.subObj);
|
||||
that.subInStore(that.subObj)
|
||||
}
|
||||
}
|
||||
},
|
||||
onLoad(params) {
|
||||
|
|
@ -441,4 +480,39 @@
|
|||
border-radius: 20rpx;
|
||||
}
|
||||
|
||||
.popup1{
|
||||
width: 80vw;
|
||||
height: 20vh;
|
||||
background-color: #fff;
|
||||
border-radius: 15rpx;
|
||||
overflow: hidden;
|
||||
background: linear-gradient(#D9E7FE, #fff, #fff, #fff);
|
||||
.pop-top{
|
||||
width: 100%;
|
||||
height: 5vh;
|
||||
box-sizing: border-box;
|
||||
padding: 0 25rpx;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
}
|
||||
.select-area{
|
||||
width: 85%;
|
||||
margin: 40rpx auto;
|
||||
.btn{
|
||||
width: 30%;
|
||||
box-sizing: border-box;
|
||||
padding: 10rpx 0;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
background-color: #3788FF;
|
||||
color: #fff;
|
||||
font-size: 14px;
|
||||
border-radius: 15rpx;
|
||||
margin: 20rpx auto;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
</style>
|
||||
|
|
|
|||
|
|
@ -44,7 +44,7 @@
|
|||
export default {
|
||||
data() {
|
||||
return {
|
||||
companyName: uni.getStorageSync('companyName'),
|
||||
companyName: '',
|
||||
iptVal: '',
|
||||
benchList: [
|
||||
{
|
||||
|
|
@ -57,11 +57,11 @@
|
|||
pic: '/static/exitExam.png',
|
||||
url: 'exitExam'
|
||||
},
|
||||
{
|
||||
/* {
|
||||
name: 'RFID绑定',
|
||||
pic: '/static/rfidBinding.png',
|
||||
url: 'rfidBinding'
|
||||
},
|
||||
}, */
|
||||
{
|
||||
name: '二维码绑定',
|
||||
pic: '/static/qrcodeBinding.png',
|
||||
|
|
@ -108,9 +108,14 @@
|
|||
url: 'crashExam'
|
||||
},
|
||||
{
|
||||
name: '试验检验审核',
|
||||
name: '维修审核',
|
||||
pic: '/static/testExam.png',
|
||||
url: 'testExam'
|
||||
},
|
||||
{
|
||||
name: 'IOT设备绑定',
|
||||
pic: '/static/testExam.png',
|
||||
url: 'IOTBinding'
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
@ -149,6 +154,17 @@
|
|||
title: '敬请期待!'
|
||||
})
|
||||
}
|
||||
},
|
||||
onShow() {
|
||||
let that = this
|
||||
that.$api.index.fetchCompanyName({
|
||||
ancestors: uni.getStorageSync('userInfo').sysUser.dept.ancestors
|
||||
}).then(res => {
|
||||
console.log(res);
|
||||
if (res.data.code == 200) that.companyName = res.data.msg
|
||||
}).catch(err => {
|
||||
console.log(err);
|
||||
})
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
|
|
|||
|
|
@ -419,6 +419,13 @@ const router = createRouter({
|
|||
"meta": {
|
||||
"needAuth": "true"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path" : "/pages/IOTBinding/IOTBinding",
|
||||
"name": 'IOTBinding',
|
||||
"meta": {
|
||||
"needAuth": "true"
|
||||
}
|
||||
}
|
||||
]
|
||||
})
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -1 +1 @@
|
|||
https://app.liuyingyong.cn/build/download/bb51eac0-0609-11ef-812e-6d41417a577b
|
||||
https://app.liuyingyong.cn/build/download/5d68c100-4ee0-11ef-ac50-bfc1b9a6ba03
|
||||
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
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
|
|
@ -1 +1 @@
|
|||
{"@platforms":["android","iPhone","iPad"],"id":"__UNI__9D122E1","name":"智慧仓储","version":{"name":"1.0.7","code":107},"description":"","launch_path":"__uniappview.html","developer":{"name":"","email":"","url":""},"permissions":{"Camera":{},"Barcode":{},"UniNView":{"description":"UniNView原生渲染"}},"plus":{"useragent":{"value":"uni-app","concatenate":true},"splashscreen":{"autoclose":true,"delay":0,"target":"id:1","waiting":true},"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":"icon-android-hdpi.png","xhdpi":"icon-android-xhdpi.png","xxhdpi":"icon-android-xxhdpi.png","xxxhdpi":"icon-android-xxxhdpi.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"},"prerendered":"false"}},"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\"/>"],"packagename":"uni.UNI9D122E1","custompermissions":true},"apple":{"dSYMs":false,"idfa":false,"privacyDescription":{"NSCameraUsageDescription":"该应用需要扫描二维码或拍照,是否允许打开相机","NSLocationAlwaysAndWhenInUseUsageDescription":"该应用需要使用您的地理位置,以便为您提供当前位置信息","NSLocationAlwaysUsageDescription":"该应用需要使用您的地理位置,以便为您提供当前位置信息","NSLocationWhenInUseUsageDescription":"该应用需要使用您的地理位置,以便为您提供当前位置信息","NSMicrophoneUsageDescription":"该应用需要使用您的麦克风,以便视频录音","NSPhotoLibraryAddUsageDescription":"该应用上传照片信息时需要访问您的相册","NSPhotoLibraryUsageDescription":"该应用上传照片信息时需要访问您的相册"},"devices":"universal"},"plugins":{"ad":{},"audio":{"mp3":{"description":"Android平台录音支持MP3格式文件"}}},"orientation":"portrait-primary"},"nativePlugins":{"BNS-RfidRed":{}},"uniStatistics":{"enable":false},"allowsInlineMediaPlayback":true,"safearea":{"background":"#FFFFFF","bottom":{"offset":"auto"}},"uni-app":{"compilerVersion":"3.8.7","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","adid":"129363090506"}}
|
||||
{"@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":{"autoclose":true,"delay":0,"target":"id:1","waiting":true},"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":"icon-android-hdpi.png","xhdpi":"icon-android-xhdpi.png","xxhdpi":"icon-android-xxhdpi.png","xxxhdpi":"icon-android-xxxhdpi.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"},"prerendered":"false"}},"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\"/>"],"packagename":"uni.UNI9D122E1","custompermissions":true},"apple":{"dSYMs":false,"idfa":false,"privacyDescription":{"NSCameraUsageDescription":"该应用需要扫描二维码或拍照,是否允许打开相机","NSLocationAlwaysAndWhenInUseUsageDescription":"该应用需要使用您的地理位置,以便为您提供当前位置信息","NSLocationAlwaysUsageDescription":"该应用需要使用您的地理位置,以便为您提供当前位置信息","NSLocationWhenInUseUsageDescription":"该应用需要使用您的地理位置,以便为您提供当前位置信息","NSMicrophoneUsageDescription":"该应用需要使用您的麦克风,以便视频录音","NSPhotoLibraryAddUsageDescription":"该应用上传照片信息时需要访问您的相册","NSPhotoLibraryUsageDescription":"该应用上传照片信息时需要访问您的相册"},"plistcmds":["Add :UIFileSharingEnabled bool true"],"devices":"universal"},"plugins":{"ad":{},"audio":{"mp3":{"description":"Android平台录音支持MP3格式文件"}},"push":{"unipush":{"offline":false,"version":"2"},"description":"管理消息推送能力"}},"debug":true,"syncDebug":true,"orientation":"portrait-primary"},"nativePlugins":{"BNS-RfidRed":{}},"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","adid":"129363090506"}}
|
||||
Binary file not shown.
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
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
|
|
@ -1 +1 @@
|
|||
{"@platforms":["android","iPhone","iPad"],"id":"__UNI__9D122E1","name":"智慧仓储","version":{"name":"1.0.7","code":107},"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":"3.8.7","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"}}
|
||||
Binary file not shown.
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
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
|
|
@ -1 +1 @@
|
|||
{"@platforms":["android","iPhone","iPad"],"id":"__UNI__9D122E1","name":"智慧仓储","version":{"name":"1.0.7","code":107},"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":"3.8.7","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"}}
|
||||
Binary file not shown.
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue