vue2-client 1.3.6 → 1.3.9

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 (74) hide show
  1. package/CHANGELOG.md +1 -1
  2. package/package.json +1 -1
  3. package/src/base-client/components/common/AddressSearchCombobox/AddressSearchCombobox.vue +4 -4
  4. package/src/base-client/components/common/CreateQuery/CreateQueryItem.vue +1 -1
  5. package/src/base-client/components/common/CreateSimpleFormQuery/CreateSimpleFormQueryItem.vue +1 -1
  6. package/src/base-client/components/common/CustomColumnsDrawer/index.md +46 -46
  7. package/src/base-client/components/common/JSONToTree/jsontotree.vue +275 -275
  8. package/src/base-client/components/common/Upload/Upload.vue +3 -3
  9. package/src/base-client/components/common/XAddForm/XAddForm.vue +6 -2
  10. package/src/base-client/components/common/XAddNativeForm/XAddNativeForm.vue +7 -2
  11. package/src/base-client/components/common/XForm/XForm.vue +1 -1
  12. package/src/base-client/components/common/XForm/XFormItem.vue +4 -2
  13. package/src/base-client/components/common/XFormTable/XFormTable.vue +1 -0
  14. package/src/base-client/components/system/LogDetailsView/LogDetailsView.vue +376 -372
  15. package/src/base-client/components/system/QueryParamsDetailsView/QueryParamsDetailsView.vue +1 -1
  16. package/src/base-client/components/ticket/TicketDetailsView/TicketDetailsView.vue +14 -13
  17. package/src/base-client/components/ticket/TicketDetailsView/index.md +29 -29
  18. package/src/base-client/components/ticket/TicketDetailsView/part/TicketDetailsFlow.vue +260 -260
  19. package/src/base-client/components/ticket/TicketSubmitSuccessView/TicketSubmitSuccessView.vue +1 -1
  20. package/src/base-client/components/ticket/TicketSubmitSuccessView/index.md +29 -29
  21. package/src/base-client/plugins/AppData.js +4 -6
  22. package/src/base-client/plugins/GetLoginInfoService.js +252 -252
  23. package/src/base-client/plugins/PagedList.js +3 -3
  24. package/src/base-client/plugins/i18n-extend.js +32 -32
  25. package/src/components/Ellipsis/index.md +38 -38
  26. package/src/components/NumberInfo/index.md +43 -43
  27. package/src/components/STable/README.md +341 -341
  28. package/src/components/Trend/index.md +45 -45
  29. package/src/components/checkbox/ColorCheckbox.vue +157 -157
  30. package/src/components/checkbox/ImgCheckbox.vue +163 -163
  31. package/src/components/exception/ExceptionPage.vue +70 -70
  32. package/src/components/form/FormRow.vue +52 -52
  33. package/src/components/menu/SideMenu.vue +62 -62
  34. package/src/components/menu/menu.js +273 -273
  35. package/src/components/setting/Setting.vue +235 -235
  36. package/src/components/table/advance/ActionColumns.vue +158 -158
  37. package/src/components/table/advance/SearchArea.vue +355 -355
  38. package/src/components/tool/AStepItem.vue +60 -60
  39. package/src/components/tool/AvatarList.vue +68 -69
  40. package/src/components/tool/Drawer.vue +142 -142
  41. package/src/components/transition/PageToggleTransition.vue +97 -97
  42. package/src/config/replacer/resolve.config.js +67 -67
  43. package/src/layouts/AdminLayout.vue +174 -174
  44. package/src/layouts/header/AdminHeader.vue +3 -3
  45. package/src/layouts/header/HeaderNotice.vue +1 -1
  46. package/src/layouts/header/HeaderSearch.vue +67 -67
  47. package/src/layouts/header/InstitutionDetail.vue +3 -3
  48. package/src/layouts/tabs/TabsHead.vue +190 -190
  49. package/src/layouts/tabs/TabsView.vue +379 -379
  50. package/src/mock/goods/index.js +108 -108
  51. package/src/pages/CreateQueryPage.vue +2 -2
  52. package/src/pages/report/ReportTable.js +124 -125
  53. package/src/pages/report/ReportTableHome.vue +28 -28
  54. package/src/pages/system/file/index.vue +3 -3
  55. package/src/pages/system/ticket/index.vue +4 -1
  56. package/src/services/api/DictionaryDetailsViewApi.js +1 -1
  57. package/src/services/api/LogDetailsViewApi.js +3 -3
  58. package/src/services/api/QueryParamsDetailsViewApi.js +1 -1
  59. package/src/services/api/TicketDetailsViewApi.js +15 -23
  60. package/src/services/api/common.js +11 -11
  61. package/src/services/api/commonTempTable.js +3 -3
  62. package/src/services/api/manage.js +2 -2
  63. package/src/theme/default/nprogress.less +76 -76
  64. package/src/utils/colors.js +103 -103
  65. package/src/utils/excel/Blob.js +53 -54
  66. package/src/utils/excel/Export2Excel.js +4 -4
  67. package/src/utils/formatter.js +68 -68
  68. package/src/utils/i18n.js +1 -1
  69. package/src/utils/routerUtil.js +3 -3
  70. package/src/utils/theme-color-replacer-extend.js +3 -3
  71. package/src/utils/themeUtil.js +100 -102
  72. package/src/utils/util.js +2 -2
  73. package/vue.config.js +5 -15
  74. package/vue2-client.iml +9 -0
