From 9c376c3c54702b872ad690055c7bac16b64e817c Mon Sep 17 00:00:00 2001 From: yz3456 <2753272399@qq.com> Date: 星期一, 01 七月 2024 18:13:23 +0800 Subject: [PATCH] 完成了直播roomId的添加,完成了家庭小医生分享模块 --- ruoyi-ui/src/views/meeting/webcast.vue | 60 +++++++++++++++++++++++++++++++++++++++++------------------- 1 files changed, 41 insertions(+), 19 deletions(-) diff --git a/ruoyi-ui/src/views/meeting/webcast.vue b/ruoyi-ui/src/views/meeting/webcast.vue index 109725a..0946aff 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> @@ -41,9 +41,24 @@ </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"> - <div class="module" @click="toLook"> + <div class="module" @click="toLook(item.id)"> <div class="video"> 66666666 </div> @@ -76,11 +91,11 @@ value-format="yyyy-MM-dd HH:mm:ss"> </el-date-picker> </el-form-item> - <el-form-item label="缁撴潫鏃堕棿" prop="endTime"> +<!-- <el-form-item label="缁撴潫鏃堕棿" prop="endTime"> <el-date-picker v-model="formDat.endTime" type="datetime" placeholder="閫夋嫨寮�濮嬫椂闂�" value-format="yyyy-MM-dd HH:mm:ss"> </el-date-picker> - </el-form-item> + </el-form-item> --> <!-- <el-form-item label="寮�濮嬫椂闂�" prop="startTime"> <el-date-picker v-model="formDat.startTime" type="datetime" placeholder="閫夋嫨寮�濮嬫椂闂�" @@ -92,6 +107,11 @@ <el-input v-model="formDat.meetingTitle" placeholder="璇疯緭鍏ヤ細璁爣棰�" clearable :style="{width: '100%'}"> </el-input> </el-form-item> --> + + <el-form-item label="鎴块棿鍙�" prop="roomId"> + <el-input v-model="formDat.roomId" placeholder="璇疯緭鍏ユ埧闂村彿" clearable :style="{width: '100%'}"> + </el-input> + </el-form-item> <el-form-item label="浼氳鏍囬" prop="title"> <el-input v-model="formDat.title" placeholder="璇疯緭鍏ヤ細璁爣棰�" clearable :style="{width: '100%'}"> @@ -152,22 +172,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:[], // 鎬绘潯鏁� @@ -194,12 +204,24 @@ applyPerson: undefined, contactPerson: undefined, contactPhone: undefined, - createTime: undefined + createTime: undefined, + roomId:undefined }, } }, methods: { + /** 鎼滅储鎸夐挳鎿嶄綔 */ + handleQuery() { + this.queryParams.pageNum = 1; + this.getList(); + }, + /** 閲嶇疆鎸夐挳鎿嶄綔 */ + resetQuery() { + this.dateRange = []; + this.resetForm("queryForm"); + this.handleQuery(); + }, newRequest() { // this.reset(); this.open = true; @@ -247,8 +269,8 @@ ); }, - toLook() { - this.$router.push('/meeting/webcast/webcastInfo/') + toLook(id) { + this.$router.push('/meeting/webcast/Home/' + id) } } -- Gitblit v1.9.1