|
@@ -199,6 +199,10 @@
|
|
|
<el-button v-if="scope.row.taskStatus == 1" size="small" type="warning" @click="completes(scope.row.id, 1, scope.row)">{{ $t('zhong-qi') }}</el-button>
|
|
|
<el-button v-if="idx == 3" size="small" type="primary" @click="handleAuditTask(scope.row, true)">通过</el-button>
|
|
|
<el-button v-if="idx == 3" size="small" type="danger" @click="handleAuditTask(scope.row, false)">驳回</el-button>
|
|
|
+ <template v-if="permissions.taskApprovalPlan && idx == 0">
|
|
|
+ <el-button v-if="scope.row.taskStatus == 3 || scope.row.taskStatus == 4" size="small" type="success" @click="handleAuditTask(scope.row, true)">通过</el-button>
|
|
|
+ <el-button v-if="scope.row.taskStatus == 3 || scope.row.taskStatus == 4" size="small" type="danger" @click="handleAuditTask(scope.row, false)">驳回</el-button>
|
|
|
+ </template>
|
|
|
</div>
|
|
|
</template>
|
|
|
</el-table-column>
|