| | |
| | | <div class="opts">
|
| | | <div class="opt" @click="openDialog">选择摄像机</div>
|
| | | </div>
|
| | | <div class="pick-num">已选({{pickNum}})</div>
|
| | | <div class="pick-num">已选 : {{ pickNum }}</div>
|
| | | </div>
|
| | | <div class="search">
|
| | | <el-input
|
| | |
| | | ></el-table-column>
|
| | | <el-table-column
|
| | | :align="'center'"
|
| | | prop="procName"
|
| | | prop="minute"
|
| | | label="轮询时长(分)"
|
| | | ></el-table-column>
|
| | | </el-table>
|
| | | </div>
|
| | |
|
| | | <el-pagination
|
| | | @size-change="handleSizeChange"
|
| | | @current-change="handleCurrentChange"
|
| | | :current-page="page"
|
| | | :page-sizes="[15, 30, 50, 100]"
|
| | | :page-size="15"
|
| | | layout="total, sizes, prev, pager, next, jumper"
|
| | | :total="total"
|
| | | >
|
| | | </el-pagination>
|
| | |
|
| | | <el-dialog
|
| | | title="选择摄像机"
|
| | |
| | | dialogVisible: false,
|
| | | procID: "",
|
| | | procName: "",
|
| | | pickNum:0
|
| | | pickNum: 0,
|
| | | };
|
| | | },
|
| | | mounted() {
|
| | |
| | | this.getOptions();
|
| | | },
|
| | | methods: {
|
| | | handleSizeChange(val) {
|
| | | this.pageSize = val;
|
| | | this.getOperationLog();
|
| | | },
|
| | | handleCurrentChange(val) {
|
| | | this.page = val;
|
| | | this.getOperationLog();
|
| | | },
|
| | | cancelShow() {
|
| | | this.dialogVisible = false;
|
| | | this.pickAllNot();
|
| | |
| | | },
|
| | | confirmCamera() {
|
| | | const selectedIDs = this.$refs.cameraTree.getCheckedKeys();
|
| | | this.pickNum = selectedIDs.length
|
| | | this.pickNum = selectedIDs.length;
|
| | | this.procID = selectedIDs.join(",");
|
| | | this.getScheduleLog();
|
| | | this.dialogVisible = false;
|
| | |
| | | display: flex;
|
| | | justify-content: space-between;
|
| | | align-items: center;
|
| | | .title,.pick-num {
|
| | | .title,
|
| | | .pick-num {
|
| | | margin-right: 10px;
|
| | | font-size: 14px;
|
| | | min-width: fit-content;
|
| | | }
|
| | | .opts {
|
| | | display: flex;
|
| | | justify-content: space-between;
|
| | | .opt {
|
| | | width: fit-content;
|
| | | width: 70px;
|
| | | height: 32px;
|
| | | padding: 0 15px;
|
| | | border-radius: 4px;
|
| | |
| | | border-radius: 5px;
|
| | | padding: 12px;
|
| | | background-color: white;
|
| | | |
| | | .tableBox {
|
| | | th {
|
| | | padding: 0 !important;
|
| | |
| | | }
|
| | | }
|
| | | }
|
| | | .el-pagination {
|
| | | padding: 20px 5px;
|
| | | height: 100%;
|
| | | box-sizing: border-box;
|
| | | background-color: white;
|
| | | }
|
| | | }
|
| | | </style>
|