|
@@ -34,6 +34,16 @@
|
|
|
<el-form-item v-if="showHideItem" label="审计收费(税前、元)" prop="contractAmounts">
|
|
|
<InputNumber :disabled="false" :precision="num" v-model="searchForm.contractAmounts"></InputNumber>
|
|
|
</el-form-item>
|
|
|
+ <el-form-item v-if="showHideItem" label="报备类型" prop="filingType">
|
|
|
+ <el-select v-model="searchForm.filingType" placeholder="请选择" style="width:100%;">
|
|
|
+ <el-option
|
|
|
+ v-for="item in $dictUtils.getDictList('cw_work_client_report_type')"
|
|
|
+ :key="item.value"
|
|
|
+ :label="item.label"
|
|
|
+ :value="item.value">
|
|
|
+ </el-option>
|
|
|
+ </el-select>
|
|
|
+ </el-form-item>
|
|
|
<el-form-item v-if="showHideItem" label="复核状态" prop="reviewStatus">
|
|
|
<el-select v-model="searchForm.reviewStatus" placeholder="请选择" style="width:100%;">
|
|
|
<el-option
|
|
@@ -154,58 +164,72 @@
|
|
|
|
|
|
<vxe-column title="操作" width="200px" fixed="right" align="center">
|
|
|
<template slot-scope="scope">
|
|
|
- <el-button v-if="isAdmin && (scope.row.reviewStatus === '0' || scope.row.reviewStatus === '1' || scope.row.reviewStatus === '3' || commonJS.isEmpty(scope.row.reviewStatus))" type="text" size="small" @click="edit(scope.row.id)">修改</el-button>
|
|
|
- <el-button v-else-if="hasPermission('cwProjectReport:edit')&&
|
|
|
+ <div v-if="isAdmin">
|
|
|
+ <el-button v-if="
|
|
|
+ scope.row.reviewStatus === '5'&&(
|
|
|
+ (scope.row.signatureType === '1' && (scope.row.status1 === '0'||scope.row.status1 === '1'||scope.row.status1 === '3')) ||
|
|
|
+ (scope.row.signatureType === '2' && (scope.row.status2 === '0'||scope.row.status2 === '1'||scope.row.status2 === '3')) ||
|
|
|
+ (scope.row.signatureType === '3' && (scope.row.status3 === '0'||scope.row.status3 === '1'||scope.row.status3 === '3'))
|
|
|
+ )" type="text" size="small" @click="edit(scope.row.id)">修改</el-button>
|
|
|
+ <el-button v-if="
|
|
|
+ scope.row.reviewStatus === '5'&&(
|
|
|
+ (scope.row.signatureType === '1' && (scope.row.status1 === '0'||scope.row.status1 === '1'||scope.row.status1 === '3')) ||
|
|
|
+ (scope.row.signatureType === '2' && (scope.row.status2 === '0'||scope.row.status2 === '1'||scope.row.status2 === '3')) ||
|
|
|
+ (scope.row.signatureType === '3' && (scope.row.status3 === '0'||scope.row.status3 === '1'||scope.row.status3 === '3'))
|
|
|
+ )" type="text" size="small" @click="del(scope.row.id)">删除</el-button>
|
|
|
+ <!-- 签章撤回 (只有管理员在签章完成后可使用此功能)-->
|
|
|
+ <el-button v-if="(
|
|
|
+ (scope.row.signatureType === '1' && scope.row.status1 === '5') ||
|
|
|
+ (scope.row.signatureType === '2' && scope.row.status2 === '5') ||
|
|
|
+ (scope.row.signatureType === '3' && scope.row.status3 === '5')
|
|
|
+ )"
|
|
|
+ type="text" size="small" @click="rebackSign(scope.row)">撤回签章</el-button>
|
|
|
+ </div>
|
|
|
+ <div v-else>
|
|
|
+ <el-button v-if="hasPermission('cwProjectReport:edit')&&
|
|
|
(scope.row.createById === $store.state.user.id||haveProjectIds.includes(scope.row.projectId))&&
|
|
|
scope.row.status === '5'&&
|
|
|
(scope.row.reviewStatus === '0' || scope.row.reviewStatus === '1' || scope.row.reviewStatus === '3' || commonJS.isEmpty(scope.row.reviewStatus))"
|
|
|
- type="text" size="small" @click="edit(scope.row.id)">修改</el-button>
|
|
|
+ type="text" size="small" @click="edit(scope.row.id)">修改</el-button>
|
|
|
|
|
|
- <el-button v-if="isAdmin && (scope.row.reviewStatus === '0' || scope.row.reviewStatus === '1' || scope.row.reviewStatus === '3' || commonJS.isEmpty(scope.row.reviewStatus))" type="text" size="small" @click="del(scope.row.id)">删除</el-button>
|
|
|
- <el-button v-else-if="hasPermission('cwProjectReport:del')&&
|
|
|
- (scope.row.createById === $store.state.user.id||isAdmin||haveProjectIds.includes(scope.row.projectId))&&
|
|
|
+ <el-button v-else-if="hasPermission('cwProjectReport:del')&&
|
|
|
+ (scope.row.createById === $store.state.user.id||haveProjectIds.includes(scope.row.projectId))&&
|
|
|
scope.row.status === '5'&&
|
|
|
(scope.row.reviewStatus === '0' || scope.row.reviewStatus === '1' || scope.row.reviewStatus === '3' || commonJS.isEmpty(scope.row.reviewStatus))"
|
|
|
- type="text" size="small" @click="del(scope.row.id)">删除</el-button>
|
|
|
-<!-- 审核-->
|
|
|
- <el-button v-if="scope.row.reviewStatus==='2' && checkIsAuditReview(scope.row)" type="text" size="small" @click="examineReview(scope.row)">审核</el-button>
|
|
|
-<!-- 被驳回后当前申请人重新调整-->
|
|
|
- <el-button v-if="hasPermission('cw:workContract:filed')&&scope.row.createById === $store.state.user.id&&scope.row.reviewStatus === '4'" type="text" size="small" @click="adjustReview(scope.row)">驳回调整</el-button>
|
|
|
-<!-- 复核流程-->
|
|
|
- <el-button v-if="hasPermission('cw:workContract:filed') && (scope.row.createById === $store.state.user.id||isAdmin||haveProjectIds.includes(scope.row.projectId)) && scope.row.status === '5'&& (scope.row.reviewStatus === '0' || scope.row.reviewStatus === '1' || scope.row.reviewStatus === '3' || scope.row.reviewStatus === undefined || scope.row.reviewStatus === '')" type="text" size="small" @click="pushF(scope.row)">复核</el-button>
|
|
|
- <el-button v-if="hasPermission('cw:workContract:filed') && (scope.row.createById === $store.state.user.id||isAdmin||haveProjectIds.includes(scope.row.projectId)) && scope.row.status === '5'&& scope.row.reviewStatus === '2'" type="text" size="small" @click="rebackF(scope.row)">撤回复核申请</el-button>
|
|
|
-<!-- 未选择盖章类型点击签章操作-->
|
|
|
- <el-button v-if="hasPermission('cw:workContract:filed') && (scope.row.createById === $store.state.user.id||isAdmin||haveProjectIds.includes(scope.row.projectId)) && scope.row.status === '5' && scope.row.reviewStatus === '5' && !scope.row.signatureType" type="text" size="small" @click="pushS(scope.row)">签章</el-button>
|
|
|
- <!--公章流程-->
|
|
|
- <el-button v-if="hasPermission('cw:workContract:filed') && (scope.row.createById === $store.state.user.id||isAdmin||haveProjectIds.includes(scope.row.projectId)) && scope.row.status === '5' && scope.row.reviewStatus === '5' && scope.row.signatureType === '1' && (scope.row.status1 === '0' || scope.row.status1 === '3')" type="text" size="small" @click="pushS(scope.row)">签章</el-button>
|
|
|
- <el-button v-if="hasPermission('cw:workContract:filed') && (scope.row.createById === $store.state.user.id||isAdmin||haveProjectIds.includes(scope.row.projectId)) && scope.row.status === '5' && scope.row.reviewStatus === '5' && scope.row.signatureType === '1' && scope.row.status1 === '2'" type="text" size="small" @click="rebackS(scope.row)">撤回签章申请</el-button>
|
|
|
-<!-- 实体章流程-->
|
|
|
- <el-button v-if="hasPermission('cw:workContract:filed') && (scope.row.createById === $store.state.user.id||isAdmin||haveProjectIds.includes(scope.row.projectId)) && scope.row.status === '5' && scope.row.reviewStatus === '5' && scope.row.signatureType === '3' && (scope.row.status3 === '0' || scope.row.status3 === '3')" type="text" size="small" @click="pushS3(scope.row)">签章</el-button>
|
|
|
- <el-button v-if="hasPermission('cw:workContract:filed') && (scope.row.createById === $store.state.user.id||isAdmin||haveProjectIds.includes(scope.row.projectId)) && scope.row.status === '5' && scope.row.reviewStatus === '5' && scope.row.signatureType === '3' && (scope.row.status3 === '2' || scope.row.status3 === '6' || scope.row.status3 === '7')" type="text" size="small" @click="rebackS3(scope.row)">撤回签章申请</el-button>
|
|
|
-<!-- 公章+执业章流程-->
|
|
|
- <el-button v-if="hasPermission('cw:workContract:filed') && (scope.row.createById === $store.state.user.id||isAdmin||haveProjectIds.includes(scope.row.projectId)) && scope.row.status === '5' && scope.row.reviewStatus === '5' && scope.row.signatureType === '2' && (scope.row.status2 === '0' || scope.row.status2 === '3')" type="text" size="small" @click="pushS2(scope.row)">公章+执业章</el-button>
|
|
|
- <el-button v-if="hasPermission('cw:workContract:filed') && (scope.row.createById === $store.state.user.id||isAdmin||haveProjectIds.includes(scope.row.projectId)) && scope.row.status === '5' && scope.row.reviewStatus === '5' && scope.row.signatureType === '2' && (scope.row.status2 === '2' || scope.row.status2 === '6' || scope.row.status2 === '7')" type="text" size="small" @click="rebackS2(scope.row)">撤回签章申请</el-button>
|
|
|
-<!-- 签章撤回 (只有管理员在签章完成后可使用此功能)-->
|
|
|
- <el-button v-if="(
|
|
|
- (scope.row.signatureType === '1' && scope.row.status1 === '5') ||
|
|
|
- (scope.row.signatureType === '2' && scope.row.status2 === '5') ||
|
|
|
- (scope.row.signatureType === '3' && scope.row.status3 === '5')
|
|
|
- ) && isAdmin" type="text" size="small" @click="rebackSign(scope.row)">撤回签章</el-button>
|
|
|
-<!-- 签章 审核-->
|
|
|
- <el-button v-if="(
|
|
|
+ type="text" size="small" @click="del(scope.row.id)">删除</el-button>
|
|
|
+ <!-- 审核-->
|
|
|
+ <el-button v-if="scope.row.reviewStatus==='2' && checkIsAuditReview(scope.row)" type="text" size="small" @click="examineReview(scope.row)">审核</el-button>
|
|
|
+ <!-- 被驳回后当前申请人重新调整-->
|
|
|
+ <el-button v-if="hasPermission('cw:workContract:filed')&&scope.row.createById === $store.state.user.id&&scope.row.reviewStatus === '4'" type="text" size="small" @click="adjustReview(scope.row)">驳回调整</el-button>
|
|
|
+ <!-- 复核流程-->
|
|
|
+ <el-button v-if="hasPermission('cw:workContract:filed') && (scope.row.createById === $store.state.user.id||haveProjectIds.includes(scope.row.projectId)) && scope.row.status === '5'&& (scope.row.reviewStatus === '0' || scope.row.reviewStatus === '1' || scope.row.reviewStatus === '3' || scope.row.reviewStatus === undefined || scope.row.reviewStatus === '')" type="text" size="small" @click="pushF(scope.row)">复核</el-button>
|
|
|
+ <el-button v-if="hasPermission('cw:workContract:filed') && (scope.row.createById === $store.state.user.id||haveProjectIds.includes(scope.row.projectId)) && scope.row.status === '5'&& scope.row.reviewStatus === '2'" type="text" size="small" @click="rebackF(scope.row)">撤回复核申请</el-button>
|
|
|
+ <!-- 未选择盖章类型点击签章操作-->
|
|
|
+ <el-button v-if="hasPermission('cw:workContract:filed') && (scope.row.createById === $store.state.user.id||haveProjectIds.includes(scope.row.projectId)) && scope.row.status === '5' && scope.row.reviewStatus === '5' && !scope.row.signatureType" type="text" size="small" @click="pushS(scope.row)">签章</el-button>
|
|
|
+ <!--公章流程-->
|
|
|
+ <el-button v-if="hasPermission('cw:workContract:filed') && (scope.row.createById === $store.state.user.id||haveProjectIds.includes(scope.row.projectId)) && scope.row.status === '5' && scope.row.reviewStatus === '5' && scope.row.signatureType === '1' && (scope.row.status1 === '0' || scope.row.status1 === '3')" type="text" size="small" @click="pushS(scope.row)">签章</el-button>
|
|
|
+ <el-button v-if="hasPermission('cw:workContract:filed') && (scope.row.createById === $store.state.user.id||haveProjectIds.includes(scope.row.projectId)) && scope.row.status === '5' && scope.row.reviewStatus === '5' && scope.row.signatureType === '1' && scope.row.status1 === '2'" type="text" size="small" @click="rebackS(scope.row)">撤回签章申请</el-button>
|
|
|
+ <!-- 实体章流程-->
|
|
|
+ <el-button v-if="hasPermission('cw:workContract:filed') && (scope.row.createById === $store.state.user.id||haveProjectIds.includes(scope.row.projectId)) && scope.row.status === '5' && scope.row.reviewStatus === '5' && scope.row.signatureType === '3' && (scope.row.status3 === '0' || scope.row.status3 === '3')" type="text" size="small" @click="pushS3(scope.row)">签章</el-button>
|
|
|
+ <el-button v-if="hasPermission('cw:workContract:filed') && (scope.row.createById === $store.state.user.id||haveProjectIds.includes(scope.row.projectId)) && scope.row.status === '5' && scope.row.reviewStatus === '5' && scope.row.signatureType === '3' && (scope.row.status3 === '2' || scope.row.status3 === '6' || scope.row.status3 === '7')" type="text" size="small" @click="rebackS3(scope.row)">撤回签章申请</el-button>
|
|
|
+ <!-- 公章+执业章流程-->
|
|
|
+ <el-button v-if="hasPermission('cw:workContract:filed') && (scope.row.createById === $store.state.user.id||haveProjectIds.includes(scope.row.projectId)) && scope.row.status === '5' && scope.row.reviewStatus === '5' && scope.row.signatureType === '2' && (scope.row.status2 === '0' || scope.row.status2 === '3')" type="text" size="small" @click="pushS2(scope.row)">公章+执业章</el-button>
|
|
|
+ <el-button v-if="hasPermission('cw:workContract:filed') && (scope.row.createById === $store.state.user.id||haveProjectIds.includes(scope.row.projectId)) && scope.row.status === '5' && scope.row.reviewStatus === '5' && scope.row.signatureType === '2' && (scope.row.status2 === '2' || scope.row.status2 === '6' || scope.row.status2 === '7')" type="text" size="small" @click="rebackS2(scope.row)">撤回签章申请</el-button>
|
|
|
+ <!-- 签章 审核-->
|
|
|
+ <el-button v-if="(
|
|
|
(scope.row.signatureType === '1' && scope.row.status1 === '2') ||
|
|
|
(scope.row.signatureType === '2' && scope.row.status2 === '2') ||
|
|
|
(scope.row.signatureType === '3' && scope.row.status3 === '2')
|
|
|
)
|
|
|
&& checkIsAuditSign(scope.row)" @click="examineSign(scope.row)" type="text" size="small" >审核</el-button>
|
|
|
-<!-- 签章 被驳回后当前申请人重新调整-->
|
|
|
- <el-button v-if="(
|
|
|
+ <!-- 签章 被驳回后当前申请人重新调整-->
|
|
|
+ <el-button v-if="(
|
|
|
(scope.row.signatureType === '1' && scope.row.status1 === '4') ||
|
|
|
(scope.row.signatureType === '2' && scope.row.status2 === '4') ||
|
|
|
(scope.row.signatureType === '3' && scope.row.status3 === '4')
|
|
|
)
|
|
|
&& scope.row.createById === $store.state.user.id" @click="adjustSign(scope.row)" type="text" size="small">驳回调整</el-button>
|
|
|
-
|
|
|
+ </div>
|
|
|
</template>
|
|
|
</vxe-column>
|
|
|
</vxe-table>
|
|
@@ -259,7 +283,8 @@
|
|
|
createBy: '',
|
|
|
contractDates: [],
|
|
|
projectMasterName: '', // 项目经理1
|
|
|
- realHeaderName: '' // 项目经理2
|
|
|
+ realHeaderName: '', // 项目经理2
|
|
|
+ filingType: ''
|
|
|
},
|
|
|
dataList: [],
|
|
|
tablePage: {
|