|  | @@ -12,7 +12,9 @@ export default {
 | 
	
		
			
				|  |  |      return {
 | 
	
		
			
				|  |  |        actionSheetShow: false,
 | 
	
		
			
				|  |  |        currentStep: 0,
 | 
	
		
			
				|  |  | -      batchCheckForm:{}
 | 
	
		
			
				|  |  | +      batchCheckForm:{
 | 
	
		
			
				|  |  | +        fileList:[]
 | 
	
		
			
				|  |  | +      }
 | 
	
		
			
				|  |  |      };
 | 
	
		
			
				|  |  |    },
 | 
	
		
			
				|  |  |    computed: {
 | 
	
	
		
			
				|  | @@ -29,15 +31,7 @@ export default {
 | 
	
		
			
				|  |  |      },
 | 
	
		
			
				|  |  |      indicatorList:{
 | 
	
		
			
				|  |  |        get() {
 | 
	
		
			
				|  |  | -        return this.$store.state.template.indicatorList.map(item => {
 | 
	
		
			
				|  |  | -          if (item.indicatorInputBody) {
 | 
	
		
			
				|  |  | -            item.indicatorInputBody = item.indicatorInputBody.replace('&', item.inputBody + item.inputSegment)
 | 
	
		
			
				|  |  | -          }
 | 
	
		
			
				|  |  | -          return {
 | 
	
		
			
				|  |  | -            ...item,
 | 
	
		
			
				|  |  | -            selectValue: item.selectValue || 0
 | 
	
		
			
				|  |  | -          }
 | 
	
		
			
				|  |  | -        })
 | 
	
		
			
				|  |  | +        return this.$store.state.template.indicatorList
 | 
	
		
			
				|  |  |        },
 | 
	
		
			
				|  |  |        set(value) {
 | 
	
		
			
				|  |  |          this.$store.commit('template/setIndicatorList', value)
 | 
	
	
		
			
				|  | @@ -92,16 +86,25 @@ export default {
 | 
	
		
			
				|  |  |        const result = []
 | 
	
		
			
				|  |  |        this.indicatorList.forEach(item => {
 | 
	
		
			
				|  |  |          result.push({
 | 
	
		
			
				|  |  | -          ...item,
 | 
	
		
			
				|  |  | -          ...this.batchCheckForm
 | 
	
		
			
				|  |  | +          "uuid": item.item,
 | 
	
		
			
				|  |  | +          "promiseId": item.promiseId,
 | 
	
		
			
				|  |  | +          "indicatorId": item.indicatorId,
 | 
	
		
			
				|  |  | +          "indicatorInput": item.indicatorInput,
 | 
	
		
			
				|  |  | +          "indicatorInputBody": item.indicatorInputBody,
 | 
	
		
			
				|  |  | +          "auditor": uni.getStorageSync("userInfo").realName,
 | 
	
		
			
				|  |  | +          "auditResult": this.batchCheckForm.auditResult,
 | 
	
		
			
				|  |  | +          "auditScore": this.batchCheckForm.auditScore,
 | 
	
		
			
				|  |  | +          "auditRemark": this.batchCheckForm.auditRemark,
 | 
	
		
			
				|  |  | +          "expandStr": this.batchCheckForm.fileList.map(item => item.uuid).join(','),
 | 
	
		
			
				|  |  |          })
 | 
	
		
			
				|  |  |        })
 | 
	
		
			
				|  |  | -      (result).then( async res => {
 | 
	
		
			
				|  |  | +      editVerifyTask(result).then( async res => {
 | 
	
		
			
				|  |  |          if (res.code === 0) {
 | 
	
		
			
				|  |  |            this.$toast('核查成功')
 | 
	
		
			
				|  |  |            this.actionSheetShow = false
 | 
	
		
			
				|  |  |            await this.$store.dispatch('template/getPromiseDetail', this.$route.query.uuid)
 | 
	
		
			
				|  |  | -          window.location.reload()
 | 
	
		
			
				|  |  | +        }else{
 | 
	
		
			
				|  |  | +          this.$toast('核查失败' + res.msg)
 | 
	
		
			
				|  |  |          }
 | 
	
		
			
				|  |  |        })
 | 
	
		
			
				|  |  |      }
 | 
	
	
		
			
				|  | @@ -148,7 +151,7 @@ export default {
 | 
	
		
			
				|  |  |              <template #footer>
 | 
	
		
			
				|  |  |                <view style="margin: 16px;">
 | 
	
		
			
				|  |  |                  <van-button round block type="info" @click="handlePrevStep">上一步</van-button>
 | 
	
		
			
				|  |  | -                <van-button round block type="info" @click="onCheckResultSubmit">核查确认</van-button>
 | 
	
		
			
				|  |  | +                <van-button style="margin-top: 20px" round block type="info" @click="onCheckResultSubmit">核查确认</van-button>
 | 
	
		
			
				|  |  |                </view>
 | 
	
		
			
				|  |  |              </template>
 | 
	
		
			
				|  |  |            </CommitmentConfirmForm>
 |