dukai 3 anni fa
parent
commit
f35e6f5166
1 ha cambiato i file con 6 aggiunte e 4 eliminazioni
  1. 6 4
      src/views/system/employeenInfo/index.vue

+ 6 - 4
src/views/system/employeenInfo/index.vue

@@ -50,7 +50,7 @@
 					<el-table-column label="公司部门" align="center" prop="deptNames" v-if="columns[3].visible" :show-overflow-tooltip="true" width="160" />
 					<el-table-column label="级别职务" align="center" prop="levelJobNames" v-if="columns[4].visible" :show-overflow-tooltip="true" width="160" />
 					<el-table-column label="性质岗位" align="center" prop="naturePostNames" v-if="columns[5].visible" :show-overflow-tooltip="true" width="160" />
-					<el-table-column label="角色权限" align="center" v-if="columns[6].visible" width="160">
+					<el-table-column label="角色权限" align="center" v-if="columns[6].visible" :show-overflow-tooltip="true" width="160">
 						<template slot-scope="scope">
 							<span>{{ scope.row.roleNames + '/' + scope.row.dataRoleNames }}</span>
 						</template>
@@ -761,7 +761,7 @@
 			getTreeselect() {
 				treeselect().then((response) => {
 					this.deptOptions = response.data
-					this.deptOptions.map((item) => item.id.toString())
+					// this.deptOptions.map((item) => item.id.toString())
 				})
 			},
 			// 节点单击事件
@@ -847,6 +847,7 @@
 					if (res.code === 200) {
 						this.dialogTableDataRole = false
 						this.$msg({ message: '修改成功' })
+						this.getList()
 					}
 				})
 			},
@@ -872,6 +873,7 @@
 					if (res.code === 200) {
 						this.dialogTableRolePermissions = false
 						this.$msg({ message: '修改成功' })
+						this.getList()
 					}
 				})
 			},
@@ -916,7 +918,7 @@
 				getLevelTreeSelect().then((res) => {
 					if (res.code == 200) {
 						this.levelList = res.data
-						this.levelList.map((item) => item.id.toString())
+						// this.levelList.map((item) => item.id.toString())
 					} else {
 						this.$msg({ type: 'error', message: res.msg })
 					}
@@ -927,7 +929,7 @@
 				getNatureTreeSelect().then((res) => {
 					if (res.code == 200) {
 						this.natureList = res.data
-						this.natureList.map((item) => item.id.toString())
+						// this.natureList.map((item) => item.id.toString())
 					} else {
 						this.$msg({ type: 'error', message: res.msg })
 					}