fix: BUG修改
This commit is contained in:
parent
66d07e587e
commit
eee0f82504
@ -1,5 +1,5 @@
|
|||||||
.leftMenu {
|
.leftMenu {
|
||||||
width: 18%;
|
min-width: 300px;
|
||||||
min-height: 94%;
|
min-height: 94%;
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
// box-shadow: 0px 4px 4px 0px rgba(0, 55, 143, 0.2);
|
// box-shadow: 0px 4px 4px 0px rgba(0, 55, 143, 0.2);
|
||||||
|
|||||||
@ -116,7 +116,7 @@ const formData = ref<formData>({
|
|||||||
const handleEditItem = async (index: number, row: any) => {
|
const handleEditItem = async (index: number, row: any) => {
|
||||||
if (index === 1) {
|
if (index === 1) {
|
||||||
formConfig.formItemConfig[1].disabled = false;
|
formConfig.formItemConfig[1].disabled = false;
|
||||||
title.value = "新增视频";
|
title.value = "新增设备";
|
||||||
formData.value = reactive({
|
formData.value = reactive({
|
||||||
name: "",
|
name: "",
|
||||||
code: "",
|
code: "",
|
||||||
@ -131,7 +131,7 @@ const handleEditItem = async (index: number, row: any) => {
|
|||||||
address.value = { lng: undefined, lat: undefined };
|
address.value = { lng: undefined, lat: undefined };
|
||||||
} else {
|
} else {
|
||||||
formConfig.formItemConfig[1].disabled = true;
|
formConfig.formItemConfig[1].disabled = true;
|
||||||
title.value = "编辑视频";
|
title.value = "编辑设备";
|
||||||
formData.value = reactive({ ...row });
|
formData.value = reactive({ ...row });
|
||||||
address.value = { lng: row.lng, lat: row.lat };
|
address.value = { lng: row.lng, lat: row.lat };
|
||||||
// 判断后端返回的经纬度是不是为null
|
// 判断后端返回的经纬度是不是为null
|
||||||
|
|||||||
@ -69,7 +69,7 @@
|
|||||||
</el-form>
|
</el-form>
|
||||||
<!-- </div> -->
|
<!-- </div> -->
|
||||||
|
|
||||||
<div class="imgPage">
|
<!-- <div class="imgPage">
|
||||||
<div class="imgTable" v-if="questList.records.length">
|
<div class="imgTable" v-if="questList.records.length">
|
||||||
<div class="img_item" v-for="item in questList.records" @click="onShowImg(item)" :key="item.id">
|
<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" />
|
<el-image style="width: 100%; height: 182px" :src="item.image" fit="fill" />
|
||||||
@ -85,9 +85,9 @@
|
|||||||
<div v-else class="table-empty">
|
<div v-else class="table-empty">
|
||||||
<img src="@/assets/images/notData.png" alt="notData" />
|
<img src="@/assets/images/notData.png" alt="notData" />
|
||||||
<div>暂无数据</div>
|
<div>暂无数据</div>
|
||||||
</div>
|
</div> -->
|
||||||
<!-- :handleSizeChange="handleSizeChange" -->
|
<!-- :handleSizeChange="handleSizeChange" -->
|
||||||
<Pagination
|
<!-- <Pagination
|
||||||
:pageable="pageable"
|
:pageable="pageable"
|
||||||
:total="pageable.total"
|
:total="pageable.total"
|
||||||
:page-size="pageable.pageSize"
|
:page-size="pageable.pageSize"
|
||||||
@ -95,8 +95,8 @@
|
|||||||
:handleCurrentChange="handleCurrentChange"
|
:handleCurrentChange="handleCurrentChange"
|
||||||
:background="background"
|
:background="background"
|
||||||
class="pagination"
|
class="pagination"
|
||||||
/>
|
/> -->
|
||||||
</div>
|
<!-- </div> -->
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
@ -212,7 +212,7 @@ const columns: ColumnProps[] = [
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{ prop: "operation", label: "操作", fixed: "right" }
|
{ prop: "operation", label: "操作", fixed: "right", width: 260 }
|
||||||
];
|
];
|
||||||
// 弹窗中的配置
|
// 弹窗中的配置
|
||||||
const formConfig = reactive({
|
const formConfig = reactive({
|
||||||
|
|||||||
@ -141,7 +141,7 @@ const columns: ColumnProps[] = [
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{ prop: "operation", label: "操作", fixed: "right" }
|
{ prop: "operation", label: "操作", fixed: "right", width: 260 }
|
||||||
];
|
];
|
||||||
|
|
||||||
// 弹窗中的配置
|
// 弹窗中的配置
|
||||||
|
|||||||
@ -33,8 +33,12 @@
|
|||||||
<div class="page_text flx-justify-column">
|
<div class="page_text flx-justify-column">
|
||||||
<div class="img_title">{{ item.typeName }}</div>
|
<div class="img_title">{{ item.typeName }}</div>
|
||||||
<div style="display: flex; justify-content: space-between">
|
<div style="display: flex; justify-content: space-between">
|
||||||
<div style="font-size: 12px">位置:{{ item.deviceName }}</div>
|
<div style="font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis">
|
||||||
<div style="font-size: 12px">报警时间:{{ item.reportTime }}</div>
|
位置:{{ item.deviceName }}
|
||||||
|
</div>
|
||||||
|
<div style="font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis">
|
||||||
|
报警时间:{{ item.reportTime }}
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -114,7 +114,7 @@ const columns: ColumnProps[] = [
|
|||||||
{ prop: "code", label: "设备编码" },
|
{ prop: "code", label: "设备编码" },
|
||||||
{ prop: "hardwareId", label: "AI盒子编码" },
|
{ prop: "hardwareId", label: "AI盒子编码" },
|
||||||
|
|
||||||
{ prop: "operation", label: "操作", fixed: "right" }
|
{ prop: "operation", label: "操作", fixed: "right", width: 260 }
|
||||||
];
|
];
|
||||||
|
|
||||||
// 弹窗中的配置
|
// 弹窗中的配置
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user