提交 9a313e7a authored 作者: 钟是志's avatar 钟是志

36229 家庭经济困难--无法批量审核

上级 3ea62640
...@@ -32,7 +32,9 @@ class AuditPage extends Component { ...@@ -32,7 +32,9 @@ class AuditPage extends Component {
function handleClick(onShow) { function handleClick(onShow) {
const taskName = selectRows[0].taskName; const taskName = selectRows[0].taskName;
const differentTask = selectRows.slice(1).find((i) => i.taskName !== taskName); const differentTask = selectRows
.slice(1)
.find((i) => i.taskDefinitionKey !== selectRows[0].taskDefinitionKey);
if (differentTask) { if (differentTask) {
return ModalInfo( return ModalInfo(
<div> <div>
...@@ -135,9 +137,10 @@ class AuditPage extends Component { ...@@ -135,9 +137,10 @@ class AuditPage extends Component {
beforeSearchData: (data) => { beforeSearchData: (data) => {
let searcherKeyValue = {}; let searcherKeyValue = {};
for (let item of searchCondition) { for (let item of searchCondition) {
if (typeof data[item.key] !== 'undefined' if (
&& item.key !== 'taskDefKey' typeof data[item.key] !== 'undefined' &&
&& item.key !== 'process_status' item.key !== 'taskDefKey' &&
item.key !== 'process_status'
) { ) {
searcherKeyValue[item.base52] = data[item.key]; searcherKeyValue[item.base52] = data[item.key];
} }
...@@ -178,7 +181,7 @@ class AuditPage extends Component { ...@@ -178,7 +181,7 @@ class AuditPage extends Component {
}; };
componentDidMount() { componentDidMount() {
if(this.props.setRefInfo){ if (this.props.setRefInfo) {
this.props.setRefInfo('AuditPage', this); this.props.setRefInfo('AuditPage', this);
} }
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论