完成 区域报告 事件报告 迁移
This commit is contained in:
@@ -821,11 +821,7 @@ export default {
|
||||
var newDivRms = $(
|
||||
` <div style="height:${
|
||||
this.vh
|
||||
};overflow: hidden;"><div class='bx' id='${rmsId}' style="zoom:${
|
||||
this.zoom
|
||||
};transform:scale(${
|
||||
1 / this.zoom
|
||||
});transform-origin:0 0;"></div></div>`
|
||||
};overflow: hidden;"><div class='bx' id='${rmsId}' ></div></div>`
|
||||
);
|
||||
newDivRms.insertAfter($("#rmsp"));
|
||||
$("#" + rmsId).css("height", picHeight);
|
||||
|
||||
@@ -502,9 +502,7 @@ export default {
|
||||
for (var step = 1; step < waveDatas.length; step++) {
|
||||
var waveId = 'wave' + step
|
||||
var newDivShunshi = $(` <div style="height:${this.vh};overflow: hidden;">
|
||||
<div class='bx1' id='${waveId}' style="zoom:${this.zoom};transform:scale(${
|
||||
1 / this.zoom
|
||||
});transform-origin:0 0;">
|
||||
<div class='bx1' id='${waveId}'>
|
||||
</div>
|
||||
</div>`)
|
||||
newDivShunshi.insertAfter($('#shushi'))
|
||||
|
||||
@@ -17,13 +17,13 @@
|
||||
</el-form-item>
|
||||
<slot name="select"></slot>
|
||||
</el-form>
|
||||
<template v-if="$slots.select || datePicker">
|
||||
<template v-if="($slots.select || datePicker) ">
|
||||
<el-button type="primary" @click="showSelectChange" v-if="showUnfoldButton">
|
||||
<Icon size="14" name="el-icon-ArrowUp" style="color: #fff" v-if="showSelect" />
|
||||
<Icon size="14" name="el-icon-ArrowDown" style="color: #fff" v-else />
|
||||
</el-button>
|
||||
<el-button @click="onComSearch" type="primary" :icon="Search">查询</el-button>
|
||||
<el-button @click="onResetForm" :icon="RefreshLeft">重置</el-button>
|
||||
<el-button @click="onComSearch" v-if="showSearch" type="primary" :icon="Search">查询</el-button>
|
||||
<el-button @click="onResetForm" v-if="showSearch" :icon="RefreshLeft">重置</el-button>
|
||||
</template>
|
||||
<slot name="operation"></slot>
|
||||
</div>
|
||||
@@ -56,11 +56,13 @@ const areaRef = ref()
|
||||
interface Props {
|
||||
datePicker?: boolean
|
||||
area?: boolean
|
||||
showSearch?: boolean
|
||||
}
|
||||
|
||||
const props = withDefaults(defineProps<Props>(), {
|
||||
datePicker: false,
|
||||
area: false
|
||||
area: false,
|
||||
showSearch: true
|
||||
})
|
||||
// 动态计算table高度
|
||||
const resizeObserver = new ResizeObserver(entries => {
|
||||
@@ -153,9 +155,8 @@ const onComSearch = async () => {
|
||||
const onResetForm = () => {
|
||||
tableStore.onTableAction('reset', {})
|
||||
}
|
||||
const setDatePicker = (list:any) => {
|
||||
const setDatePicker = (list: any) => {
|
||||
datePickerRef.value.setTimeOptions(list)
|
||||
|
||||
}
|
||||
|
||||
defineExpose({ onComSearch, areaRef, setDatePicker })
|
||||
|
||||
Reference in New Issue
Block a user