Commit 0307c277162ea84140d8f30bfd5689c970ea3aca

Authored by 谢忠泽
1 parent b803535c

update:状态展示

src/pages/contract/AuthorizationSetting/index.tsx
... ... @@ -115,7 +115,6 @@ function AuthorizationSetting() {
115 115 onChange={(_pagination) => setParams({ ..._pagination }, true)}
116 116 >
117 117 <Column title="合同类型" width={200} dataIndex="typeName" render={(t) => t || "-"} />
118   - {/* <Column title="是否启用" width={200} dataIndex="enabled" render={(t) => (t?'是':'否')} /> */}
119 118 <Column
120 119 title="授权角色"
121 120 width={200}
... ... @@ -129,6 +128,7 @@ function AuthorizationSetting() {
129 128 </Button>
130 129 )}
131 130 />
  131 + <Column title="状态" width={200} dataIndex="enabled" render={(t) => (t?'启用':'禁用')} />
132 132 {/* <Column title="创建时间" width={200} dataIndex="createTime" render={(t) => (t ? moment(t).format('YYYY-MM-DD HH:mm') : "-")} />
133 133 <Column title="更新时间" width={200} dataIndex="updateTime" render={(t) => (t ? moment(t).format('YYYY-MM-DD HH:mm') : "-")} /> */}
134 134 <Column
... ...