Commit 815dd514 by 前端

Merge branch 'xuyl_dev_v3.2.0' into 'v3.2.0'

修复一轮测试bug+修改样式

See merge request !18
2 parents e6694c5b 9f45f870
...@@ -478,10 +478,6 @@ export default { ...@@ -478,10 +478,6 @@ export default {
sucText = "编辑成功!"; sucText = "编辑成功!";
errText = "编辑失败!"; errText = "编辑失败!";
} }
// 3草稿新建
if (!!this.incomingStatus && this.incomingStatus == "3" && !params.draftFlag) {
delete params.id;
}
await this.$apis.live.addOrUpdataLiveRoomApi(params).then(res => { await this.$apis.live.addOrUpdataLiveRoomApi(params).then(res => {
if (res.code == "0") { if (res.code == "0") {
this.$message.success(sucText); this.$message.success(sucText);
......
<template> <template>
<div class="live-room"> <div class="live-room">
<div class="m-b-20"> <!-- <div class="m-b-20">-->
<el-button :size="size" type="primary" class="el-icon-plus" @click="goLiveRoom">新建</el-button> <!-- <el-button :size="size" type="primary" class="el-icon-plus" @click="goLiveRoom">新建</el-button>-->
</div> <!-- </div>-->
<div class="container"> <div class="container">
<div> <div>
<GLCombiForm ref="showSearch" :rowNumber="1" :formObj="searchForm" :formData="searchFormData" <GLCombiForm ref="showSearch" :rowNumber="1" :formObj="searchForm" :formData="searchFormData"
@handleOk="handleSearch" @handleRest="handleReset"></GLCombiForm> @handleOk="handleSearch" @handleRest="handleReset"></GLCombiForm>
</div> </div>
<div class="live-table-header">
<h2>直播间列表</h2>
<el-button :size="size" type="primary" @ @click="goLiveRoom">新建直播</el-button>
</div>
<!-- 表格区域 开始 --> <!-- 表格区域 开始 -->
<GLTable ref="classifyRef" :getListApi="getListApi" :noDataImg="url" :searchForm="tableSearchForm" <GLTable ref="classifyRef" :getListApi="getListApi" :noDataImg="url" :searchForm="tableSearchForm"
:tableParams="tableParams" :pageConf="pageConf" :beforeSearchFn="beforeSearchFn" :tableParams="tableParams" :pageConf="pageConf" :beforeSearchFn="beforeSearchFn"
...@@ -395,6 +398,17 @@ export default { ...@@ -395,6 +398,17 @@ export default {
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
.live-table-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 10px;
h2 {
font-weight: 600;
font-size: 16px;
color: #333333;
}
}
.bgmName { .bgmName {
display: flex; display: flex;
align-items: center; align-items: center;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!