diff --git a/com.actionsoft.apps.coe.pal.datamigration/src/components/system-text-import.vue b/com.actionsoft.apps.coe.pal.datamigration/src/components/system-text-import.vue new file mode 100644 index 0000000..9aa3d93 --- /dev/null +++ b/com.actionsoft.apps.coe.pal.datamigration/src/components/system-text-import.vue @@ -0,0 +1,183 @@ + + + + + \ No newline at end of file diff --git a/com.actionsoft.apps.coe.pal.datamigration/src/views/Home.vue b/com.actionsoft.apps.coe.pal.datamigration/src/views/Home.vue index db3850e..2f3822d 100644 --- a/com.actionsoft.apps.coe.pal.datamigration/src/views/Home.vue +++ b/com.actionsoft.apps.coe.pal.datamigration/src/views/Home.vue @@ -49,6 +49,7 @@ import PerformanceImport from '@/components/Performance-import.vue'; import SystemImport from '@/components/system-import.vue'; import PositionImport from '@/components/position-import.vue'; import ProcessVersionImport from "@/components/process-version-import.vue"; +import SystemTextImport from "@/components/system-text-import.vue"; export default defineComponent({ name: 'Home', @@ -62,7 +63,8 @@ export default defineComponent({ PerformanceImport, SystemImport, PositionImport, - ProcessVersionImport + ProcessVersionImport, + SystemTextImport }, setup(){ // const { proxy: $this } = getCurrentInstance(); @@ -81,6 +83,7 @@ export default defineComponent({ {label:"批处理工具",name:"batchDataImport",icon:""},// word {label:"绩效导入",name:"performanceImport",icon:""},// word {label:"版本批处理",name:"processVersionImport",icon:""},// excel + {label:"制度正文导入",name:"systemTextImport",icon:""},// xml ], flagBit: 1 }); diff --git a/com.actionsoft.apps.coe.pal/src/views/repository/RepositoryInfoProperty.vue b/com.actionsoft.apps.coe.pal/src/views/repository/RepositoryInfoProperty.vue index 0478111..17742ab 100644 --- a/com.actionsoft.apps.coe.pal/src/views/repository/RepositoryInfoProperty.vue +++ b/com.actionsoft.apps.coe.pal/src/views/repository/RepositoryInfoProperty.vue @@ -163,7 +163,7 @@
- +
diff --git a/com.actionsoft.apps.coe.pal/src/views/repository/RepositoryList.vue b/com.actionsoft.apps.coe.pal/src/views/repository/RepositoryList.vue index ebb4004..7baf052 100644 --- a/com.actionsoft.apps.coe.pal/src/views/repository/RepositoryList.vue +++ b/com.actionsoft.apps.coe.pal/src/views/repository/RepositoryList.vue @@ -119,8 +119,8 @@ - -
+
diff --git a/com.actionsoft.apps.coe.pal/src/views/repository/RepositoryMainList.vue b/com.actionsoft.apps.coe.pal/src/views/repository/RepositoryMainList.vue index c2f6002..c651f41 100644 --- a/com.actionsoft.apps.coe.pal/src/views/repository/RepositoryMainList.vue +++ b/com.actionsoft.apps.coe.pal/src/views/repository/RepositoryMainList.vue @@ -52,6 +52,7 @@
@@ -246,6 +247,7 @@ defaultCategoryName: '', recentData: [], commonData: [], + crrentUserId:'', havingWritePerm: false, folderDialog: { dialogVisible: false, @@ -273,7 +275,7 @@ }, created() { this.initData(); - + this.initParam(); // 【伊利架构筛选需求】将本组件内的initData方法暴露 方便别的组件调用 let self = this; this.$nextTick(() => { @@ -289,6 +291,24 @@ }); }, methods: { + initParam() {// 初始化参数 + const that = this; + const data = { + url:'jd', + data:{ + cmd : 'com.actionsoft.apps.coe.pal_nav_header_data', + mainType : mainType + } + }; + awsuiAxios.post(data).then(function (ro) { + if (ro.result == 'ok') { + let data = ro.data; + that.crrentUserId=data.crrentUserId; + } + }).catch(error=>{ + console.log(error); + }) + }, handleRecnetOrStore(tab, event){ this.switchTabCard(tab.name); }, diff --git a/com.actionsoft.apps.coe.pal/src/views/system/Navigation.vue b/com.actionsoft.apps.coe.pal/src/views/system/Navigation.vue index fe515fa..63a68a1 100644 --- a/com.actionsoft.apps.coe.pal/src/views/system/Navigation.vue +++ b/com.actionsoft.apps.coe.pal/src/views/system/Navigation.vue @@ -81,9 +81,25 @@ :hide-on-click=true @command="handleUserCommand" trigger="click"> - + + + - + + + +
管理中心
@@ -200,6 +216,10 @@ isManage: isManage, isSecAdminUser: isSecAdminUser,// 是否安全保密员,三员开启且为安全保密员为true userPhoto : '', + currentUserName:'', + currentUserRole:'', + crrentUserDep:'', + crrentUserId:'', isPbulishActive : false, isCooperationActive : false, wsLabel : '', @@ -230,7 +250,8 @@ }, cooperationDrawer: { showCooperationDetail: false, - } + }, + } }, inject : ['openAppDrawer', 'closeAppDrawer', 'openPwdConfig', 'logout', 'openCooperationDrawer', 'closeCooperationDrawer', 'saveAccessOpLog'],// 父组件方法注入 @@ -358,6 +379,12 @@ if (ro.result == 'ok') { let data = ro.data; that.userPhoto = data.userPhoto; + + //增加用户姓名/用户角色/用户部门信息 by zhaolei + that.currentUserName = data.currentUserName; + that.currentUserRole = data.currentUserRole; + that.crrentUserDep = data.crrentUserDep; + that.crrentUserId=data.crrentUserId; that.isPbulishActive = data.isPbulishActive; that.isCooperationActive = data.isCooperationActive; that.appList = data.appList; @@ -446,7 +473,8 @@ }, openProcessManagePortalPage() {// 跳转到流程管理门户页面 newPageWin('publishPortal', this.$store.state.sessionId, 'com.actionsoft.apps.coe.pal.publisher_client_home'); - } + }, + }, created() { this.initParam(); @@ -618,4 +646,52 @@ .quick-access-btn :hover { color: #4E7FF9 !important; } + + + + + .hover_wrapper { + position: relative; + display: flex; + } + .hover_text{ + width: 100px; + height: 24px; + text-align: center; + line-height: 24px; + } + .btn{ + width: 24px; + height: 24px; + border: 1px solid #ccc; + border-radius: 50%; + text-align: center; + line-height: 22px; + position: relative; + cursor: pointer; + } + .hover_container{ + width: 100px; + height: 100px; + border: 1px solid #ccc; + border-radius: 8px; + text-align: center; + line-height: 98px; + position: absolute; + left: 50px; + top: 50%; + z-index: 99; + transform: translateY(-50%); + } + .hover_login_data{ + font-size: 14px; + color: rgb(147,147,153); + margin-right: 8px; + width:200px; + white-space:nowrap; + text-overflow:ellipsis; + overflow:hidden; + } + +