vue2-client 1.12.14 → 1.12.16
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/package.json +107 -107
- package/src/base-client/components/common/XCardSet/XCardSet.vue +123 -21
- package/src/base-client/components/common/XConversation/XConversation.vue +13 -12
- package/src/base-client/components/common/XConversation/XConversationDemo.vue +1 -0
- package/src/base-client/components/common/XDataCard/XDataCard.vue +575 -575
- package/src/pages/WorkflowDetail/WorkFlowDemo.vue +4 -4
- package/src/pages/WorkflowDetail/WorkflowPageDetail/WorkFlowHandle.vue +7 -5
- package/src/router/async/router.map.js +2 -1
|
@@ -24,15 +24,15 @@ export default {
|
|
|
24
24
|
* @param note 备注信息
|
|
25
25
|
* @param form 表单信息
|
|
26
26
|
* @param workflowId 工作流id
|
|
27
|
-
* @param
|
|
27
|
+
* @param fromStepId 起ID
|
|
28
28
|
* @param toStepId 往ID
|
|
29
29
|
* @param successStepId 完成步骤id
|
|
30
30
|
* @param successStep 完成步骤名称
|
|
31
|
-
* @param
|
|
31
|
+
* @param fromStep 起步骤名称
|
|
32
32
|
* @param toStep 往步骤名称
|
|
33
33
|
*/
|
|
34
|
-
nextClick ({ note, form, workflowId,
|
|
35
|
-
console.log('success', note, form, workflowId,
|
|
34
|
+
nextClick ({ note, form, workflowId, fromStepId, toStepId, fromStep, toStep, successStepId, successStep }) {
|
|
35
|
+
console.log('success', note, form, workflowId, fromStepId, toStepId, fromStep, toStep, successStepId, successStep)
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
38
|
}
|
|
@@ -763,14 +763,16 @@ export default {
|
|
|
763
763
|
return stepHandler
|
|
764
764
|
},
|
|
765
765
|
// 生成工作流日志步骤变化描述
|
|
766
|
-
generateStepChangeText (
|
|
767
|
-
return `第${
|
|
766
|
+
generateStepChangeText (fromStepId, toStepId) {
|
|
767
|
+
return `第${fromStepId}步: ${this.getStepNameByStepId(fromStepId)} --> 第${toStepId}步: ${this.getStepNameByStepId(toStepId)}`
|
|
768
768
|
},
|
|
769
|
-
generateStepChange (
|
|
769
|
+
generateStepChange (fromStepId, toStepId) {
|
|
770
770
|
return {
|
|
771
|
-
formStepId,
|
|
771
|
+
formStepId: fromStepId,
|
|
772
|
+
fromStepId,
|
|
772
773
|
toStepId,
|
|
773
|
-
formStep: this.getStepNameByStepId(
|
|
774
|
+
formStep: this.getStepNameByStepId(fromStepId),
|
|
775
|
+
fromStep: this.getStepNameByStepId(fromStepId),
|
|
774
776
|
toStep: this.getStepNameByStepId(toStepId),
|
|
775
777
|
successStepId: this.stepsDefine[this.stepsDefine.length - 1].id,
|
|
776
778
|
successStep: this.stepsDefine[this.stepsDefine.length - 1].name,
|
|
@@ -52,7 +52,8 @@ routerResource.newDynamicStatistics = () => import('@vue2-client/pages/NewDynami
|
|
|
52
52
|
routerResource.example = {
|
|
53
53
|
path: 'example',
|
|
54
54
|
name: '示例主页面',
|
|
55
|
-
component: () => import('@vue2-client/base-client/components/common/XCollapse/XCollapse.vue'),
|
|
55
|
+
// component: () => import('@vue2-client/base-client/components/common/XCollapse/XCollapse.vue'),
|
|
56
|
+
component: () => import('@vue2-client/base-client/components/common/XDataCard/XDataCard.vue'),
|
|
56
57
|
// component: () => import('@vue2-client/base-client/components/common/XDescriptions/demo.vue'),
|
|
57
58
|
// component: () => import('@vue2-client/base-client/components/common/XAddNativeForm/demo.vue'),
|
|
58
59
|
// component: () => import('@vue2-client/base-client/components/common/XFormGroup/demo.vue'),
|