From cc2df46ba6192b1541b976cb992e2ea3f76b8fc7 Mon Sep 17 00:00:00 2001
From: luobisheng <727299681@qq.com>
Date: 星期五, 09 十二月 2022 17:32:54 +0800
Subject: [PATCH] 点位管理视频加载
---
src/views/systemSetting/device/bayonet/index.vue | 20 ++++----------------
1 files changed, 4 insertions(+), 16 deletions(-)
diff --git a/src/views/systemSetting/device/bayonet/index.vue b/src/views/systemSetting/device/bayonet/index.vue
index b3c01fd..47b00eb 100644
--- a/src/views/systemSetting/device/bayonet/index.vue
+++ b/src/views/systemSetting/device/bayonet/index.vue
@@ -4,19 +4,7 @@
<div class="header-content">
<div class="search">
<span style="padding-right: 20px">绛涢�夋潯浠�:</span>
- <el-select
- v-model="context"
- placeholder="璇烽�夋嫨"
- @change="getBayonetListData"
- >
- <el-option
- v-for="item in options"
- :key="item.value"
- :label="item.label"
- :value="item.value"
- >
- </el-option>
- </el-select>
+ <el-input v-model="context" placeholder="璇疯緭鍏�" @change="getBayonetListData"></el-input>
</div>
</div>
</header>
@@ -32,7 +20,7 @@
<el-button @click="handleExport">瀵煎嚭鍗″彛</el-button>
</div>
<!-- 鏁版嵁灞曠ず -->
- <MyTable :tableOption="tableOption" :tableData="list" :pageShow="false">
+ <MyTable :tableOption="tableOption" :get-table-list="getBayonetListData" :tableData="list" :pageShow="false">
<template #operation="info">
<el-link
:underline="false"
@@ -85,7 +73,7 @@
data() {
return {
isShowDialog: false,
- context: 0,
+ context: "",
options: [
{
value: 0,
@@ -150,7 +138,7 @@
getBayonetListData() {
bayonet
.getBayonetList({
- bayonetName: "",
+ bayonetName: this.context,
current: this.current,
size: this.size,
})
--
Gitblit v1.8.0