This commit is contained in:
parent
9ca8cac83a
commit
88b7a51b22
|
|
@ -621,15 +621,6 @@ export function getUserInfoByIdCardApi(data) {
|
|||
})
|
||||
}
|
||||
|
||||
// 更新班组工程信息
|
||||
export function updateTeamProjectApi(data) {
|
||||
return request({
|
||||
url: '/material/app/iwsTeamUser/updateTeamProject',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 获取工程ids
|
||||
export function getProjectInfoApi(data) {
|
||||
return request({
|
||||
|
|
|
|||
|
|
@ -147,7 +147,6 @@ import {
|
|||
getProjectInfoApi,
|
||||
getUserInfoByUserNameApi,
|
||||
getUserInfoByIdCardApi,
|
||||
updateTeamProjectApi
|
||||
} from '@/api/materialsStation'
|
||||
export default {
|
||||
components: {
|
||||
|
|
@ -497,8 +496,6 @@ export default {
|
|||
const params = {
|
||||
teamList: res.data
|
||||
}
|
||||
const res2 = await updateTeamProjectApi(params)
|
||||
console.log('🚀 ~ getUserInfoByIdCard ~ res2:', res2)
|
||||
}
|
||||
} catch (error) {
|
||||
console.log('🚀 ~ getUserInfoByIdCard ~ error:', error)
|
||||
|
|
|
|||
|
|
@ -212,11 +212,11 @@ export default {
|
|||
},
|
||||
computed: {
|
||||
config() {
|
||||
console.log('🚀 ~ config ~ config:', localStorage.getItem('systemConfig'))
|
||||
// console.log('🚀 ~ config ~ config:', localStorage.getItem('systemConfig'))
|
||||
let systemConfig = null
|
||||
try {
|
||||
systemConfig = JSON.parse(localStorage.getItem('systemConfig'))
|
||||
console.log('🚀 ~ config ~ systemConfig:', systemConfig)
|
||||
// console.log('🚀 ~ config ~ systemConfig:', systemConfig)
|
||||
} catch (err) {
|
||||
console.log('获取config失败:', err)
|
||||
}
|
||||
|
|
@ -249,7 +249,7 @@ export default {
|
|||
},
|
||||
async created() {
|
||||
const origin = window.location.href
|
||||
console.log(origin.split('ticket=')[1], 'origin')
|
||||
// console.log(origin.split('ticket=')[1], 'origin')
|
||||
|
||||
if (origin.indexOf('ticket') != -1) {
|
||||
this.isIws = true
|
||||
|
|
|
|||
Loading…
Reference in New Issue