zhouwenxuan
2024-02-01 edcb5d7232547cb2cbb2d91ef2eaca9beda9b05d
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"});