vue2-client 1.22.10 → 1.22.12
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/.idea/af-vue2-client.iml +1 -5
- package/.idea/encodings.xml +6 -0
- package/.idea/misc.xml +12 -0
- package/.idea/workspace.xml +63 -0
- package/package.json +1 -1
- package/src/base-client/components/common/AfMap/map/index.vue +1 -0
- package/src/base-client/components/common/XFormTable/demo.vue +53 -134
- package/src/pages/WorkflowDetail/WorkflowPageDetail/WorkFlowBaseInformation.vue +417 -417
- package/src/pages/userInfoDetailManage/BusinessFlowQuery/index.vue +5 -1
- package/src/pages/userInfoDetailManage/UserDetailDynamicTableQuery/index.vue +208 -0
- package/src/pages/userInfoDetailManage/UserDetailDynamicTableQuery/userDetailTableQueryResolver.js +306 -0
- package/src/pages/userInfoDetailManage/UserDetailSubTabPanel/index.vue +4 -0
- package/src/pages/userInfoDetailManage/UserDetailSystemTabsPanel/index.vue +154 -0
- package/src/pages/userInfoDetailManage/UserDevicesQuery/index.vue +5 -1
- package/src/pages/userInfoDetailManage/UserLimitInfoPanel/index.vue +5 -1
- package/src/pages/userInfoDetailManage/userInfoDetailQueryTabs.vue +46 -121
- package/.idea/CopilotChatHistory.xml +0 -39
- package/.idea/MarsCodeWorkspaceAppSettings.xml +0 -8
- package/.idea/migrateChatHistory.xml +0 -10
- package/src/pages/WorkflowDetail/WorkFlowDemo4.vue +0 -127
- package/src/pages/userInfoDetailManage/ApplySystemQuery/index.vue +0 -114
- package/src/pages/userInfoDetailManage/AttachmentSystemQuery/index.vue +0 -20
- package/src/pages/userInfoDetailManage/CallSystemQuery/index.vue +0 -45
- package/src/pages/userInfoDetailManage/HandplanSystemQuery/index.vue +0 -192
- package/src/pages/userInfoDetailManage/InvoiceSystemQuery/index.vue +0 -35
- package/src/pages/userInfoDetailManage/RevenueSystemQuery/index.vue +0 -137
- package/src/pages/userInfoDetailManage/SafeCheckSystemQuery/index.vue +0 -42
- package/src/pages/userInfoDetailManage/WorkOrderSystemQuery/index.vue +0 -40
package/.idea/af-vue2-client.iml
CHANGED
|
@@ -1,11 +1,7 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
2
|
<module type="WEB_MODULE" version="4">
|
|
3
3
|
<component name="NewModuleRootManager">
|
|
4
|
-
<content url="file://$MODULE_DIR$"
|
|
5
|
-
<excludeFolder url="file://$MODULE_DIR$/.tmp" />
|
|
6
|
-
<excludeFolder url="file://$MODULE_DIR$/temp" />
|
|
7
|
-
<excludeFolder url="file://$MODULE_DIR$/tmp" />
|
|
8
|
-
</content>
|
|
4
|
+
<content url="file://$MODULE_DIR$" />
|
|
9
5
|
<orderEntry type="inheritedJdk" />
|
|
10
6
|
<orderEntry type="sourceFolder" forTests="false" />
|
|
11
7
|
</component>
|
package/.idea/misc.xml
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<project version="4">
|
|
3
|
+
<component name="MavenImportPreferences">
|
|
4
|
+
<option name="generalSettings">
|
|
5
|
+
<MavenGeneralSettings>
|
|
6
|
+
<option name="localRepository" value="D:\apache-maven-3.5.2\repository" />
|
|
7
|
+
<option name="mavenHome" value="D:/apache-maven-3.5.2" />
|
|
8
|
+
<option name="userSettingsFile" value="D:\apache-maven-3.5.2\conf\settings.xml" />
|
|
9
|
+
</MavenGeneralSettings>
|
|
10
|
+
</option>
|
|
11
|
+
</component>
|
|
12
|
+
</project>
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<project version="4">
|
|
3
|
+
<component name="ChangeListManager">
|
|
4
|
+
<list default="true" id="a9b56467-cc7a-4aa4-b3b8-8de4daacc681" name="Changes" comment="">
|
|
5
|
+
<change beforePath="$PROJECT_DIR$/src/base-client/components/common/AfMap/map/index.vue" beforeDir="false" afterPath="$PROJECT_DIR$/src/base-client/components/common/AfMap/map/index.vue" afterDir="false" />
|
|
6
|
+
</list>
|
|
7
|
+
<option name="SHOW_DIALOG" value="false" />
|
|
8
|
+
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
|
9
|
+
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
|
|
10
|
+
<option name="LAST_RESOLUTION" value="IGNORE" />
|
|
11
|
+
</component>
|
|
12
|
+
<component name="Git.Settings">
|
|
13
|
+
<option name="RECENT_BRANCH_BY_REPOSITORY">
|
|
14
|
+
<map>
|
|
15
|
+
<entry key="$PROJECT_DIR$" value="master" />
|
|
16
|
+
</map>
|
|
17
|
+
</option>
|
|
18
|
+
<option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
|
|
19
|
+
</component>
|
|
20
|
+
<component name="ProjectColorInfo"><![CDATA[{
|
|
21
|
+
"associatedIndex": 7
|
|
22
|
+
}]]></component>
|
|
23
|
+
<component name="ProjectId" id="3FTPOxG6f49MzNIl3AgtpM9cryK" />
|
|
24
|
+
<component name="ProjectViewState">
|
|
25
|
+
<option name="showLibraryContents" value="true" />
|
|
26
|
+
</component>
|
|
27
|
+
<component name="PropertiesComponent"><![CDATA[{
|
|
28
|
+
"keyToString": {
|
|
29
|
+
"ModuleVcsDetector.initialDetectionPerformed": "true",
|
|
30
|
+
"RunOnceActivity.ShowReadmeOnStart": "true",
|
|
31
|
+
"RunOnceActivity.git.unshallow": "true",
|
|
32
|
+
"RunOnceActivity.typescript.service.memoryLimit.init": "true",
|
|
33
|
+
"git-widget-placeholder": "dev",
|
|
34
|
+
"javascript.preferred.runtime.type.id": "node",
|
|
35
|
+
"node.js.detected.package.eslint": "true",
|
|
36
|
+
"node.js.selected.package.eslint": "(autodetect)",
|
|
37
|
+
"nodejs_package_manager_path": "yarn",
|
|
38
|
+
"ts.external.directory.path": "F:\\software\\webstorm\\WebStorm 2025.3.1\\plugins\\javascript-plugin\\jsLanguageServicesImpl\\external",
|
|
39
|
+
"vue.rearranger.settings.migration": "true"
|
|
40
|
+
}
|
|
41
|
+
}]]></component>
|
|
42
|
+
<component name="SharedIndexes">
|
|
43
|
+
<attachedChunks>
|
|
44
|
+
<set>
|
|
45
|
+
<option value="bundled-js-predefined-d6986cc7102b-9b0f141eb926-JavaScript-WS-253.29346.143" />
|
|
46
|
+
</set>
|
|
47
|
+
</attachedChunks>
|
|
48
|
+
</component>
|
|
49
|
+
<component name="TaskManager">
|
|
50
|
+
<task active="true" id="Default" summary="Default task">
|
|
51
|
+
<changelist id="a9b56467-cc7a-4aa4-b3b8-8de4daacc681" name="Changes" comment="" />
|
|
52
|
+
<created>1782096058058</created>
|
|
53
|
+
<option name="number" value="Default" />
|
|
54
|
+
<option name="presentableId" value="Default" />
|
|
55
|
+
<updated>1782096058058</updated>
|
|
56
|
+
<workItem from="1782096059367" duration="114000" />
|
|
57
|
+
</task>
|
|
58
|
+
<servers />
|
|
59
|
+
</component>
|
|
60
|
+
<component name="TypeScriptGeneratedFilesManager">
|
|
61
|
+
<option name="version" value="3" />
|
|
62
|
+
</component>
|
|
63
|
+
</project>
|
package/package.json
CHANGED
|
@@ -263,6 +263,7 @@ export default {
|
|
|
263
263
|
})
|
|
264
264
|
|
|
265
265
|
this.MAP_OPTIONS = await getConfigByNameAsync(this.mapOptionsName, this.serviceName)
|
|
266
|
+
this.collapsed = this.MAP_OPTIONS?.settings?.defaultCollapsed ?? true
|
|
266
267
|
|
|
267
268
|
this.button = this.MAP_OPTIONS.toolButton
|
|
268
269
|
this.leftButton = this.button.filter(t => t.position === 'left')
|
|
@@ -2,54 +2,35 @@
|
|
|
2
2
|
<a-card :bordered="false">
|
|
3
3
|
<x-form-table
|
|
4
4
|
title="示例表单"
|
|
5
|
-
queryParamsName="
|
|
5
|
+
:queryParamsName="queryParamsName"
|
|
6
6
|
:fixedAddForm="fixedAddForm"
|
|
7
7
|
:externalSelectedRowKeys="selectedKeys"
|
|
8
|
-
:defaultPageSize="100"
|
|
9
|
-
:pageSizeArray="['100','200']"
|
|
10
8
|
@action="action"
|
|
11
9
|
@selectRow="selectRow"
|
|
12
10
|
@columnClick="columnClick"
|
|
13
11
|
@ceshi="ceshi"
|
|
14
|
-
@
|
|
15
|
-
serviceName="af-
|
|
12
|
+
@rowDblClick="rowDblClick"
|
|
13
|
+
serviceName="af-revenue"
|
|
16
14
|
ref="xFormTable"
|
|
17
15
|
:reserveSpaceForButtons="true"
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
v-model="formModalVisible"
|
|
22
|
-
title="工单回访"
|
|
23
|
-
:zIndex="1002"
|
|
24
|
-
width="50vw"
|
|
25
|
-
:destroy-on-close="true"
|
|
26
|
-
@cancel="formModalVisible = false"
|
|
27
|
-
@ok="ok"
|
|
28
|
-
>
|
|
29
|
-
<x-add-native-form
|
|
30
|
-
ref="xForm"
|
|
31
|
-
/>
|
|
32
|
-
</a-modal>
|
|
33
|
-
<button @click="backDealData">提交</button>
|
|
16
|
+
@tableBaseEnter="tableBaseEnter"
|
|
17
|
+
@addFormSubmit="addFormSubmit"
|
|
18
|
+
></x-form-table>
|
|
34
19
|
</a-card>
|
|
35
20
|
</template>
|
|
36
21
|
|
|
37
22
|
<script>
|
|
38
23
|
import XFormTable from '@vue2-client/base-client/components/common/XFormTable/XFormTable.vue'
|
|
39
|
-
import XAddNativeForm from '@vue2-client/base-client/components/common/XAddNativeForm/XAddNativeForm.vue'
|
|
40
24
|
import { microDispatch } from '@vue2-client/utils/microAppUtils'
|
|
41
|
-
import {getConfigByNameAsync, runLogic} from '@vue2-client/services/api/common'
|
|
42
|
-
|
|
43
25
|
export default {
|
|
44
26
|
name: 'Demo',
|
|
45
27
|
components: {
|
|
46
|
-
XFormTable
|
|
47
|
-
XAddNativeForm,
|
|
28
|
+
XFormTable
|
|
48
29
|
},
|
|
49
|
-
data
|
|
30
|
+
data() {
|
|
50
31
|
return {
|
|
51
32
|
// 查询配置文件名
|
|
52
|
-
queryParamsName: '
|
|
33
|
+
queryParamsName: 'UserFilesListCRUD',
|
|
53
34
|
// 查询配置左侧tree
|
|
54
35
|
xTreeConfigName: 'addressType',
|
|
55
36
|
// 新增表单固定值
|
|
@@ -62,32 +43,41 @@ export default {
|
|
|
62
43
|
selectedKeys: [],
|
|
63
44
|
selected: {
|
|
64
45
|
keys: [],
|
|
65
|
-
rows: []
|
|
66
|
-
}
|
|
67
|
-
formModalVisible: false,
|
|
46
|
+
rows: []
|
|
47
|
+
}
|
|
68
48
|
}
|
|
69
49
|
},
|
|
50
|
+
|
|
70
51
|
methods: {
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
52
|
+
tableBaseEnter(...args) {
|
|
53
|
+
const [attr, value, currentRecord, currentIndex, nextRecord, nextIndex] = args
|
|
54
|
+
console.log('====>', attr, value, currentRecord, currentIndex, nextRecord, nextIndex)
|
|
55
|
+
|
|
56
|
+
console.log('当前行:', currentIndex, '下一行:', nextIndex)
|
|
57
|
+
if (!nextIndex) {
|
|
58
|
+
this.$message.warning('没有下一行')
|
|
59
|
+
return
|
|
60
|
+
}
|
|
61
|
+
// 跳转到下一行的同一列
|
|
62
|
+
this.$refs.xFormTable.$refs.xTable.focusInput(nextIndex, attr.model)
|
|
63
|
+
setTimeout(() => {
|
|
64
|
+
this.$refs.xFormTable.$refs.xTable.focusInput(nextIndex, attr.model)
|
|
65
|
+
}, 10)
|
|
66
|
+
},
|
|
67
|
+
handleCustomQuery() {
|
|
68
|
+
this.$refs.xFormTable.queryTable({
|
|
69
|
+
uf_f_alias: 'XianFeng',
|
|
70
|
+
uf_f_card_id: '10500030'
|
|
75
71
|
})
|
|
76
72
|
},
|
|
73
|
+
rowDblClick(record) {
|
|
74
|
+
console.log('rowDblClick', record)
|
|
75
|
+
},
|
|
77
76
|
// input框 行編輯參數傳遞
|
|
78
|
-
ceshi
|
|
77
|
+
ceshi(...args) {
|
|
79
78
|
// attr, value, currentRecord, currentIndex, nextRecord, nextIndex
|
|
80
|
-
const [attr, value, currentRecord, currentIndex, nextRecord, nextIndex] =
|
|
81
|
-
|
|
82
|
-
console.log(
|
|
83
|
-
'ceshi',
|
|
84
|
-
attr,
|
|
85
|
-
value,
|
|
86
|
-
currentRecord,
|
|
87
|
-
currentIndex,
|
|
88
|
-
nextRecord,
|
|
89
|
-
nextIndex
|
|
90
|
-
)
|
|
79
|
+
const [attr, value, currentRecord, currentIndex, nextRecord, nextIndex] = args
|
|
80
|
+
console.log('ceshi', attr, value, currentRecord, currentIndex, nextRecord, nextIndex)
|
|
91
81
|
// 示例:当按下 Enter 键且有下一行时,跳转到下一行的同一列
|
|
92
82
|
// 可以在这里执行业务逻辑(例如:保存数据)
|
|
93
83
|
console.log('当前行:', currentIndex, '下一行:', nextIndex)
|
|
@@ -98,115 +88,44 @@ export default {
|
|
|
98
88
|
// 跳转到下一行的同一列
|
|
99
89
|
this.$refs.xFormTable.$refs.xTable.focusInput(nextIndex, attr.model)
|
|
100
90
|
},
|
|
101
|
-
test
|
|
91
|
+
test() {
|
|
102
92
|
this.$refs.xFormTable.setTableData([])
|
|
103
93
|
},
|
|
104
|
-
defaultF
|
|
94
|
+
defaultF() {
|
|
105
95
|
this.$refs.xFormTable.setTableSize('default')
|
|
106
96
|
},
|
|
107
|
-
middleF
|
|
97
|
+
middleF() {
|
|
108
98
|
this.$refs.xFormTable.setTableSize('middle')
|
|
109
99
|
},
|
|
110
|
-
smallF
|
|
100
|
+
smallF() {
|
|
111
101
|
this.$refs.xFormTable.setTableSize('small')
|
|
112
102
|
},
|
|
113
|
-
columnClick
|
|
103
|
+
columnClick(key, value, record) {
|
|
114
104
|
microDispatch({
|
|
115
105
|
type: 'v3route',
|
|
116
106
|
path: '/bingliguanli/dianzibingliluru',
|
|
117
|
-
props: { selected: arguments[0].his_f_admission_id }
|
|
107
|
+
props: { selected: arguments[0].his_f_admission_id }
|
|
118
108
|
})
|
|
119
109
|
},
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
this.$nextTick(
|
|
124
|
-
() => {
|
|
125
|
-
this.formModalVisible = true
|
|
126
|
-
this.$refs.xForm.init({
|
|
127
|
-
formItems: config.formJson,
|
|
128
|
-
title: '工单回访',
|
|
129
|
-
businessType: '新增',
|
|
130
|
-
...config,
|
|
131
|
-
fixedAddForm: {
|
|
132
|
-
Images:[
|
|
133
|
-
{
|
|
134
|
-
'uid': 1850,
|
|
135
|
-
'url': '/resource/af-system/images/3de85050493f4404ad3d0a00d53bca12.png',
|
|
136
|
-
'name': '3de85050493f4404ad3d0a00d53bca12.png'
|
|
137
|
-
}
|
|
138
|
-
],
|
|
139
|
-
f_image1:[
|
|
140
|
-
{
|
|
141
|
-
'uid': 1850,
|
|
142
|
-
'url': '/resource/af-system/images/3de85050493f4404ad3d0a00d53bca12.png',
|
|
143
|
-
'name': '3de85050493f4404ad3d0a00d53bca12.png'
|
|
144
|
-
}
|
|
145
|
-
],
|
|
146
|
-
signs: [
|
|
147
|
-
{
|
|
148
|
-
'uid': 1850,
|
|
149
|
-
'url': '/resource/af-system/images/3de85050493f4404ad3d0a00d53bca12.png',
|
|
150
|
-
'name': '3de85050493f4404ad3d0a00d53bca12.png'
|
|
151
|
-
}
|
|
152
|
-
],
|
|
153
|
-
},
|
|
154
|
-
modifyModelData: {
|
|
155
|
-
data: {
|
|
156
|
-
Images:[
|
|
157
|
-
{
|
|
158
|
-
'uid': 1850,
|
|
159
|
-
'url': '/resource/af-system/images/3de85050493f4404ad3d0a00d53bca12.png',
|
|
160
|
-
'name': '3de85050493f4404ad3d0a00d53bca12.png'
|
|
161
|
-
}
|
|
162
|
-
],
|
|
163
|
-
f_image1:[
|
|
164
|
-
{
|
|
165
|
-
'uid': 1850,
|
|
166
|
-
'url': '/resource/af-system/images/3de85050493f4404ad3d0a00d53bca12.png',
|
|
167
|
-
'name': '3de85050493f4404ad3d0a00d53bca12.png'
|
|
168
|
-
}
|
|
169
|
-
],
|
|
170
|
-
f_image2: [
|
|
171
|
-
{
|
|
172
|
-
'uid': 1850,
|
|
173
|
-
'url': '/resource/af-system/images/3de85050493f4404ad3d0a00d53bca12.png',
|
|
174
|
-
'name': '3de85050493f4404ad3d0a00d53bca12.png'
|
|
175
|
-
}
|
|
176
|
-
],
|
|
177
|
-
},
|
|
178
|
-
signs: [
|
|
179
|
-
{
|
|
180
|
-
'uid': 1850,
|
|
181
|
-
'url': '/resource/af-system/images/3de85050493f4404ad3d0a00d53bca12.png',
|
|
182
|
-
'name': '3de85050493f4404ad3d0a00d53bca12.png'
|
|
183
|
-
}
|
|
184
|
-
],
|
|
185
|
-
},
|
|
186
|
-
})
|
|
187
|
-
})
|
|
188
|
-
})
|
|
189
|
-
// this.detailVisible = true
|
|
190
|
-
// console.log('触发了详情操作', record, id, actionType)
|
|
191
|
-
},
|
|
192
|
-
async ok () {
|
|
193
|
-
const res = await this.$refs.xForm.asyncSubmit()
|
|
194
|
-
await runLogic('ceshwewei', res.realForm)
|
|
110
|
+
action(record, id, actionType) {
|
|
111
|
+
this.detailVisible = true
|
|
112
|
+
console.log('触发了详情操作', record, id, actionType)
|
|
195
113
|
},
|
|
196
|
-
onClose
|
|
114
|
+
onClose() {
|
|
197
115
|
this.detailVisible = false
|
|
198
116
|
// 关闭详情之后重新查询表单
|
|
199
117
|
this.$refs.xFormTable.refreshTable(true)
|
|
200
118
|
},
|
|
201
|
-
selectRow
|
|
119
|
+
selectRow(selectedRowKeys, selectedRows) {
|
|
202
120
|
this.selected = {
|
|
203
121
|
keys: selectedRowKeys,
|
|
204
|
-
rows: selectedRows
|
|
122
|
+
rows: selectedRows
|
|
205
123
|
}
|
|
206
|
-
console.log('selectedDemo', this.selected)
|
|
207
124
|
},
|
|
208
|
-
|
|
209
|
-
|
|
125
|
+
addFormSubmit(params, callback){
|
|
126
|
+
callback()
|
|
127
|
+
}
|
|
128
|
+
}
|
|
210
129
|
}
|
|
211
130
|
</script>
|
|
212
131
|
|