fix: BUG修改

This commit is contained in:
kun 2023-05-29 20:25:23 +08:00
parent 66d07e587e
commit eee0f82504
7 changed files with 18 additions and 14 deletions

View File

@ -1,5 +1,5 @@
.leftMenu {
width: 18%;
min-width: 300px;
min-height: 94%;
border-radius: 5px;
// box-shadow: 0px 4px 4px 0px rgba(0, 55, 143, 0.2);

View File

@ -116,7 +116,7 @@ const formData = ref<formData>({
const handleEditItem = async (index: number, row: any) => {
if (index === 1) {
formConfig.formItemConfig[1].disabled = false;
title.value = "新增视频";
title.value = "新增设备";
formData.value = reactive({
name: "",
code: "",
@ -131,7 +131,7 @@ const handleEditItem = async (index: number, row: any) => {
address.value = { lng: undefined, lat: undefined };
} else {
formConfig.formItemConfig[1].disabled = true;
title.value = "编辑视频";
title.value = "编辑设备";
formData.value = reactive({ ...row });
address.value = { lng: row.lng, lat: row.lat };
// null

View File

@ -69,7 +69,7 @@
</el-form>
<!-- </div> -->
<div class="imgPage">
<!-- <div class="imgPage">
<div class="imgTable" v-if="questList.records.length">
<div class="img_item" v-for="item in questList.records" @click="onShowImg(item)" :key="item.id">
<el-image style="width: 100%; height: 182px" :src="item.image" fit="fill" />
@ -85,9 +85,9 @@
<div v-else class="table-empty">
<img src="@/assets/images/notData.png" alt="notData" />
<div>暂无数据</div>
</div>
<!-- :handleSizeChange="handleSizeChange" -->
<Pagination
</div> -->
<!-- :handleSizeChange="handleSizeChange" -->
<!-- <Pagination
:pageable="pageable"
:total="pageable.total"
:page-size="pageable.pageSize"
@ -95,8 +95,8 @@
:handleCurrentChange="handleCurrentChange"
:background="background"
class="pagination"
/>
</div>
/> -->
<!-- </div> -->
</div>
</div>

View File

@ -212,7 +212,7 @@ const columns: ColumnProps[] = [
}
}
},
{ prop: "operation", label: "操作", fixed: "right" }
{ prop: "operation", label: "操作", fixed: "right", width: 260 }
];
//
const formConfig = reactive({

View File

@ -141,7 +141,7 @@ const columns: ColumnProps[] = [
}
}
},
{ prop: "operation", label: "操作", fixed: "right" }
{ prop: "operation", label: "操作", fixed: "right", width: 260 }
];
//

View File

@ -33,8 +33,12 @@
<div class="page_text flx-justify-column">
<div class="img_title">{{ item.typeName }}</div>
<div style="display: flex; justify-content: space-between">
<div style="font-size: 12px">位置{{ item.deviceName }}</div>
<div style="font-size: 12px">报警时间{{ item.reportTime }}</div>
<div style="font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis">
位置{{ item.deviceName }}
</div>
<div style="font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis">
报警时间{{ item.reportTime }}
</div>
</div>
</div>
</div>

View File

@ -114,7 +114,7 @@ const columns: ColumnProps[] = [
{ prop: "code", label: "设备编码" },
{ prop: "hardwareId", label: "AI盒子编码" },
{ prop: "operation", label: "操作", fixed: "right" }
{ prop: "operation", label: "操作", fixed: "right", width: 260 }
];
//