报名提交bug修改 日志加批量删除

This commit is contained in:
fengachen
2021-09-29 15:43:10 +08:00
parent ed15b9780d
commit 481c8b547c
2 changed files with 20 additions and 13 deletions
+2 -1
View File
@@ -447,7 +447,8 @@ export default {
}
this.form.validateFields((err, values) => {
if (!err) {
if (this.codeErrorBool) {
// 判断邀请码是否错误 需要判断会议类型 以及 是否有邀请码
if (this.codeErrorBool && this.currentMeetingInfo.meetingType === '3' && this.inviteCodeBool ) {
this.$message.error('邀请码填写错误')
return
}
+18 -12
View File
@@ -41,13 +41,18 @@
<a-button type="primary" style="left: 10px" @click="searchQuery" icon="search" v-has="'sys:log:search'">查询</a-button>
<a-button class="reset-button" @click="searchReset" icon="reload"
style="margin-left: 8px;left: 10px">重置</a-button>
</a-col>
</span>
</a-row>
</a-form>
</div>
<div class="table-operator">
<a-button type="danger" @click="batchDel" icon="delete" v-has="'sys:log:batchDelete'"
style="margin-left: 8px;left: 10px">批量删除
</a-button>
</div>
<!-- table区域-begin -->
<a-table
ref="table"
@@ -58,6 +63,7 @@
:dataSource="dataSource"
:pagination="ipagination"
:loading="loading"
:rowSelection="{selectedRowKeys: selectedRowKeys, onChange: onSelectChange}"
@change="handleTableChange">
<!-- <div v-show="queryParam.logType==2" slot="expandedRowRender" slot-scope="record" style="margin: 0">-->
@@ -75,8 +81,8 @@
</template>
<script>
import { filterObj } from '@/utils/util'
import { JeroListMixin } from '@/mixins/JeroListMixin'
import {filterObj} from '@/utils/util'
import {JeroListMixin} from '@/mixins/JeroListMixin'
import JEllipsis from '@/components/jero/JEllipsis'
import IconImg from '@/assets/imgs/icon/icon_system.png'
import PageHeaderTitle from '../../components/layouts/PageHeaderTitle'
@@ -125,7 +131,7 @@ export default {
title: '日志内容',
align: 'center',
dataIndex: 'logContent',
scopedSlots: { customRender: 'logContent' },
scopedSlots: {customRender: 'logContent'},
sorter: true
}, {
title: '创建时间',
@@ -160,17 +166,17 @@ export default {
align: 'center'
},
labelCol: {
xs: { span: 1 },
sm: { span: 2 }
xs: {span: 1},
sm: {span: 2}
},
wrapperCol: {
xs: { span: 10 },
sm: { span: 16 }
xs: {span: 10},
sm: {span: 16}
},
url: {
list: '/sys/log/page'
},
newColumns:[],
newColumns: [],
}
},
created() {
@@ -178,7 +184,7 @@ export default {
},
methods: {
getQueryParams() {
var param = Object.assign({}, this.lastQueryParam, this.isorter, { logType: this.tabKey })
var param = Object.assign({}, this.lastQueryParam, this.isorter, {logType: this.tabKey})
param.field = this.getQueryField()
param.pageNo = this.ipagination.current
param.pageSize = this.ipagination.pageSize
@@ -209,9 +215,9 @@ export default {
this.newColumns.splice(7, 0, this.operateColumn)
} else if (this.columns.length == 9) {
this.tabKey = '1'
this.newColumns.splice(7, 1)
this.newColumns.splice(7, 1)
}
console.log(this.tabKey,'this.tabKey')
console.log(this.tabKey, 'this.tabKey')
let that = this
that.queryParam = {}
that.queryParam.logType = key