From 4bc0d3e1611da659c853a3589d84cf41d91f13d2 Mon Sep 17 00:00:00 2001
From: zhouwenxuan <1175765986@qq.com>
Date: Wed, 10 Apr 2024 09:55:08 +0800
Subject: [PATCH] bug修改
---
src/views/safetyReview/projectManage/components/riskAnalysis.vue | 23 ++++++++++++-----------
1 files changed, 12 insertions(+), 11 deletions(-)
diff --git a/src/views/safetyReview/projectManage/components/riskAnalysis.vue b/src/views/safetyReview/projectManage/components/riskAnalysis.vue
index d05904d..368141b 100644
--- a/src/views/safetyReview/projectManage/components/riskAnalysis.vue
+++ b/src/views/safetyReview/projectManage/components/riskAnalysis.vue
@@ -229,6 +229,17 @@
import Cookies from "js-cookie";
const emit = defineEmits(["getNextStatus"]);
+const isAmin = ref(false)
+const formRef = ref();
+onMounted(() => {
+ const userInfo = JSON.parse(Cookies.get('userInfo'))
+ if(userInfo.identity === 0){
+ isAmin.value = true;
+ }
+ getRiskList();
+ getBusinessList();
+ getArea();
+});
const state = reactive({
formData: {
project: {
@@ -321,17 +332,7 @@
value: 'name',
label: 'name'
}
-const isAmin = ref(false)
-const formRef = ref();
-onMounted(() => {
- const userInfo = JSON.parse(Cookies.get('userInfo'))
- if(userInfo.identity === 0){
- isAmin.value = true;
- }
- getRiskList();
- getBusinessList();
- getArea();
-});
+
const getRiskList = async () => {
const res = await getDictList({dictType: "sys_assess_type"});
--
Gitblit v1.9.2