tangning 1 anno fa
parent
commit
9fda051106
2 ha cambiato i file con 5 aggiunte e 0 eliminazioni
  1. 2 0
      src/api/customer/index.ts
  2. 3 0
      src/views/product/rtk/list.vue

+ 2 - 0
src/api/customer/index.ts

@@ -77,6 +77,8 @@ export const downTemplate = (params: companyExcelParams) =>
         ? 'rtk设备导入模板.xlsx'
         : params.type == 4
         ? 'rtk账号导入模板.xlsx'
+        : params.type == 5
+        ? '到期时间导入模板.xlsx'
         : '客户关联模板.xlsx',
     headers: {
       // @ts-ignore

+ 3 - 0
src/views/product/rtk/list.vue

@@ -43,6 +43,9 @@
           <a-button type="primary" @click="handleExport(4)" v-if="getCheckPerm('rtk-user-batch')"
             >批量导入</a-button
           >
+          <a-button type="primary" @click="handleExport(5)" v-if="getCheckPerm('rtk-expiration-date')"
+            >到期时间导入</a-button
+          >
         </template>
         <template #action="{ record }">
           <TableAction