工作组会议维护 详情跳转判断
This commit is contained in:
@@ -300,11 +300,15 @@ export default {
|
||||
* 去合同详情 传入合同id
|
||||
* */
|
||||
toContractDetail() {
|
||||
this.$router.push({
|
||||
path: '/contractManagement/RevenueContractDetail', query: {
|
||||
revenueId: this.basicInfo.contractId
|
||||
}
|
||||
})
|
||||
if(this.basicInfo.contractId){
|
||||
this.$router.push({
|
||||
path: '/contractManagement/RevenueContractDetail', query: {
|
||||
revenueId: this.basicInfo.contractId
|
||||
}
|
||||
})
|
||||
}else {
|
||||
this.$message.warn('该项目未与合同关联')
|
||||
}
|
||||
},
|
||||
/*
|
||||
* 每一个项目的来款方式不同
|
||||
|
||||
@@ -59,14 +59,18 @@ export default {
|
||||
* 获取文件信息
|
||||
* */
|
||||
async initFileList(fileIds) {
|
||||
const fileList = []
|
||||
let arr = fileIds.split(',')
|
||||
for (let i = 0; i < arr.length; i++) {
|
||||
let fileObj = {}
|
||||
fileObj = await this.getFileInfo(arr[i])
|
||||
fileList.push({id: fileObj.id, name: fileObj.fileName})
|
||||
if(fileIds){
|
||||
const fileList = []
|
||||
let arr = fileIds.split(',')
|
||||
for (let i = 0; i < arr.length; i++) {
|
||||
let fileObj = {}
|
||||
fileObj = await this.getFileInfo(arr[i])
|
||||
fileList.push({id: fileObj.id, name: fileObj.fileName})
|
||||
}
|
||||
this.fileList = [...fileList]
|
||||
}else {
|
||||
this.fileList = []
|
||||
}
|
||||
this.fileList = [...fileList]
|
||||
},
|
||||
handlePreview(file) {
|
||||
if (file && file.id) {
|
||||
|
||||
@@ -308,6 +308,9 @@ export default {
|
||||
* 报名信息
|
||||
* */
|
||||
applyMsg() {
|
||||
this.$router.push({
|
||||
path: '/incomePayments/meetManage/SignUpInfoList'
|
||||
})
|
||||
},
|
||||
/*
|
||||
* 创建时间开始禁用
|
||||
|
||||
Reference in New Issue
Block a user