From d0220d9c2b1e660fad94b60553d611c8610a14f6 Mon Sep 17 00:00:00 2001 From: qinoy Date: Tue, 19 Jul 2022 16:57:15 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=8A=E5=88=A9=E9=A1=B9=E7=9B=AE=E3=80=90?= =?UTF-8?q?=E6=9E=B6=E6=9E=84=E7=AD=9B=E9=80=89=E3=80=91=E9=A1=B5=E9=9D=A2?= =?UTF-8?q?=E6=A0=B7=E5=BC=8F=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/views/repository/RepositoryMain.vue | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/com.actionsoft.apps.coe.pal/src/views/repository/RepositoryMain.vue b/com.actionsoft.apps.coe.pal/src/views/repository/RepositoryMain.vue index 8a35bf1..4dd02ca 100644 --- a/com.actionsoft.apps.coe.pal/src/views/repository/RepositoryMain.vue +++ b/com.actionsoft.apps.coe.pal/src/views/repository/RepositoryMain.vue @@ -131,7 +131,10 @@
- {{ currentUser.userName }}({{ currentUser.deptName }}) + {{ currentUser.userName }} + + ({{ currentUser.deptNameView }}) +
@@ -674,6 +677,10 @@ that.methodIdOptions = that.conditionData.methodIds that.methodIds = that.methodIdOptions that.currentUser = that.conditionData.currentUser + that.currentUser.deptNameView = that.currentUser.deptName + if (that.currentUser.deptName.length > 8) { + that.currentUser.deptNameView = `${that.currentUser.deptName.substring(0,4)}***${that.currentUser.deptName.substring(that.currentUser.deptName.length-4)}` + } that.conditionData.createUsers.forEach(item => { item.deptNameView = item.deptName if (item.deptName.length > 8) {