| | |
| | | <View /> |
| | | </el-icon>查看 |
| | | </el-button> |
| | | <el-button size="small" text type="primary" @click="onEdit('修改',scope.row.id)"> |
| | | <el-icon style="margin-right: 5px;"> |
| | | <EditPen /> |
| | | </el-icon>修改 |
| | | </el-button> |
| | | <!-- <el-button size="small" text type="primary" @click="onEdit('修改',scope.row.id)">--> |
| | | <!-- <el-icon style="margin-right: 5px;">--> |
| | | <!-- <EditPen />--> |
| | | <!-- </el-icon>修改--> |
| | | <!-- </el-button>--> |
| | | <el-button size="small" text type="primary" @click="onRowDel(scope.row.id)"> |
| | | <el-icon> |
| | | <Delete /> |
| | |
| | | /> |
| | | </div> |
| | | </el-card> |
| | | <SelectEmergencyPlan ref="showRef"/> |
| | | <SelectEmergencyPlan ref="showRef" @SearchUser="onUser"/> |
| | | <OpenSee ref="editRef" @myAdd="onMyAdd" /> |
| | | </div> |
| | | </template> |
| | |
| | | const daiInpt=()=>{ |
| | | showRef.value.openDailog() |
| | | } |
| | | const onUser = (e:any) => { |
| | | listQuery.searchParams.planId=e.id |
| | | }; |
| | | // 删除用户 |
| | | const onRowDel = (data: any) => { |
| | | ElMessageBox.confirm('确定删除所选项吗?', '提示',{ |
| | |
| | | deleteAll, |
| | | warning, |
| | | danger, |
| | | total, |
| | | onUser, |
| | | handleSelectionChange, |
| | | }; |
| | | }, |