集中培训签到列表,集中培训查询参数
This commit is contained in:
parent
b0132426a1
commit
463c488e8c
|
@ -16,7 +16,7 @@
|
|||
</a-descriptions>
|
||||
<br />
|
||||
<div style="width: 100%; height: 32px; margin-bottom: 8px">
|
||||
<a-button v-if="hasPerm('terminal:train:edit')" type="primary" @click="editInfo()">修 改 信 息</a-button>
|
||||
<a-button v-if="hasPerm('terminal:train:edit') && detailData.status == 1" type="primary" @click="editInfo()">修 改 信 息</a-button>
|
||||
<a-button v-if="hasPerm('terminal:train:list')" type="primary" @click="signInfo()">会议签到信息</a-button>
|
||||
</div>
|
||||
</a-card>
|
||||
|
|
|
@ -5,12 +5,9 @@
|
|||
:form="queryParam"
|
||||
:list="queryOptions"
|
||||
@search="handleRefresh"
|
||||
@reset="
|
||||
() => {
|
||||
;(queryParam = {}), handleRefresh()
|
||||
}
|
||||
"
|
||||
@reset="() => {;(queryParam = {}), handleRefresh()}"
|
||||
></SearchCom>
|
||||
<br/>
|
||||
<a-space class="table-operator" direction="horizontal">
|
||||
<a-button v-if="hasPerm('project:edit')" type="primary" icon="plus" @click="handledCreate">新增项目</a-button>
|
||||
</a-space>
|
||||
|
@ -33,18 +30,18 @@
|
|||
<a-icon type="down" />
|
||||
</a>
|
||||
<a-menu slot="overlay">
|
||||
<a-menu-item v-if="hasPerm('terminal:train:release')">
|
||||
<a-menu-item v-if="hasPerm('terminal:train:release') && record.status == 1">
|
||||
<a href="javascript:;" @click="executeRelease(record)">发布</a>
|
||||
</a-menu-item>
|
||||
<a-menu-item v-if="hasPerm('terminal:train:list')">
|
||||
<a href="javascript:;" @click="getDetail(record)">详情</a>
|
||||
</a-menu-item>
|
||||
<a-menu-item v-if="hasPerm('terminal:train:edit')">
|
||||
<a-menu-item v-if="hasPerm('terminal:train:edit') && record.status == 1">
|
||||
<a href="javascript:;" @click="executeEdit(record)">编辑</a>
|
||||
</a-menu-item>
|
||||
<a-menu-item>
|
||||
<a-popconfirm
|
||||
v-if="hasPerm('terminal:train:del')"
|
||||
v-if="hasPerm('terminal:train:del') && record.status == 1"
|
||||
title="是否删除?"
|
||||
@confirm="() => delTerminalTrain(record)"
|
||||
>
|
||||
|
@ -90,7 +87,7 @@ export default {
|
|||
return record.signNum + ' / ' + record.personNum
|
||||
},
|
||||
},
|
||||
{ title: '培训类型', width: 'auto', align: 'center', dataIndex: 'projectType', key: 'projectType' },
|
||||
// { title: '培训类型', width: 'auto', align: 'center', dataIndex: 'projectType', key: 'projectType' },
|
||||
{ title: '项目状态', width: 'auto', align: 'center', dataIndex: 'status', key: 'status',
|
||||
customRender: (text, record, index) => {
|
||||
if (text == '1') return '未发布'
|
||||
|
@ -115,7 +112,7 @@ export default {
|
|||
computed: {
|
||||
queryOptions: function () {
|
||||
return [
|
||||
{ type: 'input', placeholder: '项目名称', key: 'projectName' },
|
||||
{ type: 'input', placeholder: '项目名称', key: 'name' },
|
||||
/** 培训状态:1-未发布 2-未开始 3-进行中 4-已结束 5-已中止 */
|
||||
{
|
||||
type: 'select',
|
||||
|
|
Loading…
Reference in New Issue