报名提交bug修改 日志加批量删除
This commit is contained in:
@@ -447,7 +447,8 @@ export default {
|
|||||||
}
|
}
|
||||||
this.form.validateFields((err, values) => {
|
this.form.validateFields((err, values) => {
|
||||||
if (!err) {
|
if (!err) {
|
||||||
if (this.codeErrorBool) {
|
// 判断邀请码是否错误 需要判断会议类型 以及 是否有邀请码
|
||||||
|
if (this.codeErrorBool && this.currentMeetingInfo.meetingType === '3' && this.inviteCodeBool ) {
|
||||||
this.$message.error('邀请码填写错误')
|
this.$message.error('邀请码填写错误')
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -41,13 +41,18 @@
|
|||||||
<a-button type="primary" style="left: 10px" @click="searchQuery" icon="search" v-has="'sys:log:search'">查询</a-button>
|
<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"
|
<a-button class="reset-button" @click="searchReset" icon="reload"
|
||||||
style="margin-left: 8px;left: 10px">重置</a-button>
|
style="margin-left: 8px;left: 10px">重置</a-button>
|
||||||
|
|
||||||
</a-col>
|
</a-col>
|
||||||
</span>
|
</span>
|
||||||
|
|
||||||
</a-row>
|
</a-row>
|
||||||
</a-form>
|
</a-form>
|
||||||
</div>
|
</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 -->
|
<!-- table区域-begin -->
|
||||||
<a-table
|
<a-table
|
||||||
ref="table"
|
ref="table"
|
||||||
@@ -58,6 +63,7 @@
|
|||||||
:dataSource="dataSource"
|
:dataSource="dataSource"
|
||||||
:pagination="ipagination"
|
:pagination="ipagination"
|
||||||
:loading="loading"
|
:loading="loading"
|
||||||
|
:rowSelection="{selectedRowKeys: selectedRowKeys, onChange: onSelectChange}"
|
||||||
@change="handleTableChange">
|
@change="handleTableChange">
|
||||||
|
|
||||||
<!-- <div v-show="queryParam.logType==2" slot="expandedRowRender" slot-scope="record" style="margin: 0">-->
|
<!-- <div v-show="queryParam.logType==2" slot="expandedRowRender" slot-scope="record" style="margin: 0">-->
|
||||||
@@ -75,8 +81,8 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { filterObj } from '@/utils/util'
|
import {filterObj} from '@/utils/util'
|
||||||
import { JeroListMixin } from '@/mixins/JeroListMixin'
|
import {JeroListMixin} from '@/mixins/JeroListMixin'
|
||||||
import JEllipsis from '@/components/jero/JEllipsis'
|
import JEllipsis from '@/components/jero/JEllipsis'
|
||||||
import IconImg from '@/assets/imgs/icon/icon_system.png'
|
import IconImg from '@/assets/imgs/icon/icon_system.png'
|
||||||
import PageHeaderTitle from '../../components/layouts/PageHeaderTitle'
|
import PageHeaderTitle from '../../components/layouts/PageHeaderTitle'
|
||||||
@@ -125,7 +131,7 @@ export default {
|
|||||||
title: '日志内容',
|
title: '日志内容',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
dataIndex: 'logContent',
|
dataIndex: 'logContent',
|
||||||
scopedSlots: { customRender: 'logContent' },
|
scopedSlots: {customRender: 'logContent'},
|
||||||
sorter: true
|
sorter: true
|
||||||
}, {
|
}, {
|
||||||
title: '创建时间',
|
title: '创建时间',
|
||||||
@@ -160,17 +166,17 @@ export default {
|
|||||||
align: 'center'
|
align: 'center'
|
||||||
},
|
},
|
||||||
labelCol: {
|
labelCol: {
|
||||||
xs: { span: 1 },
|
xs: {span: 1},
|
||||||
sm: { span: 2 }
|
sm: {span: 2}
|
||||||
},
|
},
|
||||||
wrapperCol: {
|
wrapperCol: {
|
||||||
xs: { span: 10 },
|
xs: {span: 10},
|
||||||
sm: { span: 16 }
|
sm: {span: 16}
|
||||||
},
|
},
|
||||||
url: {
|
url: {
|
||||||
list: '/sys/log/page'
|
list: '/sys/log/page'
|
||||||
},
|
},
|
||||||
newColumns:[],
|
newColumns: [],
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
@@ -178,7 +184,7 @@ export default {
|
|||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
getQueryParams() {
|
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.field = this.getQueryField()
|
||||||
param.pageNo = this.ipagination.current
|
param.pageNo = this.ipagination.current
|
||||||
param.pageSize = this.ipagination.pageSize
|
param.pageSize = this.ipagination.pageSize
|
||||||
@@ -211,7 +217,7 @@ export default {
|
|||||||
this.tabKey = '1'
|
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
|
let that = this
|
||||||
that.queryParam = {}
|
that.queryParam = {}
|
||||||
that.queryParam.logType = key
|
that.queryParam.logType = key
|
||||||
|
|||||||
Reference in New Issue
Block a user