工作组会议维护 详情跳转判断

This commit is contained in:
fengachen
2021-09-15 11:09:00 +08:00
parent 50db160383
commit 0ff1bd6344
3 changed files with 23 additions and 12 deletions
+4
View File
@@ -300,11 +300,15 @@ export default {
* 去合同详情 传入合同id * 去合同详情 传入合同id
* */ * */
toContractDetail() { toContractDetail() {
if(this.basicInfo.contractId){
this.$router.push({ this.$router.push({
path: '/contractManagement/RevenueContractDetail', query: { path: '/contractManagement/RevenueContractDetail', query: {
revenueId: this.basicInfo.contractId revenueId: this.basicInfo.contractId
} }
}) })
}else {
this.$message.warn('该项目未与合同关联')
}
}, },
/* /*
* 每一个项目的来款方式不同 * 每一个项目的来款方式不同
+4
View File
@@ -59,6 +59,7 @@ export default {
* 获取文件信息 * 获取文件信息
* */ * */
async initFileList(fileIds) { async initFileList(fileIds) {
if(fileIds){
const fileList = [] const fileList = []
let arr = fileIds.split(',') let arr = fileIds.split(',')
for (let i = 0; i < arr.length; i++) { for (let i = 0; i < arr.length; i++) {
@@ -67,6 +68,9 @@ export default {
fileList.push({id: fileObj.id, name: fileObj.fileName}) fileList.push({id: fileObj.id, name: fileObj.fileName})
} }
this.fileList = [...fileList] this.fileList = [...fileList]
}else {
this.fileList = []
}
}, },
handlePreview(file) { handlePreview(file) {
if (file && file.id) { if (file && file.id) {
@@ -308,6 +308,9 @@ export default {
* 报名信息 * 报名信息
* */ * */
applyMsg() { applyMsg() {
this.$router.push({
path: '/incomePayments/meetManage/SignUpInfoList'
})
}, },
/* /*
* 创建时间开始禁用 * 创建时间开始禁用