|
@@ -56,8 +56,8 @@
|
|
<el-button type="primary" v-permission="['customerAdd']" @click="editCustomer(false)">新建客户</el-button>
|
|
<el-button type="primary" v-permission="['customerAdd']" @click="editCustomer(false)">新建客户</el-button>
|
|
<el-button type="primary" @click="showVisible('batchTransferVisible')"
|
|
<el-button type="primary" @click="showVisible('batchTransferVisible')"
|
|
:disabled="batchTableData.length <= 0">批量转移</el-button>
|
|
:disabled="batchTableData.length <= 0">批量转移</el-button>
|
|
- <el-button type="primary" @click="batchDeteleItem()" :disabled="batchTableData.length <= 0">批量删除</el-button>
|
|
|
|
- <el-button type="primary" @click="showVisible('deteleCustomerVisible')">回收站</el-button>
|
|
|
|
|
|
+ <el-button type="primary" v-permission="['customerDelete']" @click="batchDeteleItem()" :disabled="batchTableData.length <= 0">批量删除</el-button>
|
|
|
|
+ <el-button type="primary" v-permission="['customerRecycle']" @click="showVisible('deteleCustomerVisible')">回收站</el-button>
|
|
<el-button type="primary" v-permission="['customerImport']" @click="showVisible('importVisible')">导入</el-button>
|
|
<el-button type="primary" v-permission="['customerImport']" @click="showVisible('importVisible')">导入</el-button>
|
|
<el-button type="primary" v-permission="['customerExport']" @click="exportCustomerTableList()"
|
|
<el-button type="primary" v-permission="['customerExport']" @click="exportCustomerTableList()"
|
|
:loading="allLoading.exoprtLoading">导出</el-button>
|
|
:loading="allLoading.exoprtLoading">导出</el-button>
|
|
@@ -82,11 +82,11 @@
|
|
<el-table-column prop="inchargerName" label="负责人" width="190"></el-table-column>
|
|
<el-table-column prop="inchargerName" label="负责人" width="190"></el-table-column>
|
|
<el-table-column prop="creatorName" label="创建人" width="180"></el-table-column>
|
|
<el-table-column prop="creatorName" label="创建人" width="180"></el-table-column>
|
|
<el-table-column prop="newCreateTime" label="创建时间" width="180"></el-table-column>
|
|
<el-table-column prop="newCreateTime" label="创建时间" width="180"></el-table-column>
|
|
- <el-table-column label="操作" fixed="right" width="200" v-permission="['customerEdit', 'tasksAdd', 'customerEdit']">
|
|
|
|
|
|
+ <el-table-column label="操作" fixed="right" width="200" v-permission="['customerEdit', 'tasksAdd', 'customerDelete']">
|
|
<template #default="scope">
|
|
<template #default="scope">
|
|
<el-button link type="primary" size="large" v-permission="['customerEdit']" @click="editCustomer(scope.row)">编辑</el-button>
|
|
<el-button link type="primary" size="large" v-permission="['customerEdit']" @click="editCustomer(scope.row)">编辑</el-button>
|
|
<el-button link type="primary" size="large" v-permission="['tasksAdd']" @click="newTask(scope.row)">新建任务</el-button>
|
|
<el-button link type="primary" size="large" v-permission="['tasksAdd']" @click="newTask(scope.row)">新建任务</el-button>
|
|
- <el-button link type="danger" size="large" v-permission="['customerEdit']"
|
|
|
|
|
|
+ <el-button link type="danger" size="large" v-permission="['customerDelete']"
|
|
@click="customerDeteleItem(scope.row.id, scope.row.customName)">删除</el-button>
|
|
@click="customerDeteleItem(scope.row.id, scope.row.customName)">删除</el-button>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|