|
@@ -140,13 +140,23 @@
|
|
|
label: '编辑(edit)',
|
|
|
onClick: handleEdit.bind(null, record),
|
|
|
auth: 'cuspCode:cusp_supplier_evaluation:edit',
|
|
|
- ifShow: record.submit!==0
|
|
|
+ ifShow: record.submit!==1
|
|
|
},
|
|
|
{
|
|
|
label: '详情(detail)',
|
|
|
onClick: handleDetail.bind(null, record),
|
|
|
- ifShow: record.submit==0
|
|
|
+ ifShow: record.submit==1
|
|
|
},
|
|
|
+ {
|
|
|
+ label: '删除(delete)',
|
|
|
+ popConfirm: {
|
|
|
+ title: '是否确认删除',
|
|
|
+ confirm: handleDelete.bind(null, record),
|
|
|
+ placement: 'topLeft'
|
|
|
+ },
|
|
|
+ auth: 'cuspCode:cusp_supplier_evaluation:delete',
|
|
|
+ ifShow: record.submit!==1
|
|
|
+ }
|
|
|
]
|
|
|
}
|
|
|
|
|
@@ -156,16 +166,7 @@
|
|
|
*/
|
|
|
function getDropDownAction(record){
|
|
|
return [
|
|
|
- {
|
|
|
- label: '删除(delete)',
|
|
|
- popConfirm: {
|
|
|
- title: '是否确认删除',
|
|
|
- confirm: handleDelete.bind(null, record),
|
|
|
- placement: 'topLeft'
|
|
|
- },
|
|
|
- auth: 'cuspCode:cusp_supplier_evaluation:delete',
|
|
|
- ifShow: record.submit!==0
|
|
|
- }
|
|
|
+
|
|
|
]
|
|
|
}
|
|
|
function submit(){
|