【bug】更换分标委会议发布的接口
This commit is contained in:
@@ -6,6 +6,8 @@ const getWorkingGroupById = (params) => getAction('/project/payWorkingGroup/quer
|
|||||||
const getChargeNotice = (param) => getAction('/project/payWorkingGroupSubitem/getCharge', param)
|
const getChargeNotice = (param) => getAction('/project/payWorkingGroupSubitem/getCharge', param)
|
||||||
// 工作组会议的发布提醒
|
// 工作组会议的发布提醒
|
||||||
const publishRemind = (param) => postAction('/meeting/workGroupMeeting/publishReminder', param)
|
const publishRemind = (param) => postAction('/meeting/workGroupMeeting/publishReminder', param)
|
||||||
|
// 分标委会议的发布提醒
|
||||||
|
const commitePublishRemind = (param) => postAction('/meeting/committeeMeeting/publishReminder',param)
|
||||||
// 通过id获取收入合同信息
|
// 通过id获取收入合同信息
|
||||||
const getRevenueContractById = (param) => getAction('/contract/payIncomeContract/queryById', param)
|
const getRevenueContractById = (param) => getAction('/contract/payIncomeContract/queryById', param)
|
||||||
// 收入合同审核
|
// 收入合同审核
|
||||||
@@ -83,6 +85,7 @@ export {
|
|||||||
getWorkingGroupById,
|
getWorkingGroupById,
|
||||||
getChargeNotice,
|
getChargeNotice,
|
||||||
publishRemind,
|
publishRemind,
|
||||||
|
commitePublishRemind,
|
||||||
getRevenueContractById,
|
getRevenueContractById,
|
||||||
aduitRevenueContract,
|
aduitRevenueContract,
|
||||||
associatedProject,
|
associatedProject,
|
||||||
|
|||||||
@@ -394,7 +394,7 @@ export default {
|
|||||||
return
|
return
|
||||||
} else {
|
} else {
|
||||||
// 传入选中的会议id
|
// 传入选中的会议id
|
||||||
this.$refs.publishRemindModal.open(this.selectedRowKeys)
|
this.$refs.publishRemindModal.open(this.selectedRowKeys,true)
|
||||||
this.$refs.publishRemindModal.title = '发布'
|
this.$refs.publishRemindModal.title = '发布'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -66,7 +66,7 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
import {JeroListMixin} from '@/mixins/JeroListMixin'
|
import {JeroListMixin} from '@/mixins/JeroListMixin'
|
||||||
import {publishRemind} from '@api/incomePaymentsApi'
|
import {publishRemind,commitePublishRemind} from '@api/incomePaymentsApi'
|
||||||
|
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
@@ -220,20 +220,39 @@ export default {
|
|||||||
subitemIds: this.selectedRowKeys,
|
subitemIds: this.selectedRowKeys,
|
||||||
projectType:this.remindType
|
projectType:this.remindType
|
||||||
}
|
}
|
||||||
publishRemind(param).then(res => {
|
// 分标委用分标委的接口
|
||||||
if (res.success) {
|
if(this.$route.query.meetingType === '5' ){
|
||||||
this.$message.success(res.message)
|
commitePublishRemind(param).then(res => {
|
||||||
this.$emit('ok')
|
if (res.success) {
|
||||||
this.confirmLoading = false
|
this.$message.success(res.message)
|
||||||
this.handleCancel()
|
this.$emit('ok')
|
||||||
} else {
|
this.confirmLoading = false
|
||||||
this.$message.warn(res.message)
|
this.handleCancel()
|
||||||
}
|
} else {
|
||||||
}).finally(() => {
|
this.$message.warn(res.message)
|
||||||
setTimeout(() => {
|
}
|
||||||
this.confirmLoading = false
|
}).finally(() => {
|
||||||
}, 1000)
|
setTimeout(() => {
|
||||||
})
|
this.confirmLoading = false
|
||||||
|
}, 1000)
|
||||||
|
})
|
||||||
|
}else {
|
||||||
|
publishRemind(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)
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
handleCancel() {
|
handleCancel() {
|
||||||
|
|||||||
Reference in New Issue
Block a user