|
@@ -119,7 +119,11 @@
|
|
|
<el-button
|
|
|
type="primary"
|
|
|
v-show="route.query.dataType != 'normal'"
|
|
|
- :disabled="!steps.find((x) => x.auditflowStep.includes('SH'))"
|
|
|
+ :disabled="
|
|
|
+ !steps.find((x) =>
|
|
|
+ x.auditflowStep.includes(route.query.dataType + 'SH')
|
|
|
+ )
|
|
|
+ "
|
|
|
@click="operate('SH')"
|
|
|
>审核</el-button
|
|
|
>
|
|
@@ -133,7 +137,11 @@
|
|
|
<el-button
|
|
|
type="success"
|
|
|
v-show="['XJ', 'SJ'].includes(route.query.dataType)"
|
|
|
- :disabled="!steps.find((x) => x.auditflowStep.includes('TJ'))"
|
|
|
+ :disabled="
|
|
|
+ !steps.find((x) =>
|
|
|
+ x.auditflowStep.includes(route.query.dataType + 'TJ')
|
|
|
+ )
|
|
|
+ "
|
|
|
@click="operate('TJ')"
|
|
|
>提交</el-button
|
|
|
>
|