更换材料站 领料新增工程下拉接口
This commit is contained in:
parent
2b8d5df9e9
commit
0a97ae9147
|
|
@ -461,7 +461,8 @@ export default {
|
||||||
/** 工程-下拉选 */
|
/** 工程-下拉选 */
|
||||||
async projectInfoList() {
|
async projectInfoList() {
|
||||||
try {
|
try {
|
||||||
const res = await getProListByDepartApi({ teamName: this.maForm.teamName })
|
// const res = await getProListByDepartApi({ teamName: this.maForm.teamName })
|
||||||
|
const res = await getListProject({ unitId: null, isApp: true, teamName: this.maForm.teamName })
|
||||||
this.projectList = res.data
|
this.projectList = res.data
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.log('🚀 ~ projectInfoList ~ error:', error)
|
console.log('🚀 ~ projectInfoList ~ error:', error)
|
||||||
|
|
|
||||||
|
|
@ -744,8 +744,8 @@ export default {
|
||||||
async projectInfoList() {
|
async projectInfoList() {
|
||||||
try {
|
try {
|
||||||
|
|
||||||
const res = await getProListByDepartApi({ teamName: this.maForm.teamName })
|
// const res = await getProListByDepartApi({ teamName: this.maForm.teamName })
|
||||||
// const res = await getListProject({ unitId: null, isApp: true, teamName: this.maForm.teamName })
|
const res = await getListProject({ unitId: null, isApp: true, teamName: this.maForm.teamName })
|
||||||
this.projectList = res.data
|
this.projectList = res.data
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.log('🚀 ~ projectInfoList ~ error:', error)
|
console.log('🚀 ~ projectInfoList ~ error:', error)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue