zhangjie 1 éve
szülő
commit
21473a9da3

+ 2 - 1
src/views/resource-guard/person-guard/person-files/index.vue

@@ -113,9 +113,10 @@
           {{ authenticationStatusFilter(row[col.colKey]) }}
         </template>
         <template #remain-day="{ row }">
-          <span>
+          <span v-if="row.authenticationValidTime">
             {{ dayCountFilter(row.authenticationValidTime - Date.now()) }}天
           </span>
+          <span v-else>-</span>
         </template>
         <template #photo="{ col, row }">
           <t-image

+ 0 - 7
src/views/sop/sop-manage/device-out-in/index.vue

@@ -10,13 +10,6 @@
           <template #icon><svg-icon name="add-circle" color="#fff" /></template>
           新增</t-button
         >
-        <t-button
-          v-if="perm.BUTTON_Cancel"
-          theme="default"
-          :disabled="!selectedRowKeys.length"
-          ><template #icon><svg-icon name="delete" color="#262626" /></template
-          >作废</t-button
-        >
       </t-space>
     </div>
     <SearchForm :fields="fields" :params="params">