From b13af16c0b06259f284d89978fb0bf053c802e86 Mon Sep 17 00:00:00 2001 From: zhutianqi Date: Fri, 25 Jun 2021 17:56:21 +0800 Subject: [PATCH] commit --- src/assets/styles/newStyle.less | 4 + src/components/navMenu/index.vue | 25 +- .../config/pages/mechanismManage/index.vue | 1142 ++--------------- src/pages/config/pages/postManage/index.vue | 210 +++ src/router/index.js | 11 + 5 files changed, 358 insertions(+), 1034 deletions(-) create mode 100644 src/pages/config/pages/postManage/index.vue diff --git a/src/assets/styles/newStyle.less b/src/assets/styles/newStyle.less index d4cbb9ac8..ef8706955 100644 --- a/src/assets/styles/newStyle.less +++ b/src/assets/styles/newStyle.less @@ -902,3 +902,7 @@ tr.el-table__row{ width: 100% !important; } } +.filter-tree-input { + margin: 10px; + width: calc(~'100% - 20px'); +} diff --git a/src/components/navMenu/index.vue b/src/components/navMenu/index.vue index e05997f7f..bc43095be 100644 --- a/src/components/navMenu/index.vue +++ b/src/components/navMenu/index.vue @@ -269,16 +269,21 @@ export default { // path: '/dynamicInformationManage', // menuId: '6V2QZ9STRZ' // }, - // { - // title: '机构管理', - // path: '/MechanismManage', - // menuId: '7MWCQK6NNH' - // }, - // { - // title: '角色管理', - // path: '/roleManage', - // menuId: 'NVU76EMB7N' - // }, + { + title: '机构管理', + path: '/MechanismManage', + menuId: '7MWCQK6NNH' + }, + { + title: '角色管理', + path: '/roleManage', + menuId: 'NVU76EMB7N' + }, + { + title: '岗位管理', + path: '/postManage', + menuid: '' + }, // { // title: '用户管理', // path: '/userManage', diff --git a/src/pages/config/pages/mechanismManage/index.vue b/src/pages/config/pages/mechanismManage/index.vue index c433a7cad..a1964a6c8 100644 --- a/src/pages/config/pages/mechanismManage/index.vue +++ b/src/pages/config/pages/mechanismManage/index.vue @@ -3,23 +3,20 @@
- + + + +
@@ -28,1079 +25,176 @@
-
-
- - - - - - - - - - - - - - - - - - -
-
-
- - 批量删除 -
+ ref="multipleTable" + :data="data" + tooltip-effect="dark" + border + style="width: 100%; flex: auto;" + class="drag-table" + height="100%" + :header-cell-style="{background: '#E8E8E8', color: '#333333', fontSize: '16px', + fontWeight: 'bold', height: '48px'}"> + prop="uname" + label="姓名" + width="170px"> + prop="sex" + label="性别" + width="170px"> + prop="phone" + label="电话" + width="170px"> + prop="email" + label="邮箱" + width="170px"> + prop="institutionName" + label="所属部门"> - + prop="positionName" + label="所属岗位"> + prop="state" + label="状态" + width="170px"> - - - - - - - - - - - - - - - - + label="操作" + width="50px"> - {{$t('m.gettingList')}}
+ 加载中...
- -
- - - - - - - - -
-
- {{$t('m.cancel')}} - {{$t('m.confirm')}} -
-
- - -
-
- - {{ userInfo.txets || '--' }} -
-
- - {{ userInfo.uname }} -
-
- - {{ userInfo.account }} -
-
- - {{ userInfo.workNum || '--'}} -
-
- - {{ userInfo.roleNameList || '暂无' }} -
-
- - {{ userInfo.orgName || '暂无' }} -
-
- - {{ userInfo.email || '--' }} -
-
- - {{ userInfo.officePhone || '--' }} -
-
- - {{ userInfo.mobilePhone || '--' }} -
-
- - {{ userInfo.faxAddress || '--' }} -
-
- - {{ userInfo.address || '--' }} -
-
- - {{ userInfo.disableFlag === 0 ? '正常' : '禁用' }} -
-
-
- - -
- - - - - - - - - - - - - - - - - -
-
- {{$t('m.cancel')}} - {{$t('m.confirm')}} -
-
+ 导入中...
@@ -1148,7 +242,7 @@ export default { display: flex; flex-direction: column; .content{ - padding: 0 10px; + padding: 0px; display: flex; flex-direction: column; position: relative; diff --git a/src/pages/config/pages/postManage/index.vue b/src/pages/config/pages/postManage/index.vue new file mode 100644 index 000000000..2fe21f20a --- /dev/null +++ b/src/pages/config/pages/postManage/index.vue @@ -0,0 +1,210 @@ + + + + + + diff --git a/src/router/index.js b/src/router/index.js index a26431095..71676e073 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -950,6 +950,17 @@ const routes = [ menuId: '7MWCQK6NNH' } }, + { + path: '/postManage', + name: 'postManage', + component: () => + import('@/pages/config/pages/postManage/index'), + meta: { + requireAuth: true, + title: '岗位管理', + menuId: '7MWCQK6NNH' + } + }, { path: '/roleManage', name: 'RoleManage',