1、相关方端延迟监火转发企业端时无数据。bug修复
							parent
							
								
									c2a2088130
								
							
						
					
					
						commit
						4d7c70aeaf
					
				| 
						 | 
				
			
			@ -47,6 +47,7 @@ export default {
 | 
			
		|||
      EW_RU_TASK_ID: '',
 | 
			
		||||
      EW_RU_JOB_ID: '',
 | 
			
		||||
      TYPE: '',
 | 
			
		||||
      CORP_ID: '',
 | 
			
		||||
      isView: '1'
 | 
			
		||||
    }
 | 
			
		||||
  },
 | 
			
		||||
| 
						 | 
				
			
			@ -55,6 +56,7 @@ export default {
 | 
			
		|||
    this.EW_RU_TASK_ID = event.taskId
 | 
			
		||||
    this.EW_RU_JOB_ID = event.EW_RU_JOB_ID
 | 
			
		||||
    this.TYPE = event.TYPE
 | 
			
		||||
    this.CORP_ID = event.CORP_ID
 | 
			
		||||
    this.isView = event.isView
 | 
			
		||||
  },
 | 
			
		||||
  onShow() {
 | 
			
		||||
| 
						 | 
				
			
			@ -86,7 +88,7 @@ export default {
 | 
			
		|||
    goToTaskForword() {
 | 
			
		||||
      uni.$u.route({
 | 
			
		||||
        url: '/pages/eight_assignments/hot_work/delay_fire_monitoring/task_forward',
 | 
			
		||||
        params: {taskId: this.EW_RU_TASK_ID, EW_RU_JOB_ID:this.EW_RU_JOB_ID,TYPE:this.TYPE}
 | 
			
		||||
        params: {taskId: this.EW_RU_TASK_ID, EW_RU_JOB_ID:this.EW_RU_JOB_ID,TYPE:this.TYPE,CORP_ID:this.CORP_ID}
 | 
			
		||||
      });
 | 
			
		||||
    },
 | 
			
		||||
    /**
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -31,6 +31,7 @@ export default {
 | 
			
		|||
      },
 | 
			
		||||
      EW_RU_TASK_ID: '',
 | 
			
		||||
      EW_RU_JOB_ID: '',
 | 
			
		||||
      CORP_ID: '',
 | 
			
		||||
      TYPE: ''
 | 
			
		||||
 | 
			
		||||
    }
 | 
			
		||||
| 
						 | 
				
			
			@ -39,6 +40,7 @@ export default {
 | 
			
		|||
    this.STATE = event.state;
 | 
			
		||||
    this.EW_RU_TASK_ID = event.taskId
 | 
			
		||||
    this.EW_RU_JOB_ID = event.EW_RU_JOB_ID
 | 
			
		||||
    this.CORP_ID = event.CORP_ID
 | 
			
		||||
    this.TYPE = event.TYPE
 | 
			
		||||
  },
 | 
			
		||||
  methods: {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -108,7 +108,5 @@ export default {
 | 
			
		|||
.flex_btn{
 | 
			
		||||
  display: flex;
 | 
			
		||||
  justify-content: flex-end;
 | 
			
		||||
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
</style>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -29,7 +29,11 @@ const processFormData = async (formData, formItems) => {
 | 
			
		|||
        const currentItem = uni.$u.deepClone(formData[formItem.key_name])
 | 
			
		||||
        const codeList = []
 | 
			
		||||
        for (let j = 0; j < currentItem.length; j++) {
 | 
			
		||||
          const {CODE} = await setTaskFile({formData: {type: currentItem[j].oldUrl}, name: 'files', filePath: currentItem[j].url})
 | 
			
		||||
          const {CODE} = await setTaskFile({
 | 
			
		||||
            name: 'files',
 | 
			
		||||
            filePath: currentItem[j].url,
 | 
			
		||||
            formData: {type: currentItem[j].oldUrl}
 | 
			
		||||
          })
 | 
			
		||||
          codeList.push(CODE)
 | 
			
		||||
        }
 | 
			
		||||
        obj.ITEM_VALUE = ''
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue