Compare commits
	
		
			No commits in common. "86e101e091102f4a9ab45d24ba10ad954f11c03f" and "e148b3a5d459a8ef7a7753ddf08ed73ff3f0f4a2" have entirely different histories.
		
	
	
		
			86e101e091
			...
			e148b3a5d4
		
	
		
@ -336,26 +336,20 @@ struct Index {
 | 
				
			|||||||
  // 获取场地设备信息
 | 
					  // 获取场地设备信息
 | 
				
			||||||
  async initCDSBInfo() {
 | 
					  async initCDSBInfo() {
 | 
				
			||||||
    const cdsbParams = await getSyncData('MA_CDSBINFO')
 | 
					    const cdsbParams = await getSyncData('MA_CDSBINFO')
 | 
				
			||||||
    //只记录考试项目的模型
 | 
					 | 
				
			||||||
    const projectsObj = this.projectsObj
 | 
					 | 
				
			||||||
    //@ts-ignore
 | 
					    //@ts-ignore
 | 
				
			||||||
    cdsbParams.forEach((cdsb) => {
 | 
					    cdsbParams.forEach((cdsb) => {
 | 
				
			||||||
      const key = decodeURI(cdsb.itemsno);
 | 
					      const key = decodeURI(cdsb.itemsno);
 | 
				
			||||||
      const newKey = key.split('~').join('_')
 | 
					      const newKey = key.split('~').join('_')
 | 
				
			||||||
      //@ts-ignore
 | 
					      this.cdsbInfoObj[newKey] = {
 | 
				
			||||||
      const xmdm = key.split('~')[0] * 1
 | 
					        kdid: cdsb.kdid,
 | 
				
			||||||
      if(projectsObj[xmdm]){
 | 
					        sbbh: cdsb.sbbh,
 | 
				
			||||||
        this.cdsbInfoObj[newKey] = {
 | 
					        sbbm: cdsb.sbbm,
 | 
				
			||||||
          kdid: cdsb.kdid,
 | 
					        itemsno: key,
 | 
				
			||||||
          sbbh: cdsb.sbbh,
 | 
					        modelKey: newKey,
 | 
				
			||||||
          sbbm: cdsb.sbbm,
 | 
					        //@ts-ignore
 | 
				
			||||||
          itemsno: key,
 | 
					        xmdm: key.split('~')[0] * 1,
 | 
				
			||||||
          modelKey: newKey,
 | 
					        xmxh: key.split('~')[1],
 | 
				
			||||||
          xmdm,
 | 
					 | 
				
			||||||
          xmxh: key.split('~')[1],
 | 
					 | 
				
			||||||
        }
 | 
					 | 
				
			||||||
      }
 | 
					      }
 | 
				
			||||||
 | 
					 | 
				
			||||||
    })
 | 
					    })
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user