ClusterResult.vue 5.52 KB
<template>
    <a-form :model="queryAlarmEventForm" layout="inline">
        <a-form-item label="平台:">
            <a-select v-model:value="queryAlarmEventForm.buildingId" style="width: 200px">
                <a-select-option value="shanghai">Zone one</a-select-option>
                <a-select-option value="beijing">Zone two</a-select-option>
            </a-select>
        </a-form-item>
        <a-form-item label="集团:">
            <a-select v-model:value="queryAlarmEventForm.buildingId" style="width: 200px">
                <a-select-option value="shanghai">Zone one</a-select-option>
                <a-select-option value="beijing">Zone two</a-select-option>
            </a-select>
        </a-form-item>
        <a-form-item label="广场:">
            <a-select v-model:value="queryAlarmEventForm.buildingId" style="width: 200px">
                <a-select-option value="shanghai">Zone one</a-select-option>
                <a-select-option value="beijing">Zone two</a-select-option>
            </a-select>
        </a-form-item>
        <a-form-item label="出入类型:">
            <a-select v-model:value="queryAlarmEventForm.buildingId" style="width: 200px">
                <a-select-option value="shanghai">Zone one</a-select-option>
                <a-select-option value="beijing">Zone two</a-select-option>
            </a-select>
        </a-form-item>
        <a-form-item label="门店:">
            <a-select v-model:value="queryAlarmEventForm.buildingId" style="width: 200px">
                <a-select-option value="shanghai">Zone one</a-select-option>
                <a-select-option value="beijing">Zone two</a-select-option>
            </a-select>
        </a-form-item>
        <a-form-item label="监控点:">
            <a-select v-model:value="queryAlarmEventForm.buildingId" style="width: 200px">
                <a-select-option value="shanghai">Zone one</a-select-option>
                <a-select-option value="beijing">Zone two</a-select-option>
            </a-select>
        </a-form-item>
        <a-form-item label="方向:">
            <a-select v-model:value="queryAlarmEventForm.buildingId" style="width: 200px">
                <a-select-option value="shanghai">Zone one</a-select-option>
                <a-select-option value="beijing">Zone two</a-select-option>
            </a-select>
        </a-form-item>
        <a-form-item label="抓怕类型:">
            <a-select v-model:value="queryAlarmEventForm.buildingId" style="width: 200px">
                <a-select-option value="shanghai">Zone one</a-select-option>
                <a-select-option value="beijing">Zone two</a-select-option>
            </a-select>
        </a-form-item>
        <a-form-item label="人员类型:">
            <a-select v-model:value="queryAlarmEventForm.buildingId" style="width: 200px">
                <a-select-option value="shanghai">Zone one</a-select-option>
                <a-select-option value="beijing">Zone two</a-select-option>
            </a-select>
        </a-form-item>
        <a-form-item label="选择日期:">
            <a-range-picker
                v-model:value="queryAlarmEventForm.time"
                :show-time="{ format: 'HH:mm' }"
                format="YYYY-MM-DD HH:mm"
            />
        </a-form-item>
        <a-form-item>
            <a-button type="primary" @click="onSubmit">查询</a-button>
        </a-form-item>
    </a-form>
    <el-row>
        <el-col :span="6">
            <div>
                <div class="folder-body">
                    <div class="folder-cover-image">
                        <el-image :fit="'contain'"
                                  style="height: 300px;">
                        </el-image>
                    </div>
                </div>
            </div>
        </el-col>
    </el-row>

    <el-pagination @current-change="onPageNumChange"
                   @size-change="onPageSizeChange"
                   :current-page="pageNum"
                   :page-size="pageSize"
                   :total="total"
                   :page-sizes="[12, 24, 36, 48]"
                   layout="total, sizes, prev, pager, next, jumper"
                   style="text-align:center"
    >
    </el-pagination>
</template>

<script>
import {reactive, ref} from 'vue'

export default {
    setup() {
        // scalar
        const pageNum = ref(1)
        const pageSize = ref(12)
        const total = ref()
        const queryAlarmEventForm = reactive(
            {
                projectId: 'jack',
                buildingId: '',
                floorId: '',
                monitorPointId: '',
                deviceNo: '',
                startDate: '',
                endDate: '',
                sjlx: '',
                typeId: '',
                urgency: '',
                time: '',
            }
        )
        // function
        const onPageNumChange = function(num) {
            pageNum.value = num
            getPeopleImageFolderList()

        }
        const onPageSizeChange = function(size) {
            pageNum.value = 1
            pageSize.value = size
            getPeopleImageFolderList()
        }

        const getPeopleImageFolderList = function() {

        }

        const onSubmit = function() {

        }

        return {
            // scalar
            pageNum,
            pageSize,
            total,
            // sequence
            // mapping
            queryAlarmEventForm,
            // function
            onPageNumChange,
            onPageSizeChange,
            onSubmit,
        }
    }
}
</script>

<style scoped>

</style>