Commit b9bc2a6d authored by 黄奎's avatar 黄奎

酒店查询,餐厅查询新增操作人条件

parent 449f2f24
......@@ -267,6 +267,7 @@
</el-select>
</span>
</li>
<li>
<span>
<em>{{$t('Operation.Op_price')}}</em>
......@@ -276,6 +277,15 @@
</el-option>
</el-select>
</span>
</li>
<li>
<span><em>{{$t('visa.v_czuser')}}</em></span>
<el-select class="w150" v-model="msg.UpdateBy" filterable :placeholder="$t('pub.pleaseSel')">
<el-option :label="$t('pub.unlimitedSel')" :value="0">
</el-option>
<el-option v-for="item in EmployeeList" :label="item.EmName" :value="item.EmployeeId"
:key="item.EmployeeId"></el-option>
</el-select>
</li>
<li>
<button class="hollowFixedBtn" type="button"
......@@ -359,6 +369,7 @@
cityList: "",
district: "",
tableData: [],
EmployeeList: [], //员工列表
//酒店类型
HotelTypeList: [],
//酒店价格
......@@ -387,7 +398,8 @@
QDistrict: "",
total: 0,
currentPage: 1,
ID: 0
ID: 0,
UpdateBy: 0, //操作人
}
};
},
......@@ -561,9 +573,30 @@
},
err => {}
);
}
},
//根据当前员工所在部门获取该部门及子部门员工信息
getEmployeeList() {
let userInfo = this.getLocalStorage();
let msg = {
GroupId: userInfo.RB_Group_id,
BranchId: "-1",
DepartmentId: "-1",
PostId: "-1",
IsLeave: "0"
};
this.apipost(
"admin_get_EmployeeGetList", {},
res => {
if (res.data.resultCode == 1) {
this.EmployeeList = res.data.data;
}
},
err => {}
);
},
},
mounted() {
this.getEmployeeList();
this.GetHotelPirceStockAuth();
this.getCountryList();
this.GetHotelTypeList();
......
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