[变更] 工作组设置收费通知去掉校验,设置收费通知弹窗关闭清除数据

This commit is contained in:
zhaoxiao
2022-04-26 14:25:13 +08:00
parent c1199043f3
commit 076406809c
2 changed files with 26 additions and 21 deletions
@@ -62,7 +62,7 @@
<j-dict-select-tag v-model="queryParam.pack"
placeholder="请选择是否打包"
dictCode="yn"
/>
/>
</a-form-item>
</a-col>
@@ -379,7 +379,7 @@ export default {
id: this.workingGroupProjectId
}
getWorkingGroupById(param).then(res => {
if(res.success) {
if (res.success) {
this.workingGroupDetail = res.result || {}
}
}).finally(() => {
@@ -446,21 +446,22 @@ export default {
this.$message.warn('请先选择成员')
return
}
let param = {
ids: this.selectedRowKeys.join(','),
workingGroupId: this.workingGroupProjectId
}
// 2022-04-26 变更:不校验来款是否是收费通知
// let param = {
// ids: this.selectedRowKeys.join(','),
// workingGroupId: this.workingGroupProjectId
// }
// 判断选中的成员是否存在来款方式非收费通知的
getChargeNotice(param).then(res => {
if (res.success) {
this.getChargeNoticeList()
this.$refs.setChargeNotic.chargeNoticeList = this.chargeNoticeList
this.$refs.setChargeNotic.selectedRowKeys = this.selectedRowKeys
this.$refs.setChargeNotic.handleOpen()
} else {
this.$message.warn(res.message)
}
})
// getChargeNotice(param).then(res => {
// if (res.success) {
this.getChargeNoticeList()
this.$refs.setChargeNotic.chargeNoticeList = this.chargeNoticeList
this.$refs.setChargeNotic.selectedRowKeys = this.selectedRowKeys
this.$refs.setChargeNotic.handleOpen()
// } else {
// this.$message.warn(res.message)
// }
// })
},
/**
* 催款提醒
@@ -502,7 +503,7 @@ export default {
if (file && file.url) {
const fileFullUrl = `${ window._CONFIG['domianWebSocketURL'] }/sys/common/download/${ file.id }?token=${ Vue.ls.get(ACCESS_TOKEN) }&fullfilename=${ file.fileName }`
// let url = `${ window._CONFIG['onlinePreviewDomainURL'] }?url=${ encodeURIComponent(Base64.encode(fileFullUrl)) }`
let url = `${window._CONFIG['onlinePreviewDomainURL']}?url=${encodeURIComponent(fileFullUrl)}`
let url = `${ window._CONFIG['onlinePreviewDomainURL'] }?url=${ encodeURIComponent(fileFullUrl) }`
window.open(url)
}
}