vue2-client 1.16.31 → 1.16.32
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/.env.message +19 -19
- package/package.json +1 -1
- package/src/base-client/components/common/XFormTable/demo.vue +90 -90
- package/src/base-client/components/common/XTable/XTable.vue +1607 -1607
- package/src/base-client/components/his/XHisEditor/XHisEditor.vue +700 -694
- package/src/base-client/components/his/threeTestOrders/editor.vue +113 -111
- package/src/router/async/router.map.js +129 -129
package/.env.message
CHANGED
@@ -1,19 +1,19 @@
|
|
1
|
-
VUE_APP_PUBLIC_PATH=/
|
2
|
-
VUE_APP_NAME=Admin
|
3
|
-
VUE_APP_ROUTES_KEY=admin.routes
|
4
|
-
VUE_APP_PERMISSIONS_KEY=admin.permissions
|
5
|
-
VUE_APP_ROLES_KEY=admin.roles
|
6
|
-
VUE_APP_USER_KEY=admin.user
|
7
|
-
VUE_APP_LOGIN_KEY=admin.login
|
8
|
-
VUE_APP_SETTING_KEY=admin.setting
|
9
|
-
VUE_APP_TBAS_KEY=admin.tabs
|
10
|
-
VUE_APP_TBAS_TITLES_KEY=admin.tabs.titles
|
11
|
-
VUE_APP_DICTIONARY_KEY=admin.dictionary
|
12
|
-
VUE_APP_BADGE_KEY=admin.badge
|
13
|
-
VUE_APP_SINGLEVALUE_KEY=admin.singlevalue
|
14
|
-
VUE_APP_DIVISIONSOHCHINA=admin.divisionsohchina
|
15
|
-
VUE_APP_WEB_CONFIG_KEY=admin.webconfig
|
16
|
-
VUE_APP_API_BASE_URL=http://123.60.214.109:8405
|
17
|
-
VUE_APP_SYSTEM_NAME=af-message
|
18
|
-
VUE_APP_LOGIN_VERSION=V4
|
19
|
-
|
1
|
+
VUE_APP_PUBLIC_PATH=/
|
2
|
+
VUE_APP_NAME=Admin
|
3
|
+
VUE_APP_ROUTES_KEY=admin.routes
|
4
|
+
VUE_APP_PERMISSIONS_KEY=admin.permissions
|
5
|
+
VUE_APP_ROLES_KEY=admin.roles
|
6
|
+
VUE_APP_USER_KEY=admin.user
|
7
|
+
VUE_APP_LOGIN_KEY=admin.login
|
8
|
+
VUE_APP_SETTING_KEY=admin.setting
|
9
|
+
VUE_APP_TBAS_KEY=admin.tabs
|
10
|
+
VUE_APP_TBAS_TITLES_KEY=admin.tabs.titles
|
11
|
+
VUE_APP_DICTIONARY_KEY=admin.dictionary
|
12
|
+
VUE_APP_BADGE_KEY=admin.badge
|
13
|
+
VUE_APP_SINGLEVALUE_KEY=admin.singlevalue
|
14
|
+
VUE_APP_DIVISIONSOHCHINA=admin.divisionsohchina
|
15
|
+
VUE_APP_WEB_CONFIG_KEY=admin.webconfig
|
16
|
+
VUE_APP_API_BASE_URL=http://123.60.214.109:8405
|
17
|
+
VUE_APP_SYSTEM_NAME=af-message
|
18
|
+
VUE_APP_LOGIN_VERSION=V4
|
19
|
+
|
package/package.json
CHANGED
@@ -1,90 +1,90 @@
|
|
1
|
-
<template>
|
2
|
-
<a-card :bordered="false">
|
3
|
-
<x-form-table
|
4
|
-
title="示例表单"
|
5
|
-
:queryParamsName="queryParamsName"
|
6
|
-
:fixedAddForm="fixedAddForm"
|
7
|
-
:x-tree-config-name="xTreeConfigName"
|
8
|
-
:externalSelectedRowKeys="selectedKeys"
|
9
|
-
@action="action"
|
10
|
-
@selectRow="selectRow"
|
11
|
-
@columnClick="columnClick"
|
12
|
-
serviceName="af-revenue"
|
13
|
-
ref="xFormTable">
|
14
|
-
</x-form-table>
|
15
|
-
</a-card>
|
16
|
-
</template>
|
17
|
-
|
18
|
-
<script>
|
19
|
-
import XFormTable from '@vue2-client/base-client/components/common/XFormTable/XFormTable.vue'
|
20
|
-
import { microDispatch } from '@vue2-client/utils/microAppUtils'
|
21
|
-
|
22
|
-
export default {
|
23
|
-
name: 'Demo',
|
24
|
-
components: {
|
25
|
-
XFormTable
|
26
|
-
},
|
27
|
-
data () {
|
28
|
-
return {
|
29
|
-
// 查询配置文件名
|
30
|
-
queryParamsName: '
|
31
|
-
// 查询配置左侧tree
|
32
|
-
xTreeConfigName: 'addressType',
|
33
|
-
// 新增表单固定值
|
34
|
-
fixedAddForm: {},
|
35
|
-
// 是否显示详情抽屉
|
36
|
-
detailVisible: false,
|
37
|
-
// 当前记录
|
38
|
-
record: {},
|
39
|
-
// 选中的行keys
|
40
|
-
selectedKeys: [],
|
41
|
-
selected: {
|
42
|
-
keys: [],
|
43
|
-
rows: []
|
44
|
-
}
|
45
|
-
}
|
46
|
-
},
|
47
|
-
methods: {
|
48
|
-
test () {
|
49
|
-
this.$refs.xFormTable.setTableData([])
|
50
|
-
},
|
51
|
-
defaultF () {
|
52
|
-
this.$refs.xFormTable.setTableSize('default')
|
53
|
-
},
|
54
|
-
middleF () {
|
55
|
-
this.$refs.xFormTable.setTableSize('middle')
|
56
|
-
},
|
57
|
-
smallF () {
|
58
|
-
this.$refs.xFormTable.setTableSize('small')
|
59
|
-
},
|
60
|
-
columnClick (key, value, record) {
|
61
|
-
microDispatch({
|
62
|
-
type: 'v3route',
|
63
|
-
path: '/bingliguanli/dianzibingliluru',
|
64
|
-
props: { selected: arguments[0].his_f_admission_id }
|
65
|
-
})
|
66
|
-
},
|
67
|
-
action (record, id, actionType) {
|
68
|
-
this.detailVisible = true
|
69
|
-
console.log('触发了详情操作', record, id, actionType)
|
70
|
-
},
|
71
|
-
onClose () {
|
72
|
-
this.detailVisible = false
|
73
|
-
// 关闭详情之后重新查询表单
|
74
|
-
this.$refs.xFormTable.refreshTable(true)
|
75
|
-
},
|
76
|
-
selectRow (selectedRowKeys, selectedRows) {
|
77
|
-
this.selected = {
|
78
|
-
keys: selectedRowKeys,
|
79
|
-
rows: selectedRows
|
80
|
-
}
|
81
|
-
console.log('selectedDemo', this.selected)
|
82
|
-
},
|
83
|
-
},
|
84
|
-
computed: {},
|
85
|
-
}
|
86
|
-
</script>
|
87
|
-
|
88
|
-
<style scoped>
|
89
|
-
|
90
|
-
</style>
|
1
|
+
<template>
|
2
|
+
<a-card :bordered="false">
|
3
|
+
<x-form-table
|
4
|
+
title="示例表单"
|
5
|
+
:queryParamsName="queryParamsName"
|
6
|
+
:fixedAddForm="fixedAddForm"
|
7
|
+
:x-tree-config-name="xTreeConfigName"
|
8
|
+
:externalSelectedRowKeys="selectedKeys"
|
9
|
+
@action="action"
|
10
|
+
@selectRow="selectRow"
|
11
|
+
@columnClick="columnClick"
|
12
|
+
serviceName="af-revenue"
|
13
|
+
ref="xFormTable">
|
14
|
+
</x-form-table>
|
15
|
+
</a-card>
|
16
|
+
</template>
|
17
|
+
|
18
|
+
<script>
|
19
|
+
import XFormTable from '@vue2-client/base-client/components/common/XFormTable/XFormTable.vue'
|
20
|
+
import { microDispatch } from '@vue2-client/utils/microAppUtils'
|
21
|
+
|
22
|
+
export default {
|
23
|
+
name: 'Demo',
|
24
|
+
components: {
|
25
|
+
XFormTable
|
26
|
+
},
|
27
|
+
data () {
|
28
|
+
return {
|
29
|
+
// 查询配置文件名
|
30
|
+
queryParamsName: 'address_management',
|
31
|
+
// 查询配置左侧tree
|
32
|
+
xTreeConfigName: 'addressType',
|
33
|
+
// 新增表单固定值
|
34
|
+
fixedAddForm: {},
|
35
|
+
// 是否显示详情抽屉
|
36
|
+
detailVisible: false,
|
37
|
+
// 当前记录
|
38
|
+
record: {},
|
39
|
+
// 选中的行keys
|
40
|
+
selectedKeys: [],
|
41
|
+
selected: {
|
42
|
+
keys: [],
|
43
|
+
rows: []
|
44
|
+
}
|
45
|
+
}
|
46
|
+
},
|
47
|
+
methods: {
|
48
|
+
test () {
|
49
|
+
this.$refs.xFormTable.setTableData([])
|
50
|
+
},
|
51
|
+
defaultF () {
|
52
|
+
this.$refs.xFormTable.setTableSize('default')
|
53
|
+
},
|
54
|
+
middleF () {
|
55
|
+
this.$refs.xFormTable.setTableSize('middle')
|
56
|
+
},
|
57
|
+
smallF () {
|
58
|
+
this.$refs.xFormTable.setTableSize('small')
|
59
|
+
},
|
60
|
+
columnClick (key, value, record) {
|
61
|
+
microDispatch({
|
62
|
+
type: 'v3route',
|
63
|
+
path: '/bingliguanli/dianzibingliluru',
|
64
|
+
props: { selected: arguments[0].his_f_admission_id }
|
65
|
+
})
|
66
|
+
},
|
67
|
+
action (record, id, actionType) {
|
68
|
+
this.detailVisible = true
|
69
|
+
console.log('触发了详情操作', record, id, actionType)
|
70
|
+
},
|
71
|
+
onClose () {
|
72
|
+
this.detailVisible = false
|
73
|
+
// 关闭详情之后重新查询表单
|
74
|
+
this.$refs.xFormTable.refreshTable(true)
|
75
|
+
},
|
76
|
+
selectRow (selectedRowKeys, selectedRows) {
|
77
|
+
this.selected = {
|
78
|
+
keys: selectedRowKeys,
|
79
|
+
rows: selectedRows
|
80
|
+
}
|
81
|
+
console.log('selectedDemo', this.selected)
|
82
|
+
},
|
83
|
+
},
|
84
|
+
computed: {},
|
85
|
+
}
|
86
|
+
</script>
|
87
|
+
|
88
|
+
<style scoped>
|
89
|
+
|
90
|
+
</style>
|