package/CHANGELOG.md CHANGED
@@ -1,7 +1,7 @@
1
1
  # Change Log
2
2
  > 所有关于本项目的变化都在该文档里。
3
3
 
4
- **1.3.3 - 1.3.6 -2022-09-09 @江超**
4
+ **1.3.3 - 1.3.9 -2022-09-09 @江超**
5
5
  - 功能修改:
6
6
  - 移除非基础业务组件
7
7
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vue2-client",
3
- "version": "1.3.6",
3
+ "version": "1.3.9",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "serve": "vue-cli-service serve",
@@ -141,7 +141,7 @@ export default {
141
141
  if (value !== '') {
142
142
  const logicName = this.attr.keyName
143
143
  const logic = logicName.substring(6)
144
- post('/af-system/' + logic, value).then(res => {
144
+ post('/api/af-system/logic/' + logic, value).then(res => {
145
145
  callback(res)
146
146
  })
147
147
  }
@@ -191,9 +191,9 @@ export default {
191
191
  }
192
192
  </style>
193
193
  <style scoped>
194
- .certain-category-search-wrapper
195
- >>> .certain-category-search.ant-select-auto-complete
196
- .ant-input-affix-wrapper
194
+ .certain-category-search-wrapper,
195
+ >>> .certain-category-search.ant-select-auto-complete,
196
+ .ant-input-affix-wrapper,
197
197
  .ant-input-suffix {
198
198
  right: 12px;
199
199
  }
@@ -685,7 +685,7 @@ export default {
685
685
  // 获取所有仓库
686
686
  getStocks () {
687
687
  if (this.stockList.length === 0) {
688
- post('/af-system/getFilesStock', {}).then(res => {
688
+ post('/api/af-system/logic/getFilesStock', {}).then(res => {
689
689
  this.stockList = res.sort((a, b) => b.progress - a.progress)
690
690
  }).catch(e => {})
691
691
  }
@@ -502,7 +502,7 @@ export default {
502
502
  // 获取所有仓库
503
503
  getStocks () {
504
504
  if (this.stockList.length === 0) {
505
- post('/af-system/getFilesStock', {}).then(res => {
505
+ post('/api/af-system/logic/getFilesStock', {}).then(res => {
506
506
  this.stockList = res.sort((a, b) => b.progress - a.progress)
507
507
  }).catch(e => {})
508
508
  }
@@ -1,46 +1,46 @@
1
- # CustomColumnsDrawer 自定义表格列
2
-
3
- 提供一个可以自定义选择需要展示的表格列抽屉实现
4
-
5
-
6
-
7
- ## 何时使用
8
-
9
- 允许用户自定义选择需要展示的表格列,常用于列较多的表格查询展示。
10
-
11
-
12
-
13
- 引用方式:
14
-
15
- ```javascript
16
- import CustomColumnsDrawer from '@vue2-client/vue2-client/components/CustomColumnsDrawer'
17
-
18
- export default {
19
- components: {
20
- CustomColumnsDrawer
21
- }
22
- }
23
- ```
24
-
25
-
26
-
27
- ## 代码演示
28
-
29
- ```html
30
- <custom-columns-drawer
31
- :visible.sync="visible"
32
- :columns.sync="tableShowColumns"
33
- :columns-meta="columnsMeta"
34
- />
35
- ```
36
-
37
- ## API
38
-
39
- 参数 | 说明 | 类型 | 默认值
40
- ----|------|-----|------
41
- placement | 抽屉的方向,详情参考Ant Design Vue的官方文档 | String, Object | right
42
- width | 抽屉的宽度,详情参考Ant Design Vue的官方文档 | String, Object | 190
43
- columnsMeta | 表格列配置的原始json数据 | Array | null
44
- visible | 是否显示 | Boolean | false
45
-
46
-
1
+ # CustomColumnsDrawer 自定义表格列
2
+
3
+ 提供一个可以自定义选择需要展示的表格列抽屉实现
4
+
5
+
6
+
7
+ ## 何时使用
8
+
9
+ 允许用户自定义选择需要展示的表格列,常用于列较多的表格查询展示。
10
+
11
+
12
+
13
+ 引用方式:
14
+
15
+ ```javascript
16
+ import CustomColumnsDrawer from '@vue2-client/vue2-client/components/CustomColumnsDrawer'
17
+
18
+ export default {
19
+ components: {
20
+ CustomColumnsDrawer
21
+ }
22
+ }
23
+ ```
24
+
25
+
26
+
27
+ ## 代码演示
28
+
29
+ ```html
30
+ <custom-columns-drawer
31
+ :visible.sync="visible"
32
+ :columns.sync="tableShowColumns"
33
+ :columns-meta="columnsMeta"
34
+ />
35
+ ```
36
+
37
+ ## API
38
+
39
+ | 参数 | 说明 | 类型 | 默认值 |
40
+ |-------------|-------------------------------|----------------|-------|
41
+ | placement | 抽屉的方向,详情参考Ant Design Vue的官方文档 | String, Object | right |
42
+ | width | 抽屉的宽度,详情参考Ant Design Vue的官方文档 | String, Object | 190 |
43
+ | columnsMeta | 表格列配置的原始json数据 | Array | null |
44
+ | visible | 是否显示 | Boolean | false |
45
+
46
+