Commit 06634497 authored by 黄奎's avatar 黄奎

页面修改

parent 83b16c6a
...@@ -300,8 +300,11 @@ ...@@ -300,8 +300,11 @@
//获取岗位下拉 //获取岗位下拉
queryPostList() { queryPostList() {
var postMsg = { var postMsg = {
QDeptIds: this.saveObj.Dept_Id QDeptIds: 0
}; };
if (this.saveObj && this.saveObj.Dept_Id) {
postMsg.QDeptIds = this.saveObj.Dept_Id;
}
queryDeptPostList(postMsg).then(res => { queryDeptPostList(postMsg).then(res => {
if (res.Code == 1) { if (res.Code == 1) {
this.PostList = res.Data; this.PostList = res.Data;
......
...@@ -77,7 +77,7 @@ ...@@ -77,7 +77,7 @@
<div class="col-2 q-table__title">员工管理</div> <div class="col-2 q-table__title">员工管理</div>
<q-space /> <q-space />
<div class="page-option"> <div class="page-option">
<q-btn color="accent" size="sm" class="q-mr-md" icon="add" label="新增员工" @click="EditManager(null)" /> <q-btn color="accent" size="sm" class="q-mr-md" icon="add" label="新增员工" @click="EditManager(null,0)" />
<q-btn-dropdown outline size="sm" color="dark" label="更多"> <q-btn-dropdown outline size="sm" color="dark" label="更多">
<q-list> <q-list>
<q-item clickable v-close-popup @click="getType(1)"> <q-item clickable v-close-popup @click="getType(1)">
...@@ -582,7 +582,7 @@ ...@@ -582,7 +582,7 @@
} }
if (type == 1) { if (type == 1) {
this.isShowEmpInfo = true; this.isShowEmpInfo = true;
} else if (type == 2) { } else if (type == 2 || type == 0) {
this.isShowManagerForm = true; this.isShowManagerForm = true;
} }
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment