【开发】理事会编辑 查询 发布提醒修改
This commit is contained in:
@@ -8,6 +8,8 @@ const getChargeNotice = (param) => getAction('/project/payWorkingGroupSubitem/ge
|
|||||||
const publishRemind = (param) => postAction('/meeting/workGroupMeeting/publishReminder', param)
|
const publishRemind = (param) => postAction('/meeting/workGroupMeeting/publishReminder', param)
|
||||||
// 分标委会议的发布提醒
|
// 分标委会议的发布提醒
|
||||||
const commitePublishRemind = (param) => postAction('/meeting/committeeMeeting/publishReminder',param)
|
const commitePublishRemind = (param) => postAction('/meeting/committeeMeeting/publishReminder',param)
|
||||||
|
// 理事会的发布提醒
|
||||||
|
const councilPublishRemind = (param) => postAction('/meeting/councilMeeting/publishReminder',param)
|
||||||
// 通过id获取收入合同信息
|
// 通过id获取收入合同信息
|
||||||
const getRevenueContractById = (param) => getAction('/contract/payIncomeContract/queryById', param)
|
const getRevenueContractById = (param) => getAction('/contract/payIncomeContract/queryById', param)
|
||||||
// 收入合同审核
|
// 收入合同审核
|
||||||
@@ -143,5 +145,6 @@ export {
|
|||||||
getPrintPostContactByMailId,
|
getPrintPostContactByMailId,
|
||||||
getUserByDepartCode,
|
getUserByDepartCode,
|
||||||
cancellationContract,
|
cancellationContract,
|
||||||
|
councilPublishRemind,
|
||||||
cancellationExpenditureContract
|
cancellationExpenditureContract
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -304,7 +304,7 @@
|
|||||||
<!--联系方式end-->
|
<!--联系方式end-->
|
||||||
<!--通知正文begin-->
|
<!--通知正文begin-->
|
||||||
<!--只有分标委会议与工作组会议才有-->
|
<!--只有分标委会议与工作组会议才有-->
|
||||||
<template v-if="meetingType === '1' || meetingType === '5' ">
|
<template v-if="meetingType === '1' || meetingType === '5' || meetingType === '6' ">
|
||||||
<div class="item-title">通知文件</div>
|
<div class="item-title">通知文件</div>
|
||||||
<a-row :gutter="24">
|
<a-row :gutter="24">
|
||||||
<a-col :xxl="18" :xl="18" :sm="24">
|
<a-col :xxl="18" :xl="18" :sm="24">
|
||||||
@@ -604,7 +604,8 @@ export default {
|
|||||||
// 如果是理事会会议需要加上理事会id与会议类型
|
// 如果是理事会会议需要加上理事会id与会议类型
|
||||||
if (this.isCouncilIdId) {
|
if (this.isCouncilIdId) {
|
||||||
formData.meetingType = '6'
|
formData.meetingType = '6'
|
||||||
formData.caseCommitteeId = this.$route.query.councilIdId
|
formData.councilId = this.$route.query.councilId
|
||||||
|
formData.councilName = this.$route.query.connccilName
|
||||||
}
|
}
|
||||||
// 转换召开时间
|
// 转换召开时间
|
||||||
formData.startTime = this.newConvokeTime[0]
|
formData.startTime = this.newConvokeTime[0]
|
||||||
|
|||||||
@@ -139,8 +139,8 @@ export default {
|
|||||||
// 理事会会议
|
// 理事会会议
|
||||||
case '6':
|
case '6':
|
||||||
return {
|
return {
|
||||||
uploadFile: '/meeting/committeeMeeting/uploadFile',
|
uploadFile: '/meeting/councilMeeting/uploadFile',
|
||||||
uploadCouncilFile: '/councilMeeting/uploadCouncilFile',
|
uploadCouncilFile: '/meeting/councilMeeting/uploadCouncilFile',
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -259,7 +259,6 @@ export default {
|
|||||||
this.councilName = this.$route.query.councilName
|
this.councilName = this.$route.query.councilName
|
||||||
this.councilId = this.$route.query.councilId
|
this.councilId = this.$route.query.councilId
|
||||||
this.filters.councilId = this.councilId
|
this.filters.councilId = this.councilId
|
||||||
this.filters.councilName = this.councilName
|
|
||||||
this.loadData(1)
|
this.loadData(1)
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
@@ -275,10 +274,12 @@ export default {
|
|||||||
handleAdd() {
|
handleAdd() {
|
||||||
// 记录当前的理事会id
|
// 记录当前的理事会id
|
||||||
let currentId = this.$route.query.councilId
|
let currentId = this.$route.query.councilId
|
||||||
|
let currentName = this.$route.query.councilName
|
||||||
this.$router.push({
|
this.$router.push({
|
||||||
path: '/incomePayments/meetManage/AddOrDetailMeet',
|
path: '/incomePayments/meetManage/AddOrDetailMeet',
|
||||||
query: {
|
query: {
|
||||||
councilId: currentId,
|
councilId: currentId,
|
||||||
|
connccilName:currentName,
|
||||||
meetingType: '6'
|
meetingType: '6'
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -241,7 +241,8 @@ export default {
|
|||||||
path:'/incomePayments/memberManage/councilMeetingManage',
|
path:'/incomePayments/memberManage/councilMeetingManage',
|
||||||
query:{
|
query:{
|
||||||
councilId:record.id,
|
councilId:record.id,
|
||||||
councilName:record.name
|
councilName:record.name,
|
||||||
|
meetingType:'6'
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -11,14 +11,14 @@
|
|||||||
<div class="table-page-search-wrapper">
|
<div class="table-page-search-wrapper">
|
||||||
<a-form layout="inline" @keyup.enter.native="searchQuery">
|
<a-form layout="inline" @keyup.enter.native="searchQuery">
|
||||||
<a-row>
|
<a-row>
|
||||||
<!-- 分标委发布显示这个查询条件-->
|
<!-- 分标委或理事会发布显示这个查询条件-->
|
||||||
<a-col :xl="10" :lg="10" :md="10" :sm="24" v-if="$route.query.meetingType === '5' ">
|
<a-col :xl="10" :lg="10" :md="10" :sm="24" v-if="$route.query.meetingType === '5' || $route.query.meetingType === '6' ">
|
||||||
<a-form-item label="成员单位" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
<a-form-item label="成员单位" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
||||||
<a-input placeholder="请输入成员单位" v-model="queryParam.companyName"></a-input>
|
<a-input placeholder="请输入成员单位" v-model="queryParam.companyName"></a-input>
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
</a-col>
|
</a-col>
|
||||||
<!--工作组发布显示这个-->
|
<!--工作组发布显示这个-->
|
||||||
<a-col :xl="10" :lg="10" :md="10" :sm="24" v-else>
|
<a-col :xl="10" :lg="10" :md="10" :sm="24" v-else>CommitteeMeeting
|
||||||
<a-form-item label="成员单位" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
<a-form-item label="成员单位" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
||||||
<a-input placeholder="请输入成员单位" v-model="queryParam.chargeCompanyTemporaryName"></a-input>
|
<a-input placeholder="请输入成员单位" v-model="queryParam.chargeCompanyTemporaryName"></a-input>
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
@@ -27,7 +27,7 @@
|
|||||||
<a-col :xl="6" :lg="7" :md="8" :sm="24">
|
<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>
|
<a-button type="primary" icon="search" @click="searchQuery">查询</a-button>
|
||||||
<a-button icon="reload" @click="searchReset">重置</a-button>
|
<a-button icon="reload" @click="searchReset" class="reset-button">重置</a-button>
|
||||||
</span>
|
</span>
|
||||||
</a-col>
|
</a-col>
|
||||||
</a-row>
|
</a-row>
|
||||||
@@ -66,7 +66,7 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
import {JeroListMixin} from '@/mixins/JeroListMixin'
|
import {JeroListMixin} from '@/mixins/JeroListMixin'
|
||||||
import {publishRemind,commitePublishRemind} from '@api/incomePaymentsApi'
|
import {publishRemind,commitePublishRemind,councilPublishRemind} from '@api/incomePaymentsApi'
|
||||||
|
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
@@ -148,6 +148,40 @@ export default {
|
|||||||
// scopedSlots: {customRender: 'text'}
|
// scopedSlots: {customRender: 'text'}
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
// 理事会成员的表头
|
||||||
|
councilColumns: [
|
||||||
|
{
|
||||||
|
title: '序号',
|
||||||
|
dataIndex: '',
|
||||||
|
key: 'rowIndex',
|
||||||
|
width: 60,
|
||||||
|
align: 'center',
|
||||||
|
customRender: function (t, r, index) {
|
||||||
|
return parseInt(index) + 1
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: '成员单位',
|
||||||
|
align: 'center',
|
||||||
|
width: 200,
|
||||||
|
dataIndex: 'companyName',
|
||||||
|
scopedSlots: {customRender: 'text'}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: '企业联系人',
|
||||||
|
align: 'center',
|
||||||
|
width: 200,
|
||||||
|
dataIndex: 'peopleName',
|
||||||
|
scopedSlots: {customRender: 'text'}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: '是否提醒',
|
||||||
|
align: 'center',
|
||||||
|
width: 200,
|
||||||
|
dataIndex: 'remind_dictText',
|
||||||
|
// scopedSlots: {customRender: 'text'}
|
||||||
|
},
|
||||||
|
],
|
||||||
model: {},
|
model: {},
|
||||||
labelCol: {
|
labelCol: {
|
||||||
xs: {span: 24},
|
xs: {span: 24},
|
||||||
@@ -165,7 +199,7 @@ export default {
|
|||||||
// 会议维护选中的会议
|
// 会议维护选中的会议
|
||||||
selectedMetingList: [],
|
selectedMetingList: [],
|
||||||
newColumns: [],
|
newColumns: [],
|
||||||
// 提醒类型 1 是工作组 2 是分标委
|
// 提醒类型 1 是工作组 2 是分标委 3是理事会
|
||||||
remindType:'',
|
remindType:'',
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -175,8 +209,7 @@ export default {
|
|||||||
this.visible = true
|
this.visible = true
|
||||||
// 保存选中的会议
|
// 保存选中的会议
|
||||||
this.selectedMetingList = [...meetingList]
|
this.selectedMetingList = [...meetingList]
|
||||||
// 列表需要工作组id参数
|
|
||||||
this.filters.workingGroupId = this.$route.query.workingGroupProjectId
|
|
||||||
// 分标委会议需要分标标委的id
|
// 分标委会议需要分标标委的id
|
||||||
if (this.$route.query.meetingType === '5') {
|
if (this.$route.query.meetingType === '5') {
|
||||||
// 分标委
|
// 分标委
|
||||||
@@ -185,7 +218,15 @@ export default {
|
|||||||
this.remindType = 2
|
this.remindType = 2
|
||||||
// 分标委成员
|
// 分标委成员
|
||||||
this.url.list = '/payCaseCommitteeSubitem/payCaseCommitteeSubitem/list'
|
this.url.list = '/payCaseCommitteeSubitem/payCaseCommitteeSubitem/list'
|
||||||
|
} else if(this.$route.query.meetingType === '6') {
|
||||||
|
this.newColumns = [...this.councilColumns]
|
||||||
|
this.filters.id = this.$route.query.councilId
|
||||||
|
//理事会成员的接口
|
||||||
|
this.url.list = '/payCaseCouncilSubitem/payCaseCouncilSubitem/list'
|
||||||
|
this.remindType = 3
|
||||||
} else {
|
} else {
|
||||||
|
// 列表需要工作组id参数
|
||||||
|
this.filters.workingGroupId = this.$route.query.workingGroupProjectId
|
||||||
// 工作组
|
// 工作组
|
||||||
this.remindType = 1
|
this.remindType = 1
|
||||||
this.newColumns = [...this.columns]
|
this.newColumns = [...this.columns]
|
||||||
@@ -203,6 +244,7 @@ export default {
|
|||||||
},
|
},
|
||||||
close() {
|
close() {
|
||||||
this.$emit('close')
|
this.$emit('close')
|
||||||
|
this.newColumns = []
|
||||||
this.visible = false
|
this.visible = false
|
||||||
},
|
},
|
||||||
handleOk() {
|
handleOk() {
|
||||||
@@ -236,7 +278,23 @@ export default {
|
|||||||
this.confirmLoading = false
|
this.confirmLoading = false
|
||||||
}, 1000)
|
}, 1000)
|
||||||
})
|
})
|
||||||
}else {
|
}else if(this.$route.query.meetingType === '6'){
|
||||||
|
// 理事会的用理事会的发布提醒
|
||||||
|
councilPublishRemind(param).then(res => {
|
||||||
|
if (res.success) {
|
||||||
|
this.$message.success(res.message)
|
||||||
|
this.$emit('ok')
|
||||||
|
this.confirmLoading = false
|
||||||
|
this.handleCancel()
|
||||||
|
} else {
|
||||||
|
this.$message.warn(res.message)
|
||||||
|
}
|
||||||
|
}).finally(() => {
|
||||||
|
setTimeout(() => {
|
||||||
|
this.confirmLoading = false
|
||||||
|
}, 1000)
|
||||||
|
})
|
||||||
|
} else {
|
||||||
publishRemind(param).then(res => {
|
publishRemind(param).then(res => {
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
this.$message.success(res.message)
|
this.$message.success(res.message)
|
||||||
|
|||||||
Reference in New Issue
Block a user