|
@ -127,7 +127,7 @@ |
|
|
canResize: false, |
|
|
canResize: false, |
|
|
useSearchForm: false, |
|
|
useSearchForm: false, |
|
|
actionColumn: { |
|
|
actionColumn: { |
|
|
width: 290, |
|
|
width: 300, |
|
|
fixed: 'right', |
|
|
fixed: 'right', |
|
|
}, |
|
|
}, |
|
|
beforeFetch: (params) => { |
|
|
beforeFetch: (params) => { |
|
@ -256,6 +256,10 @@ |
|
|
label: '联动设备', |
|
|
label: '联动设备', |
|
|
onClick: handleLinkageDeviceList.bind(null, record), |
|
|
onClick: handleLinkageDeviceList.bind(null, record), |
|
|
}, |
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
label: '删除', |
|
|
|
|
|
onClick: handleDelete.bind(null, record), |
|
|
|
|
|
} |
|
|
]; |
|
|
]; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
@ -264,17 +268,17 @@ |
|
|
*/ |
|
|
*/ |
|
|
function getDropDownAction(record) { |
|
|
function getDropDownAction(record) { |
|
|
return [ |
|
|
return [ |
|
|
{ |
|
|
// { |
|
|
label: '详情', |
|
|
// label: '详情', |
|
|
onClick: handleDetail.bind(null, record), |
|
|
// onClick: handleDetail.bind(null, record), |
|
|
}, |
|
|
// }, |
|
|
{ |
|
|
// { |
|
|
label: '删除', |
|
|
// label: '删除', |
|
|
popConfirm: { |
|
|
// popConfirm: { |
|
|
title: '是否确认删除', |
|
|
// title: '是否确认删除', |
|
|
confirm: handleDelete.bind(null, record), |
|
|
// confirm: handleDelete.bind(null, record), |
|
|
}, |
|
|
// }, |
|
|
}, |
|
|
// }, |
|
|
]; |
|
|
]; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|