Browse Source

Merge remote-tracking branch 'origin/feature/dev_point_manage' into feature/dev_point_manage

master
wanggongfeng 3 years ago
parent
commit
ba2a1b6198
  1. 12
      src/views/modules/plugins/point/icpointnucleicmonitoring-add-or-update.vue
  2. 1
      src/views/modules/plugins/point/icpointnucleicmonitoring.vue
  3. 12
      src/views/modules/plugins/point/icpointvaccinesinoculation-add-or-update.vue
  4. 9
      src/views/modules/plugins/point/icpointvaccinesinoculation.vue

12
src/views/modules/plugins/point/icpointnucleicmonitoring-add-or-update.vue

@ -67,7 +67,7 @@
>查询</el-button >查询</el-button
> >
<div <div
id="map_app" id="map_add"
class="div_map" class="div_map"
style="width: 500px; height: 300px; margin-top: 20px" style="width: 500px; height: 300px; margin-top: 20px"
></div> ></div>
@ -96,12 +96,12 @@
</div> </div>
</el-form-item> </el-form-item>
</el-form> </el-form>
<template slot="footer"> <div class="submit">
<el-button @click="visible = false">{{ $t("cancel") }}</el-button> <el-button @click="visible = false">{{ $t("cancel") }}</el-button>
<el-button type="primary" @click="dataFormSubmitHandle()">{{ <el-button type="primary" @click="dataFormSubmitHandle()">{{
$t("confirm") $t("confirm")
}}</el-button> }}</el-button>
</template> </div>
</div> </div>
</template> </template>
@ -213,7 +213,7 @@ export default {
// //
var center = new window.TMap.LatLng(36.0722275, 120.38945519); var center = new window.TMap.LatLng(36.0722275, 120.38945519);
// map TMap.Map() // map TMap.Map()
map = new window.TMap.Map(document.getElementById("map_app"), { map = new window.TMap.Map(document.getElementById("map_add"), {
center: center, // center: center, //
zoom: 17.2, // zoom: 17.2, //
pitch: 43.5, // pitch: 43.5, //
@ -401,4 +401,8 @@ export default {
.position_label >>> .el-form-item__label::before{ .position_label >>> .el-form-item__label::before{
color:#fff!important; color:#fff!important;
} }
.submit{
text-align: center;
margin: auto;
}
</style> </style>

1
src/views/modules/plugins/point/icpointnucleicmonitoring.vue

@ -174,6 +174,7 @@
:destroy-on-close="true" :destroy-on-close="true"
> >
<add-or-update <add-or-update
v-if="addOrUpdateVisible"
ref="addOrUpdate" ref="addOrUpdate"
@refreshDataList="getDataList" @refreshDataList="getDataList"
></add-or-update> ></add-or-update>

12
src/views/modules/plugins/point/icpointvaccinesinoculation-add-or-update.vue

@ -69,6 +69,7 @@
<el-input <el-input
v-model="dataForm.address" v-model="dataForm.address"
placeholder="接种点地址" placeholder="接种点地址"
disabled
></el-input> ></el-input>
</el-form-item> </el-form-item>
<el-form-item label="位置坐标" class="position_label" prop="longitude" style="display: block"> <el-form-item label="位置坐标" class="position_label" prop="longitude" style="display: block">
@ -118,12 +119,12 @@
</div> </div>
</el-form-item> </el-form-item>
</el-form> </el-form>
<template slot="footer"> <div class="submit">
<el-button @click="visible = false">{{ $t("cancel") }}</el-button> <el-button @click="visible = false">{{ $t("cancel") }}</el-button>
<el-button type="primary" @click="dataFormSubmitHandle()">{{ <el-button type="primary" @click="dataFormSubmitHandle()">{{
$t("confirm") $t("confirm")
}}</el-button> }}</el-button>
</template> </div>
</div> </div>
</template> </template>
@ -252,7 +253,8 @@ export default {
}, },
}, },
mounted() { mounted() {
// this.getFormInfo(); console.log(document.getElementById("map_app"));
this.getFormInfo();
this.initMap(); this.initMap();
}, },
methods: { methods: {
@ -432,4 +434,8 @@ export default {
.position_label >>> .el-form-item__label::before{ .position_label >>> .el-form-item__label::before{
color:#fff!important; color:#fff!important;
} }
.submit{
text-align: center;
margin: auto;
}
</style> </style>

9
src/views/modules/plugins/point/icpointvaccinesinoculation.vue

@ -315,9 +315,18 @@ export default {
}; };
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
@import "@/assets/scss/modules/visual/communityManage.scss";
@import "@/assets/scss/modules/management/list-main.scss";
.exportBtn { .exportBtn {
display: flex; display: flex;
align-items: center; align-items: center;
margin-bottom: 20px; margin-bottom: 20px;
} }
.div_left_table {
margin-top: 10px;
margin-left: 15px;
background-color: #ffffff;
border-radius: 5px;
padding: 10px;
}
</style> </style>

Loading…
Cancel
Save