刘洋 1 anno fa
parent
commit
8e5faa7bcf

+ 3 - 1
src/views/my-workbenches/workbenches/my-waits/waits-list.vue

@@ -8,7 +8,9 @@
     >
       <div class="m-head">
         <div class="m-title">
-          <span style="vertical-align: top">{{ item.typeStr }}</span>
+          <span style="vertical-align: top"
+            >{{ item.typeStr }}({{ item.code }})</span
+          >
           <t-tag v-if="item.diffTime == 0" theme="success" variant="light"
             >正常</t-tag
           >

+ 1 - 1
src/views/work-hours/work-hours-manage/abnormal-check/done-check.vue

@@ -173,7 +173,7 @@ const computedParams = computed(() => {
 });
 
 const getUrls = (data, type) => {
-  const list = data.split(',');
+  const list = data ? data.split(',') : [];
   const imgs = ['jpg', 'png', 'jpeg'];
   if (type === 'image') {
     return list.filter((item) => {