接口对接

This commit is contained in:
仲么了
2023-07-03 20:29:24 +08:00
parent 5f67499e57
commit 77fd768acf
32 changed files with 587 additions and 1319 deletions

View File

@@ -191,7 +191,7 @@ export default {
})
},
init() {
this.store = this.DataSource('/EquipmentDelivery/queryEquipmentByProject')
this.store = this.DataSource('/cs-device-boot/EquipmentDelivery/queryEquipmentByProject')
this.store.params.projectId = this.project.id
this.store.reload()
@@ -212,12 +212,12 @@ export default {
},
onLoad(option) {
let userInfo = uni.getStorageSync('userInfo')
if (userInfo.role == '3') {
if (userInfo.authorities == '3') {
this.content.push({
iconPath: '/static/transfer.png',
text: '移交',
})
} else if (userInfo.role == '4') {
} else if (userInfo.authorities == '4') {
this.content.push({
iconPath: '/static/share.png',
text: '分享',