【修改】会议汇总 工作组会议发布

This commit is contained in:
fengachen
2023-02-17 09:00:19 +08:00
parent 605f8b1e1f
commit ac66197129
2 changed files with 31 additions and 5 deletions
@@ -38,6 +38,11 @@ export default {
}
</script>
<style scoped>
<style scoped lang="less">
/deep/ .ant-modal-body {
overflow: auto;
max-height: 500px;
}
</style>
@@ -24,7 +24,16 @@
</a-form-item>
</a-col>
<a-col :xl="6" :lg="7" :md="8" :sm="24">
<a-col :xl="8" :lg="8" :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="4" :lg="8" :md="8" :sm="24" >
<span class="table-page-search-submitButtons">
<a-button type="primary" icon="search" @click="searchQuery">查询</a-button>
<a-button icon="reload" @click="searchReset" class="reset-button">重置</a-button>
@@ -61,17 +70,22 @@
<a @click="handleDelete(record.id)">删除</a>
</span>
</a-table>
<email-error-msg-modal ref="emailError"></email-error-msg-modal>
</j-modal>
</template>
<script>
import {JeroListMixin} from '@/mixins/JeroListMixin'
import {publishRemind,commitePublishRemind,councilPublishRemind} from '@api/incomePaymentsApi'
import EmailErrorMsgModal from '@views/projectManagement/modules/EmailErrorMsgModal'
export default {
name: 'PublishRemindModal',
mixins: [JeroListMixin],
components:{
EmailErrorMsgModal
},
data() {
return {
title: '操作',
@@ -194,7 +208,7 @@ export default {
url: {
add: '/project/payCommonProject/add',
edit: '/project/payCommonProject/edit',
list: '/project/payWorkingGroupSubitem/list',
list: '/project/payWorkingGroupSubitem/publishReminderList',
},
// 会议维护选中的会议
selectedMetingList: [],
@@ -253,7 +267,7 @@ export default {
}
this.confirmLoading = true
if (this.selectionRows.length === 0) {
this.$message.warn('请至少选择一个成员单位')
this.$message.warn('请至少选择一个成员')
this.confirmLoading = false
return
} else {
@@ -295,9 +309,16 @@ export default {
}, 1000)
})
} else {
param.workingGroupId = this.$route.query.workingGroupProjectId
publishRemind(param).then(res => {
if (res.success) {
this.$message.success(res.message)
// this.$message.success(res.result)
if (Array.isArray(res.result) && res.result.length > 0) {
// msgWarn(this,res.result,0)
this.$refs.emailError.open()
this.$refs.emailError.msgList = res.result
console.log(this.$refs.emailError.msgList, 'this.$refs.emailError.msgList ')
}
this.$emit('ok')
this.confirmLoading = false
this.handleCancel()