vue2-client 1.20.5 → 1.20.7
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/logs/afgit.config.log +7 -0
- package/logs/afgit.config_error.log +3 -0
- package/package.json +1 -1
- package/src/base-client/components/common/HIS/HFormTable/HFormTable.vue +10 -9
- package/src/base-client/components/common/XAddNativeForm/XAddNativeForm.vue +3 -1
- package/src/pages/WorkflowDetail/WorkFlowDemo.vue +1 -1
- package/src/pages/WorkflowDetail/WorkflowPageDetail/WorkFlowHandle.vue +7 -1
- package/src/router/async/router.map.js +2 -2
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
2026-02-27 09:24:44 - afgit.config - INFO - 开始拉取最新配置
|
|
2
|
+
2026-02-27 09:24:44 - afgit.config - INFO - 创建本地目录: ./config_files
|
|
3
|
+
2026-02-27 09:24:44 - afgit.config - INFO - 开始下载配置文件到: ./config_files
|
|
4
|
+
2026-02-27 09:24:44 - afgit.config - DEBUG - 开始认证,URL: http://192.168.50.67:31467/api/af-auth/login, 用户名: 1
|
|
5
|
+
2026-02-27 09:24:44 - afgit.config - ERROR - 解析认证响应失败: {"code":400,"data":null,"error":true,"msg":"用户不存在/密码错误","success":false}, 用户名: 1, 密码: Class123!@!
|
|
6
|
+
2026-02-27 09:24:44 - afgit.config - ERROR - 认证失败,下载终止
|
|
7
|
+
2026-02-27 09:24:44 - afgit.config - ERROR - 拉取配置失败
|
package/package.json
CHANGED
|
@@ -111,7 +111,13 @@ const wrapperClassObject = computed(() => {
|
|
|
111
111
|
|
|
112
112
|
const wrapperStyleObject = computed(() => {
|
|
113
113
|
const rowHeight = attrs['row-height'] || attrs.rowHeight || ROW_HEIGHT_DEFAULT
|
|
114
|
-
|
|
114
|
+
const tableMinHeight = attrs['table-min-height'] || attrs.tableMinHeight || null
|
|
115
|
+
// 表格高度偏移量(分页器+边距等固定部分),配置600显示550,偏移50
|
|
116
|
+
const tableMinHeightOffset = 50
|
|
117
|
+
return {
|
|
118
|
+
'--row-height': rowHeight,
|
|
119
|
+
'--table-min-height': tableMinHeight ? `calc(${tableMinHeight} - ${tableMinHeightOffset}px)` : undefined
|
|
120
|
+
}
|
|
115
121
|
})
|
|
116
122
|
|
|
117
123
|
const xFormTableRef = ref()
|
|
@@ -481,18 +487,13 @@ defineExpose({
|
|
|
481
487
|
}
|
|
482
488
|
}
|
|
483
489
|
|
|
484
|
-
//
|
|
485
|
-
//
|
|
486
|
-
// 注意:只在表格有数据时应用,避免空表格时显示问题
|
|
490
|
+
// 自定义表格固定高度(通过 table-min-height 属性设置)
|
|
491
|
+
// 只在表格有数据时应用
|
|
487
492
|
:deep(.table-wrapper) {
|
|
488
493
|
.ant-table:not(.ant-table-empty) {
|
|
489
494
|
.ant-table-content {
|
|
490
|
-
// 设置最小高度,确保即使数据少时也有足够空间显示下拉框
|
|
491
|
-
// 这个高度应该足够显示下拉框选项(通常下拉框高度约200-300px)
|
|
492
|
-
min-height: 300px;
|
|
493
495
|
.ant-table-body {
|
|
494
|
-
|
|
495
|
-
min-height: 250px;
|
|
496
|
+
height: calc(var(--table-min-height, 300px) - 50px);
|
|
496
497
|
}
|
|
497
498
|
}
|
|
498
499
|
}
|
|
@@ -531,6 +531,7 @@ export default {
|
|
|
531
531
|
btnPlace = 'end',
|
|
532
532
|
simpleInline = null,
|
|
533
533
|
paramLogicName,
|
|
534
|
+
paramLogicServiceName,
|
|
534
535
|
paramLogicNameParam
|
|
535
536
|
} = params
|
|
536
537
|
this.loaded = false
|
|
@@ -575,7 +576,8 @@ export default {
|
|
|
575
576
|
// 设置普通表单项的相关参数
|
|
576
577
|
const formData = Object.assign({}, fixedAddForm)
|
|
577
578
|
if (paramLogicName) {
|
|
578
|
-
|
|
579
|
+
// console.warn('2paramLogicServiceName', paramLogicServiceName)
|
|
580
|
+
runLogic(paramLogicName, paramLogicNameParam, (typeof paramLogicServiceName === 'string' && paramLogicServiceName.trim()) || this.serviceName).then(res => {
|
|
579
581
|
Object.assign(formData, res)
|
|
580
582
|
})
|
|
581
583
|
}
|
|
@@ -1194,7 +1194,13 @@ export default {
|
|
|
1194
1194
|
const currentStepDefine = this.stepsDefine.find(item => item.id === stepId)
|
|
1195
1195
|
const isKeyHandle = currentStepDefine?.properties?.form?.isKeyHandle || false
|
|
1196
1196
|
if (!!currentStepDefine.properties.form?.paramLogicName) {
|
|
1197
|
-
|
|
1197
|
+
// 确保 serviceName 是一个非空字符串
|
|
1198
|
+
const serviceName =
|
|
1199
|
+
(typeof currentStepDefine.properties.form?.paramLogicServiceName === 'string' &&
|
|
1200
|
+
currentStepDefine.properties.form.paramLogicServiceName.trim()) || process.env.VUE_APP_SYSTEM_NAME
|
|
1201
|
+
// console.warn('serviceName', serviceName)
|
|
1202
|
+
const data = await postByServiceName(`/logic/${currentStepDefine.properties.form.paramLogicName}`, { workflowId: this.workflowId, stepId: stepId, data: formCompletedDataPreview }, serviceName)
|
|
1203
|
+
// const data = await postByServiceName(`/logic/${currentStepDefine.properties.form.paramLogicName}`, { workflowId: this.workflowId, stepId: stepId, data: formCompletedDataPreview })
|
|
1198
1204
|
formCompletedDataPreview = this.mergeFormData(formCompletedDataPreview, data)
|
|
1199
1205
|
}
|
|
1200
1206
|
// 使用字段定义中内容,将回显数据的列名,替换为定义的中文名
|
|
@@ -55,8 +55,8 @@ routerResource.example = {
|
|
|
55
55
|
// component: () => import('@vue2-client/pages/LayoutTest/index.vue')
|
|
56
56
|
// component: () => import('@vue2-client/base-client/components/common/XDescriptions/demo.vue')
|
|
57
57
|
// component: () => import('@vue2-client/base-client/components/his/HChart/demo.vue'),
|
|
58
|
-
|
|
59
|
-
component: () => import('@vue2-client/base-client/components/common/XFormTable/demo.vue')
|
|
58
|
+
component: () => import('@vue2-client/pages/WorkflowDetail/WorkFlowDemo.vue'),
|
|
59
|
+
// component: () => import('@vue2-client/base-client/components/common/XFormTable/demo.vue')
|
|
60
60
|
// component: () => import('@vue2-client/base-client/components/common/AfMap/demo.vue')
|
|
61
61
|
// component: () => import('@vue2-client/base-client/components/common/ImagePreviewModal/demo.vue'),
|
|
62
62
|
// component: () => import('@vue2-client/base-client/components/common/XImagePreview/demo.vue'),
|