|
@@ -43,7 +43,7 @@
|
|
|
<!-- 操作按钮 -->
|
|
|
<div class="table-operator">
|
|
|
<a-button type="primary" class="button-error" @click="chooseTModal">选择品类</a-button>
|
|
|
- <span v-if="!showEmpty && $route.params.dealerLevel != 'special'">
|
|
|
+ <span v-if="!showEmpty && $route.params.dealerLevel != 'SPECIAL'">
|
|
|
<a-button type="primary" class="button-info" @click="handleEdit()">批量编辑</a-button>
|
|
|
<a-button type="primary" ghost class="button-error" @click="handleDel()">批量删除</a-button>
|
|
|
</span>
|
|
@@ -116,7 +116,7 @@ export default {
|
|
|
const _this = this
|
|
|
// 操作按钮
|
|
|
const actionFormat = function (record, data, h) {
|
|
|
- if (_this.$route.params.dealerLevel != 'special') {
|
|
|
+ if (_this.$route.params.dealerLevel != 'SPECIAL') {
|
|
|
return (
|
|
|
<div>
|
|
|
<a-button size="small" type="link" class="button-info" onClick={() => _this.handleEdit(record)}>编辑</a-button>
|