接口对接
This commit is contained in:
@@ -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: '分享',
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
:fixed="true"
|
||||
status-bar
|
||||
left-icon="left"
|
||||
:rightIcon="userInfo.role == '2' ? '' : 'plusempty'"
|
||||
:rightIcon="userInfo.authorities == '2' ? '' : 'plusempty'"
|
||||
background-color="#fff"
|
||||
color="#111"
|
||||
title="项目管理"
|
||||
@@ -44,7 +44,8 @@ export default {
|
||||
},
|
||||
methods: {
|
||||
init() {
|
||||
this.store = this.DataSource('/project/queryProject')
|
||||
this.store = this.DataSource('/cs-device-boot/project/queryProject')
|
||||
this.store.params.engineeringId = uni.getStorageSync('engineering')?.id
|
||||
this.store.reload()
|
||||
},
|
||||
back() {
|
||||
@@ -76,8 +77,6 @@ export default {
|
||||
|
||||
<style lang="scss">
|
||||
.message {
|
||||
padding-top: 20rpx;
|
||||
|
||||
.message-header {
|
||||
padding: 200rpx 34rpx 34rpx;
|
||||
display: flex;
|
||||
|
||||
@@ -54,7 +54,7 @@
|
||||
<script>
|
||||
import { pinyin } from 'pinyin-pro'
|
||||
import { addAppProject } from '../../common/api/project'
|
||||
import { queryEngineering } from '@/common/api/gc.js'
|
||||
import { queryEngineering } from '@/common/api/engineering.js'
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user