| | |
| | | <el-table-column prop="gmtModitify" label="修改时间" show-overflow-tooltip sortable></el-table-column> |
| | | <el-table-column label="操作" width="260" align="center"> |
| | | <template #default="scope"> |
| | | <el-button size="small" text type="primary" @click="releaseOfDrillPlan(0)"> |
| | | <el-icon style="margin-right: 5px;"> |
| | | <VideoPlay /> |
| | | </el-icon>启动 |
| | | </el-button> |
| | | <!--<el-button size="small" text type="primary" @click="releaseOfDrillPlan(0)">--> |
| | | <!--<el-icon style="margin-right: 5px;">--> |
| | | <!--<VideoPlay />--> |
| | | <!--</el-icon>启动--> |
| | | <!--</el-button>--> |
| | | <el-button size="small" text type="primary" @click="onEdit('详情',scope.row.id)"> |
| | | <el-icon style="margin-right: 5px;"> |
| | | <View /> |
| | |
| | | // flowRef.value.openDialog(row); |
| | | // }; |
| | | // 删除 |
| | | const onRowDel = (data: any) => { |
| | | const onRowDel = (id: number) => { |
| | | let arr = []; |
| | | arr.push(id) |
| | | ElMessageBox.confirm('确定删除所选项吗?', '提示',{ |
| | | confirmButtonText: '确认', |
| | | cancelButtonText: '取消', |
| | | type: 'warning', |
| | | }).then(() => { |
| | | releaseDrillPlanApi() |
| | | .deleteReleaseDrillPlan(data) |
| | | .deleteReleaseDrillPlan(arr) |
| | | .then((res) => { |
| | | if (res.data.code == 200) { |
| | | ElMessage({ |
| | |
| | | for (let i = 0; i < valId.length; i++) { |
| | | arr.push(valId[i].id); |
| | | } |
| | | deletAll.value = arr.toString(); |
| | | deletAll.value = arr; |
| | | // console.log(deletAll.value); |
| | | if (val.length == 1) { |
| | | danger.value = false; |