调试预警信息推送接口

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

View File

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

View File

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

View File

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

View File

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

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

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