详情文件预览

This commit is contained in:
zhujiyan
2024-06-06 22:14:20 +08:00
parent 5722259cc1
commit b3fbb68881
15 changed files with 238 additions and 77 deletions

View File

@@ -14,7 +14,6 @@
v-model='form.deviceId'
:data='data'
filterable
:default-expand-all='true'
style='width: 100%'
@change='changeDevStatus'
clearable
@@ -59,8 +58,7 @@ import TableStore from '@/utils/tableStore' // 若不是列表页面弹框可删
import { getTerminalSelectTree } from '@/api/device-boot/Business'
import { addRunningDevice, quitRunningDeviceUpdate } from '@/api/supervision-boot/device/quitRunningDev'
import { getDeviceDetailData } from '@/api/device-boot/line'
import { defaultProps } from '@/utils/tree'
const devStatusList = ref([
{ 'name': '运行', 'value': '0' },
{ 'name': '检修', 'value': '1' },
@@ -178,7 +176,7 @@ const changeDevStatus = async (event: any) => {
defineExpose({ open })
</script>
<style scoped>
<style scoped lang="scss">
.el-upload-list__item {
transition: none !important;
}
@@ -186,4 +184,8 @@ defineExpose({ open })
.el-select {
min-width: 180px;
}
::v-deep .el-tree-node__children>div{
display: block !important;
}
</style>