yanghao hai 3 días
pai
achega
534bf58f45

+ 2 - 2
src/views/pms/qhse/certificate.vue

@@ -172,11 +172,11 @@
                 </template>
               </zm-table-column>
 
-              <zm-table-column label="证书类型" align="center" prop="type">
+              <!-- <zm-table-column label="证书类型" align="center" prop="type">
                 <template #default="scope">
                   {{ getCertificateTypeText(scope.row.type) }}
                 </template>
-              </zm-table-column>
+              </zm-table-column> -->
 
               <zm-table-column label="证书类别" align="center" width="150" prop="classify">
                 <template #default="scope">

+ 1 - 5
src/views/pms/qhse/credential/index.vue

@@ -168,11 +168,7 @@
 
               <zm-table-column label="证书类别" align="center" width="150" prop="classify">
                 <template #default="scope">
-                  <dict-tag
-                    v-if="scope.row.type === 'organization'"
-                    :type="DICT_TYPE.ORG_CERT"
-                    :value="scope.row.classify" />
-                  <dict-tag v-else :type="DICT_TYPE.PERSON_CERT" :value="scope.row.classify" />
+                  <dict-tag :type="DICT_TYPE.ORG_CERT" :value="scope.row.classify" />
                 </template>
               </zm-table-column>
               <zm-table-column