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
|
// 获取工程ids
|
||||||
export function getProjectInfoApi(data) {
|
export function getProjectInfoApi(data) {
|
||||||
return request({
|
return request({
|
||||||
|
|
|
||||||
|
|
@ -147,7 +147,6 @@ import {
|
||||||
getProjectInfoApi,
|
getProjectInfoApi,
|
||||||
getUserInfoByUserNameApi,
|
getUserInfoByUserNameApi,
|
||||||
getUserInfoByIdCardApi,
|
getUserInfoByIdCardApi,
|
||||||
updateTeamProjectApi
|
|
||||||
} from '@/api/materialsStation'
|
} from '@/api/materialsStation'
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
|
|
@ -497,8 +496,6 @@ export default {
|
||||||
const params = {
|
const params = {
|
||||||
teamList: res.data
|
teamList: res.data
|
||||||
}
|
}
|
||||||
const res2 = await updateTeamProjectApi(params)
|
|
||||||
console.log('🚀 ~ getUserInfoByIdCard ~ res2:', res2)
|
|
||||||
}
|
}
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.log('🚀 ~ getUserInfoByIdCard ~ error:', error)
|
console.log('🚀 ~ getUserInfoByIdCard ~ error:', error)
|
||||||
|
|
|
||||||
|
|
@ -212,11 +212,11 @@ export default {
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
config() {
|
config() {
|
||||||
console.log('🚀 ~ config ~ config:', localStorage.getItem('systemConfig'))
|
// console.log('🚀 ~ config ~ config:', localStorage.getItem('systemConfig'))
|
||||||
let systemConfig = null
|
let systemConfig = null
|
||||||
try {
|
try {
|
||||||
systemConfig = JSON.parse(localStorage.getItem('systemConfig'))
|
systemConfig = JSON.parse(localStorage.getItem('systemConfig'))
|
||||||
console.log('🚀 ~ config ~ systemConfig:', systemConfig)
|
// console.log('🚀 ~ config ~ systemConfig:', systemConfig)
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
console.log('获取config失败:', err)
|
console.log('获取config失败:', err)
|
||||||
}
|
}
|
||||||
|
|
@ -249,7 +249,7 @@ export default {
|
||||||
},
|
},
|
||||||
async created() {
|
async created() {
|
||||||
const origin = window.location.href
|
const origin = window.location.href
|
||||||
console.log(origin.split('ticket=')[1], 'origin')
|
// console.log(origin.split('ticket=')[1], 'origin')
|
||||||
|
|
||||||
if (origin.indexOf('ticket') != -1) {
|
if (origin.indexOf('ticket') != -1) {
|
||||||
this.isIws = true
|
this.isIws = true
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue