Commit ca37412d authored by 黄奎's avatar 黄奎

景点查询修改

parent 9c8f7561
...@@ -149,7 +149,7 @@ ...@@ -149,7 +149,7 @@
} }
.scenicSpotList .btnList { .scenicSpotList .btnList {
padding:10px 0 20px 0; padding: 10px 0 20px 0;
text-align: center; text-align: center;
} }
...@@ -276,6 +276,15 @@ ...@@ -276,6 +276,15 @@
</el-select> </el-select>
</span> </span>
</li> </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>
<button class="hollowFixedBtn" type="button" <button class="hollowFixedBtn" type="button"
@click="resetPageIndex(),selectResource()">{{$t('pub.searchBtn')}}</button> @click="resetPageIndex(),selectResource()">{{$t('pub.searchBtn')}}</button>
...@@ -312,7 +321,8 @@ ...@@ -312,7 +321,8 @@
<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">{{item.Name}}</div> <div class="hotelTitle">{{item.Name}}</div>
</el-tooltip> </el-tooltip>
<el-tooltip class="item" effect="dark" :content="item.UpdateName+''+item.UpdateTimeStr" placement="top-start" popper-class="max-w250"> <el-tooltip class="item" effect="dark" :content="item.UpdateName+''+item.UpdateTimeStr" placement="top-start"
popper-class="max-w250">
<div style="padding-left:15px;margin:10px 0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;"> <div style="padding-left:15px;margin:10px 0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;">
<i style="top: 1px;position: relative;" class="iconfont icon-renyuanguanli"></i> <i style="top: 1px;position: relative;" 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>
...@@ -365,6 +375,7 @@ ...@@ -365,6 +375,7 @@
} }
], ],
loading: true, loading: true,
EmployeeList: [],
defaultImg: 'this.src="' + require("../../assets/img/bg_z1@2x.png") + '"', defaultImg: 'this.src="' + require("../../assets/img/bg_z1@2x.png") + '"',
msg: { msg: {
pageIndex: 1, pageIndex: 1,
...@@ -378,7 +389,8 @@ ...@@ -378,7 +389,8 @@
Status: "0", Status: "0",
total: 0, total: 0,
currentPage: 1, currentPage: 1,
ID: 0 ID: 0,
UpdateBy: 0,
} }
}; };
}, },
...@@ -545,10 +557,30 @@ ...@@ -545,10 +557,30 @@
tab: '门票管理' tab: '门票管理'
} }
}); });
},
} //根据当前员工所在部门获取该部门及子部门员工信息
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.getCountryList(); this.getCountryList();
}, },
created() { created() {
......
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