Ver código fonte

feat(组件): 修改bug

tangning 2 anos atrás
pai
commit
4b0ccc5f8f

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

@@ -64,6 +64,7 @@ export const cameraList = (params: cameraListParams) =>
   });
 export const downTemplate = (params: companyExcelParams) =>
   defHttp.downloadFile<FileStream>({
+    method: 'GET',
     url: Api.downTemplate,
     params: params,
     // data: params,

+ 4 - 4
src/views/device/index.vue

@@ -200,12 +200,12 @@
                   key: '1',
                 },{
                   label: t('routes.product.type.2'),
-                  value: 2,
-                  key: '2',
+                  value: 9,
+                  key: '9',
                 },{
                   label: t('routes.product.type.3'),
-                  value: 3,
-                  key: '3',
+                  value: 10,
+                  key: '10',
                 },
               ],
             },

+ 1 - 1
src/views/staff/detailsModal.vue

@@ -98,7 +98,7 @@
           },
         },
         {
-          field: 'phone',
+          field: 'userName',
           component: 'Input',
           label: '账号',
           required: true,