Browse Source

fix:修改按钮样式

master
123456 3 years ago
parent
commit
cf7fa066fd
  1. 13
      src/views/modules/plugins/point/icpointnucleicmonitoring-add-or-update.vue
  2. 1
      src/views/modules/plugins/point/icpointnucleicmonitoring.vue
  3. 10
      src/views/modules/plugins/point/icpointvaccinesinoculation-add-or-update.vue
  4. 9
      src/views/modules/plugins/point/icpointvaccinesinoculation.vue

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

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

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

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

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

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

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

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

Loading…
Cancel
Save