| | |
| | | </el-icon>更多</el-button> |
| | | <template #dropdown v-if="scope.row.domain == 3"> |
| | | <el-dropdown-menu teleported> |
| | | <el-dropdown-item command="a"> |
| | | <el-button type="primary" text icon="el-icon-paperclip" v-if="permission.oss_set" |
| | | <el-dropdown-item command="a" v-if="permission.oss_set"> |
| | | <el-button type="primary" text icon="el-icon-paperclip" |
| | | @click.stop="handleOpenOssSet(scope.row, scope.index)">存储配置</el-button> |
| | | </el-dropdown-item> |
| | | <el-dropdown-item command="b"> |
| | | <el-button type="primary" text icon="el-icon-share" v-if="permission.per_share && scope.row.domain == 3" |
| | | <el-dropdown-item command="b" v-if="permission.per_share && scope.row.domain == 3"> |
| | | <el-button type="primary" text icon="el-icon-share" |
| | | @click.stop="handleOpenDevicePerShare(scope.row, scope.index)">机场授权</el-button> |
| | | </el-dropdown-item> |
| | | <el-dropdown-item command="c"> <el-button type="primary" text icon="el-icon-position" |
| | | :disabled="!scope.row.status" v-if="permission.rang_con && scope.row.domain == 3" |
| | | <el-dropdown-item command="c" v-if="permission.rang_con && scope.row.domain == 3"> |
| | | <el-button type="primary" text icon="el-icon-position" |
| | | :disabled="!scope.row.status" |
| | | @click.stop="handleOpenRemoteDebugging(scope.row, scope.index)">远程调试</el-button> |
| | | </el-dropdown-item> |
| | | <el-dropdown-item command="d"><el-button type="primary" text icon="el-icon-collection" |
| | | v-if="permission.fly_device_offline" @click.stop="rollFirmware(scope.row)">固件版本管理</el-button> |
| | | <el-dropdown-item command="d" v-if="permission.fly_device_offline"> |
| | | <el-button type="primary" text icon="el-icon-collection" |
| | | @click.stop="rollFirmware(scope.row)">固件版本管理</el-button> |
| | | </el-dropdown-item> |
| | | <el-dropdown-item command="d" v-if="!scope.row.status"> |
| | | <el-button type="primary" text icon="el-icon-collection" @click.stop="dockNotLine(scope.row)"> |
| | | {{ scope.row.hidden_flag === 1 ? '设备上线' : '设备下线' }} |
| | | </el-button> |
| | | </el-dropdown-item> |
| | | <el-dropdown-item command="e"><el-button type="primary" text icon="el-icon-document-delete" |
| | | v-if="permission.fly_device_offline && scope.row.mode_code !==0" @click.stop="handleDeviceOffline(scope.row)">注销</el-button> |
| | | <el-dropdown-item command="e" v-if="permission.fly_device_offline && scope.row.mode_code !==0"> |
| | | <el-button type="primary" text icon="el-icon-document-delete" @click.stop="handleDeviceOffline(scope.row)">注销</el-button> |
| | | </el-dropdown-item> |
| | | <el-dropdown-item command="e"> |
| | | <el-button type="primary" text icon="el-icon-document-delete" v-if="permission.fly_device_offline" |
| | | <el-dropdown-item command="e" v-if="permission.fly_device_offline"> |
| | | <el-button type="primary" text icon="el-icon-document-delete" |
| | | :disabled="scope.row.dem_status === 1" @click.stop="handleStatus(scope.row)"> |
| | | {{ scope.row.dem_status === 0 ? '初始化地形' : (scope.row.dem_status === 1 ? '初始化中' : '更新地形') }} |
| | | </el-button> |