主
@@ -68,6 +69,7 @@ import {useTagsView} from '@/stores/tagsview';
import {getUserAccount} from "@/api/user/user";
import {switchAccount} from "@/api/login";
import {setToken} from "../../utils/auth";
+import {ElNotification} from "element-plus";
const authStore = useAuthStore()
const permisstionStore = usePermisstionStroe()
@@ -91,7 +93,13 @@ const nullBlockClick = () => {
}
const handleVisitedP = () => {
getUserAccount().then(res => {
- console.log(res)
+ if (res.code !== 1000) {
+ ElNotification({
+ title: '提示',
+ message: res.msg,
+ type: res.code === 1000 ? 'success' : 'error'
+ })
+ }
accountList.value = res.data
nextTick(() => {
visitedP.value = !visitedP.value
@@ -137,9 +145,11 @@ const handleLogout = () => {
overflow: hidden;
text-overflow: ellipsis;
}
-:deep(.el-badge){
+
+:deep(.el-badge) {
padding: 0 2px;
}
+
:deep(.el-badge__content.is-fixed) {
position: absolute;
right: 26px;
diff --git a/src/views/project-management/implementation/phaseDetail.vue b/src/views/project-management/implementation/phaseDetail.vue
index 7a0e078..dd1b291 100644
--- a/src/views/project-management/implementation/phaseDetail.vue
+++ b/src/views/project-management/implementation/phaseDetail.vue
@@ -59,7 +59,7 @@ const getInfo = async () => {
const {code, data, msg} = await getPhaseDetail(projectId)
if (code === 1000) {
summaryData.value = data;
- copyName.value= data.formData.userInfoList.map(item=>item.name).join(',')
+ copyName.value= data.formData.userInfoList?.map(item=>item.name).join(',')
loading.value = false
processStore.setDesign(data)
processStore.runningList.value = data.runningList;
diff --git a/src/views/workflow/common/OperationRender.vue b/src/views/workflow/common/OperationRender.vue
index 782c57b..8ae4331 100644
--- a/src/views/workflow/common/OperationRender.vue
+++ b/src/views/workflow/common/OperationRender.vue
@@ -8,6 +8,9 @@
size="large"
placement="top">
+
+ 当前节点: {{ operation.operationName }}
+
@@ -17,15 +20,15 @@
-
{{ operation.operationName }}:
+
审批人:
{{ user.name }}
{{ user.operationTime }}
-
+
+
-
@@ -270,9 +273,10 @@ init()
> div:first-child {
display: flex;
- width: 200px;
+
> span {
+ width: 100px;
color: #2a99ff;
margin-left: 10px;
margin-right: 20px;
@@ -307,20 +311,21 @@ init()
right: 1px;
}
-//.username {
-// //width: 90px;
-// margin-top: 10px;
-// background: #f5f5f5;
-// padding: 5px;
-//
-// .el-tooltip__trigger {
-// width: 90px;
-// text-align: center;
-// //padding-top: 2px;
-// //text-align: center;
-// text-overflow: ellipsis;
-// white-space: nowrap;
-// overflow: hidden
-// }
-//}
+.username {
+ //width: 90px;
+ margin-top: 10px;
+ background: #f5f5f5;
+ padding: 12px;
+ overflow: hidden;
+
+ //.el-tooltip__trigger {
+ // width: 90px;
+ // text-align: center;
+ // //padding-top: 2px;
+ // //text-align: center;
+ // text-overflow: ellipsis;
+ // white-space: nowrap;
+ // overflow: hidden
+ //}
+}
diff --git a/src/views/workflow/process/common/AvatarEllipsis.vue b/src/views/workflow/process/common/AvatarEllipsis.vue
index 925023e..142549d 100644
--- a/src/views/workflow/process/common/AvatarEllipsis.vue
+++ b/src/views/workflow/process/common/AvatarEllipsis.vue
@@ -7,7 +7,7 @@