|
@@ -38,7 +38,8 @@
|
|
|
prop="customerName"
|
|
|
header-align="center"
|
|
|
align="center"
|
|
|
- min-width="100"
|
|
|
+ min-width="120"
|
|
|
+ :show-overflow-tooltip="true"
|
|
|
label="客户名称">
|
|
|
</el-table-column>
|
|
|
<el-table-column
|
|
@@ -92,7 +93,8 @@
|
|
|
label="操作">
|
|
|
<template slot-scope="scope">
|
|
|
<el-button v-if="isAuth('cus:contract:info')" type="text" size="small" @click="addOrUpdateHandle(scope.row.reId, true)">查看</el-button>
|
|
|
- <el-button v-if="isAuth('cus:contract:revoke')" type="text" size="small" @click="cancelContract(scope.row)">撤回</el-button>
|
|
|
+ <el-button v-if="isAuth('cus:contract:revoke') && (scope.row.state === '1' || scope.row.state === '2')" type="text" size="small" @click="cancelContract(scope.row)">撤回</el-button>
|
|
|
+ <el-button v-if="isAuth('cus:contract:submit') && (scope.row.state === '0')" type="text" size="small" @click="addOrUpdateHandle(scope.row.reId, false)">编辑</el-button>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
</el-table>
|