|
@@ -128,7 +128,7 @@ function FlowModal(props) {
|
|
|
const handleChangeClick = item => {
|
|
|
let file = isOut ? 'newList' : 'detail';
|
|
|
let type = item.flow_id ? '/queryAuditRecord' : '/queryAuditExcel';
|
|
|
- console.log(`${file}${type}`);
|
|
|
+ console.log(`${file}${type}`, item);
|
|
|
dispatch({
|
|
|
type: `${file}${type}`,
|
|
|
payload: {
|
|
@@ -159,7 +159,7 @@ function FlowModal(props) {
|
|
|
title: '状态',
|
|
|
width: '30%',
|
|
|
render: item => {
|
|
|
- if (item.isParent) return;
|
|
|
+ // if (!item.flow_id && item.isParent) return;
|
|
|
let style = { color: getColor(item) };
|
|
|
let txt = '';
|
|
|
switch (item.audit_status) {
|
|
@@ -191,7 +191,7 @@ function FlowModal(props) {
|
|
|
title: '操作',
|
|
|
width: '20%',
|
|
|
render: item =>
|
|
|
- !item.isParent &&
|
|
|
+ (item.flow_id || !item.isParent) &&
|
|
|
item.id != version.id && (
|
|
|
<a
|
|
|
onClick={() => {
|