提交 03ddcabf authored 作者: chscls@163.com's avatar chscls@163.com

修改bug

上级 89c874b7
...@@ -1161,10 +1161,10 @@ class FormList extends React.Component { ...@@ -1161,10 +1161,10 @@ class FormList extends React.Component {
} else { } else {
let width = 0; let width = 0;
if (rights && rights.includes('viewProcess')) { if (rights && rights.includes('viewProcess')) {
width = width + 75; width = width + 90;
} }
if (rights && rights.includes('view')) { if (rights && rights.includes('view')) {
width = width + 75; width = width + 90;
} }
if (rights && rights.includes('edit')) { if (rights && rights.includes('edit')) {
width = width + 70; width = width + 70;
...@@ -1213,8 +1213,8 @@ class FormList extends React.Component { ...@@ -1213,8 +1213,8 @@ class FormList extends React.Component {
)} )}
{rights && rights.includes('viewProcess') && record.process_biz_key ? ( {rights && rights.includes('viewProcess') && record.process_biz_key ? (
<> <>
<a onClick={this.viewProcess.bind(this, record)}>查看流程详情</a> <a onClick={this.viewProcess.bind(this, record)}>流程详情</a>
{rights && !rights.includes('delete') ?<Divider type="vertical" />:""} {rights.includes('delete') ?<Divider type="vertical" />:""}
</> </>
) : ( ) : (
'' ''
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论