index.js 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122
  1. import Vue from 'vue';
  2. import Vuex from 'vuex';
  3. import * as ustate from '@common/src/store/user/state';
  4. import * as umutations from '@common/src/store/user/mutations';
  5. import statistics from '@common/src/store/statistics';
  6. import upload from './upload';
  7. import news from '@common/src/store/news';
  8. import column from '@common/src/store/column';
  9. import viewPoint from '@common/src/store/viewPoint';
  10. import questionnaire from '@common/src/store/question/questionnaire';
  11. import answer from '@common/src/store/question/answer';
  12. import question from '@common/src/store/question';
  13. import projectsolic from '@common/src/store/projectsolic';
  14. import organization from '@common/src/store/organization';
  15. import personal from '@common/src/store/personal';
  16. import expert from '@common/src/store/expert';
  17. import product from '@common/src/store/product';
  18. import patent from '@common/src/store/patent';
  19. import disclosure from '@common/src/store/patent/disclosure';
  20. import report from '@common/src/store/patent/report';
  21. import notice from '@common/src/store/patent/notice';
  22. import sell from '@common/src/store/patent/sell';
  23. import purchase from '@common/src/store/patent/purchase';
  24. import tradeorder from '@common/src/store/patent/tradeorder';
  25. // 直播平台
  26. import mechanism from './live/mechanism';
  27. import coupons from './live/coupons';
  28. import couponsApply from './live/couponsApply';
  29. import declare from './live/declare';
  30. import cashing from './live/cashing';
  31. import reward from './live/reward';
  32. // 成果评价
  33. import achieveApply from '@common/src/store/achieve/achieve_apply.js';
  34. // 管理员
  35. import adminLogin from '@common/src/store/adminLogin';
  36. // 邀请码
  37. import inviteCode from '@common/src/store/inviteCode';
  38. // 2021-08-21
  39. // 聊天
  40. import patentchat from '@common/src/store/patent/patentchat';
  41. // 审核通知
  42. import patentexamine from '@common/src/store/patent/patentexamine';
  43. // 通知
  44. import patentnotice from '@common/src/store/patent/patentnotice';
  45. // 专利申请
  46. import patentapply from '@common/src/store/patent/patentapply';
  47. // 专利申请预警表
  48. import patentwarning from '@common/src/store/patent/patentwarning';
  49. // 查新检索
  50. import patentanalysis from '@common/src/store/patent/patentanalysis';
  51. // 价值评估
  52. import patentassess from '@common/src/store/patent/patentassess';
  53. // 专利信息
  54. import patentinfo from '@common/src/store/patent/patentinfo';
  55. // 已授权专利预警表
  56. import patentearly from '@common/src/store/patent/patentearly';
  57. // 专利交易
  58. import patenttrans from '@common/src/store/patent/patenttrans';
  59. import mission from '@common/src/store/mission';
  60. const _ = require('lodash');
  61. Vue.use(Vuex);
  62. export default new Vuex.Store({
  63. state: {
  64. ...ustate,
  65. },
  66. mutations: {
  67. ...umutations,
  68. },
  69. actions: {},
  70. modules: {
  71. statistics,
  72. upload,
  73. column,
  74. news,
  75. viewPoint,
  76. questionnaire,
  77. answer,
  78. question,
  79. projectsolic,
  80. organization,
  81. personal,
  82. expert,
  83. product,
  84. patent,
  85. // 直播平台
  86. mechanism,
  87. coupons,
  88. couponsApply,
  89. declare,
  90. cashing,
  91. reward,
  92. // 成果评价
  93. achieveApply,
  94. // 交底书
  95. disclosure,
  96. report,
  97. notice,
  98. // 管理员
  99. adminLogin,
  100. inviteCode,
  101. // 专利交易
  102. sell,
  103. purchase,
  104. tradeorder,
  105. // 专利运营
  106. patentchat,
  107. patentexamine,
  108. patentnotice,
  109. patentapply,
  110. patentwarning,
  111. patentanalysis,
  112. patentassess,
  113. patentinfo,
  114. patentearly,
  115. patenttrans,
  116. mission,
  117. },
  118. });