up
This commit is contained in:
@ -112,7 +112,7 @@
|
||||
class="but"
|
||||
type="primary"
|
||||
:disabled="multipleSelection.length < 1"
|
||||
@click="subText"
|
||||
@click="centerDialogVisible = true"
|
||||
>
|
||||
发布预警短信
|
||||
</el-button>
|
||||
@ -170,6 +170,19 @@
|
||||
</div>
|
||||
</el-collapse-item>
|
||||
</el-collapse>
|
||||
<el-dialog v-model="centerDialogVisible" title="系统提示" width="30%" center>
|
||||
<span>
|
||||
是否确认发送预警短信?
|
||||
</span>
|
||||
<template #footer>
|
||||
<span class="dialog-footer">
|
||||
<el-button @click="centerDialogVisible = false">取消</el-button>
|
||||
<el-button type="primary" @click="subText">
|
||||
确定
|
||||
</el-button>
|
||||
</span>
|
||||
</template>
|
||||
</el-dialog>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@ -204,7 +217,7 @@ import 'echarts-gl';
|
||||
const value = ref();
|
||||
|
||||
let clickInfoMap = ref({ name: '', value: '' });
|
||||
|
||||
let centerDialogVisible = ref(false)
|
||||
let rightWraFlag = ref(false);
|
||||
let code = window.localStorage.getItem('deptName');
|
||||
|
||||
@ -525,7 +538,7 @@ function initMap() {
|
||||
view.animate({
|
||||
center: [lon, lat],
|
||||
duration: 1000,
|
||||
zoom: 13,
|
||||
// zoom: 13,
|
||||
});
|
||||
// 获取Feature的其他属性(例如,自定义属性'id')
|
||||
const featureId = feature.get('id');
|
||||
@ -573,7 +586,7 @@ function initMap() {
|
||||
// 设置覆盖层的内容
|
||||
infoOverlay.getElement().innerHTML = `
|
||||
<div class="info-window" >
|
||||
<div class="close-btn" ><span>人员信息</span><img src="${guanbi}" alt=""/> </div>
|
||||
<div class="close-btn" ><span>种粮大户信息</span><img src="${guanbi}" alt=""/> </div>
|
||||
<div class="content" style="color:white;font-size: 16px">
|
||||
<div class="line" style="margin-top: 10px"><div class="label">姓名:</div><span>${clickInformationData.name}</span></div>
|
||||
<div class="line" style="margin-top: 10px"><div class="label">手机:</div><span>${clickInformationData.phone}</span></div>
|
||||
@ -888,6 +901,7 @@ const selectTime = () => {
|
||||
};
|
||||
const subText = () => {
|
||||
//发送短信
|
||||
centerDialogVisible.value = false;
|
||||
getsendSms(multipleSelection.value).then(res => {
|
||||
if (res.data.code == '200') {
|
||||
ElMessage({
|
||||
|
Reference in New Issue
Block a user