king
2023-08-21 2bfe0c30989141535de2da8d3656c83957a7c223
src/menu/datasource/verifycard/index.jsx
@@ -117,7 +117,7 @@
      {
        title: 'SQL',
        dataIndex: 'sql',
        width: '72%',
        width: '65%',
        render: (text) => {
          let title = text.match(/^\s*\/\*.+\*\//)
          title = title && title[0] ? title[0] : ''
@@ -132,9 +132,21 @@
        }
      },
      {
        title: '执行位置',
        dataIndex: 'position',
        width: '10%',
        render: (text, record) => {
          if (record.position === 'back') {
            return <span style={{color: 'orange'}}>后置</span>
          } else {
            return <span style={{color: '#26C281'}}>前置</span>
          }
        }
      },
      {
        title: '状态',
        dataIndex: 'status',
        width: '13%',
        width: '10%',
        render: (text, record) => record.status === 'false' ?
          (
            <div style={{color: '#ff4d4f'}}>