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