Commit 09d5b242 authored by youjie's avatar youjie

no message

parent f85f7149
...@@ -141,6 +141,7 @@ ...@@ -141,6 +141,7 @@
</el-table-column> </el-table-column>
<el-table-column prop="" label="操作" width="165"> <el-table-column prop="" label="操作" width="165">
<template slot-scope="scope"> <template slot-scope="scope">
<template v-if="(scope.row.IsSeeAll==1&&userInfo.EmployeeId==scope.row.CreateBy)||scope.row.IsSeeAll==0">
<el-tooltip class="item" effect="dark" content="账户管理" placement="top"> <el-tooltip class="item" effect="dark" content="账户管理" placement="top">
<el-button @click="AccountManage(scope.row)" <el-button @click="AccountManage(scope.row)"
class="button" type="primary" class="button" type="primary"
...@@ -151,6 +152,9 @@ ...@@ -151,6 +152,9 @@
class="button" type="primary" class="button" type="primary"
icon="el-icon-edit" circle> icon="el-icon-edit" circle>
</el-button> </el-button>
</template>
<!-- <el-tooltip class="item" effect="dark" content="详情" placement="top"> <!-- <el-tooltip class="item" effect="dark" content="详情" placement="top">
<el-button @click="Edit(scope.row,1)" <el-button @click="Edit(scope.row,1)"
class="button" type="info" class="button" type="info"
...@@ -163,10 +167,12 @@ ...@@ -163,10 +167,12 @@
icon="el-icon-check" circle> icon="el-icon-check" circle>
</el-button> </el-button>
</el-tooltip> </el-tooltip>
<template v-if="(scope.row.IsSeeAll==1&&userInfo.EmployeeId==scope.row.CreateBy)||scope.row.IsSeeAll==0">
<el-button @click="Delete(scope.row)" <el-button @click="Delete(scope.row)"
class="button" type="danger" class="button" type="danger"
icon="el-icon-delete" circle></el-button> icon="el-icon-delete" circle></el-button>
</template> </template>
</template>
</el-table-column> </el-table-column>
</el-table> </el-table>
<div style="padding-bottom:15px"> <div style="padding-bottom:15px">
...@@ -335,10 +341,12 @@ ...@@ -335,10 +341,12 @@
ContractUrl: [{ required: true, message: '请上传合同', trigger: "buttom"}], ContractUrl: [{ required: true, message: '请上传合同', trigger: "buttom"}],
ContractEndTime: [{ required: true, message: '请选择合同到期时间', trigger: "change"}], ContractEndTime: [{ required: true, message: '请选择合同到期时间', trigger: "change"}],
}, },
titleName: '新增' titleName: '新增',
userInfo: {}
} }
}, },
created() { created() {
this.userInfo = this.getLocalStorage();
this.msg.Id = this.$route.query.Id?this.$route.query.Id:'' this.msg.Id = this.$route.query.Id?this.$route.query.Id:''
}, },
components: { components: {
......
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