|  | @@ -107,7 +107,8 @@
 | 
	
		
			
				|  |  |              <el-button v-if="row.status !== 5" type="text" size="small" @click="beforeCloseAccount(row)">结算</el-button>
 | 
	
		
			
				|  |  |              <el-button v-if="row.status === 5" type="text" size="small" :disabled="viewDisabled"
 | 
	
		
			
				|  |  |                @click="cancelCloseAccount(row)">取消结算</el-button>
 | 
	
		
			
				|  |  | -            <el-button :disabled="row.taskStatus != 10" type="text" size="small" @click="dispatch(row)">派工</el-button>
 | 
	
		
			
				|  |  | +            <el-button :disabled="row.taskStatus != 10" type="text" size="small" @click="dispatch(row, index)">派工
 | 
	
		
			
				|  |  | +            </el-button>
 | 
	
		
			
				|  |  |              <el-button type="text" size="small" @click="rowCellTwo(row, index)"
 | 
	
		
			
				|  |  |                :disabled="row.strStatus == '结算完成' || viewDisabled">{{ row.$cellEdit ? '修改完成' : '修改' }}</el-button>
 | 
	
		
			
				|  |  |              <el-button type="text" size="small" @click="rowDel(row, index)"
 | 
	
	
		
			
				|  | @@ -689,7 +690,7 @@ export default {
 | 
	
		
			
				|  |  |            }
 | 
	
		
			
				|  |  |          ]
 | 
	
		
			
				|  |  |        },
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  | +      pgIndex:0
 | 
	
		
			
				|  |  |      };
 | 
	
		
			
				|  |  |    },
 | 
	
		
			
				|  |  |    async created() {
 | 
	
	
		
			
				|  | @@ -963,7 +964,7 @@ export default {
 | 
	
		
			
				|  |  |          this.accountDialog = true;
 | 
	
		
			
				|  |  |        }
 | 
	
		
			
				|  |  |      },
 | 
	
		
			
				|  |  | -    dispatch(row) {
 | 
	
		
			
				|  |  | +    dispatch(row, index) {
 | 
	
		
			
				|  |  |        if (row.id) {
 | 
	
		
			
				|  |  |          this.pgList = []
 | 
	
		
			
				|  |  |          if (row.frequency == 4 && row.second) {
 | 
	
	
		
			
				|  | @@ -975,8 +976,6 @@ export default {
 | 
	
		
			
				|  |  |                $cellEdit: true
 | 
	
		
			
				|  |  |              })
 | 
	
		
			
				|  |  |            }
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  | -          //  row.second
 | 
	
		
			
				|  |  |          } else {
 | 
	
		
			
				|  |  |            this.pgList.push({
 | 
	
		
			
				|  |  |              ...row,
 | 
	
	
		
			
				|  | @@ -987,6 +986,7 @@ export default {
 | 
	
		
			
				|  |  |          }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |        }
 | 
	
		
			
				|  |  | +      this.pgIndex = index
 | 
	
		
			
				|  |  |        this.pgDialog = true
 | 
	
		
			
				|  |  |      },
 | 
	
		
			
				|  |  |      pgConfirm() {
 | 
	
	
		
			
				|  | @@ -995,10 +995,18 @@ export default {
 | 
	
		
			
				|  |  |            return this.$message.error('请完善开始日期')
 | 
	
		
			
				|  |  |          }
 | 
	
		
			
				|  |  |        }
 | 
	
		
			
				|  |  | +      let projectItemDateList = []
 | 
	
		
			
				|  |  | +      this.pgList.forEach((e, index) => {
 | 
	
		
			
				|  |  | +        projectItemDateList.push({
 | 
	
		
			
				|  |  | +          beginTime: e.beginTime,
 | 
	
		
			
				|  |  | +          reminderDay: e.reminderDay
 | 
	
		
			
				|  |  | +        })
 | 
	
		
			
				|  |  | +      })
 | 
	
		
			
				|  |  | +      this.data[this.pgIndex].projectItemDateList = projectItemDateList
 | 
	
		
			
				|  |  |        const params = {
 | 
	
		
			
				|  |  |          ...this.form,
 | 
	
		
			
				|  |  |          ...this.formTwo,
 | 
	
		
			
				|  |  | -        itemList: this.pgList,
 | 
	
		
			
				|  |  | +        itemList:this.data,
 | 
	
		
			
				|  |  |          filesList: this.upLoadData
 | 
	
		
			
				|  |  |        }
 | 
	
		
			
				|  |  |        dispatch(params).then(res => {
 |