|
|
@@ -193,49 +193,88 @@
|
|
|
<vxe-column width="110" align="center" title="创建时间" field="createTime"></vxe-column>
|
|
|
<vxe-column min-width="100px" align="center" fixed="right" title="报告号申请" field="applyStatus">
|
|
|
<template #default="scope">
|
|
|
- <el-button @click="detailApply(scope.row)" effect="dark"
|
|
|
- v-if="scope.row.applyStatus !== '0'"
|
|
|
- :type="$dictUtils.getDictLabel('cw_status_flag', scope.row.applyStatus, '-')">
|
|
|
- {{ $dictUtils.getDictLabel("cw_status", scope.row.applyStatus, '-') }}
|
|
|
- </el-button>
|
|
|
- <el-button v-else-if="scope.row.reviewStatus === '0'" effect="dark">
|
|
|
- 未发起
|
|
|
- </el-button>
|
|
|
+ <div v-if="scope.row.status == '7'">
|
|
|
+ <el-button @click="detailApply(scope.row)" effect="dark"
|
|
|
+ v-if="scope.row.applyStatus !== '0'" type="danger">
|
|
|
+ 已作废
|
|
|
+ </el-button>
|
|
|
+ <el-button @click="detailApplyReview(scope.row)" effect="dark"
|
|
|
+ v-if="scope.row.improperTakeCause" type="danger">
|
|
|
+ 已作废
|
|
|
+ </el-button>
|
|
|
+ </div>
|
|
|
+ <div v-else>
|
|
|
+ <el-button @click="detailApply(scope.row)" effect="dark"
|
|
|
+ v-if="scope.row.applyStatus !== '0'"
|
|
|
+ :type="$dictUtils.getDictLabel('cw_status_flag', scope.row.applyStatus, '-')">
|
|
|
+ {{ $dictUtils.getDictLabel("cw_status", scope.row.applyStatus, '-') }}
|
|
|
+ </el-button>
|
|
|
+ <el-button v-else-if="scope.row.reviewStatus === '0'" effect="dark">
|
|
|
+ 未发起
|
|
|
+ </el-button>
|
|
|
|
|
|
- <el-button @click="detailApplyReview(scope.row)" effect="dark"
|
|
|
- v-if="scope.row.improperTakeCause"
|
|
|
- :type="$dictUtils.getDictLabel('cw_status_flag', scope.row.applyReviewStatus, '-')">
|
|
|
- {{ $dictUtils.getDictLabel("cw_status", scope.row.applyReviewStatus, '-') }}
|
|
|
- </el-button>
|
|
|
+ <el-button @click="detailApplyReview(scope.row)" effect="dark"
|
|
|
+ v-if="scope.row.improperTakeCause"
|
|
|
+ :type="$dictUtils.getDictLabel('cw_status_flag', scope.row.applyReviewStatus, '-')">
|
|
|
+ {{ $dictUtils.getDictLabel("cw_status", scope.row.applyReviewStatus, '-') }}
|
|
|
+ </el-button>
|
|
|
+ </div>
|
|
|
</template>
|
|
|
</vxe-column>
|
|
|
<vxe-column min-width="230px" align="center" fixed="right" title="复核签章状态" field="reviewStatus">
|
|
|
<template #default="scope">
|
|
|
- <el-button @click="detail(scope.row)" effect="dark"
|
|
|
- :type="$dictUtils.getDictLabel('cw_status_flag', scope.row.reviewStatus, '-')">
|
|
|
- {{ $dictUtils.getDictLabel("cw_status", scope.row.reviewStatus, '-') }}
|
|
|
- </el-button>
|
|
|
+ <div v-if="scope.row.status == '7'">
|
|
|
+ <el-button @click="detail(scope.row)" effect="dark" type="danger">
|
|
|
+ 已作废
|
|
|
+ </el-button>
|
|
|
+
|
|
|
+ <el-button v-if="scope.row.signatureType === '1' && scope.row.newType === '0'"
|
|
|
+ @click="detailS(scope.row)" effect="dark" type="danger">
|
|
|
+ 已作废
|
|
|
+ </el-button>
|
|
|
+ <el-button v-else-if="scope.row.signatureType === '2' && scope.row.newType === '0'"
|
|
|
+ @click="detailS2(scope.row)" type="danger" effect="dark">
|
|
|
+ 已作废
|
|
|
+ </el-button>
|
|
|
+ <el-button v-else-if="scope.row.signatureType === '3' && scope.row.newType === '0'"
|
|
|
+ @click="detailS3(scope.row)" effect="dark" type="danger">
|
|
|
+ 已作废
|
|
|
+ </el-button>
|
|
|
+ <el-button v-else-if="scope.row.newType === '0'" effect="dark">
|
|
|
+ 未发起
|
|
|
+ </el-button>
|
|
|
+ </div>
|
|
|
+ <div v-else>
|
|
|
+ <el-button @click="detail(scope.row)" effect="dark"
|
|
|
+ :type="$dictUtils.getDictLabel('cw_status_flag', scope.row.reviewStatus, '-')">
|
|
|
+ {{ $dictUtils.getDictLabel("cw_status", scope.row.reviewStatus, '-') }}
|
|
|
+ </el-button>
|
|
|
+
|
|
|
+ <el-button v-if="scope.row.signatureType === '1' && scope.row.newType === '0'"
|
|
|
+ @click="detailS(scope.row)" effect="dark"
|
|
|
+ :type="$dictUtils.getDictLabel('cw_status_flag', scope.row.status1, '-')">
|
|
|
+ {{ scope.row.status1 === '5' ? '电子章已完成' : $dictUtils.getDictLabel("cw_status",
|
|
|
+ scope.row.status1, '-') }}
|
|
|
+ </el-button>
|
|
|
+ <el-button v-else-if="scope.row.signatureType === '2' && scope.row.newType === '0'"
|
|
|
+ @click="detailS2(scope.row)" effect="dark"
|
|
|
+ :type="$dictUtils.getDictLabel('cw_project_report_sign_status_flag', scope.row.status2, '-')">
|
|
|
+ {{ $dictUtils.getDictLabel("cw_project_report_sign_status", scope.row.status2, '-')
|
|
|
+ }}
|
|
|
+ </el-button>
|
|
|
+ <el-button v-else-if="scope.row.signatureType === '3' && scope.row.newType === '0'"
|
|
|
+ @click="detailS3(scope.row)" effect="dark"
|
|
|
+ :type="$dictUtils.getDictLabel('cw_status_flag', scope.row.status3, '-')">
|
|
|
+ {{ scope.row.status3 === '5' ? '实体章已完成' : $dictUtils.getDictLabel("cw_status",
|
|
|
+ scope.row.status3, '-') }}
|
|
|
+ </el-button>
|
|
|
+ <el-button v-else-if="scope.row.newType === '0'" effect="dark">
|
|
|
+ 未发起
|
|
|
+ </el-button>
|
|
|
+ </div>
|
|
|
+
|
|
|
+
|
|
|
|
|
|
- <el-button v-if="scope.row.signatureType === '1' && scope.row.newType === '0'"
|
|
|
- @click="detailS(scope.row)" effect="dark"
|
|
|
- :type="$dictUtils.getDictLabel('cw_status_flag', scope.row.status1, '-')">
|
|
|
- {{ scope.row.status1 === '5' ? '电子章已完成' : $dictUtils.getDictLabel("cw_status",
|
|
|
- scope.row.status1, '-') }}
|
|
|
- </el-button>
|
|
|
- <el-button v-else-if="scope.row.signatureType === '2' && scope.row.newType === '0'"
|
|
|
- @click="detailS2(scope.row)" effect="dark"
|
|
|
- :type="$dictUtils.getDictLabel('cw_project_report_sign_status_flag', scope.row.status2, '-')">
|
|
|
- {{ $dictUtils.getDictLabel("cw_project_report_sign_status", scope.row.status2, '-') }}
|
|
|
- </el-button>
|
|
|
- <el-button v-else-if="scope.row.signatureType === '3' && scope.row.newType === '0'"
|
|
|
- @click="detailS3(scope.row)" effect="dark"
|
|
|
- :type="$dictUtils.getDictLabel('cw_status_flag', scope.row.status3, '-')">
|
|
|
- {{ scope.row.status3 === '5' ? '实体章已完成' : $dictUtils.getDictLabel("cw_status",
|
|
|
- scope.row.status3, '-') }}
|
|
|
- </el-button>
|
|
|
- <el-button v-else-if="scope.row.newType === '0'" effect="dark">
|
|
|
- 未发起
|
|
|
- </el-button>
|
|
|
|
|
|
</template>
|
|
|
</vxe-column>
|
|
|
@@ -246,14 +285,26 @@
|
|
|
</vxe-column>-->
|
|
|
<vxe-column min-width="100px" align="center" title="修改注师" field="signatureAnnotatorStatus">
|
|
|
<template #default="scope">
|
|
|
- <el-button @click="detailSig(scope.row)" effect="dark"
|
|
|
- v-if="scope.row.signatureAnnotatorStatus !== '0'"
|
|
|
- :type="$dictUtils.getDictLabel('cw_status_flag', scope.row.signatureAnnotatorStatus, '-')">
|
|
|
- {{ $dictUtils.getDictLabel("cw_status", scope.row.signatureAnnotatorStatus, '-') }}
|
|
|
- </el-button>
|
|
|
- <el-button v-else effect="dark">
|
|
|
- 未发起
|
|
|
- </el-button>
|
|
|
+ <div v-if="scope.row.status == '7'">
|
|
|
+ <el-button @click="detailSig(scope.row)" effect="dark"
|
|
|
+ v-if="scope.row.signatureAnnotatorStatus !== '0'" type="danger">
|
|
|
+ 已作废
|
|
|
+ </el-button>
|
|
|
+ <el-button v-else effect="dark">
|
|
|
+ 未发起
|
|
|
+ </el-button>
|
|
|
+ </div>
|
|
|
+ <div v-else>
|
|
|
+ <el-button @click="detailSig(scope.row)" effect="dark"
|
|
|
+ v-if="scope.row.signatureAnnotatorStatus !== '0'"
|
|
|
+ :type="$dictUtils.getDictLabel('cw_status_flag', scope.row.signatureAnnotatorStatus, '-')">
|
|
|
+ {{ $dictUtils.getDictLabel("cw_status", scope.row.signatureAnnotatorStatus, '-') }}
|
|
|
+ </el-button>
|
|
|
+ <el-button v-else effect="dark">
|
|
|
+ 未发起
|
|
|
+ </el-button>
|
|
|
+ </div>
|
|
|
+
|
|
|
</template>
|
|
|
</vxe-column>
|
|
|
<vxe-column min-width="100px" align="center" title="撤回签章" field="rebackStatus">
|
|
|
@@ -302,7 +353,8 @@
|
|
|
<el-button v-if="scope.row.applyStatus == '5'" text type="primary"
|
|
|
@click="rebackApplyAndAll(scope.row)">撤回报告号申请</el-button>
|
|
|
</div>
|
|
|
- <div v-else>
|
|
|
+ <div
|
|
|
+ v-else-if="isAdmin === false && scope.row.archiveStatus != '5' && scope.row.status != '7'">
|
|
|
<el-button v-if="$dictUtils.getDictValue('report_edit_flag', 'open', '0') == 1" text
|
|
|
type="primary" @click="editApprovedAmount(scope.row.id)">审定金额修改</el-button>
|
|
|
<el-button
|
|
|
@@ -442,9 +494,6 @@
|
|
|
<el-button
|
|
|
v-if="hasPermission('cw:workContract:filed') && scope.row.createById === $store.state.user.id && scope.row.rebackStatus === '2'"
|
|
|
text type="primary" @click="revocation(scope.row)">撤回</el-button>
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
</div>
|
|
|
</template>
|
|
|
</vxe-column>
|