diff --git a/src/views/modules/plugins/point/icpointnucleicmonitoring-add-or-update.vue b/src/views/modules/plugins/point/icpointnucleicmonitoring-add-or-update.vue index 5529f3bde..d9cd4d37b 100644 --- a/src/views/modules/plugins/point/icpointnucleicmonitoring-add-or-update.vue +++ b/src/views/modules/plugins/point/icpointnucleicmonitoring-add-or-update.vue @@ -224,7 +224,7 @@ export default { }; }, }, - mounted() { + created() { this.getFormInfo(); }, props: { @@ -247,7 +247,7 @@ export default { }, // 地图初始化函数,本例取名为init,开发者可根据实际情况定义 initMap() { - let { latitude, longitude } = this.dataForm; + let { latitude, longitude } = this.$store.state.user; // 定义地图中心点坐标 if (!latitude || latitude == "" || latitude == "0") { latitude = 39.9088810666821; @@ -371,7 +371,7 @@ export default { this.$http .post(`/gov/org/agency/communityListByCustomerId`) .then(({ data: res }) => { - if (tMapres.code !== 0) { + if (res.code !== 0) { return this.$message.error(res.msg); } this.organizationList = res.data; @@ -384,7 +384,7 @@ export default { if (this.dataForm.id) { this.getInfo(); } else { - + this.initMap(); } }); diff --git a/src/views/modules/plugins/point/icpointnucleicmonitoring.vue b/src/views/modules/plugins/point/icpointnucleicmonitoring.vue index 00202d023..e84251927 100644 --- a/src/views/modules/plugins/point/icpointnucleicmonitoring.vue +++ b/src/views/modules/plugins/point/icpointnucleicmonitoring.vue @@ -112,6 +112,8 @@ v-loading="dataListLoading" :data="dataList" border + :row-key="row => { return row.id.toString() }" + :header-cell-style="{ background: '#2195FE', color: '#FFFFFF' }" style="width: 100%; height: 564px" > {{ "查看" }} {{ scope.row.longitude === null ? "待完善" : "修改" }} {{ $t("delete") }} - - + + - +
div{ +.time-block > div { margin-bottom: 10px; } .time-block span { diff --git a/src/views/modules/plugins/point/icpointvaccinesinoculation.vue b/src/views/modules/plugins/point/icpointvaccinesinoculation.vue index 803d35558..1bb5ea05b 100644 --- a/src/views/modules/plugins/point/icpointvaccinesinoculation.vue +++ b/src/views/modules/plugins/point/icpointvaccinesinoculation.vue @@ -102,7 +102,9 @@ v-loading="dataListLoading" :data="dataList" border - style="width: 100%; height: 564px" + :row-key="row => { return row.id.toString() }" + :header-cell-style="{ background: '#2195FE', color: '#FFFFFF' }" + style="width: 100%; height: 564px;overflow: auto;" > - - - - - - @@ -139,7 +135,7 @@ @@ -151,12 +147,14 @@ prop="noAvailableVaccines" label="暂无疫苗" header-align="center" + width="100" align="center" > {{ "查看" }} {{ scope.row.longitude === null ? "待完善" : "修改" }} {{ $t("delete") }} - - + +