Merge branch 'dev' of http://222.212.85.86:8222/bdzl2/bxztApp into dev
This commit is contained in:
commit
3c916bfbbd
@ -30,7 +30,11 @@
|
|||||||
<div class="info-item">
|
<div class="info-item">
|
||||||
<span class="info-dot"></span>
|
<span class="info-dot"></span>
|
||||||
<span class="info-label">影响点等级</span>
|
<span class="info-label">影响点等级</span>
|
||||||
<span class="info-value level-tag" :class="basicInfo.levelClass">{{ basicInfo.level }}</span>
|
<span
|
||||||
|
class="info-value level-tag"
|
||||||
|
:class="basicInfo.levelClass"
|
||||||
|
>{{ basicInfo.level }}</span
|
||||||
|
>
|
||||||
</div>
|
</div>
|
||||||
<div class="info-item">
|
<div class="info-item">
|
||||||
<span class="info-dot"></span>
|
<span class="info-dot"></span>
|
||||||
@ -47,7 +51,11 @@
|
|||||||
<div class="info-item">
|
<div class="info-item">
|
||||||
<span class="info-dot"></span>
|
<span class="info-dot"></span>
|
||||||
<span class="info-label">风险点描述</span>
|
<span class="info-label">风险点描述</span>
|
||||||
<span class="info-value" :class="getStatusClass(basicInfo.riskDesc)">{{ basicInfo.riskDesc }}</span>
|
<span
|
||||||
|
class="info-value"
|
||||||
|
:class="getStatusClass(basicInfo.riskDesc)"
|
||||||
|
>{{ basicInfo.riskDesc }}</span
|
||||||
|
>
|
||||||
</div>
|
</div>
|
||||||
<div class="info-item">
|
<div class="info-item">
|
||||||
<span class="info-dot"></span>
|
<span class="info-dot"></span>
|
||||||
@ -83,7 +91,11 @@
|
|||||||
填报动态信息
|
填报动态信息
|
||||||
</div>
|
</div>
|
||||||
<div class="timeline-list">
|
<div class="timeline-list">
|
||||||
<div v-for="(record, index) in dynamicRecords" :key="index" class="timeline-item">
|
<div
|
||||||
|
v-for="(record, index) in dynamicRecords"
|
||||||
|
:key="index"
|
||||||
|
class="timeline-item"
|
||||||
|
>
|
||||||
<div class="timeline-marker">{{ index + 1 }}</div>
|
<div class="timeline-marker">{{ index + 1 }}</div>
|
||||||
<div class="timeline-content">
|
<div class="timeline-content">
|
||||||
<div class="timeline-header">
|
<div class="timeline-header">
|
||||||
@ -101,13 +113,21 @@
|
|||||||
<div class="detail-row">
|
<div class="detail-row">
|
||||||
<span class="detail-label">现场情况描述:</span>
|
<span class="detail-label">现场情况描述:</span>
|
||||||
<span class="detail-value">{{ record.description }}</span>
|
<span class="detail-value">{{ record.description }}</span>
|
||||||
<div v-if="record.image" class="detail-image" @click="previewImage(record.image)">
|
<div
|
||||||
|
v-if="record.image"
|
||||||
|
class="detail-image"
|
||||||
|
@click="previewImage(record.image)"
|
||||||
|
>
|
||||||
<img :src="record.image" alt="现场照片" />
|
<img :src="record.image" alt="现场照片" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="detail-row">
|
<div class="detail-row">
|
||||||
<span class="detail-label">是否发现问题:</span>
|
<span class="detail-label">是否发现问题:</span>
|
||||||
<span class="detail-value" :class="record.hasProblem ? 'status-yes' : 'status-no'">{{ record.hasProblem ? '是' : '否' }}</span>
|
<span
|
||||||
|
class="detail-value"
|
||||||
|
:class="record.hasProblem ? 'status-yes' : 'status-no'"
|
||||||
|
>{{ record.hasProblem ? "是" : "否" }}</span
|
||||||
|
>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -118,7 +138,11 @@
|
|||||||
</base-dialog>
|
</base-dialog>
|
||||||
|
|
||||||
<!-- 图片预览弹窗 -->
|
<!-- 图片预览弹窗 -->
|
||||||
<div v-if="previewVisible" class="image-preview-overlay" @click="closePreview">
|
<div
|
||||||
|
v-if="previewVisible"
|
||||||
|
class="image-preview-overlay"
|
||||||
|
@click="closePreview"
|
||||||
|
>
|
||||||
<div class="image-preview-container" @click.stop>
|
<div class="image-preview-container" @click.stop>
|
||||||
<img :src="previewImageUrl" alt="预览" />
|
<img :src="previewImageUrl" alt="预览" />
|
||||||
<div class="close-preview-btn" @click="closePreview">
|
<div class="close-preview-btn" @click="closePreview">
|
||||||
@ -154,7 +178,8 @@ const basicInfo = ref({
|
|||||||
roadCode: "G348",
|
roadCode: "G348",
|
||||||
location: "丁吴路(K116+656至K116+739)",
|
location: "丁吴路(K116+656至K116+739)",
|
||||||
riskDesc: "未回应",
|
riskDesc: "未回应",
|
||||||
discoverTime: "立即启动防汛Ⅰ级应急响应,立即转移危险区群众,医疗机构做好应急准备",
|
discoverTime:
|
||||||
|
"立即启动防汛Ⅰ级应急响应,立即转移危险区群众,医疗机构做好应急准备",
|
||||||
});
|
});
|
||||||
|
|
||||||
// 照片列表
|
// 照片列表
|
||||||
@ -165,7 +190,7 @@ const photoList = ref([
|
|||||||
// 动态记录
|
// 动态记录
|
||||||
const dynamicRecords = ref([
|
const dynamicRecords = ref([
|
||||||
{
|
{
|
||||||
type: "隐患",
|
type: "首报",
|
||||||
patrolTime: "2026-03-28 14:30:00",
|
patrolTime: "2026-03-28 14:30:00",
|
||||||
patrolPerson: "刘伟",
|
patrolPerson: "刘伟",
|
||||||
description: "设置警示标识,半幅通行",
|
description: "设置警示标识,半幅通行",
|
||||||
@ -173,7 +198,7 @@ const dynamicRecords = ref([
|
|||||||
image: "https://via.placeholder.com/80x60/40a9ff/ffffff?text=现场",
|
image: "https://via.placeholder.com/80x60/40a9ff/ffffff?text=现场",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
type: "隐患",
|
type: "续报",
|
||||||
patrolTime: "2026-03-28 14:30:00",
|
patrolTime: "2026-03-28 14:30:00",
|
||||||
patrolPerson: "刘伟",
|
patrolPerson: "刘伟",
|
||||||
description: "设置警示标识,半幅通行",
|
description: "设置警示标识,半幅通行",
|
||||||
@ -218,13 +243,11 @@ watch(
|
|||||||
if (newVal && props.pointData) {
|
if (newVal && props.pointData) {
|
||||||
Object.assign(basicInfo.value, props.pointData);
|
Object.assign(basicInfo.value, props.pointData);
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
);
|
);
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
|
|
||||||
|
|
||||||
// 区块
|
// 区块
|
||||||
.section {
|
.section {
|
||||||
margin-bottom: 20px;
|
margin-bottom: 20px;
|
||||||
@ -498,6 +521,4 @@ watch(
|
|||||||
color: #fff;
|
color: #fff;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@ -219,6 +219,7 @@ const showCountyCardsOnMap = (dataList) => {
|
|||||||
emit("districtClick", {
|
emit("districtClick", {
|
||||||
name: countyName,
|
name: countyName,
|
||||||
data: item,
|
data: item,
|
||||||
|
type: item.type,
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
@ -1171,12 +1172,12 @@ const locateToDistrict = (countyName) => {
|
|||||||
if (selectedLayer) {
|
if (selectedLayer) {
|
||||||
geoJsonLayer.resetStyle(selectedLayer);
|
geoJsonLayer.resetStyle(selectedLayer);
|
||||||
}
|
}
|
||||||
targetLayer.setStyle({
|
// targetLayer.setStyle({
|
||||||
fillColor: "#ff7a00",
|
// fillColor: "#ff7a00",
|
||||||
fillOpacity: 0.6,
|
// fillOpacity: 0.6,
|
||||||
weight: 3,
|
// weight: 3,
|
||||||
color: "#ff4d4f",
|
// color: "#ff4d4f",
|
||||||
});
|
// });
|
||||||
selectedLayer = targetLayer;
|
selectedLayer = targetLayer;
|
||||||
|
|
||||||
console.log("已定位到区县:", countyName, "中心点:", center);
|
console.log("已定位到区县:", countyName, "中心点:", center);
|
||||||
|
|||||||
@ -34,7 +34,7 @@
|
|||||||
<slot name="filter"></slot>
|
<slot name="filter"></slot>
|
||||||
</div>
|
</div>
|
||||||
<!-- 数据表格 -->
|
<!-- 数据表格 -->
|
||||||
<div class="table-section">
|
<div class="table-section" v-if="props.tableData.length > 0">
|
||||||
<el-table
|
<el-table
|
||||||
:data="props.tableData"
|
:data="props.tableData"
|
||||||
:height="props.tableHeight"
|
:height="props.tableHeight"
|
||||||
@ -59,7 +59,10 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- 分页 -->
|
<!-- 分页 -->
|
||||||
<div class="pagination">
|
<div
|
||||||
|
class="pagination"
|
||||||
|
v-if="props.tableData.length > 0 && props.showPagination"
|
||||||
|
>
|
||||||
<el-pagination
|
<el-pagination
|
||||||
:current-page="props.currentPage"
|
:current-page="props.currentPage"
|
||||||
:page-size="props.pageSize"
|
:page-size="props.pageSize"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user