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 >查询</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>
@ -95,12 +95,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>
@ -203,6 +203,7 @@ export default {
}, },
}, },
created() { created() {
console.log(document.getElementById("map_add"));
this.getFormInfo(); this.getFormInfo();
this.initMap(); this.initMap();
}, },
@ -212,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, //
@ -396,4 +397,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

@ -147,6 +147,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>

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

@ -73,6 +73,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">
@ -122,12 +123,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>
@ -270,6 +271,7 @@ export default {
}, },
}, },
mounted() { mounted() {
console.log(document.getElementById("map_app"));
this.getFormInfo(); this.getFormInfo();
this.initMap(); this.initMap();
}, },
@ -450,4 +452,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

@ -323,9 +323,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