|
@@ -317,7 +317,7 @@
|
|
|
<!-- 未提交 -->
|
|
|
<template v-if="scope.row.State == 1">
|
|
|
<span v-permission="permissionBtn.smartReportManageBtn.reportManage_publish"
|
|
|
- class="editsty"
|
|
|
+ class="editsty" @click="handlePublishReportOpt(scope.row)"
|
|
|
v-if="scope.row.CanEdit">提交</span>
|
|
|
<span v-permission="permissionBtn.smartReportManageBtn.reportManage_reportEdit"
|
|
|
class="editsty" @click="editreport(scope.row, 'edit')"
|
|
@@ -333,12 +333,14 @@
|
|
|
<template v-if="[2,4].includes(scope.row.State)">
|
|
|
<span
|
|
|
v-if="permissionBtn.checkPermissionBtn(permissionBtn.smartReportManageBtn.reportManage_cancelPublish)"
|
|
|
+ @click="handleReportPublishCancel(scope.row)"
|
|
|
style="color: red; cursor: pointer">撤销
|
|
|
</span>
|
|
|
</template>
|
|
|
<!--已驳回则只显示撤销按钮-->
|
|
|
<template v-if="scope.row.State===3">
|
|
|
<span v-permission="permissionBtn.smartReportManageBtn.reportManage_publish"
|
|
|
+ @click="handleReportPublishCancel(scope.row)"
|
|
|
class="editsty">撤销</span>
|
|
|
</template>
|
|
|
<!--音频上传/下载 按原先逻辑-->
|
|
@@ -571,6 +573,10 @@ export default {
|
|
|
this.activeReportId=item.SmartReportId
|
|
|
// this.isDSFB=item.PrePublishTime?true:false
|
|
|
// this.showPublish=true
|
|
|
+ if(this.isApprove){
|
|
|
+ this.handleConfirmPublishReport()
|
|
|
+ return
|
|
|
+ }
|
|
|
this.$confirm(
|
|
|
item.PrePublishTime?'该报告已设置定时发布,是否立即发布报告?':'是否立即发布报告?',
|
|
|
'发布提示',
|