|
@@ -1,6 +1,6 @@
|
|
<template>
|
|
<template>
|
|
<a-card size="small" :bordered="false" class="bulkPartsTypeList-wrap">
|
|
<a-card size="small" :bordered="false" class="bulkPartsTypeList-wrap">
|
|
- <a-spin :spinning="spinning" tip="Loading...">
|
|
|
|
|
|
+ <a-spin :spinning="spinning" tip="Loading...">
|
|
<!-- 操作按钮 -->
|
|
<!-- 操作按钮 -->
|
|
<div class="table-operator-nobor">
|
|
<div class="table-operator-nobor">
|
|
<a-button v-if="$hasPermissions('B_basicData_bulkPartsType_add')" id="bulkPartsTypeList-add" type="primary" class="button-error" @click="handleEdit()">新增</a-button>
|
|
<a-button v-if="$hasPermissions('B_basicData_bulkPartsType_add')" id="bulkPartsTypeList-add" type="primary" class="button-error" @click="handleEdit()">新增</a-button>
|
|
@@ -32,6 +32,7 @@
|
|
@click="handleDel(record)"
|
|
@click="handleDel(record)"
|
|
id="bulkPartsTypeList-del-btn"
|
|
id="bulkPartsTypeList-del-btn"
|
|
style="margin: 0 0 0 8px;">删除</a-button>
|
|
style="margin: 0 0 0 8px;">删除</a-button>
|
|
|
|
+ <span v-if="!$hasPermissions('B_basicData_bulkPartsType_edit') && !$hasPermissions('B_basicData_bulkPartsType_del')">--</span>
|
|
</template>
|
|
</template>
|
|
</s-table>
|
|
</s-table>
|
|
</a-spin>
|
|
</a-spin>
|
|
@@ -103,7 +104,7 @@ export default {
|
|
_this.$message.success(res.message)
|
|
_this.$message.success(res.message)
|
|
_this.$refs.table.refresh()
|
|
_this.$refs.table.refresh()
|
|
_this.spinning = false
|
|
_this.spinning = false
|
|
- }else{
|
|
|
|
|
|
+ } else {
|
|
_this.spinning = false
|
|
_this.spinning = false
|
|
}
|
|
}
|
|
})
|
|
})
|