禅道bug修复

This commit is contained in:
BianLzhaoMin 2025-07-17 09:58:55 +08:00
parent 2defc28241
commit 234b39e7ad
3 changed files with 22 additions and 2 deletions

View File

@ -41,6 +41,12 @@
format="yyyy-MM-dd"
/>
</el-form-item>
<el-form-item label="审批状态" prop="status">
<el-select v-model="queryParams.status" placeholder="请选择审批状态" clearable>
<el-option v-for="item in approvalStatusOptions" :key="item.value" :label="item.label" :value="item.value" />
</el-select>
</el-form-item>
<el-form-item style="display: flex; justify-content: flex-end" v-if="userType == '00'">
<el-button type="primary" icon="el-icon-search" @click="handleQuery">查询</el-button>
<el-button icon="el-icon-refresh" @click="handleReset">重置</el-button>
@ -270,7 +276,7 @@
<template slot-scope="scope">
<el-button type="text" size="mini" @click="handleRectify(scope.row, 5)">查看</el-button>
<el-button
v-if="userType == '00' && (scope.row.intoStatus == '1' || scope.row.intoStatus == '2')"
v-if="userType == '00' && scope.row.intoStatus == '1'"
type="text"
size="mini"
style="color: #f56c6c"
@ -278,6 +284,15 @@
>
审批
</el-button>
<!-- <el-button
v-if="userType == '00' && (scope.row.intoStatus == '1' || scope.row.intoStatus == '2')"
type="text"
size="mini"
style="color: #f56c6c"
@click="handleRectify(scope.row, 1)"
>
审批
</el-button> -->
<el-button
v-if="
userType == '02' &&
@ -377,6 +392,7 @@ export default {
findTimeRange: [], //
createTimeRange: [], //
checkState: '', //
status: '1',
},
// -
pitfallTypeOpts: [],

View File

@ -146,7 +146,7 @@ export default {
2: '审批中',
3: '已通过',
4: '已驳回',
5: '已撤',
5: '已撤',
},
}
},
@ -212,6 +212,7 @@ export default {
isExamine: false,
btnShow: false,
showType: 1,
enterStatus: this.updateStatus(row.intoStatus),
})
)
)

View File

@ -307,6 +307,7 @@
v-on:finalInstance="approvalFinalInstance"
:opinionValueOther="opinionValueOther"
:auditReason="[]"
:enterStatus="enterStatus"
/>
</el-tab-pane>
</el-tabs>
@ -398,12 +399,14 @@ export default {
//
opinionValueOther: '',
approvalItems: [],
enterStatus: '',
}
},
created() {
this.lookFaceFile = lookFaceFile()
const params = this.$route.params && this.$route.params.data
this.paramsData = JSON.parse(decryptCBC(params))
this.enterStatus = this.paramsData.enterStatus
console.log('this.paramsData', this.paramsData)
this.getSupervisorList()
},