|
|
@@ -147,19 +147,19 @@
|
|
|
<el-dialog :title="dialog.title" v-model="dialog.visible" width="1500px" style="height: 750px" append-to-body>
|
|
|
<el-row :gutter="20" style="height: 100%; display: flex">
|
|
|
<!--设备列表-->
|
|
|
- <el-col :span="6" style="height: 100%; overflow: auto; border-right: 1px solid #eee; padding-right: 10px">
|
|
|
- <el-row style="margin-bottom: 10px">
|
|
|
+ <el-col :span="6" style="height: 100%; overflow: auto; padding-right: 10px">
|
|
|
+ <el-row style="margin-bottom: 13px;margin-top: 5px">
|
|
|
<el-input v-model="queryParams.deviceName" placeholder="请输入设备名称" clearable style="width: 270px" />
|
|
|
<el-button type="primary" @click="getDeviceList" style="margin-left: 10px">查询</el-button>
|
|
|
</el-row>
|
|
|
- <el-table v-loading="loading" :data="deviceList" @selection-change="handleSelectDevice" style="height: 520px">
|
|
|
+ <el-table v-loading="loading" border fit highlight-current-row :data="deviceList" @selection-change="handleSelectDevice" style="height: 520px">
|
|
|
<el-table-column type="selection" width="55" align="center" />
|
|
|
<el-table-column label="设备名称" align="left" prop="name" :show-overflow-tooltip="true" />
|
|
|
</el-table>
|
|
|
</el-col>
|
|
|
<!--发布名称-->
|
|
|
- <el-col :span="9" style="height: 100%; overflow: auto; padding-left: 10px">
|
|
|
- <el-form ref="itemPushFormRef" :model="form" :rules="rules" label-width="60px">
|
|
|
+ <el-col :span="9" style="height: 570px; overflow: auto; border: 1px solid #eee; padding-left: 10px">
|
|
|
+ <el-form ref="itemPushFormRef" :model="form" :rules="rules" style="margin-top: 5px" label-width="60px">
|
|
|
<el-form-item label="名称" prop="name">
|
|
|
<el-input v-model="form.name" placeholder="请输入名称" />
|
|
|
</el-form-item>
|
|
|
@@ -214,7 +214,7 @@
|
|
|
<el-col :span="9" style="height: 100%; overflow: auto; padding-left: 10px">
|
|
|
<!--轮播组 -->
|
|
|
<div v-if="form.itemType === 1 || form.itemType === 3">
|
|
|
- <el-table v-loading="loading" :data="itemList" style="height: 570px">
|
|
|
+ <el-table v-loading="loading" border fit highlight-current-row :data="itemList" style="height: 570px">
|
|
|
<el-table-column label="ID" width="200" align="left" :show-overflow-tooltip="true">
|
|
|
<template #default="{ row }">
|
|
|
<el-radio v-model="selectedRowId" :label="row.id" @change="handleRadioChange(row)" />
|
|
|
@@ -227,7 +227,7 @@
|
|
|
</div>
|
|
|
<!-- 素材 -->
|
|
|
<div v-if="form.itemType === 4 ">
|
|
|
- <el-table v-loading="loading" :data="minioDataList" style="height: 570px" @selection-change="handleSelectionMinioChange">
|
|
|
+ <el-table v-loading="loading" border fit highlight-current-row :data="minioDataList" style="height: 570px" @selection-change="handleSelectionMinioChange">
|
|
|
<el-table-column type="selection" width="40" align="center" />
|
|
|
<el-table-column label="ID" prop="id" width="170" align="left" :show-overflow-tooltip="true" />
|
|
|
<el-table-column label="文件" align="left" prop="originalName" :show-overflow-tooltip="true" />
|
|
|
@@ -278,7 +278,7 @@
|
|
|
|
|
|
<el-row :gutter="20">
|
|
|
<el-col :span="12">
|
|
|
- <el-table v-loading="deviceLoading" :data="pushSourceList" style="height: 500px; margin-top: 10px">
|
|
|
+ <el-table v-loading="deviceLoading" border fit highlight-current-row :data="pushSourceList" style="height: 542px; margin-top: 10px">
|
|
|
<el-table-column label="排序" align="center" prop="sort" width="60" :show-overflow-tooltip="true" />
|
|
|
<el-table-column label="时长" align="center" prop="duration" width="80" :show-overflow-tooltip="true"/>
|
|
|
<el-table-column label="资源" align="left" prop="fileName" :show-overflow-tooltip="true"/>
|
|
|
@@ -300,7 +300,7 @@
|
|
|
<!--设备列表-->
|
|
|
<el-button type="primary" v-if="removeItemTag" icon="Bottom" :disabled="removeButtonTag"
|
|
|
@click="handleDoRemoveItem()" style="margin-top: 10px"> 下架 </el-button>
|
|
|
- <el-table v-loading="deviceLoading" :data="pushDeviceList" style="height: 500px; margin-top: 10px"
|
|
|
+ <el-table v-loading="deviceLoading" border fit highlight-current-row :data="pushDeviceList" style="height: 500px; margin-top: 10px"
|
|
|
@selection-change="handleDeviceSelectionChange">
|
|
|
<el-table-column type="selection" v-if="removeItemTag" width="55" align="center" />
|
|
|
<el-table-column label="设备名称" align="left" prop="deviceName" :show-overflow-tooltip="true" />
|
|
|
@@ -316,7 +316,7 @@
|
|
|
<template #default="scope">
|
|
|
<el-tooltip content="下架" placement="top">
|
|
|
<el-button link type="primary" icon="Bottom" @click="handleDoRemoveItem(scope.row)"
|
|
|
- v-hasPermi="['source:itemPush:edit']"></el-button>
|
|
|
+ v-hasPermi="['source:itemPush:edit']">下架</el-button>
|
|
|
</el-tooltip>
|
|
|
</template>
|
|
|
</el-table-column>
|