diff --git a/src/api/incomeMeetingApi.js b/src/api/incomeMeetingApi.js index 99fc2e3..4058d65 100644 --- a/src/api/incomeMeetingApi.js +++ b/src/api/incomeMeetingApi.js @@ -6,10 +6,12 @@ const getUserInfo = (params) => getAction('/sys/user/queryById',params) const getMeetInfoById = (params) => getAction('/meeting/payMeeting/queryById',params) // 获取所有工作组项目 const getAllWorkProjects = () => getAction('/project/payWorkingGroup/listAll') - +// 通过id获取参会人详细信息 +const getSingUpUserInfo = (params) => getAction('/meeting/payMeetingSituation/queryById',params) export { getUserInfo, getMeetInfoById, getAllWorkProjects, + getSingUpUserInfo } diff --git a/src/views/incomePayments/meetManage/Attendance.vue b/src/views/incomePayments/meetManage/Attendance.vue index e9bfe23..0a3b6d6 100644 --- a/src/views/incomePayments/meetManage/Attendance.vue +++ b/src/views/incomePayments/meetManage/Attendance.vue @@ -47,7 +47,7 @@ {{ currentMeetingInfo.estimatedNumber }} - + {{ currentMeetingInfo.hotelName }} @@ -79,8 +79,12 @@ 签到二维码 - - {{item.hotelContacts+':' + item.hotelContactsPhone + ' '}} + + {{ + item.hotelContacts + ':' + item.hotelContactsPhone + ' ' + }} {{ currentMeetingInfo.meetingContent }} @@ -97,12 +101,12 @@ - + - + @@ -115,7 +119,7 @@ - @@ -127,21 +131,21 @@ - - 查询 - 重置 + 重置 @@ -175,13 +179,23 @@ @change="handleTableChange"> + + + + + + 审核 编辑 @@ -189,10 +203,15 @@ + + + + + @@ -210,6 +229,7 @@ import BatchSetDockerModal from '@views/incomePayments/meetManage/modules/BatchS import ProjectDetailModal from '@comp/ProjectDetailModal' import AuditModal from '@views/incomePayments/meetManage/modules/AuditModal' import PageHeaderTitle from '@comp/layouts/PageHeaderTitle' +import StatusSlot from '@comp/tools/StatusSlot' export default { @@ -223,7 +243,8 @@ export default { BatchSetDockerModal, ProjectDetailModal, AuditModal, - PageHeaderTitle + PageHeaderTitle, + StatusSlot }, data() { return { @@ -253,52 +274,57 @@ export default { { title: '应收金额', align: 'center', - dataIndex: '' + dataIndex: 'amountReceivable' }, { title: '实收金额', align: 'center', - dataIndex: '' + dataIndex: 'paidAmount' }, { title: '缴费方式', align: 'center', - dataIndex: '' + dataIndex: 'payMode_dictText' }, { title: '是否签到', align: 'center', - dataIndex: '' + dataIndex: 'checkIn' }, { title: '打包', align: 'center', - dataIndex: 'pack' + dataIndex: 'pack', + scopedSlots: {customRender: 'status-pack'} }, { title: '需要发票', align: 'center', - dataIndex: 'needInvoice' + dataIndex: 'needInvoice', + scopedSlots: {customRender: 'status-pack'} }, { title: '到账', align: 'center', - dataIndex: 'inAccount' + dataIndex: 'inAccount', + scopedSlots: {customRender: 'status'} }, { title: '开票', align: 'center', - dataIndex: 'makeInvoice' + dataIndex: 'makeInvoice', + scopedSlots: {customRender: 'status'} }, { title: '邮寄', align: 'center', - dataIndex: '' + dataIndex: 'mail', + scopedSlots: {customRender: 'status'} }, { title: '对接人', align: 'center', - dataIndex: 'mail' + dataIndex: 'dockName' }, { title: '操作', @@ -307,11 +333,11 @@ export default { }, ], url: { - list: '/jero/memberProject/page', - delete: '/jero/memberProject/delete', - deleteBatch: '/jero/memberProject/deleteBatch', - exportXlsUrl: '/jero/memberProject/exportXls', - importExcelUrl: 'jero/memberProject/importExcel', + list: '/meeting/payMeetingSituation/page', + delete: '/meeting/payMeetingSituation/delete', + deleteBatch: '/meeting/payMeetingSituation/deleteBatch', + exportXlsUrl: '/meeting/payMeetingSituation/exportXls', + importExcelUrl: '/meeting/payMeetingSituation/importExcel', }, // 当前的会议信息详情 currentMeetingInfo: {}, @@ -332,14 +358,14 @@ export default { } }) }, - computed:{ + computed: { tbMeetingType() { - if(this.currentMeetingInfo.tbMeetingType === '1'){ + if (this.currentMeetingInfo.tbMeetingType === '1') { return '标准宣贯' } - if(this.currentMeetingInfo.tbMeetingType === '2'){ + if (this.currentMeetingInfo.tbMeetingType === '2') { return '学习培训' - }else { + } else { return '' } } @@ -364,9 +390,20 @@ export default { addParticipant() { this.$router.push({ path: '/incomePayments/meetManage/SignUpInfoEdit', - query:{ - meetingType:this.currentMeetingInfo.meetingType, - meetingId:this.$route.query.id + query: { + meetingType: this.currentMeetingInfo.meetingType, + meetingId: this.$route.query.id + } + }) + }, + /* + * 编辑参会人 + * */ + handleEdit(record){ + this.$router.push({ + path: '/incomePayments/meetManage/SignUpInfoEdit', + query: { + id:record.id } }) }, diff --git a/src/views/incomePayments/meetManage/SignUpInfoEdit.vue b/src/views/incomePayments/meetManage/SignUpInfoEdit.vue index 1e3d418..9c2d10e 100644 --- a/src/views/incomePayments/meetManage/SignUpInfoEdit.vue +++ b/src/views/incomePayments/meetManage/SignUpInfoEdit.vue @@ -127,6 +127,7 @@ import SeminarVipForm from '@views/incomePayments/meetManage/modules/SeminarVipF import SeminarPartnerForm from '@views/incomePayments/meetManage/modules/SeminarPartnerForm' import AddMeetingCompany from '@comp/company/AddMeetingCompany' import {getContactsById} from '@api/api' +import {getSingUpUserInfo} from '@api/incomeMeetingApi' import {httpAction} from '@api/manage' import pick from 'lodash.pick' @@ -205,6 +206,15 @@ export default { }, created() { this.meetingType = this.$route.query.meetingType + if(this.$route.query.id){ + // 通过id获取参会人信息 + getSingUpUserInfo({id:this.$route.query}).then(res => { + if(res.success){ + console.log(res.result) + } + }) + } + }, methods: { addContactsOk() { diff --git a/src/views/incomePayments/meetManage/SignUpInfoList.vue b/src/views/incomePayments/meetManage/SignUpInfoList.vue index 9718a9c..ec8143f 100644 --- a/src/views/incomePayments/meetManage/SignUpInfoList.vue +++ b/src/views/incomePayments/meetManage/SignUpInfoList.vue @@ -72,9 +72,6 @@ class="j-table-force-nowrap" @change="handleTableChange"> -