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.
- package/CHANGELOG.md +1 -1
- package/package.json +1 -1
- package/src/base-client/components/common/AddressSearchCombobox/AddressSearchCombobox.vue +4 -4
- package/src/base-client/components/common/CreateQuery/CreateQueryItem.vue +1 -1
- package/src/base-client/components/common/CreateSimpleFormQuery/CreateSimpleFormQueryItem.vue +1 -1
- package/src/base-client/components/common/CustomColumnsDrawer/index.md +46 -46
- package/src/base-client/components/common/JSONToTree/jsontotree.vue +275 -275
- package/src/base-client/components/common/Upload/Upload.vue +3 -3
- package/src/base-client/components/common/XAddForm/XAddForm.vue +6 -2
- package/src/base-client/components/common/XAddNativeForm/XAddNativeForm.vue +7 -2
- package/src/base-client/components/common/XForm/XForm.vue +1 -1
- package/src/base-client/components/common/XForm/XFormItem.vue +4 -2
- package/src/base-client/components/common/XFormTable/XFormTable.vue +1 -0
- package/src/base-client/components/system/LogDetailsView/LogDetailsView.vue +376 -372
- package/src/base-client/components/system/QueryParamsDetailsView/QueryParamsDetailsView.vue +1 -1
- package/src/base-client/components/ticket/TicketDetailsView/TicketDetailsView.vue +14 -13
- package/src/base-client/components/ticket/TicketDetailsView/index.md +29 -29
- package/src/base-client/components/ticket/TicketDetailsView/part/TicketDetailsFlow.vue +260 -260
- package/src/base-client/components/ticket/TicketSubmitSuccessView/TicketSubmitSuccessView.vue +1 -1
- package/src/base-client/components/ticket/TicketSubmitSuccessView/index.md +29 -29
- package/src/base-client/plugins/AppData.js +4 -6
- package/src/base-client/plugins/GetLoginInfoService.js +252 -252
- package/src/base-client/plugins/PagedList.js +3 -3
- package/src/base-client/plugins/i18n-extend.js +32 -32
- package/src/components/Ellipsis/index.md +38 -38
- package/src/components/NumberInfo/index.md +43 -43
- package/src/components/STable/README.md +341 -341
- package/src/components/Trend/index.md +45 -45
- package/src/components/checkbox/ColorCheckbox.vue +157 -157
- package/src/components/checkbox/ImgCheckbox.vue +163 -163
- package/src/components/exception/ExceptionPage.vue +70 -70
- package/src/components/form/FormRow.vue +52 -52
- package/src/components/menu/SideMenu.vue +62 -62
- package/src/components/menu/menu.js +273 -273
- package/src/components/setting/Setting.vue +235 -235
- package/src/components/table/advance/ActionColumns.vue +158 -158
- package/src/components/table/advance/SearchArea.vue +355 -355
- package/src/components/tool/AStepItem.vue +60 -60
- package/src/components/tool/AvatarList.vue +68 -69
- package/src/components/tool/Drawer.vue +142 -142
- package/src/components/transition/PageToggleTransition.vue +97 -97
- package/src/config/replacer/resolve.config.js +67 -67
- package/src/layouts/AdminLayout.vue +174 -174
- package/src/layouts/header/AdminHeader.vue +3 -3
- package/src/layouts/header/HeaderNotice.vue +1 -1
- package/src/layouts/header/HeaderSearch.vue +67 -67
- package/src/layouts/header/InstitutionDetail.vue +3 -3
- package/src/layouts/tabs/TabsHead.vue +190 -190
- package/src/layouts/tabs/TabsView.vue +379 -379
- package/src/mock/goods/index.js +108 -108
- package/src/pages/CreateQueryPage.vue +2 -2
- package/src/pages/report/ReportTable.js +124 -125
- package/src/pages/report/ReportTableHome.vue +28 -28
- package/src/pages/system/file/index.vue +3 -3
- package/src/pages/system/ticket/index.vue +4 -1
- package/src/services/api/DictionaryDetailsViewApi.js +1 -1
- package/src/services/api/LogDetailsViewApi.js +3 -3
- package/src/services/api/QueryParamsDetailsViewApi.js +1 -1
- package/src/services/api/TicketDetailsViewApi.js +15 -23
- package/src/services/api/common.js +11 -11
- package/src/services/api/commonTempTable.js +3 -3
- package/src/services/api/manage.js +2 -2
- package/src/theme/default/nprogress.less +76 -76
- package/src/utils/colors.js +103 -103
- package/src/utils/excel/Blob.js +53 -54
- package/src/utils/excel/Export2Excel.js +4 -4
- package/src/utils/formatter.js +68 -68
- package/src/utils/i18n.js +1 -1
- package/src/utils/routerUtil.js +3 -3
- package/src/utils/theme-color-replacer-extend.js +3 -3
- package/src/utils/themeUtil.js +100 -102
- package/src/utils/util.js +2 -2
- package/vue.config.js +5 -15
- package/vue2-client.iml +9 -0
package/CHANGELOG.md
CHANGED
package/package.json
CHANGED
|
@@ -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
|
}
|
package/src/base-client/components/common/CreateSimpleFormQuery/CreateSimpleFormQueryItem.vue
CHANGED
|
@@ -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
|
|
42
|
-
width
|
|
43
|
-
columnsMeta | 表格列配置的原始json数据
|
|
44
|
-
visible
|
|
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
|
+
|