Commit 4a7211a8 by zhaochengxiang

模版可不选

parent 81ed822d
......@@ -787,6 +787,14 @@ const ImportActionTable = (props) => {
row: (editable&&editingKey===''&&keyword==='')?DragableBodyRow:null,
},
}}
rowClassName={(record, index) => {
console.log('record', record);
if (record.modelingTemplateTag && record.modelingTemplateTag!=={}) {
return 'editable-row template-highlight-row';
}
return 'editable-row';
}}
onRow={(record, index) => {
if (!editable || editingKey!=='' || keyword.length>0) return null;
......@@ -799,7 +807,6 @@ const ImportActionTable = (props) => {
columns={mergedColumns()}
size='small'
rowKey='iid'
rowClassName="editable-row"
pagination={false}
search={false}
options={{
......
......@@ -10,4 +10,8 @@
padding: 0 !important;
}
}
.template-highlight-row {
background-color: #e7f7ff;
}
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment