|
@@ -0,0 +1,62 @@
|
|
|
+<template>
|
|
|
+ <com-head :options="headOptions" v-model="params.pagging.state.query.type">
|
|
|
+ <el-form label-width="94px" inline>
|
|
|
+ <slot name="header" />
|
|
|
+ <el-form-item label="版本号">
|
|
|
+ <el-input placeholder="请输入"></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item class="searh-btns" style="grid-area: 1 / 4 / 2 / 4">
|
|
|
+ <el-button type="primary" @click="params.pagging.refresh"
|
|
|
+ >查询</el-button
|
|
|
+ >
|
|
|
+ <el-button type="primary" plain @click="params.pagging.queryReset"
|
|
|
+ >重置</el-button
|
|
|
+ >
|
|
|
+ </el-form-item>
|
|
|
+ </el-form>
|
|
|
+ </com-head>
|
|
|
+
|
|
|
+ <div class="body-layer">
|
|
|
+ <slot name="content" />
|
|
|
+ <el-table
|
|
|
+ :data="tableData"
|
|
|
+ tooltip-effect="dark"
|
|
|
+ style="width: 100%"
|
|
|
+ size="large"
|
|
|
+ >
|
|
|
+ <el-table-column label="版本号" prop="deptName"></el-table-column>
|
|
|
+ <el-table-column
|
|
|
+ label="版本更新说明"
|
|
|
+ prop="deptLevelStr"
|
|
|
+ ></el-table-column>
|
|
|
+ <el-table-column label="最低版本号" prop="deptLevelStr"></el-table-column>
|
|
|
+ <el-table-column label="创建人" prop="deptLevelStr"></el-table-column>
|
|
|
+ <el-table-column label="创建时间" prop="deptLevelStr"></el-table-column>
|
|
|
+ <el-table-column label="状态" prop="deptLevelStr"></el-table-column>
|
|
|
+ </el-table>
|
|
|
+ <com-pagination
|
|
|
+ @size-change="params.pagging.changPageSize"
|
|
|
+ @current-change="params.pagging.changPageCurrent"
|
|
|
+ :current-page="params.pagging.state.pag.currentPage"
|
|
|
+ :page-size="params.pagging.state.pag.size"
|
|
|
+ :total="params.pagging.state.pag.total"
|
|
|
+ />
|
|
|
+ </div>
|
|
|
+</template>
|
|
|
+<script lang="ts" setup>
|
|
|
+import { ref } from "vue";
|
|
|
+import comHead from "@/components/head/index.vue";
|
|
|
+import comPagination from "@/components/pagination/index.vue";
|
|
|
+import { useScenePaggingParams } from "./paging";
|
|
|
+import { CameraType } from "@/store/camera";
|
|
|
+
|
|
|
+const tableData = ref();
|
|
|
+
|
|
|
+const headOptions = [
|
|
|
+ { value: CameraType.SWKJ, name: "双目转台" },
|
|
|
+ { value: CameraType.SWSS1, name: "激光转台" },
|
|
|
+ { value: CameraType.SWSS2, name: "激光移动" },
|
|
|
+];
|
|
|
+
|
|
|
+const params = useScenePaggingParams();
|
|
|
+</script>
|