修改页面样式
This commit is contained in:
@@ -11,7 +11,7 @@
|
|||||||
<span>监测点</span>
|
<span>监测点</span>
|
||||||
</div> -->
|
</div> -->
|
||||||
</div>
|
</div>
|
||||||
<div class="bmSelect">
|
<!-- <div class="bmSelect">
|
||||||
<el-select
|
<el-select
|
||||||
v-model="value"
|
v-model="value"
|
||||||
@change="setIcon"
|
@change="setIcon"
|
||||||
@@ -28,7 +28,7 @@
|
|||||||
:value="item.stationName"
|
:value="item.stationName"
|
||||||
/>
|
/>
|
||||||
</el-select>
|
</el-select>
|
||||||
</div>
|
</div> -->
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
<baidu-map
|
<baidu-map
|
||||||
|
|||||||
@@ -19,7 +19,7 @@
|
|||||||
:key="keyof"
|
:key="keyof"
|
||||||
@load="onIframeLoad"
|
@load="onIframeLoad"
|
||||||
></iframe>
|
></iframe>
|
||||||
<el-button class="backButton" @click="backButton" size="small" :icon="Back"
|
<el-button v-if="!store.state.showMap" class="backButton" @click="backButton" size="small" :icon="Back"
|
||||||
>返回</el-button
|
>返回</el-button
|
||||||
>
|
>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -63,7 +63,12 @@
|
|||||||
</div>
|
</div>
|
||||||
<template #footer>
|
<template #footer>
|
||||||
<el-button :icon="Close" @click="setUp" size="small">取消</el-button>
|
<el-button :icon="Close" @click="setUp" size="small">取消</el-button>
|
||||||
<el-button type="primary" :icon="Check" @click="save" size="small"
|
<el-button
|
||||||
|
type="primary"
|
||||||
|
:icon="Check"
|
||||||
|
@click="save"
|
||||||
|
size="small"
|
||||||
|
:loading="loading"
|
||||||
>确定</el-button
|
>确定</el-button
|
||||||
>
|
>
|
||||||
</template>
|
</template>
|
||||||
@@ -81,6 +86,7 @@ const machineVisible = ref(false);
|
|||||||
const title = ref("报表导出");
|
const title = ref("报表导出");
|
||||||
const timeValue = ref([]);
|
const timeValue = ref([]);
|
||||||
const deptLists = ref();
|
const deptLists = ref();
|
||||||
|
const loading = ref(false);
|
||||||
//form表单校验规则
|
//form表单校验规则
|
||||||
const emit = defineEmits(["flushed"]);
|
const emit = defineEmits(["flushed"]);
|
||||||
const checkAll = ref(false);
|
const checkAll = ref(false);
|
||||||
@@ -157,7 +163,8 @@ const save = () => {
|
|||||||
(form.value.searchBeginTime = timeValue.value[0]),
|
(form.value.searchBeginTime = timeValue.value[0]),
|
||||||
(form.value.searchEndTime = timeValue.value[1]);
|
(form.value.searchEndTime = timeValue.value[1]);
|
||||||
|
|
||||||
exportForms(form.value).then((res: any) => {
|
exportForms(form.value)
|
||||||
|
.then((res: any) => {
|
||||||
let blob = new Blob([res], {
|
let blob = new Blob([res], {
|
||||||
type: "application/vnd.openxmlformats-officedocument.wordprocessingml.document;charset=UTF-8",
|
type: "application/vnd.openxmlformats-officedocument.wordprocessingml.document;charset=UTF-8",
|
||||||
});
|
});
|
||||||
@@ -172,6 +179,10 @@ const save = () => {
|
|||||||
document.body.removeChild(link);
|
document.body.removeChild(link);
|
||||||
|
|
||||||
machineVisible.value = false;
|
machineVisible.value = false;
|
||||||
|
loading.value = false;
|
||||||
|
})
|
||||||
|
.catch((err) => {
|
||||||
|
loading.value = false;
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user