|  |  | 
 |  |  |           </div> | 
 |  |  |         </div> | 
 |  |  |       </div> | 
 |  |  |  | 
 |  |  |          <div class="box" v-for="(item, index) in duSolutionList" :key="index"> | 
 |  |  |           <div   class="box_label">保险方案:{{item.solutionName}}</div> | 
 |  |  |             <el-table | 
 |  |  |                 v-if="item.duWorktypeList && item.duWorktypeList.length>0" | 
 |  |  |                 :data="item.duWorktypeList" | 
 |  |  |                 border | 
 |  |  |                 style="width: 100%"> | 
 |  |  |               <el-table-column label="序号" width="80px"> | 
 |  |  |                 <template slot-scope="scope"> | 
 |  |  |                   <span>{{scope.$index + 1}}</span> | 
 |  |  |                 </template> | 
 |  |  |               </el-table-column> | 
 |  |  |               <el-table-column | 
 |  |  |                   prop="workTypeName" | 
 |  |  |                   label="所属工种"> | 
 |  |  |               </el-table-column> | 
 |  |  |               <el-table-column | 
 |  |  |                   prop="name" | 
 |  |  |                   label="操作视频"> | 
 |  |  |                 <template slot-scope="{row}"> | 
 |  |  |                   <video loop controls width="150px" height="150px" :src="row.videoUrlFull"></video> | 
 |  |  |                 </template> | 
 |  |  |               </el-table-column> | 
 |  |  |               <el-table-column | 
 |  |  |                   label="状态"> | 
 |  |  |                 <template slot-scope="{row}"> | 
 |  |  |                   <span :class="'du-status'+row.status" v-if="row.unitStatus === 0">待审核</span> | 
 |  |  |                   <span :class="'du-status'+row.status"  v-if="row.unitStatus === 1">审核通过</span> | 
 |  |  |                   <span :class="'du-status'+row.status"  v-if="row.unitStatus === 2">审核不通过</span> | 
 |  |  |                 </template> | 
 |  |  |               </el-table-column> | 
 |  |  |             </el-table> | 
 |  |  |        <div class="box" v-for="(item, index) in duSolutionList" :key="index"> | 
 |  |  |         <div   class="box_label">保险方案:{{item.solutionName}}</div> | 
 |  |  |         <el-table | 
 |  |  |           v-if="item.duWorktypeList && item.duWorktypeList.length>0" | 
 |  |  |           :data="item.duWorktypeList" | 
 |  |  |           border | 
 |  |  |           style="width: 100%"> | 
 |  |  |           <el-table-column label="序号" width="80px"> | 
 |  |  |             <template slot-scope="scope"> | 
 |  |  |               <span>{{scope.$index + 1}}</span> | 
 |  |  |             </template> | 
 |  |  |           </el-table-column> | 
 |  |  |           <el-table-column | 
 |  |  |             prop="workTypeName" | 
 |  |  |             label="所属工种"> | 
 |  |  |           </el-table-column> | 
 |  |  |           <el-table-column | 
 |  |  |             prop="name" | 
 |  |  |             label="操作视频"> | 
 |  |  |             <template slot-scope="{row}"> | 
 |  |  |               <video loop controls width="150px" height="150px" :src="row.videoUrlFull" v-if="row.videoUrlFull"></video> | 
 |  |  |             </template> | 
 |  |  |           </el-table-column> | 
 |  |  |           <el-table-column | 
 |  |  |             label="状态"> | 
 |  |  |             <template slot-scope="{row}"> | 
 |  |  |               <span :class="'du-status'+row.status" v-if="row.status === 0">待审核</span> | 
 |  |  |               <span :class="'du-status'+row.status"  v-if="row.status === 1">审核通过</span> | 
 |  |  |               <span :class="'du-status'+row.status"  v-if="row.status === 2">审核不通过</span> | 
 |  |  |             </template> | 
 |  |  |           </el-table-column> | 
 |  |  |         </el-table> | 
 |  |  |       </div> | 
 |  |  |         <template v-slot:footer> | 
 |  |  |             <el-button type="primary" @click="doSubmit(1)">审核通过</el-button> | 
 |  |  |             <el-button type="danger" @click="doSubmit(2)">审核退回</el-button> | 
 |  |  |             <el-button @click="visible=false">取消</el-button> | 
 |  |  |         </template> | 
 |  |  |       <template v-slot:footer> | 
 |  |  |         <el-button type="primary" @click="doSubmit(1)">审核通过</el-button> | 
 |  |  |         <el-button type="danger" @click="doSubmit(2)">审核退回</el-button> | 
 |  |  |         <el-button @click="visible=false">取消</el-button> | 
 |  |  |       </template> | 
 |  |  |     </GlobalWindow> | 
 |  |  | </template> | 
 |  |  |  | 
 |  |  | 
 |  |  |                      flag = 1; | 
 |  |  |                      tempworktyps.push(item1); | 
 |  |  |                    } | 
 |  |  |                   if(flag ==1){ | 
 |  |  |                     this.duSolutionList.push({duWorktypeList:tempworktyps,solutionName:item.solutionName}) | 
 |  |  |                   } | 
 |  |  |                 }) | 
 |  |  |               if(flag ==1){ | 
 |  |  |                 this.duSolutionList.push({duWorktypeList:tempworktyps,solutionName:item.solutionName}) | 
 |  |  |               } | 
 |  |  |             }) | 
 |  |  |  | 
 |  |  |             console.log(this.form) | 
 |  |  |           }, | 
 |  |  |           doSubmit(type){ | 
 |  |  |             if (!this.checkInfo) { | 
 |  |  |               this.$message.warning('请输入审核说明!') | 
 |  |  |               return | 
 |  |  |             } | 
 |  |  |             this.$dialog.messageConfirm('确认进行该操作吗?') | 
 |  |  |                 .then(() => { | 
 |  |  |                   this.isWorking = true | 
 |  |  |                   checkWorktype({id:this.form.id,checkInfo:this.checkInfo,worktypeStatus:type}) | 
 |  |  |                       .then(response => { | 
 |  |  |                         this.visible = false | 
 |  |  |                         this.$emit('success') | 
 |  |  |                       }).catch(err => { | 
 |  |  |               .then(() => { | 
 |  |  |                 this.isWorking = true | 
 |  |  |                 checkWorktype({id:this.form.id,checkInfo:this.checkInfo,worktypeStatus:type}) | 
 |  |  |                   .then(response => { | 
 |  |  |                     this.visible = false | 
 |  |  |                     this.$emit('success') | 
 |  |  |                   }).catch(err => { | 
 |  |  |                     this.$tip.apiFailed(err) | 
 |  |  |                   }) | 
 |  |  |                 }) | 
 |  |  |               }) | 
 |  |  |           } | 
 |  |  |  | 
 |  |  |         } |