工作组会议页面上方组件替换
This commit is contained in:
@@ -1,129 +1,130 @@
|
|||||||
<template>
|
<template>
|
||||||
<a-card :bordered="false">
|
<div>
|
||||||
<div class="title">
|
<page-header-title :is-level-one="false" :level-two-title="workingGroupProject"></page-header-title>
|
||||||
<a-icon type="left" :style="{ fontSize: '22px' }" @click="backWorkingGroupProject"></a-icon>
|
<a-card :bordered="false">
|
||||||
<span class="title-text">{{ workingGroupProject }}</span>
|
<!-- 查询区域-->
|
||||||
</div>
|
<div class="table-page-search-wrapper">
|
||||||
<div class="divider"></div>
|
<a-form layout="inline" @keyup.enter.native="searchQuery">
|
||||||
|
<a-row>
|
||||||
|
<a-col :xl="6" :lg="7" :md="8" :sm="24">
|
||||||
|
<a-form-item label="会议名称" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
||||||
|
<a-input placeholder="请输入会议名称" v-model="queryParam.meetingName" :maxLength='50'></a-input>
|
||||||
|
</a-form-item>
|
||||||
|
</a-col>
|
||||||
|
<a-col :xl="10" :lg="12" :md="12" :sm="24">
|
||||||
|
<a-form-item label="会议时间">
|
||||||
|
<j-date
|
||||||
|
placeholder="请选择开始日期"
|
||||||
|
class="query-group-cust"
|
||||||
|
v-model="queryParam.meetingStartTime"
|
||||||
|
:disabled-date="disabledStartDate">
|
||||||
|
</j-date>
|
||||||
|
<span class="query-group-split-cust"></span>
|
||||||
|
<j-date
|
||||||
|
placeholder="请选择结束日期"
|
||||||
|
class="query-group-cust"
|
||||||
|
v-model="queryParam.meetingEndTime"
|
||||||
|
:disabled-date="disabledEndDate">
|
||||||
|
</j-date>
|
||||||
|
</a-form-item>
|
||||||
|
</a-col>
|
||||||
|
<a-col :xl="6" :lg="7" :md="8" :sm="24">
|
||||||
|
<a-form-item label="年份" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
||||||
|
<j-year-date style="width:100%" placeholder="请选择年份"
|
||||||
|
v-model="queryParam.particularYear"></j-year-date>
|
||||||
|
</a-form-item>
|
||||||
|
</a-col>
|
||||||
|
<a-col :xl="10" :lg="12" :md="12" :sm="24">
|
||||||
|
<a-form-item label="创建时间">
|
||||||
|
<j-date
|
||||||
|
placeholder="请选择开始日期"
|
||||||
|
class="query-group-cust"
|
||||||
|
v-model="queryParam.createTime_begin"
|
||||||
|
:disabled-date="disabledStartCreateDate">
|
||||||
|
</j-date>
|
||||||
|
<span class="query-group-split-cust"></span>
|
||||||
|
<j-date
|
||||||
|
placeholder="请选择结束日期"
|
||||||
|
class="query-group-cust"
|
||||||
|
v-model="queryParam.createTime_end"
|
||||||
|
:disabled-date="disabledEndCreateDate">
|
||||||
|
</j-date>
|
||||||
|
</a-form-item>
|
||||||
|
</a-col>
|
||||||
|
|
||||||
<!-- 查询区域-->
|
<a-col :xl="6" :lg="7" :md="8" :sm="24">
|
||||||
<div class="table-page-search-wrapper">
|
<a-form-item label="已提醒" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
||||||
<a-form layout="inline" @keyup.enter.native="searchQuery">
|
<j-dict-select-tag style="width: 100%"
|
||||||
<a-row>
|
dict-code="yn"
|
||||||
<a-col :xl="6" :lg="7" :md="8" :sm="24">
|
v-model="queryParam.remind"
|
||||||
<a-form-item label="会议名称" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
placeholder="请选择提醒类型"></j-dict-select-tag>
|
||||||
<a-input placeholder="请输入会议名称" v-model="queryParam.meetingName" :maxLength='50'></a-input>
|
</a-form-item>
|
||||||
</a-form-item>
|
</a-col>
|
||||||
</a-col>
|
<a-col :xl="6" :lg="7" :md="8" :sm="24">
|
||||||
<a-col :xl="10" :lg="12" :md="12" :sm="24">
|
|
||||||
<a-form-item label="会议时间">
|
|
||||||
<j-date
|
|
||||||
placeholder="请选择开始日期"
|
|
||||||
class="query-group-cust"
|
|
||||||
v-model="queryParam.meetingStartTime"
|
|
||||||
:disabled-date="disabledStartDate">
|
|
||||||
</j-date>
|
|
||||||
<span class="query-group-split-cust"></span>
|
|
||||||
<j-date
|
|
||||||
placeholder="请选择结束日期"
|
|
||||||
class="query-group-cust"
|
|
||||||
v-model="queryParam.meetingEndTime"
|
|
||||||
:disabled-date="disabledEndDate">
|
|
||||||
</j-date>
|
|
||||||
</a-form-item>
|
|
||||||
</a-col>
|
|
||||||
<a-col :xl="6" :lg="7" :md="8" :sm="24">
|
|
||||||
<a-form-item label="年份" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
|
||||||
<j-year-date style="width:100%" placeholder="请选择年份"
|
|
||||||
v-model="queryParam.particularYear"></j-year-date>
|
|
||||||
</a-form-item>
|
|
||||||
</a-col>
|
|
||||||
<a-col :xl="10" :lg="12" :md="12" :sm="24">
|
|
||||||
<a-form-item label="创建时间">
|
|
||||||
<j-date
|
|
||||||
placeholder="请选择开始日期"
|
|
||||||
class="query-group-cust"
|
|
||||||
v-model="queryParam.createTime_begin"
|
|
||||||
:disabled-date="disabledStartCreateDate">
|
|
||||||
</j-date>
|
|
||||||
<span class="query-group-split-cust"></span>
|
|
||||||
<j-date
|
|
||||||
placeholder="请选择结束日期"
|
|
||||||
class="query-group-cust"
|
|
||||||
v-model="queryParam.createTime_end"
|
|
||||||
:disabled-date="disabledEndCreateDate">
|
|
||||||
</j-date>
|
|
||||||
</a-form-item>
|
|
||||||
</a-col>
|
|
||||||
|
|
||||||
<a-col :xl="6" :lg="7" :md="8" :sm="24">
|
|
||||||
<a-form-item label="已提醒" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
|
||||||
<j-dict-select-tag style="width: 100%"
|
|
||||||
dict-code="yn"
|
|
||||||
v-model="queryParam.remind"
|
|
||||||
placeholder="请选择提醒类型"></j-dict-select-tag>
|
|
||||||
</a-form-item>
|
|
||||||
</a-col>
|
|
||||||
<a-col :xl="6" :lg="7" :md="8" :sm="24">
|
|
||||||
<span class="table-page-search-submitButtons">
|
<span class="table-page-search-submitButtons">
|
||||||
<a-button type="primary" icon="search" @click="searchQuery"
|
<a-button type="primary" icon="search" @click="searchQuery"
|
||||||
v-has="'workGroupMeeting:search'">查询</a-button>
|
v-has="'workGroupMeeting:search'">查询</a-button>
|
||||||
<a-button icon="reload" @click="searchReset" class="reset-button">重置</a-button>
|
<a-button icon="reload" @click="searchReset" class="reset-button">重置</a-button>
|
||||||
</span>
|
</span>
|
||||||
</a-col>
|
</a-col>
|
||||||
</a-row>
|
</a-row>
|
||||||
</a-form>
|
</a-form>
|
||||||
</div>
|
</div>
|
||||||
<!-- /查询区域-->
|
<!-- /查询区域-->
|
||||||
|
|
||||||
<!-- 操作按钮区域-->
|
<!-- 操作按钮区域-->
|
||||||
<div class="table-operator">
|
<div class="table-operator">
|
||||||
<a-button type="primary" icon="plus" @click="handleAdd" v-has="'workGroupMeeting:add'" v-if="canOperate">新增</a-button>
|
<a-button type="primary" icon="plus" @click="handleAdd" v-has="'workGroupMeeting:add'" v-if="canOperate">新增
|
||||||
<a-button type="primary" icon="export" @click="handleExportXls('工作组会议')"
|
</a-button>
|
||||||
v-has="'workGroupMeeting:export'">导出
|
<a-button type="primary" icon="export" @click="handleExportXls('工作组会议')"
|
||||||
</a-button>
|
v-has="'workGroupMeeting:export'">导出
|
||||||
<a-button type="danger" icon="delete" @click="batchDel" v-has="'workGroupMeeting:batchDel'" v-if="canOperate">批量删除</a-button>
|
</a-button>
|
||||||
<a-button type="primary" @click="publishRemind" v-has="'workGroupMeeting:publish'" v-if="canOperate">发布</a-button>
|
<a-button type="danger" icon="delete" @click="batchDel" v-has="'workGroupMeeting:batchDel'" v-if="canOperate">
|
||||||
</div>
|
批量删除
|
||||||
<!-- /操作按钮区域-end-->
|
</a-button>
|
||||||
|
<a-button type="primary" @click="publishRemind" v-has="'workGroupMeeting:publish'" v-if="canOperate">发布
|
||||||
|
</a-button>
|
||||||
|
</div>
|
||||||
|
<!-- /操作按钮区域-end-->
|
||||||
|
|
||||||
<!-- table表格区域-->
|
<!-- table表格区域-->
|
||||||
<div>
|
<div>
|
||||||
<a-table
|
<a-table
|
||||||
ref="table"
|
ref="table"
|
||||||
size="middle"
|
size="middle"
|
||||||
bordered
|
bordered
|
||||||
rowKey="id"
|
rowKey="id"
|
||||||
:scroll="{x:true}"
|
:scroll="{x:true}"
|
||||||
:columns="columns"
|
:columns="columns"
|
||||||
:dataSource="dataSource"
|
:dataSource="dataSource"
|
||||||
:pagination="ipagination"
|
:pagination="ipagination"
|
||||||
:loading="loading"
|
:loading="loading"
|
||||||
:rowSelection="{selectedRowKeys: selectedRowKeys, onChange: onSelectChange}"
|
:rowSelection="{selectedRowKeys: selectedRowKeys, onChange: onSelectChange}"
|
||||||
@change="handleTableChange"
|
@change="handleTableChange"
|
||||||
class="j-table-force-nowrap">
|
class="j-table-force-nowrap">
|
||||||
|
|
||||||
<!-- 会议名称 点击去参会情况-->
|
<!-- 会议名称 点击去参会情况-->
|
||||||
<template slot="htmlSlot" slot-scope="text, record">
|
<template slot="htmlSlot" slot-scope="text, record">
|
||||||
<j-ellipsis v-if="!!text" class="primary-color" :value="text" :length="20"
|
<j-ellipsis v-if="!!text" class="primary-color" :value="text" :length="20"
|
||||||
@click="toAttendance(record)"></j-ellipsis>
|
@click="toAttendance(record)"></j-ellipsis>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<template slot="text" slot-scope="text">
|
<template slot="text" slot-scope="text">
|
||||||
<j-ellipsis :value="text" :length="20"></j-ellipsis>
|
<j-ellipsis :value="text" :length="20"></j-ellipsis>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<span slot="action" class="action-span-cell" slot-scope="text, record" v-if="canOperate">
|
<span slot="action" class="action-span-cell" slot-scope="text, record" v-if="canOperate">
|
||||||
<a @click="uploadFile(record)" v-has="'workGroupMeeting:upload'">上传文件</a>
|
<a @click="uploadFile(record)" v-has="'workGroupMeeting:upload'">上传文件</a>
|
||||||
<!-- <a @click="applyMsg">报名信息</a>-->
|
<!-- <a @click="applyMsg">报名信息</a>-->
|
||||||
<a @click="handleEdit(record)" v-has="'workGroupMeeting:edit'">编辑</a>
|
<a @click="handleEdit(record)" v-has="'workGroupMeeting:edit'">编辑</a>
|
||||||
<a @click="handleDelete(record.id)" v-has="'workGroupMeeting:delete'">删除</a>
|
<a @click="handleDelete(record.id)" v-has="'workGroupMeeting:delete'">删除</a>
|
||||||
</span>
|
</span>
|
||||||
</a-table>
|
</a-table>
|
||||||
</div>
|
</div>
|
||||||
<publish-remind-modal ref="publishRemindModal" @ok="modalFormOk"></publish-remind-modal>
|
<publish-remind-modal ref="publishRemindModal" @ok="modalFormOk"></publish-remind-modal>
|
||||||
<upload-meet-file-modal ref="modalForm" @ok="modalFormOk"></upload-meet-file-modal>
|
<upload-meet-file-modal ref="modalForm" @ok="modalFormOk"></upload-meet-file-modal>
|
||||||
</a-card>
|
</a-card>
|
||||||
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
@@ -136,6 +137,7 @@ import JDictSelectTag from '@comp/dict/JDictSelectTag'
|
|||||||
import PublishRemindModal from '@views/projectManagement/modules/PublishRemindModal'
|
import PublishRemindModal from '@views/projectManagement/modules/PublishRemindModal'
|
||||||
import UploadMeetFileModal from '@views/incomePayments/meetManage/modules/UploadMeetFileModal'
|
import UploadMeetFileModal from '@views/incomePayments/meetManage/modules/UploadMeetFileModal'
|
||||||
import '@/assets/less/TableExpand.less'
|
import '@/assets/less/TableExpand.less'
|
||||||
|
import PageHeaderTitle from '../../components/layouts/PageHeaderTitle'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'ConferenceMaintenance',
|
name: 'ConferenceMaintenance',
|
||||||
@@ -144,7 +146,8 @@ export default {
|
|||||||
JDate,
|
JDate,
|
||||||
JDictSelectTag,
|
JDictSelectTag,
|
||||||
PublishRemindModal,
|
PublishRemindModal,
|
||||||
UploadMeetFileModal
|
UploadMeetFileModal,
|
||||||
|
PageHeaderTitle
|
||||||
},
|
},
|
||||||
mixins: [JeroListMixin, RangeDateMixin],
|
mixins: [JeroListMixin, RangeDateMixin],
|
||||||
data() {
|
data() {
|
||||||
@@ -181,7 +184,7 @@ export default {
|
|||||||
align: 'center',
|
align: 'center',
|
||||||
dataIndex: 'meetingName',
|
dataIndex: 'meetingName',
|
||||||
scopedSlots: { customRender: 'htmlSlot' },
|
scopedSlots: { customRender: 'htmlSlot' },
|
||||||
width: 160,
|
width: 160
|
||||||
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -240,15 +243,15 @@ export default {
|
|||||||
fixed: 'right',
|
fixed: 'right',
|
||||||
width: 160,
|
width: 160,
|
||||||
scopedSlots: { customRender: 'action' }
|
scopedSlots: { customRender: 'action' }
|
||||||
},
|
}
|
||||||
],
|
],
|
||||||
url: {
|
url: {
|
||||||
list: '/meeting/workGroupMeeting/page',
|
list: '/meeting/workGroupMeeting/page',
|
||||||
delete: '/meeting/workGroupMeeting/delete',
|
delete: '/meeting/workGroupMeeting/delete',
|
||||||
deleteBatch: '/meeting/workGroupMeeting/deleteBatch',
|
deleteBatch: '/meeting/workGroupMeeting/deleteBatch',
|
||||||
exportXlsUrl: '/meeting/workGroupMeeting/exportXls',
|
exportXlsUrl: '/meeting/workGroupMeeting/exportXls'
|
||||||
},
|
},
|
||||||
canOperate: true, // 是否可操作(负责人B不可操作)
|
canOperate: true // 是否可操作(负责人B不可操作)
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
@@ -277,7 +280,7 @@ export default {
|
|||||||
path: '/incomePayments/meetManage/AddOrDetailMeet',
|
path: '/incomePayments/meetManage/AddOrDetailMeet',
|
||||||
query: {
|
query: {
|
||||||
workingGroupProjectId: currentId,
|
workingGroupProjectId: currentId,
|
||||||
meetingType:'1'
|
meetingType: '1'
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
@@ -291,7 +294,7 @@ export default {
|
|||||||
path: '/incomePayments/meetManage/AddOrDetailMeet',
|
path: '/incomePayments/meetManage/AddOrDetailMeet',
|
||||||
query: {
|
query: {
|
||||||
workingGroupProjectId: currentId,
|
workingGroupProjectId: currentId,
|
||||||
id: record.id,
|
id: record.id
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
@@ -332,7 +335,7 @@ export default {
|
|||||||
query: {
|
query: {
|
||||||
id: record.id,
|
id: record.id,
|
||||||
meetingName: record.meetingName,
|
meetingName: record.meetingName,
|
||||||
meetingType:'1'
|
meetingType: '1'
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
@@ -366,7 +369,7 @@ export default {
|
|||||||
this.queryParam.createTime_end = this.queryParam.createTime_end ? this.queryParam.createTime_end + ' ' + '23:59:59' : undefined
|
this.queryParam.createTime_end = this.queryParam.createTime_end ? this.queryParam.createTime_end + ' ' + '23:59:59' : undefined
|
||||||
this.lastQueryParam = { ...this.queryParam }
|
this.lastQueryParam = { ...this.queryParam }
|
||||||
this.loadData(1)
|
this.loadData(1)
|
||||||
},
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
Reference in New Issue
Block a user