Commit 06634497 authored by 黄奎's avatar 黄奎

页面修改

parent 83b16c6a
......@@ -300,8 +300,11 @@
//获取岗位下拉
queryPostList() {
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 => {
if (res.Code == 1) {
this.PostList = res.Data;
......
......@@ -77,7 +77,7 @@
<div class="col-2 q-table__title">员工管理</div>
<q-space />
<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-list>
<q-item clickable v-close-popup @click="getType(1)">
......@@ -582,7 +582,7 @@
}
if (type == 1) {
this.isShowEmpInfo = true;
} else if (type == 2) {
} else if (type == 2 || type == 0) {
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