Ver código fonte

页面数据缓存

yuwenjun1997 2 anos atrás
pai
commit
d4fc8f4880
69 arquivos alterados com 86 adições e 44 exclusões
  1. 2 2
      src/router/module/admin/audit.js
  2. 4 4
      src/router/module/admin/logistics.js
  3. 2 2
      src/router/module/admin/member.js
  4. 4 4
      src/router/module/admin/settings.js
  5. 3 3
      src/router/module/admin/supplier.js
  6. 2 2
      src/router/module/common/helper.js
  7. 1 1
      src/router/module/normal/activity.js
  8. 2 2
      src/router/module/normal/audit.js
  9. 4 12
      src/router/module/normal/club.js
  10. 1 1
      src/router/module/normal/feedback.js
  11. 2 2
      src/router/module/normal/personnel.js
  12. 2 2
      src/router/module/normal/settings.js
  13. 1 1
      src/router/module/normal/user.js
  14. 1 0
      src/views/admin/audit/club/device/index.vue
  15. 1 0
      src/views/admin/audit/club/device/review.vue
  16. 1 0
      src/views/admin/audit/club/index.vue
  17. 1 0
      src/views/admin/audit/club/list.vue
  18. 1 0
      src/views/admin/audit/club/review.vue
  19. 1 0
      src/views/admin/audit/device/index.vue
  20. 1 0
      src/views/admin/audit/device/list.vue
  21. 1 0
      src/views/admin/audit/device/review.vue
  22. 1 0
      src/views/admin/audit/material/article/index.vue
  23. 1 0
      src/views/admin/audit/material/article/review.vue
  24. 1 0
      src/views/admin/audit/material/file/index.vue
  25. 1 0
      src/views/admin/audit/material/image/index.vue
  26. 1 0
      src/views/admin/audit/material/image/review.vue
  27. 1 0
      src/views/admin/audit/material/index.vue
  28. 1 0
      src/views/admin/audit/material/package/index.vue
  29. 1 0
      src/views/admin/audit/material/video/index.vue
  30. 1 0
      src/views/admin/audit/personnel/index.vue
  31. 1 0
      src/views/admin/audit/personnel/operate/index.vue
  32. 1 0
      src/views/admin/audit/personnel/operate/review.vue
  33. 1 0
      src/views/admin/audit/personnel/training/index.vue
  34. 1 0
      src/views/admin/audit/personnel/training/review.vue
  35. 1 0
      src/views/admin/logistics-licensed/club/detail.vue
  36. 1 0
      src/views/admin/logistics-licensed/club/device/detail.vue
  37. 1 2
      src/views/admin/logistics-licensed/club/device/index.vue
  38. 1 0
      src/views/admin/logistics-licensed/club/index.vue
  39. 1 0
      src/views/admin/logistics-licensed/index.vue
  40. 1 0
      src/views/admin/logistics-licensed/licensed-record.vue
  41. 1 0
      src/views/admin/member/handsel.vue
  42. 1 0
      src/views/admin/member/index.vue
  43. 1 0
      src/views/admin/member/record.vue
  44. 1 0
      src/views/admin/member/service.vue
  45. 1 0
      src/views/admin/member/settings/combo-edit.vue
  46. 1 0
      src/views/admin/member/settings/service-edit.vue
  47. 1 0
      src/views/admin/settings/accounts/index.vue
  48. 1 0
      src/views/admin/settings/auth-card/index.vue
  49. 1 0
      src/views/admin/settings/roles/index.vue
  50. 1 0
      src/views/admin/supplier/club/detail.vue
  51. 1 0
      src/views/admin/supplier/club/device/detail.vue
  52. 1 1
      src/views/admin/supplier/club/device/index.vue
  53. 1 1
      src/views/admin/supplier/club/index.vue
  54. 1 1
      src/views/admin/supplier/index.vue
  55. 1 0
      src/views/common/helper/document/index.vue
  56. 1 0
      src/views/common/helper/video/index.vue
  57. 1 0
      src/views/normal/activity/video/index.vue
  58. 1 0
      src/views/normal/audit/club/device/index.vue
  59. 1 0
      src/views/normal/audit/club/device/review.vue
  60. 1 0
      src/views/normal/audit/club/index.vue
  61. 1 0
      src/views/normal/audit/club/review.vue
  62. 1 1
      src/views/normal/club/index.vue
  63. 1 0
      src/views/normal/feedback/detail.vue
  64. 1 0
      src/views/normal/feedback/index.vue
  65. 1 0
      src/views/normal/personnel/operate/index.vue
  66. 1 0
      src/views/normal/personnel/training/index.vue
  67. 1 0
      src/views/normal/settings/accounts/index.vue
  68. 1 0
      src/views/normal/settings/roles/index.vue
  69. 1 0
      src/views/normal/user/index.vue

