Commit a2aa8386 authored by 吴春's avatar 吴春

1

parent 70524c76
...@@ -282,8 +282,27 @@ ...@@ -282,8 +282,27 @@
</div> </div>
<el-table :data="tableData" tooltip-effect="dark" style="width: 100%;min-height:450px;" v-loading="loading"> <el-table :data="tableData" tooltip-effect="dark" style="width: 100%;min-height:450px;" v-loading="loading">
<el-table-column prop="NewDinnerName" label="餐厅名称"> <el-table-column prop="NewDinnerName" label="餐厅名称">
<template slot-scope="scope">
<template v-if="scope.row.URL&&scope.row.URL.length>5">
<a style="text-decoration:underline;cursor:pointer;" :href="scope.row.URL" target="_blank"
>{{scope.row.NewDinnerName}}</a>
</template>
<template v-else>
{{scope.row.NewDinnerName}}
</template>
</template>
</el-table-column> </el-table-column>
<el-table-column prop="DinnerRealName" label="餐厅真实名称"> <el-table-column prop="DinnerRealName" label="餐厅真实名称">
<template slot-scope="scope">
<template v-if="scope.row.URL&&scope.row.URL.length>5">
<a style="text-decoration:underline;cursor:pointer;"
:href="scope.row.URL" target="_blank">{{scope.row.DinnerRealName}}</a>
</template>
<template v-else>
{{scope.row.DinnerRealName}}
</template>
</template>
</el-table-column> </el-table-column>
<el-table-column width="150" prop="UserNum" label="使用次数"> <el-table-column width="150" prop="UserNum" label="使用次数">
<template slot-scope="scope"> <template slot-scope="scope">
...@@ -466,6 +485,12 @@ ...@@ -466,6 +485,12 @@
query: qMsg query: qMsg
}); });
}, },
goToGuWangUrl(url){
this.$router.push({
path: url,
});
},
getSellorCompany() { getSellorCompany() {
//出团公司 //出团公司
this.apipost( this.apipost(
......
...@@ -2720,8 +2720,16 @@ ...@@ -2720,8 +2720,16 @@
}, },
//根据当前员工所在部门获取该部门及子部门员工信息 //根据当前员工所在部门获取该部门及子部门员工信息
getVisaEmployeeList() { getVisaEmployeeList() {
let userInfo = this.getLocalStorage();
let msg = {
GroupId: userInfo.RB_Group_id,
BranchId: "-1",
DepartmentId: "232",
PostId: "-1",
IsLeave: "0"
};
this.apipost( this.apipost(
"admin_get_GetEmpByDepPostNameList", {}, "admin_get_EmployeeGetList", msg,
(res) => { (res) => {
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
this.VisaEmployeeList = res.data.data; this.VisaEmployeeList = res.data.data;
......
...@@ -1368,8 +1368,16 @@ ...@@ -1368,8 +1368,16 @@
}, },
//根据当前员工所在部门获取该部门及子部门员工信息 //根据当前员工所在部门获取该部门及子部门员工信息
getVisaEmployeeList() { getVisaEmployeeList() {
let userInfo = this.getLocalStorage();
let msg = {
GroupId: userInfo.RB_Group_id,
BranchId: "-1",
DepartmentId: "232",
PostId: "-1",
IsLeave: "0"
};
this.apipost( this.apipost(
"admin_get_GetEmpByDepPostNameList", {}, "admin_get_EmployeeGetList", msg,
(res) => { (res) => {
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
this.VisaEmployeeList = res.data.data; this.VisaEmployeeList = res.data.data;
......
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