fix : 修复页面细节
This commit is contained in:
@@ -148,7 +148,7 @@ const tableConfig = reactive({
|
||||
currentRender: ({row, index}) => {
|
||||
let btn = [{label: '详情', func: () => handleDetail(row), type: 'primary'}]
|
||||
// if (row.state === '3') {
|
||||
btn.push({label: '附件', func: () => handleCheck(row), type: 'primary'})
|
||||
btn.push({label: '附件', func: () => handleAttachment(row), type: 'primary'})
|
||||
// } else if (row.state === '4') {
|
||||
btn.push({label: '结项', func: () => handleConclusion(row), type: 'primary'})
|
||||
btn.push({label: '编辑', func: () => handleEdit(row), type: 'primary'})
|
||||
@@ -189,6 +189,15 @@ const handleDetail = (row) => {
|
||||
}
|
||||
})
|
||||
}
|
||||
const handleAttachment = (row) => {
|
||||
router.push({
|
||||
name:'Filing/attachment',
|
||||
query: {
|
||||
id: row.requirementId,
|
||||
projectId: row.projectId
|
||||
}
|
||||
})
|
||||
}
|
||||
const handleConclusion = (row) => {
|
||||
router.push({
|
||||
name:'Filing/conclusion',
|
||||
|
||||
Reference in New Issue
Block a user