|
@@ -637,7 +637,7 @@
|
|
|
v-if="menuRoleVisible"
|
|
|
ref="menuRole"
|
|
|
:message="wordInfo"
|
|
|
- :renshu='renshu'
|
|
|
+ :renshu="renshu"
|
|
|
></personnelRoster>
|
|
|
</el-dialog>
|
|
|
</div>
|
|
@@ -656,7 +656,7 @@ import {
|
|
|
getDept,
|
|
|
treeselect,
|
|
|
} from "@/api/peopleManage/people";
|
|
|
-// import { getXiangQi } from "@/api/grassrootsregistration/bdglmeeting";
|
|
|
+import { getXiangQi } from "@/api/grassrootsregistration/bdglmeeting";
|
|
|
|
|
|
export default {
|
|
|
name: "People",
|
|
@@ -683,7 +683,7 @@ export default {
|
|
|
//查看页面
|
|
|
menuRoleVisible: false,
|
|
|
wordInfo: {},
|
|
|
- renshu:{},
|
|
|
+ renshu: {},
|
|
|
// 遮罩层
|
|
|
loading: true,
|
|
|
// 导出遮罩层
|
|
@@ -903,9 +903,9 @@ export default {
|
|
|
value: null,
|
|
|
};
|
|
|
},
|
|
|
- // updated() {
|
|
|
- // this.changeColor();
|
|
|
- // },
|
|
|
+ updated() {
|
|
|
+ // this.changeColor();
|
|
|
+ },
|
|
|
created() {
|
|
|
this.getList();
|
|
|
//性别
|
|
@@ -975,17 +975,18 @@ export default {
|
|
|
},
|
|
|
methods: {
|
|
|
// 查询人员名册
|
|
|
- xiangQi(id) {
|
|
|
- // console.log(id);
|
|
|
- // getXiangQi(id).then((res) => {
|
|
|
- // // console.log(res.data[0]);
|
|
|
- // this.renshu=res.data[0]
|
|
|
- // });
|
|
|
- },
|
|
|
+ // xiangQi(id) {
|
|
|
+ // // console.log(id);
|
|
|
+ // // getXiangQi(id).then((res) => {
|
|
|
+ // // // console.log(res.data[0]);
|
|
|
+ // // this.renshu=res.data[0]
|
|
|
+ // // });
|
|
|
+ // },
|
|
|
/** 查询人员管理列表 */
|
|
|
getList() {
|
|
|
this.loading = true;
|
|
|
- listPeople(this.queryParams).then((response) => {
|
|
|
+ getXiangQi(this.queryParams).then((response) => {
|
|
|
+ console.log(response);
|
|
|
this.peopleList = response.rows;
|
|
|
this.total = response.total;
|
|
|
this.loading = false;
|
|
@@ -1291,7 +1292,7 @@ export default {
|
|
|
this.queryParams.deptId = data.id;
|
|
|
this.getList();
|
|
|
},
|
|
|
- // 隔行变色
|
|
|
+ // 隔行变色
|
|
|
// changeColor() {
|
|
|
// var content = document.getElementsByClassName("el-tree-node__content");
|
|
|
// for (var i = 0; i < content.length; i++) {
|
|
@@ -1466,7 +1467,7 @@ export default {
|
|
|
::v-deep .vue-treeselect__placeholder {
|
|
|
color: #bdbdbd4f !important;
|
|
|
}
|
|
|
-::v-deep .el-tree-node__content{
|
|
|
+::v-deep .el-tree-node__content {
|
|
|
height: 32px !important;
|
|
|
}
|
|
|
::v-deep input::-webkit-input-placeholder {
|
|
@@ -1484,25 +1485,31 @@ export default {
|
|
|
background-color: #004d86;
|
|
|
color: #fff;
|
|
|
}
|
|
|
-::v-deep .el-tree--highlight-current .el-tree-node.is-current > .el-tree-node__content {
|
|
|
- color: #fff !important;
|
|
|
- /* background-color: #003156 !important; */
|
|
|
+::v-deep
|
|
|
+ .el-tree--highlight-current
|
|
|
+ .el-tree-node.is-current
|
|
|
+ > .el-tree-node__content {
|
|
|
+ color: #fff !important;
|
|
|
+ /* background-color: #003156 !important; */
|
|
|
}
|
|
|
::v-deep .el-tree-node__content:hover {
|
|
|
color: #fff;
|
|
|
background-color: #003156;
|
|
|
- background-image: url('../../../assets/images/选中.png');
|
|
|
+ background-image: url("../../../assets/images/选中.png");
|
|
|
background-size: 100% 100%;
|
|
|
background-repeat: no-repeat;
|
|
|
}
|
|
|
-::v-deep .el-tree--highlight-current .el-tree-node.is-current > .el-tree-node__content{
|
|
|
+::v-deep
|
|
|
+ .el-tree--highlight-current
|
|
|
+ .el-tree-node.is-current
|
|
|
+ > .el-tree-node__content {
|
|
|
color: #fff !important;
|
|
|
background-color: #003156;
|
|
|
- background-image: url('../../../assets/images/选中.png');
|
|
|
+ background-image: url("../../../assets/images/选中.png");
|
|
|
background-size: 100% 100%;
|
|
|
background-repeat: no-repeat;
|
|
|
}
|
|
|
-::v-deep .el-tree-node__label{
|
|
|
+::v-deep .el-tree-node__label {
|
|
|
color: #fff !important;
|
|
|
}
|
|
|
</style>
|