+ 2 - 2
src/router/module/admin/audit.js

@@ -142,13 +142,13 @@ const deviceAuditRoutes = [
     path: 'device/club-list',
     component: () => import('@/views/admin/audit/device'),
     name: 'AuditDevice',
-    meta: { title: '设备管理', noCache: true }
+    meta: { title: '设备管理', noCache: false }
   },
   {
     path: 'device/device-list',
     component: () => import('@/views/admin/audit/device/list'),
     name: 'AuditDeviceCateList',
-    meta: { title: '设备管理审核', noCache: true }
+    meta: { title: '设备管理审核', noCache: false }
   },
   {
     path: 'device/cate-detail',

+ 4 - 4
src/router/module/admin/logistics.js

@@ -14,13 +14,13 @@ const logisticsRoutes = [
         path: 'supplier-list',
         component: () => import('@/views/admin/logistics-licensed/index'),
         name: 'LicensedSupplierList',
-        meta: { title: '供应商列表', noCache: true }
+        meta: { title: '供应商列表', noCache: false }
       },
       {
         path: 'club-list',
         component: () => import('@/views/admin/logistics-licensed/club/index'),
         name: 'LicensedClubList',
-        meta: { title: '授权机构', noCache: true }
+        meta: { title: '授权机构', noCache: false }
       },
       {
         path: 'club-detail',
@@ -32,7 +32,7 @@ const logisticsRoutes = [
         path: 'device-list',
         component: () => import('@/views/admin/logistics-licensed/club/device/index'),
         name: 'LicensedDeviceList',
-        meta: { title: '认证设备', noCache: true }
+        meta: { title: '认证设备', noCache: false }
       },
       {
         path: 'device-detail',
@@ -44,7 +44,7 @@ const logisticsRoutes = [
         path: 'licensed-record',
         component: () => import('@/views/admin/logistics-licensed/licensed-record'),
         name: 'LicensedRecord',
-        meta: { title: '寄送记录', noCache: true }
+        meta: { title: '寄送记录', noCache: false }
       }
     ]
   }

+ 2 - 2
src/router/module/admin/member.js

@@ -14,7 +14,7 @@ const memberRoutes = [
         path: 'member-list',
         component: () => import('@/views/admin/member'),
         name: 'MemberList',
-        meta: { title: '会员列表', noCache: true }
+        meta: { title: '会员列表', noCache: false }
       },
       {
         path: 'handsel',
@@ -34,7 +34,7 @@ const memberRoutes = [
         path: 'record',
         component: () => import('@/views/admin/member/record'),
         name: 'Record',
-        meta: { title: '购买记录', noCache: true },
+        meta: { title: '购买记录', noCache: false },
         hidden: true
       },
       {

+ 4 - 4
src/router/module/admin/settings.js

@@ -12,13 +12,13 @@ const settingRoutes = [
       {
         path: 'menus',
         name: 'SettingsMenus',
-        meta: { title: '菜单管理', noCache: true },
+        meta: { title: '菜单管理', noCache: false },
         component: () => import('@/views/admin/settings/menus')
       },
       {
         path: 'roles',
         name: 'SettingsRoles',
-        meta: { title: '角色管理', noCache: true },
+        meta: { title: '角色管理', noCache: false },
         component: () => import('@/views/admin/settings/roles')
       },
       {
@@ -38,7 +38,7 @@ const settingRoutes = [
       {
         path: 'accounts',
         name: 'SettingsAccounts',
-        meta: { title: '用户管理', noCache: true },
+        meta: { title: '用户管理', noCache: false },
         component: () => import('@/views/admin/settings/accounts')
       },
       {
@@ -59,7 +59,7 @@ const settingRoutes = [
         path: 'auth-card',
         name: 'SettingsAuthCard',
         hidden: true,
-        meta: { title: '授权牌模板', noCache: true },
+        meta: { title: '授权牌模板', noCache: false },
         component: () => import('@/views/admin/settings/auth-card')
       }
     ]

+ 3 - 3
src/router/module/admin/supplier.js

@@ -15,7 +15,7 @@ const supplierRoutes = [
         path: 'list',
         component: () => import('@/views/admin/supplier'),
         name: 'SupplierList',
-        meta: { title: '供应商账号', affix: true, noCache: true }
+        meta: { title: '供应商账号', affix: true, noCache: false }
       },
       {
         hidden: true,
@@ -36,7 +36,7 @@ const supplierRoutes = [
         path: 'club-list',
         component: () => import('@/views/admin/supplier/club'),
         name: 'SupplierClubList',
-        meta: { title: '查看认证机构', noCache: true }
+        meta: { title: '查看认证机构', noCache: false }
       },
       {
         hidden: true,
@@ -50,7 +50,7 @@ const supplierRoutes = [
         path: 'club-device-list',
         component: () => import('@/views/admin/supplier/club/device'),
         name: 'SupplierClubDeviceList',
-        meta: { title: '查看设备认证', noCache: true }
+        meta: { title: '查看设备认证', noCache: false }
       },
       {
         hidden: true,

+ 2 - 2
src/router/module/common/helper.js

@@ -15,13 +15,13 @@ const helperRoutes = [
         path: 'video',
         component: () => import('@/views/common/helper/video'),
         name: 'HelperVideo',
-        meta: { title: '视频教程', noCache: true }
+        meta: { title: '视频教程', noCache: false }
       },
       {
         path: 'document',
         component: () => import('@/views/common/helper/document'),
         name: 'HelperDocument',
-        meta: { title: '文档教程', noCache: true }
+        meta: { title: '文档教程', noCache: false }
       }
     ]
   }

+ 1 - 1
src/router/module/normal/activity.js

@@ -15,7 +15,7 @@ const activityRoutes = [
         path: 'video',
         component: () => import('@/views/normal/activity/video'),
         name: 'ChallengeVideoList',
-        meta: { title: '短视频', noCache: true }
+        meta: { title: '短视频', noCache: false }
       }
     ]
   }

+ 2 - 2
src/router/module/normal/audit.js

@@ -15,7 +15,7 @@ const SupplierAuditRoutes = [
         path: 'club',
         component: () => import('@/views/normal/audit/club'),
         name: 'SupplierAuditClub',
-        meta: { title: '机构认证', noCache: true }
+        meta: { title: '机构认证', noCache: false }
       },
       {
         path: 'club/club-detail',
@@ -27,7 +27,7 @@ const SupplierAuditRoutes = [
         path: 'club/device/list',
         component: () => import('@/views/normal/audit/club/device'),
         name: 'SupplierAuditClubDeviceList',
-        meta: { title: '设备审核列表', noCache: true }
+        meta: { title: '设备审核列表', noCache: false }
       },
       {
         path: 'club/device-detail',

+ 4 - 12
src/router/module/normal/club.js

@@ -15,7 +15,7 @@ const clubRoutes = [
         path: 'list',
         component: () => import('@/views/normal/club'),
         name: 'ClubList',
-        meta: { title: '机构列表', affix: true, noCache: true }
+        meta: { title: '机构列表', affix: true, noCache: false }
       },
       {
         path: 'club-add',
@@ -27,7 +27,7 @@ const clubRoutes = [
         path: 'logistics-licensed',
         component: () => import('@/views/normal/club/logistics-licensed'),
         name: 'ClubLogisticsLicensed',
-        meta: { title: '授权牌物流', noCache: true }
+        meta: { title: '授权牌物流', noCache: false }
       },
       {
         path: 'club-edit',
@@ -35,20 +35,12 @@ const clubRoutes = [
         name: 'ClubEdit',
         meta: { title: '修改机构', noCache: true }
       },
-      // 用户
-      // {
-      //   path: 'user-list',
-      //   component: () => import('@/views/normal/club/user'),
-      //   name: 'ClubUserList',
-      //   hidden: true,
-      //   meta: { title: '登录用户', noCache: true }
-      // },
       // 设备
       {
         path: 'device-list',
         component: () => import('@/views/normal/club/device'),
         name: 'ClubDeviceList',
-        meta: { title: '设备列表', noCache: true }
+        meta: { title: '设备列表', noCache: false }
       },
       {
         path: 'device-bind',
@@ -72,7 +64,7 @@ const clubRoutes = [
         path: 'device-cate',
         component: () => import('@/views/normal/club/cate/index'),
         name: 'ClubDeviceCate',
-        meta: { title: '设备管理', noCache: true }
+        meta: { title: '设备管理', noCache: false }
       },
       {
         path: 'device-cate-edit',

+ 1 - 1
src/router/module/normal/feedback.js

@@ -15,7 +15,7 @@ const feedbackRoutes = [
         path: 'list',
         component: () => import('@/views/normal/feedback'),
         name: 'FeedbackList',
-        meta: { title: '反馈列表', noCache: true }
+        meta: { title: '反馈列表', noCache: false }
       },
       {
         path: 'detail',

+ 2 - 2
src/router/module/normal/personnel.js

@@ -8,7 +8,7 @@ const operate = [
     path: 'operate/list',
     component: () => import('@/views/normal/personnel/operate'),
     name: 'OperateDoctorList',
-    meta: { title: '操作师', noCache: true }
+    meta: { title: '操作师', noCache: false }
   },
   {
     hidden: true,
@@ -32,7 +32,7 @@ const training = [
     path: 'training/list',
     component: () => import('@/views/normal/personnel/training'),
     name: 'TrainingDoctorList',
-    meta: { title: '培训师', noCache: true }
+    meta: { title: '培训师', noCache: false }
   },
   {
     hidden: true,

+ 2 - 2
src/router/module/normal/settings.js

@@ -12,7 +12,7 @@ const settingRoutes = [
       {
         path: 'roles',
         name: 'NormalSettingsRoles',
-        meta: { title: '角色管理', noCache: true },
+        meta: { title: '角色管理', noCache: false },
         component: () => import('@/views/normal/settings/roles')
       },
       {
@@ -32,7 +32,7 @@ const settingRoutes = [
       {
         path: 'accounts',
         name: 'NormalSettingsAccounts',
-        meta: { title: '用户管理', noCache: true },
+        meta: { title: '用户管理', noCache: false },
         component: () => import('@/views/normal/settings/accounts')
       },
       {

+ 1 - 1
src/router/module/normal/user.js

@@ -13,7 +13,7 @@ export default [
         path: 'list',
         component: () => import('@/views/normal/user'),
         name: 'SupplierUserList',
-        meta: { title: '账号列表', noCache: true }
+        meta: { title: '账号列表', noCache: false }
       }
     ]
   }

+ 1 - 0
src/views/admin/audit/club/device/index.vue

@@ -96,6 +96,7 @@
 <script>
 import { auditProduct, getProdList } from '@/api/product'
 export default {
+  name: 'AuditClubDeviceList',
   data() {
     return {
       listLoading: false,

+ 1 - 0
src/views/admin/audit/club/device/review.vue

@@ -26,6 +26,7 @@ import { auditProduct, auditProductCheck } from '@/api/product'
 import { mapGetters } from 'vuex'
 import { DeviceDetail } from '@/views/components'
 export default {
+  name: 'AuditClubDeviceDetail',
   components: {
     DeviceDetail
   },

+ 1 - 0
src/views/admin/audit/club/index.vue

@@ -88,6 +88,7 @@
 <script>
 import { fetchSupplierList } from '@/api/supplier'
 export default {
+  name: 'AuditClub',
   data() {
     return {
       listQuery: {

+ 1 - 0
src/views/admin/audit/club/list.vue

@@ -115,6 +115,7 @@
 import { fecthAuthList, auditAuth } from '@/api/auth'
 import { mapGetters } from 'vuex'
 export default {
+  name: 'AuditClubList',
   data() {
     return {
       // 是否显示dialog

+ 1 - 0
src/views/admin/audit/club/review.vue

@@ -26,6 +26,7 @@ import { auditAuth, auditAuthCheck } from '@/api/auth'
 import { ClubDetail } from '@/views/components'
 import { mapGetters } from 'vuex'
 export default {
+  name: 'AuditClubDetail',
   components: {
     ClubDetail
   },

+ 1 - 0
src/views/admin/audit/device/index.vue

@@ -88,6 +88,7 @@
 <script>
 import { fetchSupplierList } from '@/api/supplier'
 export default {
+  name: 'AuditDevice',
   data() {
     return {
       listQuery: {

+ 1 - 0
src/views/admin/audit/device/list.vue

@@ -88,6 +88,7 @@ import { fetchProductCateList, auditProductCate } from '@/api/product'
 import { mapGetters } from 'vuex'
 
 export default {
+  name: 'AuditDeviceCateList',
   data() {
     return {
       // 是否显示dialog

+ 1 - 0
src/views/admin/audit/device/review.vue

@@ -49,6 +49,7 @@
 import { auditProductCate, auditProductCateCheck, fetchAuthProductFormData } from '@/api/product'
 import { mapGetters } from 'vuex'
 export default {
+  name: 'AuditDeviceCateDetail',
   data() {
     return {
       type: 'review',

+ 1 - 0
src/views/admin/audit/material/article/index.vue

@@ -86,6 +86,7 @@
 
 import { getArticleList } from '@/api/doc'
 export default {
+  name: 'AuditMaterialArticleList',
   data() {
     return {
       listLoading: false,

+ 1 - 0
src/views/admin/audit/material/article/review.vue

@@ -33,6 +33,7 @@ import { getArticleDeatil } from '@/api/doc'
 import { auditArticle } from '@/api/docReview'
 import { mapGetters } from 'vuex'
 export default {
+  name: 'AuditMaterialArticleDetail',
   data() {
     return {
       type: 'review',

+ 1 - 0
src/views/admin/audit/material/file/index.vue

@@ -111,6 +111,7 @@ import { getFileList } from '@/api/doc'
 import { auditfile } from '@/api/docReview'
 import { mapGetters } from 'vuex'
 export default {
+  name: 'AuditMaterialFileList',
   data() {
     return {
       type: 'review',

+ 1 - 0
src/views/admin/audit/material/image/index.vue

@@ -78,6 +78,7 @@
 <script>
 import { getImageList } from '@/api/doc'
 export default {
+  name: 'AuditMaterialImageList',
   data() {
     return {
       listLoading: false, // 列表加载

+ 1 - 0
src/views/admin/audit/material/image/review.vue

@@ -42,6 +42,7 @@ import { getImageDetail } from '@/api/doc'
 import { auditImage } from '@/api/docReview'
 import { mapGetters } from 'vuex'
 export default {
+  name: 'AuditMaterialImageDetail',
   data() {
     return {
       type: 'review',

+ 1 - 0
src/views/admin/audit/material/index.vue

@@ -96,6 +96,7 @@
 <script>
 import { fetchSupplierList } from '@/api/supplier'
 export default {
+  name: 'AuditMaterial',
   data() {
     return {
       listLoading: false,

+ 1 - 0
src/views/admin/audit/material/package/index.vue

@@ -109,6 +109,7 @@ import { getFileList } from '@/api/doc'
 import { auditfile } from '@/api/docReview'
 import { mapGetters } from 'vuex'
 export default {
+  name: 'AuditMaterialPackageList',
   data() {
     return {
       type: 'review',

+ 1 - 0
src/views/admin/audit/material/video/index.vue

@@ -109,6 +109,7 @@ import { getVideoList } from '@/api/doc'
 import { auditVideo } from '@/api/docReview'
 import { mapGetters } from 'vuex'
 export default {
+  name: 'AuditMaterialVideoList',
   data() {
     return {
       type: 'review',

+ 1 - 0
src/views/admin/audit/personnel/index.vue

@@ -87,6 +87,7 @@
 <script>
 import { fetchSupplierList } from '@/api/supplier'
 export default {
+  name: 'AuditPersonnel',
   data() {
     return {
       listQuery: {

+ 1 - 0
src/views/admin/audit/personnel/operate/index.vue

@@ -96,6 +96,7 @@
 <script>
 import { fetchDoctorList, auditDoctor } from '@/api/doctor'
 export default {
+  name: 'AuditOperateDoctorList',
   data() {
     return {
       // 是否显示dialog

+ 1 - 0
src/views/admin/audit/personnel/operate/review.vue

@@ -94,6 +94,7 @@ import { mapGetters } from 'vuex'
 import { doctorFormData, auditDoctor, auditDoctorCheck } from '@/api/doctor'
 
 export default {
+  name: 'AuditOperateDoctorDetail',
   data() {
     return {
       type: 'review',

+ 1 - 0
src/views/admin/audit/personnel/training/index.vue

@@ -94,6 +94,7 @@ import { mapGetters } from 'vuex'
 import { auditDoctor, fetchDoctorList } from '@/api/doctor'
 
 export default {
+  name: 'AuditTrainingDoctorList',
   data() {
     return {
       // 是否显示dialog

+ 1 - 0
src/views/admin/audit/personnel/training/review.vue

@@ -72,6 +72,7 @@
 <script>
 import { doctorFormData, auditDoctor, auditDoctorCheck } from '@/api/doctor'
 export default {
+  name: 'AuditTrainingDoctorDetail',
   data() {
     return {
       type: 'review',

+ 1 - 0
src/views/admin/logistics-licensed/club/detail.vue

@@ -7,6 +7,7 @@
 <script>
 import { ClubDetail } from '@/views/components'
 export default {
+  name: 'LicensedClubDetail',
   components: {
     ClubDetail
   },

+ 1 - 0
src/views/admin/logistics-licensed/club/device/detail.vue

@@ -7,6 +7,7 @@
 <script>
 import { DeviceDetail } from '@/views/components'
 export default {
+  name: 'LicensedDeviceDetail',
   components: {
     DeviceDetail
   },

+ 1 - 2
src/views/admin/logistics-licensed/club/device/index.vue

@@ -61,9 +61,8 @@ import QrcodeDevice from '@/components/QrcodeDevice'
 import { mapGetters } from 'vuex'
 import { setStorage } from '@/utils/storage'
 export default {
-  name: 'ComplexTable',
+  name: 'LicensedDeviceList',
   components: { QrcodeDevice },
-
   data() {
     return {
       tableKey: 0,

+ 1 - 0
src/views/admin/logistics-licensed/club/index.vue

@@ -14,6 +14,7 @@
 <script>
 import ClubList from '../components/club-list.vue'
 export default {
+  name: 'LicensedClubList',
   components: {
     ClubList
   },

+ 1 - 0
src/views/admin/logistics-licensed/index.vue

@@ -14,6 +14,7 @@
 <script>
 import SupplierList from './components/supplier-list.vue'
 export default {
+  name: 'LicensedSupplierList',
   components: {
     SupplierList
   },

+ 1 - 0
src/views/admin/logistics-licensed/licensed-record.vue

@@ -70,6 +70,7 @@ import { fetchCompanyList, logisticsDetails, logisticsSend } from '@/api/logisti
 import UploadImage from '@/components/UploadImage'
 import { isMobile } from '@/utils/validate'
 export default {
+  name: 'LicensedRecord',
   components: { UploadImage },
   data() {
     // 表单校验手机号

+ 1 - 0
src/views/admin/member/handsel.vue

@@ -168,6 +168,7 @@
 import { fetchSupplierList } from '@/api/supplier'
 import { fetchConfigureList, handselVip } from '@/api/member'
 export default {
+  name: 'Handsel',
   filters: {
     formatPrice(price) {
       return `¥${price.toFixed(2)}`

+ 1 - 0
src/views/admin/member/index.vue

@@ -88,6 +88,7 @@
 <script>
 import { fetchMemberList } from '@/api/member'
 export default {
+  name: 'MemberList',
   data() {
     return {
       listLoading: false,

+ 1 - 0
src/views/admin/member/record.vue

@@ -129,6 +129,7 @@
 import { fetchVipRecord, fetchConfigureList } from '@/api/member'
 import { getSupplierById } from '@/api/supplier'
 export default {
+  name: 'Record',
   data() {
     return {
       listLoading: false,

+ 1 - 0
src/views/admin/member/service.vue

@@ -27,6 +27,7 @@
 <script>
 import { updateUserMenusConfigure, fetchUserMenusConfigure } from '@/api/member'
 export default {
+  name: 'Service',
   data() {
     return {
       isLoading: false,

+ 1 - 0
src/views/admin/member/settings/combo-edit.vue

@@ -56,6 +56,7 @@
 <script>
 import { fetchConfigureList, updateConfigure } from '@/api/member'
 export default {
+  name: 'ComboEdit',
   data() {
     return {
       dateType: 1,

+ 1 - 0
src/views/admin/member/settings/service-edit.vue

@@ -71,6 +71,7 @@
 <script>
 import { fetchVipMenusConfigure, updateVipMenusConfigure } from '@/api/member'
 export default {
+  name: 'ServiceEdit',
   data() {
     return {
       isLoading: false,

+ 1 - 0
src/views/admin/settings/accounts/index.vue

@@ -67,6 +67,7 @@
 <script>
 import { fetchUserList, deleteUser } from '@/api/system'
 export default {
+  name: 'SettingsAccounts',
   data() {
     return {
       listLoading: false,

+ 1 - 0
src/views/admin/settings/auth-card/index.vue

@@ -104,6 +104,7 @@ import { authTempSave, fetchAuthTempList } from '@/api/system'
 import { fetchSupplierList } from '@/api/supplier'
 import { objectCover } from '@/utils'
 export default {
+  name: 'SettingsAuthCard',
   components: {
     UploadImage,
     SupplierList

+ 1 - 0
src/views/admin/settings/roles/index.vue

@@ -48,6 +48,7 @@
 <script>
 import { fetchRoleList, deleteRole } from '@/api/system'
 export default {
+  name: 'SettingsRoles',
   data() {
     return {
       listLoading: false,

+ 1 - 0
src/views/admin/supplier/club/detail.vue

@@ -7,6 +7,7 @@
 <script>
 import { ClubDetail } from '@/views/components'
 export default {
+  name: 'SupplierClubDetail',
   components: {
     ClubDetail
   },

+ 1 - 0
src/views/admin/supplier/club/device/detail.vue

@@ -7,6 +7,7 @@
 <script>
 import { DeviceDetail } from '@/views/components'
 export default {
+  name: 'SupplierClubDeviceDetail',
   components: {
     DeviceDetail
   },

+ 1 - 1
src/views/admin/supplier/club/device/index.vue

@@ -142,7 +142,7 @@ import { getProdList } from '@/api/product'
 import QrcodeDevice from '@/components/QrcodeDevice'
 import { mapGetters } from 'vuex'
 export default {
-  name: 'ComplexTable',
+  name: 'SupplierClubDeviceList',
   components: { QrcodeDevice },
 
   data() {

+ 1 - 1
src/views/admin/supplier/club/index.vue

@@ -114,7 +114,7 @@
 import { fecthAuthList } from '@/api/auth'
 import { mapGetters } from 'vuex'
 export default {
-  name: 'ComplexTable',
+  name: 'SupplierClubList',
   data() {
     return {
       tableKey: 0,

+ 1 - 1
src/views/admin/supplier/index.vue

@@ -120,7 +120,7 @@ import { generateProxyToken, resetPassword } from '@/api/user'
 import handleClipboard from '@/utils/clipboard'
 
 export default {
-  name: 'ComplexTable',
+  name: 'SupplierList',
   // mixins: [scrollTo],
   data() {
     return {

+ 1 - 0
src/views/common/helper/document/index.vue

@@ -106,6 +106,7 @@ import { fetchCourseList, saveCourse, removeCourse } from '@/api/helper'
 import { debounce } from '@/utils/tools'
 import { sysMenuTree } from '@/api/system'
 export default {
+  name: 'HelperDocument',
   components: { FileUpload },
   data() {
     return {

+ 1 - 0
src/views/common/helper/video/index.vue

@@ -105,6 +105,7 @@ import { fetchCourseList, saveCourse, removeCourse } from '@/api/helper'
 import { debounce } from '@/utils/tools'
 import { sysMenuTree } from '@/api/system'
 export default {
+  name: 'HelperVideo',
   components: { FileUpload },
 
   data() {

+ 1 - 0
src/views/normal/activity/video/index.vue

@@ -165,6 +165,7 @@ import { getStorage, removeStorage } from '@/utils/storage'
 import { downloadWithUrl } from '@/utils/tools'
 
 export default {
+  name: 'ChallengeVideoList',
   data() {
     return {
       // 视频播放

+ 1 - 0
src/views/normal/audit/club/device/index.vue

@@ -14,6 +14,7 @@
 <script>
 import DeviceList from '../components/device-list.vue'
 export default {
+  name: 'SupplierAuditClubDeviceList',
   components: {
     DeviceList
   },

+ 1 - 0
src/views/normal/audit/club/device/review.vue

@@ -25,6 +25,7 @@
 import { auditProduct } from '@/api/product'
 import { DeviceDetail } from '@/views/components'
 export default {
+  name: 'SupplierAuditClubDeviceDetail',
   components: {
     DeviceDetail
   },

+ 1 - 0
src/views/normal/audit/club/index.vue

@@ -14,6 +14,7 @@
 <script>
 import ClubList from './components/club-list.vue'
 export default {
+  name: 'SupplierAuditClub',
   components: {
     ClubList
   },

+ 1 - 0
src/views/normal/audit/club/review.vue

@@ -25,6 +25,7 @@
 import { auditAuth } from '@/api/auth'
 import { ClubDetail } from '@/views/components'
 export default {
+  name: 'SupplierAuditClubDetail',
   components: {
     ClubDetail
   },

+ 1 - 1
src/views/normal/club/index.vue

@@ -194,7 +194,7 @@ import { mapGetters } from 'vuex'
 import { debounce, downloadWithUrl } from '@/utils/tools'
 import handleClipboard from '@/utils/clipboard'
 export default {
-  name: 'ComplexTable',
+  name: 'ClubList',
   components: { FileUpload, QrcodeClub, ClubListSelector },
   data() {
     return {

+ 1 - 0
src/views/normal/feedback/detail.vue

@@ -29,6 +29,7 @@
 <script>
 import { getFeedbackDetail, handleFeedback } from '@/api/auth'
 export default {
+  name: 'FeedbackDetail',
   data() {
     return {
       feedbackId: '',

+ 1 - 0
src/views/normal/feedback/index.vue

@@ -117,6 +117,7 @@
 import { mapGetters } from 'vuex'
 import { getFeedbackList } from '@/api/auth'
 export default {
+  name: 'FeedbackList',
   data() {
     return {
       listLoading: false,

+ 1 - 0
src/views/normal/personnel/operate/index.vue

@@ -98,6 +98,7 @@ import { mapGetters } from 'vuex'
 import { fetchDoctorList, removeDoctor, doctorStatusChange } from '@/api/doctor'
 
 export default {
+  name: 'OperateDoctorList',
   data() {
     return {
       listLoading: false,

+ 1 - 0
src/views/normal/personnel/training/index.vue

@@ -98,6 +98,7 @@ import { mapGetters } from 'vuex'
 import { fetchDoctorList, removeDoctor, doctorStatusChange } from '@/api/doctor'
 
 export default {
+  name: 'TrainingDoctorList',
   data() {
     return {
       listLoading: false,

+ 1 - 0
src/views/normal/settings/accounts/index.vue

@@ -67,6 +67,7 @@
 <script>
 import { fetchUserList, deleteUser } from '@/api/system'
 export default {
+  name: 'NormalSettingsAccounts',
   data() {
     return {
       listLoading: false,

+ 1 - 0
src/views/normal/settings/roles/index.vue

@@ -48,6 +48,7 @@
 <script>
 import { fetchRoleList, deleteRole } from '@/api/system'
 export default {
+  name: 'NormalSettingsRoles',
   data() {
     return {
       listLoading: false,

+ 1 - 0
src/views/normal/user/index.vue

@@ -148,6 +148,7 @@ const resetFormData = () => ({
 })
 
 export default {
+  name: 'SupplierUserList',
   data() {
     const validateMobile = (rule, value, callback) => {
       console.log(value)