459242451@qq.com 3 vuotta sitten
vanhempi
commit
e6314e228b
1 muutettua tiedostoa jossa 3 lisäystä ja 9 poistoa
  1. 3 9
      src/views/IncidentDetail/IncidentInfoCard/index.tsx

+ 3 - 9
src/views/IncidentDetail/IncidentInfoCard/index.tsx

@@ -84,13 +84,7 @@ export default defineComponent({
             <div>
               上报单位:
               <span>
-                {commonStore.globalDict['zhdd_org_upload']?.find(
-                  (i) =>
-                    i.dictValue?.toString() ===
-                    (
-                      store.incidentDetail?.baseInfo?.createDept ?? ''
-                    ).toString(),
-                )?.dictLabel ?? '-'}
+                {store.incidentDetail?.baseInfo?.createDept ?? '-'}
               </span>
             </div>
             <div>
@@ -109,14 +103,14 @@ export default defineComponent({
       //   dict: 'zhdd_incident_level' as const,
       // },
     ]);
-    const showeventlist = () => { 
+    const showeventlist = () => {
       mainStore.setEventListshow(true);
     }
 
     // setTimeout(() => {
     //   console.log(store.incidentDetail?.baseInfo);
     // }, 2000);
-    
+
     // debugger
     return () => (
       <Card cardType="incident-info">