明树Git Lab

Commit 722521b8 authored by zhanghan's avatar zhanghan

1

parent a023cb2e
Pipeline #111354 passed with stage
in 19 seconds
...@@ -155,11 +155,14 @@ const route = useRoute(); ...@@ -155,11 +155,14 @@ const route = useRoute();
const router = useRouter(); const router = useRouter();
const effectiveFlowType = computed(() => { const effectiveFlowType = computed(() => {
const hasInvestmentManagement = props.processData.some((record) => const hasInvestmentManagement = props.processData.some((record) =>
record.creator?.departs?.some((dept) => dept.parentIds?.includes("41")), record.creator?.departs?.some(
(dept) =>
// 只要满足以下任意一个条件,就判定为投管
dept.parentIds?.includes("41") || dept.id == "41",
),
); );
return hasInvestmentManagement ? "simple" : "complex"; return hasInvestmentManagement ? "simple" : "complex";
}); });
const processDialogVisible = ref(false); const processDialogVisible = ref(false);
const handleBack = () => { const handleBack = () => {
......
...@@ -93,7 +93,12 @@ ...@@ -93,7 +93,12 @@
>初审</el-button >初审</el-button
> >
<el-button <el-button
v-if="isPreview && formData.projectLzType == '4'" v-if="
isPreview &&
formData?.daibanUsers?.includes(userInfo?.id) &&
hasApproveRole &&
formData.projectLzType == '4'
"
type="primary" type="primary"
@click="auditDialogVisible = true" @click="auditDialogVisible = true"
>审核</el-button >审核</el-button
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment