diff --git a/hb_client/src/api/workflow.js b/hb_client/src/api/workflow.js
index 0b11d69..9e69564 100644
--- a/hb_client/src/api/workflow.js
+++ b/hb_client/src/api/workflow.js
@@ -176,3 +176,11 @@ export function getTicketTransitions(id) {
method: 'get'
})
}
+
+//工单流转记录
+export function getTicketFlowlog(id) {
+ return request({
+ url: `/wf/ticket/${id}/flowlogs/`,
+ method: 'get'
+ })
+}
diff --git a/hb_client/src/router/index.js b/hb_client/src/router/index.js
index 48d89d0..7befda0 100644
--- a/hb_client/src/router/index.js
+++ b/hb_client/src/router/index.js
@@ -305,6 +305,13 @@ export const asyncRoutes = [
meta: { title: '人员信息详情', icon: 'example', perms: ['workflow_manage'] },
hidden: true
},
+ {
+ path: 'ticketHandle',
+ name: 'ticketHandle',
+ component: () => import('@/views/workflow/ticketHandle'),
+ meta: { title: '工单处理', icon: 'example', perms: ['workflow_manage'] },
+ hidden: true
+ },
]
},
{
diff --git a/hb_client/src/views/workflow/configuration.vue b/hb_client/src/views/workflow/configuration.vue
index 1e55695..aaee8bc 100644
--- a/hb_client/src/views/workflow/configuration.vue
+++ b/hb_client/src/views/workflow/configuration.vue
@@ -27,9 +27,20 @@ import TST from "@/views/workflow/transitions"
};
},
created() {
-
- this.ID = this.$route.params.workflow;
-
+ let id = sessionStorage.getItem('configurationId');
+ if(this.$route.params.workflow){
+ this.ID = this.$route.params.workflow;
+ if(id){
+ sessionStorage.removeItem('configurationId');
+ sessionStorage.setItem('configurationId',this.$route.params.workflow);
+ }else{
+ sessionStorage.setItem('configurationId',this.$route.params.workflow);
+ }
+ }else{
+ if(id){
+ this.ID = id;
+ }
+ }
},
methods: {
handleClick(tab, event) {
@@ -38,4 +49,4 @@ import TST from "@/views/workflow/transitions"
}
};
-
\ No newline at end of file
+
diff --git a/hb_client/src/views/workflow/index.vue b/hb_client/src/views/workflow/index.vue
index c92c762..40d6889 100644
--- a/hb_client/src/views/workflow/index.vue
+++ b/hb_client/src/views/workflow/index.vue
@@ -50,13 +50,13 @@
{{ !!(scope.row.view_permission_check)?'是':'否' }}
- 工作流名称 :{{watchedName}} 创建时间 :{{watchedCreateTime}}
工单名称 :{{watchedName}}
+创建时间 :{{watchedCreateTime}}
+