Commit 9c34f36d authored by liudong1993's avatar liudong1993

1

parent 14c4dcfb
...@@ -75,10 +75,10 @@ ...@@ -75,10 +75,10 @@
:label="$t('hotel.table_operat')" :label="$t('hotel.table_operat')"
show-overflow-tooltip> show-overflow-tooltip>
<template slot-scope="scope"> <template slot-scope="scope">
<el-tooltip class="item" effect="dark" :content="$t('pub.edit')" placement="top-start"> <el-tooltip v-if="scope.row.CreateBy==EmployeeId" class="item" effect="dark" :content="$t('pub.edit')" placement="top-start">
<el-button @click.stop="EditContact(scope.row)" style="padding:4px" type="primary" icon="el-icon-edit" circle></el-button> <el-button @click.stop="EditContact(scope.row)" style="padding:4px" type="primary" icon="el-icon-edit" circle></el-button>
</el-tooltip> </el-tooltip>
<el-tooltip class="item" effect="dark" :content="$t('adm.adm_resetpd')" placement="top-start"> <el-tooltip v-if="scope.row.CreateBy==EmployeeId" class="item" effect="dark" :content="$t('adm.adm_resetpd')" placement="top-start">
<el-button @click.stop="EditPassword(scope.row)" style="padding:4px" type="success" icon="el-icon-refresh" circle></el-button> <el-button @click.stop="EditPassword(scope.row)" style="padding:4px" type="success" icon="el-icon-refresh" circle></el-button>
</el-tooltip> </el-tooltip>
<!-- <el-tooltip class="item" effect="dark" :content="$t('system.ph_shanchu')" placement="top-start"> <!-- <el-tooltip class="item" effect="dark" :content="$t('system.ph_shanchu')" placement="top-start">
...@@ -158,7 +158,8 @@ ...@@ -158,7 +158,8 @@
ContactId: 0, ContactId: 0,
ContactName:"", ContactName:"",
Password:"" Password:""
} },
EmployeeId:0
}; };
}, },
filters: { filters: {
...@@ -243,6 +244,7 @@ ...@@ -243,6 +244,7 @@
}, },
}, },
mounted() { mounted() {
this.EmployeeId= this.getLocalStorage().EmployeeId;
this.GetCustomerContactList() this.GetCustomerContactList()
}, },
}; };
......
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