vue2-client 1.4.13 → 1.4.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (99) hide show
  1. package/.env +15 -15
  2. package/.eslintrc.js +82 -82
  3. package/CHANGELOG.md +4 -0
  4. package/index.js +30 -30
  5. package/package.json +1 -1
  6. package/src/assets/img/querySlotDemo.svg +16 -0
  7. package/src/base-client/components/common/AddressSearchCombobox/AddressSearchCombobox.vue +225 -225
  8. package/src/base-client/components/common/AmapMarker/AmapPointRendering.vue +113 -113
  9. package/src/base-client/components/common/CitySelect/CitySelect.vue +244 -244
  10. package/src/base-client/components/common/CitySelect/index.js +3 -3
  11. package/src/base-client/components/common/CitySelect/index.md +109 -109
  12. package/src/base-client/components/common/CreateQuery/CreateQuery.vue +593 -591
  13. package/src/base-client/components/common/CreateQuery/CreateQueryItem.vue +777 -777
  14. package/src/base-client/components/common/CreateSimpleFormQuery/CreateSimpleFormQuery.vue +310 -310
  15. package/src/base-client/components/common/CreateSimpleFormQuery/CreateSimpleFormQueryItem.vue +553 -553
  16. package/src/base-client/components/common/FormGroupQuery/FormGroupQuery.vue +165 -165
  17. package/src/base-client/components/common/JSONToTree/jsontotree.vue +275 -275
  18. package/src/base-client/components/common/PersonSetting/PersonSetting.vue +210 -210
  19. package/src/base-client/components/common/PersonSetting/index.js +3 -3
  20. package/src/base-client/components/common/Upload/index.js +3 -3
  21. package/src/base-client/components/common/XAddForm/XAddForm.vue +354 -354
  22. package/src/base-client/components/common/XAddNativeForm/XAddNativeForm.vue +327 -327
  23. package/src/base-client/components/common/XCard/XCard.vue +64 -64
  24. package/src/base-client/components/common/XForm/XForm.vue +274 -274
  25. package/src/base-client/components/common/XForm/XFormItem.vue +389 -389
  26. package/src/base-client/components/common/XFormTable/XFormTable.vue +548 -548
  27. package/src/base-client/components/common/XFormTable/index.md +96 -96
  28. package/src/base-client/components/system/QueryParamsDetailsView/QueryParamsDetailsView.vue +281 -281
  29. package/src/base-client/components/ticket/TicketDetailsView/TicketDetailsView.vue +807 -807
  30. package/src/base-client/components/ticket/TicketDetailsView/index.md +29 -29
  31. package/src/base-client/components/ticket/TicketDetailsView/part/TicketDetailsFlow.vue +260 -260
  32. package/src/base-client/components/ticket/TicketSubmitSuccessView/TicketSubmitSuccessView.vue +532 -532
  33. package/src/base-client/components/ticket/TicketSubmitSuccessView/index.md +29 -29
  34. package/src/base-client/plugins/AppData.js +69 -69
  35. package/src/base-client/plugins/GetLoginInfoService.js +179 -179
  36. package/src/base-client/plugins/PagedList.js +177 -177
  37. package/src/base-client/plugins/compatible/LoginServiceOA.js +20 -20
  38. package/src/base-client/plugins/i18n-extend.js +32 -32
  39. package/src/components/Ellipsis/index.md +38 -38
  40. package/src/components/NumberInfo/index.md +43 -43
  41. package/src/components/STable/README.md +341 -341
  42. package/src/components/STable/index.js +318 -318
  43. package/src/components/Trend/index.md +45 -45
  44. package/src/components/checkbox/ColorCheckbox.vue +157 -157
  45. package/src/components/checkbox/ImgCheckbox.vue +163 -163
  46. package/src/components/form/FormRow.vue +52 -52
  47. package/src/components/index.js +36 -36
  48. package/src/components/menu/SideMenu.vue +62 -62
  49. package/src/components/menu/menu.js +273 -273
  50. package/src/components/setting/Setting.vue +235 -235
  51. package/src/components/table/StandardTable.vue +141 -141
  52. package/src/components/table/advance/ActionColumns.vue +158 -158
  53. package/src/components/table/advance/SearchArea.vue +355 -355
  54. package/src/components/tool/AStepItem.vue +60 -60
  55. package/src/components/tool/AvatarList.vue +68 -68
  56. package/src/components/tool/Drawer.vue +142 -142
  57. package/src/components/tool/TagSelect.vue +83 -83
  58. package/src/components/transition/PageToggleTransition.vue +97 -97
  59. package/src/config/CreateQueryConfig.js +307 -307
  60. package/src/config/replacer/resolve.config.js +67 -67
  61. package/src/layouts/AdminLayout.vue +174 -174
  62. package/src/layouts/header/AdminHeader.vue +104 -104
  63. package/src/layouts/header/HeaderNotice.vue +167 -167
  64. package/src/layouts/header/HeaderSearch.vue +67 -67
  65. package/src/layouts/header/InstitutionDetail.vue +181 -181
  66. package/src/layouts/tabs/TabsHead.vue +190 -190
  67. package/src/layouts/tabs/TabsView.vue +379 -379
  68. package/src/mock/goods/index.js +108 -108
  69. package/src/pages/CreateQueryPage.vue +65 -65
  70. package/src/pages/report/ReportTable.js +124 -124
  71. package/src/pages/report/ReportTableHome.vue +28 -28
  72. package/src/pages/resourceManage/orgListManage.vue +98 -98
  73. package/src/pages/system/dictionary/index.vue +43 -43
  74. package/src/pages/system/file/index.vue +317 -317
  75. package/src/pages/system/queryParams/index.vue +43 -43
  76. package/src/router/async/config.async.js +27 -27
  77. package/src/router/async/router.map.js +63 -61
  78. package/src/router/index.js +27 -27
  79. package/src/services/api/DictionaryDetailsViewApi.js +6 -6
  80. package/src/services/api/LogDetailsViewApi.js +10 -10
  81. package/src/services/api/QueryParamsDetailsViewApi.js +6 -6
  82. package/src/services/api/TicketDetailsViewApi.js +34 -34
  83. package/src/services/api/commonTempTable.js +10 -10
  84. package/src/services/api/index.js +17 -17
  85. package/src/services/api/manage.js +8 -8
  86. package/src/services/api/restTools.js +24 -24
  87. package/src/store/modules/index.js +4 -4
  88. package/src/theme/default/nprogress.less +76 -76
  89. package/src/theme/default/style.less +47 -47
  90. package/src/utils/colors.js +103 -103
  91. package/src/utils/excel/Blob.js +180 -180
  92. package/src/utils/excel/Export2Excel.js +141 -141
  93. package/src/utils/formatter.js +68 -68
  94. package/src/utils/i18n.js +80 -80
  95. package/src/utils/routerUtil.js +364 -364
  96. package/src/utils/theme-color-replacer-extend.js +91 -91
  97. package/src/utils/themeUtil.js +100 -100
  98. package/src/utils/util.js +230 -230
  99. package/vue.config.js +106 -106
