From 9529b0ac0372c904274095123d9f0046d795a4f3 Mon Sep 17 00:00:00 2001 From: yz3456 <2753272399@qq.com> Date: 星期一, 24 六月 2024 17:23:27 +0800 Subject: [PATCH] 修改了直播回放 --- ruoyi-ui/src/views/meeting/webcast.vue | 46 +++++++++++++++++++++++++++++++--------------- 1 files changed, 31 insertions(+), 15 deletions(-) diff --git a/ruoyi-ui/src/views/meeting/webcast.vue b/ruoyi-ui/src/views/meeting/webcast.vue index 109725a..d6a7d2b 100644 --- a/ruoyi-ui/src/views/meeting/webcast.vue +++ b/ruoyi-ui/src/views/meeting/webcast.vue @@ -10,12 +10,12 @@ <span>鐩存挱</span> <div class="button-container"></div> <div style="display: flex; align-items: center;"> - <el-button size="mini" type="text" v-hasPermi="['person:information:memo']" style="margin-left: 200px"> +<!-- <el-button size="mini" type="text" v-hasPermi="['person:information:memo']" style="margin-left: 200px"> <div class="form" @click="newRequest"><el-icon style="padding-right:100px;"></el-icon> <span class="text" style="width: 69px;height: 26px;font-size: 16px; font-family: Microsoft YaHei-Regular, Microsoft YaHei; color: #EBA4AA;">鐩存挱鐢宠</span> </div> - </el-button> + </el-button> --> </div> </h1> @@ -40,6 +40,21 @@ opacity: 1;">閲嶇疆</el-button> </el-form-item> </el-form> + + <el-row :gutter="10" class="mb8"> + <el-col :span="1.5"> + <el-button + type="primary" + plain + icon="el-icon-plus" + size="mini" + @click="newRequest" + v-hasPermi="['person:information:memo']" + >鏂板</el-button> + </el-col> + + <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar> + </el-row> <el-row :gutter="0" v-loading="loading"> <el-col :span="4" v-for="(item,i) in webcastList"> @@ -152,22 +167,12 @@ } from "@/api/meeting/index"; export default { - /** 鎼滅储鎸夐挳鎿嶄綔 */ - handleQuery() { - this.queryParams.pageNum = 1; - this.getList(); - }, - /** 閲嶇疆鎸夐挳鎿嶄綔 */ - resetQuery() { - this.dateRange = []; - this.resetForm("queryForm"); - this.handleQuery(); - }, created() { this.getList(); }, data() { return { + showSearch: true, pageSizes: [12, 24, 36], webcastList:[], // 鎬绘潯鏁� @@ -200,6 +205,17 @@ } }, methods: { + /** 鎼滅储鎸夐挳鎿嶄綔 */ + handleQuery() { + this.queryParams.pageNum = 1; + this.getList(); + }, + /** 閲嶇疆鎸夐挳鎿嶄綔 */ + resetQuery() { + this.dateRange = []; + this.resetForm("queryForm"); + this.handleQuery(); + }, newRequest() { // this.reset(); this.open = true; @@ -240,7 +256,7 @@ this.queryParams.happenEndTime = this.dateRange.length > 0 && this.dateRange[1] listWebcast(this.queryParams).then(response => { this.webcastList = response.data.data; - console.log(this.webcastList,'webcastListwebcastListwebcastList') + // console.log(this.webcastList,'webcastListwebcastListwebcastList') this.total = response.data.total; this.loading = false; } @@ -248,7 +264,7 @@ ); }, toLook() { - this.$router.push('/meeting/webcast/webcastInfo/') + this.$router.push('/meeting/webcast/Home/') } } -- Gitblit v1.9.1