fix : 修复路由规范问题

This commit is contained in:
2024-05-14 20:49:46 +08:00
parent ef1acd65b7
commit de0e0be953
3 changed files with 8 additions and 6 deletions

View File

@@ -131,12 +131,14 @@ const tableConfig = reactive({
prop: 'status',
label: '发布状态',
align: 'center',
showOverflowTooltip: false,
currentRender: ({row, index}) => (<Tag dictType={'process_state'} value={row.state}/>)
},
{
prop: 'oper',
label: '操作',
align: 'center',
showOverflowTooltip: false,
currentRender: ({row, index}) => {
let btn = [{label: '详情', func: () => handleDetail(row), type: 'primary'}]
if (row.state === '3' || row.state === '2') {
@@ -163,7 +165,7 @@ const tableConfig = reactive({
}
}
],
api: '',
api: '/workflow/mosr/requirement',
params: {},
})
@@ -174,7 +176,7 @@ const search = (val) => {
const handleDetail = (row) => {
router.push({
path: '/project/management/detail',
name:'Detail',
query: {
id: row.requirementId
}