Commit 7b1da277 by zhangxw

按钮权限细化

1 parent 1ebf747d
...@@ -210,7 +210,7 @@ export default { ...@@ -210,7 +210,7 @@ export default {
} }
}, },
{ {
type: 'GLButton', type: 'GLButton', // 校验不通过 重新提交
name: row => { name: row => {
return '重新提交' return '重新提交'
}, },
...@@ -226,13 +226,12 @@ export default { ...@@ -226,13 +226,12 @@ export default {
} }
}, },
{ {
type: 'GLButton', type: 'GLButton', // c端小程序报案的单是运营经理审核不通过/核赔不通过
name: row => { name: row => {
return '重新提交' return '重新提交'
}, },
condition: row => { condition: row => {
// c端小程序报案的单是运营经理审核不通过/核赔不通过/定损不通过 return [22, 25].includes(row.scope.status) && row.scope.source == 4
return [22, 25, 35].includes(row.scope.status) && row.scope.source == 4
}, },
attrs: { attrs: {
type: 'text', type: 'text',
...@@ -243,6 +242,22 @@ export default { ...@@ -243,6 +242,22 @@ export default {
} }
}, },
{ {
type: 'GLButton', // c端小程序报案的单是定损不通过
name: row => {
return '定损重新提交'
},
condition: row => {
return [35].includes(row.scope.status) && row.scope.source == 4
},
attrs: {
type: 'text',
fn: '定损重新提交'
},
listeners: {
click: row => this.handleView(row.scope, 3)
}
},
{
type: 'GLButton', type: 'GLButton',
name: row => { name: row => {
return '运营经理审核' return '运营经理审核'
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!