Commit b9bc2a6d authored by 黄奎's avatar 黄奎

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

parent 449f2f24
...@@ -267,6 +267,7 @@ ...@@ -267,6 +267,7 @@
</el-select> </el-select>
</span> </span>
</li> </li>
<li> <li>
<span> <span>
<em>{{$t('Operation.Op_price')}}</em> <em>{{$t('Operation.Op_price')}}</em>
...@@ -276,6 +277,15 @@ ...@@ -276,6 +277,15 @@
</el-option> </el-option>
</el-select> </el-select>
</span> </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>
<li> <li>
<button class="hollowFixedBtn" type="button" <button class="hollowFixedBtn" type="button"
...@@ -359,6 +369,7 @@ ...@@ -359,6 +369,7 @@
cityList: "", cityList: "",
district: "", district: "",
tableData: [], tableData: [],
EmployeeList: [], //员工列表
//酒店类型 //酒店类型
HotelTypeList: [], HotelTypeList: [],
//酒店价格 //酒店价格
...@@ -387,7 +398,8 @@ ...@@ -387,7 +398,8 @@
QDistrict: "", QDistrict: "",
total: 0, total: 0,
currentPage: 1, currentPage: 1,
ID: 0 ID: 0,
UpdateBy: 0, //操作人
} }
}; };
}, },
...@@ -561,9 +573,30 @@ ...@@ -561,9 +573,30 @@
}, },
err => {} 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() { mounted() {
this.getEmployeeList();
this.GetHotelPirceStockAuth(); this.GetHotelPirceStockAuth();
this.getCountryList(); this.getCountryList();
this.GetHotelTypeList(); 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