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();
......
<style> <style>
.restaurantList .clearfix:after { .restaurantList .clearfix:after {
content: "\0020"; content: "\0020";
display: block; display: block;
height: 0; height: 0;
clear: both; clear: both;
} }
.restaurantList .hotelResource { .restaurantList .hotelResource {
width: 100%; width: 100%;
min-height: 500px; min-height: 500px;
margin-top: 20px; margin-top: 20px;
} }
.restaurantList .resourceList { .restaurantList .resourceList {
width: 215px; width: 215px;
height: 330px; height: 330px;
background-color: #fff; background-color: #fff;
border: 1px dashed #ededed; border: 1px dashed #ededed;
border-radius: 4px; border-radius: 4px;
margin: 0 20px 20px 0; margin: 0 20px 20px 0;
font-size: 12px; font-size: 12px;
color: #333333; color: #333333;
float: left; float: left;
} }
.restaurantList .resourceList:hover { .restaurantList .resourceList:hover {
box-shadow: 0px 0px 20px rgba(191, 191, 191, 1); box-shadow: 0px 0px 20px rgba(191, 191, 191, 1);
transition: all linear 0.5s; transition: all linear 0.5s;
} }
.restaurantList .reTopInfo { .restaurantList .reTopInfo {
width: 100%; width: 100%;
height: 123px; height: 123px;
position: relative; position: relative;
} }
.restaurantList .reTopInfo img { .restaurantList .reTopInfo img {
position: absolute; position: absolute;
width: 100%; width: 100%;
height: 100%; height: 100%;
top: 0; top: 0;
border-top-left-radius: 4px; border-top-left-radius: 4px;
border-top-right-radius: 4px; border-top-right-radius: 4px;
} }
.restaurantList .resTypeList { .restaurantList .resTypeList {
position: absolute; position: absolute;
top: 10px; top: 10px;
left: 10px; left: 10px;
} }
.restaurantList .resTypeList span { .restaurantList .resTypeList span {
display: inline-block; display: inline-block;
padding: 1px 5px; padding: 1px 5px;
border-radius: 10px; border-radius: 10px;
color: #fff; color: #fff;
margin-right: 10px; margin-right: 10px;
} }
.restaurantList .L1 { .restaurantList .L1 {
background-color: #e95252; background-color: #e95252;
} }
.restaurantList .L2 { .restaurantList .L2 {
background-color: #47bf8c; background-color: #47bf8c;
} }
.restaurantList .L3 { .restaurantList .L3 {
background-color: #2aaef2; background-color: #2aaef2;
} }
.restaurantList .L4 {
background-color: #9cf; .restaurantList .L4 {
} background-color: #9cf;
.restaurantList .L5 { }
background-color: #00c6ff;
margin-top:5px; .restaurantList .L5 {
} background-color: #00c6ff;
margin-top: 5px;
.restaurantList .starSu { }
position: absolute;
bottom: 8px; .restaurantList .starSu {
right: 10px; position: absolute;
} bottom: 8px;
right: 10px;
.restaurantList .sushe { }
background-color: #ffc800;
display: inline-block; .restaurantList .sushe {
padding: 1px 5px; background-color: #ffc800;
border-radius: 10px; display: inline-block;
color: #fff; padding: 1px 5px;
} border-radius: 10px;
color: #fff;
.restaurantList .hotelTitle { }
margin: 10px 16px 0 16px;
font-size: 14px; .restaurantList .hotelTitle {
color: #333333; margin: 10px 16px 0 16px;
overflow: hidden; font-size: 14px;
text-overflow: ellipsis; color: #333333;
white-space: nowrap; overflow: hidden;
} text-overflow: ellipsis;
white-space: nowrap;
.restaurantList .brandList { }
margin: 16px 0;
} .restaurantList .brandList {
margin: 16px 0;
.restaurantList .brandList i { }
position: relative;
top: 2px; .restaurantList .brandList i {
} position: relative;
top: 2px;
.restaurantList .brand { }
float: left;
width: 49%; .restaurantList .brand {
overflow: hidden; float: left;
text-overflow: ellipsis; width: 49%;
white-space: nowrap; overflow: hidden;
text-align: center; text-overflow: ellipsis;
} white-space: nowrap;
text-align: center;
.restaurantList .dayNum { }
float: right;
text-align: center; .restaurantList .dayNum {
width: 50%; float: right;
} text-align: center;
width: 50%;
.restaurantList .iconfont { }
margin-right: 5px;
} .restaurantList .iconfont {
margin-right: 5px;
.restaurantList .dieline { }
color: #2aaef2;
font-size: 14px; .restaurantList .dieline {
top: 1px !important; color: #2aaef2;
} font-size: 14px;
top: 1px !important;
.restaurantList .AddressInner { }
float: right;
width: 160px; .restaurantList .AddressInner {
height: 18px; float: right;
overflow: hidden; width: 160px;
text-overflow: ellipsis; height: 18px;
display: -webkit-box; overflow: hidden;
-webkit-line-clamp: 1; text-overflow: ellipsis;
-webkit-box-orient: vertical; display: -webkit-box;
} -webkit-line-clamp: 1;
-webkit-box-orient: vertical;
.restaurantList .btnList { }
text-align: center;
} .restaurantList .btnList {
text-align: center;
.restaurantList .hotelBtn { }
width: 80px;
height: 28px; .restaurantList .hotelBtn {
background: #f76f6f; width: 80px;
border-radius: 14px; height: 28px;
color: #fff; background: #f76f6f;
cursor: pointer; border-radius: 14px;
} color: #fff;
cursor: pointer;
.restaurantList .hotelBtn:first-child { }
margin-right: 19px;
} .restaurantList .hotelBtn:first-child {
margin-right: 19px;
.restaurantList .w150 .el-input { }
width: 150px !important;
} .restaurantList .w150 .el-input {
width: 150px !important;
.restaurantList .SupportCount { }
color: #4bca81;
font-size: 18px; .restaurantList .SupportCount {
font-weight: bold; color: #4bca81;
margin: 0 5px 5px 0; font-size: 18px;
display: inline-block; font-weight: bold;
} margin: 0 5px 5px 0;
display: inline-block;
.restaurantList .dayNumber { }
color: #2aaef2;
font-size: 18px; .restaurantList .dayNumber {
font-weight: bold; color: #2aaef2;
margin: 0 5px 5px 5px; font-size: 18px;
display: inline-block; font-weight: bold;
} margin: 0 5px 5px 5px;
display: inline-block;
.restaurantList .line { }
float: left;
width: 1px; .restaurantList .line {
height: 35px; float: left;
background-color: #ededed; width: 1px;
margin-top: 6px; height: 35px;
} background-color: #ededed;
margin-top: 6px;
.restaurantList .foodList { }
display: inline-block;
padding: 1px 5px; .restaurantList .foodList {
background-color: #ff9c00; display: inline-block;
color: #fff; padding: 1px 5px;
margin-right: 6px; background-color: #ff9c00;
border-radius: 2px; color: #fff;
} margin-right: 6px;
border-radius: 2px;
.restaurantList .foodList:last-child { }
margin-right: 0;
} .restaurantList .foodList:last-child {
margin-right: 0;
.restaurantList .delScien { }
position: absolute;
right: 10px; .restaurantList .delScien {
top: 10px; position: absolute;
display: none; right: 10px;
} top: 10px;
display: none;
.restaurantList .delScien:hover { }
color: #f76f6f;
cursor: pointer; .restaurantList .delScien:hover {
} color: #f76f6f;
cursor: pointer;
.restaurantList .resourceList:hover .delScien { }
display: block;
} .restaurantList .resourceList:hover .delScien {
display: block;
.restaurantList .comCursorUrl { }
cursor: pointer;
} .restaurantList .comCursorUrl {
cursor: pointer;
/* 餐厅列表 */ }
/* 餐厅列表 */
</style> </style>
<template> <template>
<div class="flexOne restaurantList"> <div class="flexOne restaurantList">
...@@ -232,21 +235,23 @@ ...@@ -232,21 +235,23 @@
<li> <li>
<span class="hotel_name"> <span class="hotel_name">
<em>{{$t('restaurant.res_resName')}}</em> <em>{{$t('restaurant.res_resName')}}</em>
<el-input maxlength="50" @keyup.native.enter="resetPageIndex(),selectResource()" v-model="msg.Name"></el-input> <el-input maxlength="50" @keyup.native.enter="resetPageIndex(),selectResource()" v-model="msg.Name">
</el-input>
</span> </span>
</li> </li>
<li> <li>
<span> <span>
<em>{{$t('system.quety_area')}}</em> <em>{{$t('system.quety_area')}}</em>
<el-select v-model="msg.QCountry" clearable class="w150" filterable @change="getProvinceList(msg.QCountry,1)" <el-select v-model="msg.QCountry" clearable class="w150" filterable
:placeholder="$t('hotel.hotel_country')"> @change="getProvinceList(msg.QCountry,1)" :placeholder="$t('hotel.hotel_country')">
<el-option v-for="item in countryList" :key="item.ID" :label="item.Name" :value="item.ID"></el-option> <el-option v-for="item in countryList" :key="item.ID" :label="item.Name" :value="item.ID"></el-option>
</el-select> </el-select>
<el-select v-model="msg.QProvince" class="w150" filterable @change="getProvinceList(msg.QProvince,2)" <el-select v-model="msg.QProvince" class="w150" filterable @change="getProvinceList(msg.QProvince,2)"
:placeholder="$t('hotel.hotel_province')"> :placeholder="$t('hotel.hotel_province')">
<el-option v-for="item in provinceList" :key="item.ID" :label="item.Name" :value="item.ID"></el-option> <el-option v-for="item in provinceList" :key="item.ID" :label="item.Name" :value="item.ID"></el-option>
</el-select> </el-select>
<el-select v-model="msg.QCity" class="w150" filterable @change="getProvinceList(msg.QCity,3)" :placeholder="$t('hotel.hotel_city')"> <el-select v-model="msg.QCity" class="w150" filterable @change="getProvinceList(msg.QCity,3)"
:placeholder="$t('hotel.hotel_city')">
<el-option v-for="item in cityList" :key="item.ID" :label="item.Name" :value="item.ID"></el-option> <el-option v-for="item in cityList" :key="item.ID" :label="item.Name" :value="item.ID"></el-option>
</el-select> </el-select>
<el-select v-model="msg.QDistrict" class="w150" filterable :placeholder="$t('hotel.hotel_area')"> <el-select v-model="msg.QDistrict" class="w150" filterable :placeholder="$t('hotel.hotel_area')">
...@@ -263,7 +268,7 @@ ...@@ -263,7 +268,7 @@
</el-select> </el-select>
</span> </span>
</li> </li>
<li> <li>
<span> <span>
<em>{{$t('ground.cantingleixing')}}</em> <em>{{$t('ground.cantingleixing')}}</em>
<el-select v-model="msg.DiningType" class="w210" :placeholder="$t('pub.unlimitedSel')"> <el-select v-model="msg.DiningType" class="w210" :placeholder="$t('pub.unlimitedSel')">
...@@ -272,27 +277,40 @@ ...@@ -272,27 +277,40 @@
</el-select> </el-select>
</span> </span>
</li> </li>
<li> <li>
<span> <span>
<em>{{$t('Operation.Op_price')}}</em> <em>{{$t('Operation.Op_price')}}</em>
<el-select v-model="msg.DiningPriceType" class="w210" :placeholder="$t('pub.unlimitedSel')"> <el-select v-model="msg.DiningPriceType" class="w210" :placeholder="$t('pub.unlimitedSel')">
<el-option :label="$t('pub.unlimitedSel')" value="-1"></el-option> <el-option :label="$t('pub.unlimitedSel')" value="-1"></el-option>
<el-option v-for="item in DiningPriceTypeList" :key="item.ID" :label="item.Name" :value="item.ID"></el-option> <el-option v-for="item in DiningPriceTypeList" :key="item.ID" :label="item.Name" :value="item.ID">
</el-option>
</el-select> </el-select>
</span> </span>
</li> </li>
<li> <li>
<span> <span>
<em>{{$t('ground.hezuofangshi')}}</em> <em>{{$t('ground.hezuofangshi')}}</em>
<el-select v-model="msg.CooperationType" class="w210" :placeholder="$t('pub.unlimitedSel')"> <el-select v-model="msg.CooperationType" class="w210" :placeholder="$t('pub.unlimitedSel')">
<el-option :label="$t('pub.unlimitedSel')" value="-1"></el-option> <el-option :label="$t('pub.unlimitedSel')" value="-1"></el-option>
<el-option v-for="item in CooperationTypeList" :key="item.ID" :label="item.Name" :value="item.ID"></el-option> <el-option v-for="item in CooperationTypeList" :key="item.ID" :label="item.Name" :value="item.ID">
</el-option>
</el-select> </el-select>
</span> </span>
</li> </li>
<li> <li>
<button class="hollowFixedBtn" type="button" @click="resetPageIndex(),selectResource()">{{$t('pub.searchBtn')}}</button> <span><em>{{$t('visa.v_czuser')}}</em></span>
<button class="normalBtn" type="button" @click="$router.push('restaurantInfoManage')">{{$t('pub.addBtn')}}</button> <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"
@click="resetPageIndex(),selectResource()">{{$t('pub.searchBtn')}}</button>
<button class="normalBtn" type="button"
@click="$router.push('restaurantInfoManage')">{{$t('pub.addBtn')}}</button>
</li> </li>
</ul> </ul>
</div> </div>
...@@ -302,7 +320,8 @@ ...@@ -302,7 +320,8 @@
<img v-if="!item.PicPath" src="../../assets/img/bg_c3@3x.png"> <img v-if="!item.PicPath" src="../../assets/img/bg_c3@3x.png">
<img v-else :src='compressImg(item.PicPath, "filt", 213, "")' :onerror="defaultImg"> <img v-else :src='compressImg(item.PicPath, "filt", 213, "")' :onerror="defaultImg">
<div class="resTypeList"> <div class="resTypeList">
<span v-for="(items,index) in item.OpenPlatformList" :class="{'L1':items.ID==1,'L2':items.ID==2,'L3':items.ID==3,'L4':items.ID==4,'L5':items.ID==5}" <span v-for="(items,index) in item.OpenPlatformList"
:class="{'L1':items.ID==1,'L2':items.ID==2,'L3':items.ID==3,'L4':items.ID==4,'L5':items.ID==5}"
:key="index">{{items.Name}}</span> :key="index">{{items.Name}}</span>
</div> </div>
<div class="delScien" @click="isdelete(item.ID)"> <div class="delScien" @click="isdelete(item.ID)">
...@@ -319,9 +338,9 @@ ...@@ -319,9 +338,9 @@
<el-tooltip class="item" effect="dark" :content="item.Name" placement="top-start" popper-class="max-w250"> <el-tooltip class="item" effect="dark" :content="item.Name" placement="top-start" popper-class="max-w250">
<div class="hotelTitle fz12">{{item.Name}}</div> <div class="hotelTitle fz12">{{item.Name}}</div>
</el-tooltip> </el-tooltip>
<el-tooltip class="item" effect="dark" :content="item.RealName" placement="top-start" popper-class="max-w250"> <el-tooltip class="item" effect="dark" :content="item.RealName" placement="top-start" popper-class="max-w250">
<div class="hotelTitle fz12">{{$t('ground.zhenshimingcheng')}}: {{item.RealName}}</div> <div class="hotelTitle fz12">{{$t('ground.zhenshimingcheng')}}: {{item.RealName}}</div>
</el-tooltip> </el-tooltip>
<div class="brandList clearfix"> <div class="brandList clearfix">
<div class="brand"> <div class="brand">
<span class="SupportCount">{{item.SupportCount}}</span> <span class="SupportCount">{{item.SupportCount}}</span>
...@@ -335,20 +354,21 @@ ...@@ -335,20 +354,21 @@
<div>{{$t('restaurant.res_advanceDays')}}</div> <div>{{$t('restaurant.res_advanceDays')}}</div>
</div> </div>
</div> </div>
<div style="padding:0 0 15px 15px;margin-top: -5px;"> <div style="padding:0 0 15px 15px;margin-top: -5px;">
<i class="iconfont icon-renyuanguanli"></i> <i class="iconfont icon-renyuanguanli"></i>
<span v-if="item.UpdateName && item.UpdateName!=''">{{item.UpdateName}}</span> <span v-if="item.UpdateName && item.UpdateName!=''">{{item.UpdateName}}</span>
{{item.UpdateTimeStr}} {{item.UpdateTimeStr}}
</div> </div>
<div class="btnList"> <div class="btnList">
<button @click="goSubInfo('restaurantInfoManage',item.ID)" class="hotelBtn">{{$t('pub.updateMsg')}}</button> <button @click="goSubInfo('restaurantInfoManage',item.ID)" class="hotelBtn">{{$t('pub.updateMsg')}}</button>
<button v-if="IsHotelPriceStock==1" @click="goUrl('RestaurantPackage',item.ID)" class="hotelBtn">{{$t('restaurant.res_package')}}</button> <button v-if="IsHotelPriceStock==1" @click="goUrl('RestaurantPackage',item.ID)"
class="hotelBtn">{{$t('restaurant.res_package')}}</button>
</div> </div>
</div> </div>
</div> </div>
<el-pagination background @current-change="handleCurrentChange" :current-page.sync="msg.currentPage" :page-size="msg.pageSize" <el-pagination background @current-change="handleCurrentChange" :current-page.sync="msg.currentPage"
layout="total,prev, pager, next, jumper" :total="msg.total"></el-pagination> :page-size="msg.pageSize" layout="total,prev, pager, next, jumper" :total="msg.total"></el-pagination>
</div> </div>
</template> </template>
...@@ -356,7 +376,7 @@ ...@@ -356,7 +376,7 @@
export default { export default {
data() { data() {
return { return {
IsHotelPriceStock:0,//1-有获取餐厅与报价添加修改权限 IsHotelPriceStock: 0, //1-有获取餐厅与报价添加修改权限
total: 0, total: 0,
currentPage: 1, currentPage: 1,
countryList: "", countryList: "",
...@@ -366,9 +386,10 @@ ...@@ -366,9 +386,10 @@
Ids: [], Ids: [],
tableData: "", tableData: "",
deleteID: "", deleteID: "",
DiningTypeList:[], EmployeeList: [], //员工列表
DiningPriceTypeList:[], DiningTypeList: [],
CooperationTypeList:[], DiningPriceTypeList: [],
CooperationTypeList: [],
status: [{ status: [{
value: "0", value: "0",
label: this.$t('pub.normalSel') label: this.$t('pub.normalSel')
...@@ -385,9 +406,9 @@ ...@@ -385,9 +406,9 @@
pageIndex: 1, pageIndex: 1,
pageSize: 14, pageSize: 14,
Name: "", Name: "",
DiningType:"-1", DiningType: "-1",
DiningPriceType:"-1", DiningPriceType: "-1",
CooperationType:"-1", CooperationType: "-1",
QCountry: "", QCountry: "",
QProvince: "", QProvince: "",
QCity: "", QCity: "",
...@@ -396,6 +417,7 @@ ...@@ -396,6 +417,7 @@
total: 0, total: 0,
currentPage: 1, currentPage: 1,
ID: 0, ID: 0,
UpdateBy: 0, //操作人
} }
}; };
}, },
...@@ -495,8 +517,8 @@ ...@@ -495,8 +517,8 @@
path: path, path: path,
query: { query: {
id: id, id: id,
blank:'y', blank: 'y',
tab:'套餐查询' tab: '套餐查询'
} }
}); });
}, },
...@@ -506,51 +528,48 @@ ...@@ -506,51 +528,48 @@
path: path, path: path,
query: { query: {
id: id, id: id,
blank:'y', blank: 'y',
cache: true cache: true
} }
}); });
}, },
//获取餐厅列表 //获取餐厅列表
GetDiningTypeList() { GetDiningTypeList() {
this.apipost( this.apipost(
"dining_get_GetDiningType", "dining_get_GetDiningType", {},
{}, res => {
res => { if (res.data.resultCode == 1) {
if (res.data.resultCode == 1) { this.DiningTypeList = res.data.data;
this.DiningTypeList = res.data.data; }
} },
}, err => {}
err => {} );
); },
}, //获取餐厅价格列表
//获取餐厅价格列表 GetDiningPriceTypeList() {
GetDiningPriceTypeList() { this.apipost(
this.apipost( "dining_get_GetDiningPriceType", {},
"dining_get_GetDiningPriceType", res => {
{}, if (res.data.resultCode == 1) {
res => { this.DiningPriceTypeList = res.data.data;
if (res.data.resultCode == 1) { }
this.DiningPriceTypeList = res.data.data; },
} err => {}
}, );
err => {} },
); //获取合作方式列表
}, GetCooperationTypeList() {
//获取合作方式列表 this.apipost(
GetCooperationTypeList() { "dining_get_GetCooperationType", {},
this.apipost( res => {
"dining_get_GetCooperationType", if (res.data.resultCode == 1) {
{}, this.CooperationTypeList = res.data.data;
res => { }
if (res.data.resultCode == 1) { },
this.CooperationTypeList = res.data.data; err => {}
} );
}, },
err => {} //获取酒店修改与报价添加修改权限
);
},
//获取酒店修改与报价添加修改权限
GetHotelPirceStockAuth() { GetHotelPirceStockAuth() {
this.apipost( this.apipost(
"hotel_post_GetHotelPriceStockAuthService", {}, "hotel_post_GetHotelPriceStockAuthService", {},
...@@ -561,7 +580,27 @@ ...@@ -561,7 +580,27 @@
}, },
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 => {}
);
},
}, },
created() { created() {
if (this.$route.query.hasOwnProperty("cache")) { if (this.$route.query.hasOwnProperty("cache")) {
...@@ -575,12 +614,14 @@ ...@@ -575,12 +614,14 @@
} }
}, },
mounted() { mounted() {
this.getEmployeeList();
this.GetHotelPirceStockAuth(); this.GetHotelPirceStockAuth();
this.getCountryList(); this.getCountryList();
this.selectResource(); this.selectResource();
this.GetDiningTypeList(); this.GetDiningTypeList();
this.GetDiningPriceTypeList(); this.GetDiningPriceTypeList();
this.GetCooperationTypeList(); this.GetCooperationTypeList();
} }
}; };
</script> </script>
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