@@ -1,43 +1,43 @@
1
- <template>
2
- <a-card :bordered="false">
3
- <query-params-details-view
4
- v-if="selectId"
5
- :id="selectId"
6
- :visible.sync="detailVisible"
7
- />
8
- <x-form-table
9
- :queryParamsName="queryParamsName"
10
- title="查询配置"
11
- @action="toDetail">
12
- </x-form-table>
13
- </a-card>
14
- </template>
15
-
16
- <script>
17
- import XFormTable from '@vue2-client/base-client/components/common/XFormTable/XFormTable'
18
- import QueryParamsDetailsView from '@vue2-client/base-client/components/system/QueryParamsDetailsView'
19
-
20
- export default {
21
- name: 'QueryParams',
22
- components: {
23
- XFormTable,
24
- QueryParamsDetailsView
25
- },
26
- data () {
27
- return {
28
- // 选中的编号
29
- selectId: undefined,
30
- // 查询配置文件名
31
- queryParamsName: 'queryParams',
32
- // 是否显示详情抽屉
33
- detailVisible: false
34
- }
35
- },
36
- methods: {
37
- toDetail (record, id) {
38
- this.selectId = id + ''
39
- this.detailVisible = true
40
- }
41
- }
42
- }
43
- </script>
1
+ <template>
2
+ <a-card :bordered="false">
3
+ <query-params-details-view
4
+ v-if="selectId"
5
+ :id="selectId"
6
+ :visible.sync="detailVisible"
7
+ />
8
+ <x-form-table
9
+ :queryParamsName="queryParamsName"
10
+ title="查询配置"
11
+ @action="toDetail">
12
+ </x-form-table>
13
+ </a-card>
14
+ </template>
15
+
16
+ <script>
17
+ import XFormTable from '@vue2-client/base-client/components/common/XFormTable/XFormTable'
18
+ import QueryParamsDetailsView from '@vue2-client/base-client/components/system/QueryParamsDetailsView'
19
+
20
+ export default {
21
+ name: 'QueryParams',
22
+ components: {
23
+ XFormTable,
24
+ QueryParamsDetailsView
25
+ },
26
+ data () {
27
+ return {
28
+ // 选中的编号
29
+ selectId: undefined,
30
+ // 查询配置文件名
31
+ queryParamsName: 'queryParams',
32
+ // 是否显示详情抽屉
33
+ detailVisible: false
34
+ }
35
+ },
36
+ methods: {
37
+ toDetail (record, id) {
38
+ this.selectId = id + ''
39
+ this.detailVisible = true
40
+ }
41
+ }
42
+ }
43
+ </script>
@@ -1,27 +1,27 @@
1
- import routerMap from './router.map'
2
- import { parseRoutes } from '@vue2-client/utils/routerUtil'
3
-
4
- // 异步路由配置
5
- const routesConfig = [
6
- 'login',
7
- 'submitTicket',
8
- 'root',
9
- {
10
- router: 'exp404',
11
- path: '*',
12
- name: '404'
13
- },
14
- {
15
- router: 'exp403',
16
- path: '/403',
17
- name: '403'
18
- }
19
- ]
20
-
21
- const options = {
22
- mode: 'history',
23
- routes: parseRoutes(routesConfig, routerMap),
24
- config: routesConfig
25
- }
26
-
27
- export default options
1
+ import routerMap from './router.map'
2
+ import { parseRoutes } from '@vue2-client/utils/routerUtil'
3
+
4
+ // 异步路由配置
5
+ const routesConfig = [
6
+ 'login',
7
+ 'submitTicket',
8
+ 'root',
9
+ {
10
+ router: 'exp404',
11
+ path: '*',
12
+ name: '404'
13
+ },
14
+ {
15
+ router: 'exp403',
16
+ path: '/403',
17
+ name: '403'
18
+ }
19
+ ]
20
+
21
+ const options = {
22
+ mode: 'history',
23
+ routes: parseRoutes(routesConfig, routerMap),
24
+ config: routesConfig
25
+ }
26
+
27
+ export default options
@@ -1,61 +1,63 @@
1
- // 视图组件
2
- const view = {
3
- tabs: () => import('@vue2-client/layouts/tabs'),
4
- blank: () => import('@vue2-client/layouts/BlankView'),
5
- page: () => import('@vue2-client/layouts/PageView')
6
- }
7
- // 动态路由对象定义
8
- const routerResource = {}
9
- // --------------------------------------基本视图组件--------------------------------------
10
- // 空白视图
11
- routerResource.blank = view.blank
12
- // 单页面视图
13
- routerResource.singlePage = view.blank
14
-
15
- // --------------------------------------仪表盘--------------------------------------
16
- routerResource.dashboard = view.blank
17
- // 工作台
18
- routerResource.workplace = () => import('@vue2-client/pages/dashboard/workplace')
19
- // --------------------------------------系统配置--------------------------------------
20
- routerResource.system = view.blank
21
- // 字典管理
22
- routerResource.dictionaryManage = () => import(/* webpackChunkName: "dictionary" */ '@vue2-client/pages/system/dictionary')
23
- // 查询配置管理
24
- routerResource.queryParamsManage = () => import(/* webpackChunkName: "queryParams" */ '@vue2-client/pages/system/queryParams')
25
- // 文件管理
26
- routerResource.fileManager = () => import('@vue2-client/pages/system/file')
27
- // 系统问题反馈工单
28
- routerResource.submitTicket = () => import(/* webpackChunkName: "submitTicket" */ '@vue2-client/pages/system/ticket')
29
-
30
- // 基础路由组件注册
31
- const routerMap = {
32
- login: {
33
- authority: '*',
34
- path: '/login',
35
- component: () => import('@vue2-client/pages/login')
36
- },
37
- root: {
38
- path: '/',
39
- name: '首页',
40
- redirect: '/login',
41
- component: view.tabs
42
- },
43
- exp403: {
44
- authority: '*',
45
- name: 'exp403',
46
- path: '403',
47
- component: () => import('@vue2-client/pages/exception/403')
48
- },
49
- exp404: {
50
- name: 'exp404',
51
- path: '404',
52
- component: () => import('@vue2-client/pages/exception/404')
53
- },
54
- exp500: {
55
- name: 'exp500',
56
- path: '500',
57
- component: () => import('@vue2-client/pages/exception/500')
58
- }
59
- }
60
- Object.assign(routerMap, routerResource)
61
- export default routerMap
1
+ // 视图组件
2
+ const view = {
3
+ tabs: () => import('@vue2-client/layouts/tabs'),
4
+ blank: () => import('@vue2-client/layouts/BlankView'),
5
+ page: () => import('@vue2-client/layouts/PageView')
6
+ }
7
+ // 动态路由对象定义
8
+ const routerResource = {}
9
+ // --------------------------------------基本视图组件--------------------------------------
10
+ // 空白视图
11
+ routerResource.blank = view.blank
12
+ // 单页面视图
13
+ routerResource.singlePage = view.blank
14
+
15
+ // --------------------------------------仪表盘--------------------------------------
16
+ routerResource.dashboard = view.blank
17
+ // 工作台
18
+ routerResource.workplace = () => import('@vue2-client/pages/dashboard/workplace')
19
+ // --------------------------------------系统配置--------------------------------------
20
+ routerResource.system = view.blank
21
+ // 字典管理
22
+ routerResource.dictionaryManage = () => import(/* webpackChunkName: "dictionary" */ '@vue2-client/pages/system/dictionary')
23
+ // 查询配置管理
24
+ routerResource.queryParamsManage = () => import(/* webpackChunkName: "queryParams" */ '@vue2-client/pages/system/queryParams')
25
+ // 文件管理
26
+ routerResource.fileManager = () => import('@vue2-client/pages/system/file')
27
+ // 查询配置生成
28
+ routerResource.createQuery = () => import('@vue2-client/pages/CreateQueryPage')
29
+ // 系统问题反馈工单
30
+ routerResource.submitTicket = () => import(/* webpackChunkName: "submitTicket" */ '@vue2-client/pages/system/ticket')
31
+
32
+ // 基础路由组件注册
33
+ const routerMap = {
34
+ login: {
35
+ authority: '*',
36
+ path: '/login',
37
+ component: () => import('@vue2-client/pages/login')
38
+ },
39
+ root: {
40
+ path: '/',
41
+ name: '首页',
42
+ redirect: '/login',
43
+ component: view.tabs
44
+ },
45
+ exp403: {
46
+ authority: '*',
47
+ name: 'exp403',
48
+ path: '403',
49
+ component: () => import('@vue2-client/pages/exception/403')
50
+ },
51
+ exp404: {
52
+ name: 'exp404',
53
+ path: '404',
54
+ component: () => import('@vue2-client/pages/exception/404')
55
+ },
56
+ exp500: {
57
+ name: 'exp500',
58
+ path: '500',
59
+ component: () => import('@vue2-client/pages/exception/500')
60
+ }
61
+ }
62
+ Object.assign(routerMap, routerResource)
63
+ export default routerMap
@@ -1,27 +1,27 @@
1
- import { formatRoutes } from '@vue2-client/utils/routerUtil'
2
-
3
- // 不需要登录拦截的路由配置
4
- const loginIgnore = {
5
- names: ['404', '403'], // 根据路由名称匹配
6
- paths: ['/login', '/submitTicket'], // 根据路由fullPath匹配
7
- /**
8
- * 判断路由是否包含在该配置中
9
- * @param route vue-router 的 route 对象
10
- * @returns {boolean}
11
- */
12
- includes (route) {
13
- return this.names.includes(route.name) || this.paths.includes(route.path)
14
- }
15
- }
16
-
17
- /**
18
- * 初始化路由实例
19
- * @param isAsync 是否异步路由模式
20
- * @returns {RouterOptions}
21
- */
22
- function initRouter (isAsync) {
23
- const options = require('./async/config.async').default
24
- formatRoutes(options.routes)
25
- return options
26
- }
27
- export { loginIgnore, initRouter }
1
+ import { formatRoutes } from '@vue2-client/utils/routerUtil'
2
+
3
+ // 不需要登录拦截的路由配置
4
+ const loginIgnore = {
5
+ names: ['404', '403'], // 根据路由名称匹配
6
+ paths: ['/login', '/submitTicket'], // 根据路由fullPath匹配
7
+ /**
8
+ * 判断路由是否包含在该配置中
9
+ * @param route vue-router 的 route 对象
10
+ * @returns {boolean}
11
+ */
12
+ includes (route) {
13
+ return this.names.includes(route.name) || this.paths.includes(route.path)
14
+ }
15
+ }
16
+
17
+ /**
18
+ * 初始化路由实例
19
+ * @param isAsync 是否异步路由模式
20
+ * @returns {RouterOptions}
21
+ */
22
+ function initRouter (isAsync) {
23
+ const options = require('./async/config.async').default
24
+ formatRoutes(options.routes)
25
+ return options
26
+ }
27
+ export { loginIgnore, initRouter }
@@ -1,6 +1,6 @@
1
- const DictionaryDetailsViewApi = {
2
- // 查询:获取字典详情
3
- getDictionaryDetails: '/api/af-system/logic/getDictionaryDetails'
4
- }
5
-
6
- export { DictionaryDetailsViewApi }
1
+ const DictionaryDetailsViewApi = {
2
+ // 查询:获取字典详情
3
+ getDictionaryDetails: '/api/af-system/logic/getDictionaryDetails'
4
+ }
5
+
6
+ export { DictionaryDetailsViewApi }
@@ -1,10 +1,10 @@
1
- const LogDetailsViewApi = {
2
- // 查询:获取日志详情
3
- getLogDetails: '/api/af-system/logic/foreignaidGetLogDetails',
4
- // 查询:获取日志维护记录
5
- getLogRecordList: '/api/af-system/logic/foreignaidGetRecordList',
6
- // 操作:更新日志状态
7
- updateLogStatusData: '/api/af-system/logic/foreignaidUpdateLogStatus'
8
- }
9
-
10
- export { LogDetailsViewApi }
1
+ const LogDetailsViewApi = {
2
+ // 查询:获取日志详情
3
+ getLogDetails: '/api/af-system/logic/foreignaidGetLogDetails',
4
+ // 查询:获取日志维护记录
5
+ getLogRecordList: '/api/af-system/logic/foreignaidGetRecordList',
6
+ // 操作:更新日志状态
7
+ updateLogStatusData: '/api/af-system/logic/foreignaidUpdateLogStatus'
8
+ }
9
+
10
+ export { LogDetailsViewApi }
@@ -1,6 +1,6 @@
1
- const QueryParamsDetailsViewApi = {
2
- // 查询:获取查询配置详情
3
- getQueryParamsDetails: '/api/af-system/logic/getQueryParamsDetails'
4
- }
5
-
6
- export { QueryParamsDetailsViewApi }
1
+ const QueryParamsDetailsViewApi = {
2
+ // 查询:获取查询配置详情
3
+ getQueryParamsDetails: '/api/af-system/logic/getQueryParamsDetails'
4
+ }
5
+
6
+ export { QueryParamsDetailsViewApi }
@@ -1,34 +1,34 @@
1
- const TicketDetailsViewApi = {
2
- // 查询:获取工单流转详情
3
- getTicketWorkFlowDetails: '/api/af-system/logic/getTicketWorkFlowDetails',
4
- // 查询:获取工单详情
5
- getTicketDetails: '/api/af-system/logic/getTicketDetails',
6
- // 手动关闭工单
7
- manualCloseTicket: '/api/af-system/logic/manualCloseTicket',
8
- // 转交工单给其他人
9
- transferTicketToOthers: '/api/af-system/logic/transferTicketToOthers',
10
- // 确认工单,开始处理
11
- confirmTicket: '/api/af-system/logic/confirmTicket',
12
- // 查询:获取订单详情用于订单追踪
13
- getTicketDetailsForUploader: '/api/af-system/logic/getTicketDetailsForUploader',
14
- // 更新:将工单优先级增加
15
- rushTicket: '/api/af-system/logic/rushTicket',
16
- // 客户手动关闭工单
17
- manualCloseTicketByCustomer: '/api/af-system/logic/manualCloseTicketByCustomer',
18
- // 在工单提交页面删除照片
19
- revocationImage: '/api/af-system/logic/revocationImage',
20
- // 在工单提交页面删除照片
21
- getTicketImages: '/api/af-system/logic/getTicketImages',
22
- // 用户填写附加信息时取消了操作,将已上传的照片清空
23
- removeAllImages: '/api/af-system/logic/removeAllImages',
24
- // 提交用户填写附加信息
25
- AddonDescriptionToTicket: '/api/af-system/logic/AddonDescriptionToTicket',
26
- // 获取用户填写附加信息
27
- getAddonDescription: '/api/af-system/logic/getAddonDescription',
28
- // 发起售后工单流程
29
- createTicket: '/api/af-system/logic/createTicket',
30
- // 查询:获取所有员工名,供前端展示备选项
31
- getAllEmployeeName: '/api/af-system/logic/getAllEmployeeName'
32
- }
33
-
34
- export { TicketDetailsViewApi }
1
+ const TicketDetailsViewApi = {
2
+ // 查询:获取工单流转详情
3
+ getTicketWorkFlowDetails: '/api/af-system/logic/getTicketWorkFlowDetails',
4
+ // 查询:获取工单详情
5
+ getTicketDetails: '/api/af-system/logic/getTicketDetails',
6
+ // 手动关闭工单
7
+ manualCloseTicket: '/api/af-system/logic/manualCloseTicket',
8
+ // 转交工单给其他人
9
+ transferTicketToOthers: '/api/af-system/logic/transferTicketToOthers',
10
+ // 确认工单,开始处理
11
+ confirmTicket: '/api/af-system/logic/confirmTicket',
12
+ // 查询:获取订单详情用于订单追踪
13
+ getTicketDetailsForUploader: '/api/af-system/logic/getTicketDetailsForUploader',
14
+ // 更新:将工单优先级增加
15
+ rushTicket: '/api/af-system/logic/rushTicket',
16
+ // 客户手动关闭工单
17
+ manualCloseTicketByCustomer: '/api/af-system/logic/manualCloseTicketByCustomer',
18
+ // 在工单提交页面删除照片
19
+ revocationImage: '/api/af-system/logic/revocationImage',
20
+ // 在工单提交页面删除照片
21
+ getTicketImages: '/api/af-system/logic/getTicketImages',
22
+ // 用户填写附加信息时取消了操作,将已上传的照片清空
23
+ removeAllImages: '/api/af-system/logic/removeAllImages',
24
+ // 提交用户填写附加信息
25
+ AddonDescriptionToTicket: '/api/af-system/logic/AddonDescriptionToTicket',
26
+ // 获取用户填写附加信息
27
+ getAddonDescription: '/api/af-system/logic/getAddonDescription',
28
+ // 发起售后工单流程
29
+ createTicket: '/api/af-system/logic/createTicket',
30
+ // 查询:获取所有员工名,供前端展示备选项
31
+ getAllEmployeeName: '/api/af-system/logic/getAllEmployeeName'
32
+ }
33
+
34
+ export { TicketDetailsViewApi }
@@ -1,10 +1,10 @@
1
- const CommonTempTable = {
2
- // 初始化子表
3
- initApplySubTable: '/api/af-system/logic/initApplySubTable',
4
- // 创建临时表,根据配置文件动态生成
5
- createTempTable: '/api/af-system/logic/createTempTable',
6
- // 向临时表中插入数据
7
- insertDataToTempTable: '/api/af-system/logic/insertDataToTempTable'
8
- }
9
-
10
- export { CommonTempTable }
1
+ const CommonTempTable = {
2
+ // 初始化子表
3
+ initApplySubTable: '/api/af-system/logic/initApplySubTable',
4
+ // 创建临时表,根据配置文件动态生成
5
+ createTempTable: '/api/af-system/logic/createTempTable',
6
+ // 向临时表中插入数据
7
+ insertDataToTempTable: '/api/af-system/logic/insertDataToTempTable'
8
+ }
9
+
10
+ export { CommonTempTable }
@@ -1,17 +1,17 @@
1
- import { commonApi, getColumnsJson, query, addOrModify, remove } from '@vue2-client/services/api/common'
2
- import { QueryParamsDetailsViewApi } from '@vue2-client/services/api/QueryParamsDetailsViewApi'
3
- import { DictionaryDetailsViewApi } from '@vue2-client/services/api/DictionaryDetailsViewApi'
4
- import { LogDetailsViewApi } from '@vue2-client/services/api/LogDetailsViewApi'
5
- import { manageApi } from '@vue2-client/services/api/manage'
6
- import { get, post } from '@vue2-client/services/api/restTools'
7
- import { TicketDetailsViewApi } from '@vue2-client/services/api/TicketDetailsViewApi'
8
-
9
- export {
10
- commonApi, getColumnsJson, query, addOrModify, remove,
11
- DictionaryDetailsViewApi,
12
- LogDetailsViewApi,
13
- manageApi,
14
- QueryParamsDetailsViewApi,
15
- get, post,
16
- TicketDetailsViewApi
17
- }
1
+ import { commonApi, getColumnsJson, query, addOrModify, remove } from '@vue2-client/services/api/common'
2
+ import { QueryParamsDetailsViewApi } from '@vue2-client/services/api/QueryParamsDetailsViewApi'
3
+ import { DictionaryDetailsViewApi } from '@vue2-client/services/api/DictionaryDetailsViewApi'
4
+ import { LogDetailsViewApi } from '@vue2-client/services/api/LogDetailsViewApi'
5
+ import { manageApi } from '@vue2-client/services/api/manage'
6
+ import { get, post } from '@vue2-client/services/api/restTools'
7
+ import { TicketDetailsViewApi } from '@vue2-client/services/api/TicketDetailsViewApi'
8
+
9
+ export {
10
+ commonApi, getColumnsJson, query, addOrModify, remove,
11
+ DictionaryDetailsViewApi,
12
+ LogDetailsViewApi,
13
+ manageApi,
14
+ QueryParamsDetailsViewApi,
15
+ get, post,
16
+ TicketDetailsViewApi
17
+ }
@@ -1,8 +1,8 @@
1
- const manageApi = {
2
- // 查询:获取字典键列表
3
- getDictionaryValue: '/api/af-system/logic/getDictionaryValue',
4
- // 查询:获取省市区街道三级分类
5
- getDivisionsOhChina: '/api/af-system/logic/getDivisionsOhChina'
6
- }
7
-
8
- export { manageApi }
1
+ const manageApi = {
2
+ // 查询:获取字典键列表
3
+ getDictionaryValue: '/api/af-system/logic/getDictionaryValue',
4
+ // 查询:获取省市区街道三级分类
5
+ getDivisionsOhChina: '/api/af-system/logic/getDivisionsOhChina'
6
+ }
7
+
8
+ export { manageApi }
@@ -1,24 +1,24 @@
1
- import { METHOD, request } from '@vue2-client/utils/request'
2
-
3
- /**
4
- * GET请求
5
- * @param url 请求地址
6
- * @param parameter 路径参数
7
- * @returns {Promise<AxiosResponse<T>>}
8
- */
9
- function get (url, parameter) {
10
- return request(url, METHOD.GET, parameter)
11
- }
12
-
13
- /**
14
- * POST请求
15
- * @param url 请求地址
16
- * @param parameter 请求参数
17
- * @param config
18
- * @returns {Promise<AxiosResponse<T>>}
19
- */
20
- function post (url, parameter, config = {}) {
21
- return request(url, METHOD.POST, parameter, config)
22
- }
23
-
24
- export { get, post }
1
+ import { METHOD, request } from '@vue2-client/utils/request'
2
+
3
+ /**
4
+ * GET请求
5
+ * @param url 请求地址
6
+ * @param parameter 路径参数
7
+ * @returns {Promise<AxiosResponse<T>>}
8
+ */
9
+ function get (url, parameter) {
10
+ return request(url, METHOD.GET, parameter)
11
+ }
12
+
13
+ /**
14
+ * POST请求
15
+ * @param url 请求地址
16
+ * @param parameter 请求参数
17
+ * @param config
18
+ * @returns {Promise<AxiosResponse<T>>}
19
+ */
20
+ function post (url, parameter, config = {}) {
21
+ return request(url, METHOD.POST, parameter, config)
22
+ }
23
+
24
+ export { get, post }
@@ -1,4 +1,4 @@
1
- import account from './account'
2
- import setting from './setting'
3
-
4
- export default { account, setting }
1
+ import account from './account'
2
+ import setting from './setting'
3
+
4
+ export default { account, setting }