fix : 修改打印范围, 详情增加项目实施模块

This commit is contained in:
2024-08-26 20:52:39 +08:00
parent 741187c129
commit 2173cd1cf1
9 changed files with 322 additions and 370 deletions

View File

@@ -297,14 +297,14 @@ const tableConfig = reactive({
btn.push({label: '验收', prem: ['mosr:implementation:check'], func: () => handleCheck(row), type: 'primary'})
}
if (buttons.has("edit")) {
btn.push({label: '编辑', prem: ['mosr:implementation:resubmit'], func: () => handleEdit(row), type: 'primary'})
btn.push({label: '编辑', prem: ['mosr:implementation:resubmit'], func: () => handleEdit(row), type: 'primary'})
}
if (buttons.has("standing")) {
btn.push({label: '台账', prem: ['project:management:implementation:account'], func: () => handleStandingBook(row), type: 'primary'})
}
if (buttons.has("attachments")) {
btn.push({label: '附件', prem: ['project:management:implementation:attachment'], func: () => handleAttachment(row), type: 'primary'})
}
// if (buttons.has("attachments")) {
// btn.push({label: '附件', prem: ['project:management:implementation:attachment'], func: () => handleAttachment(row), type: 'primary'})
// }
if (buttons.has("viewAllocation")) {
btn.push({label: '查看分摊', prem: ['project:management:implementation:share'], func: () => handleShare(row), type: 'primary'})
}
@@ -355,13 +355,19 @@ const search = (val) => {
}
const handleDetail = (row) => {
let step=''
if(row.state==0){
step='30'
}else {
step='40'
}
router.push({
name: 'Implementation/detail',
query: {
id: row.requirementId,
projectId: row.projectId,
state: row.state,
step: '40'
step: step
}
})
}