wip
This commit is contained in:
parent
e9d3ba13cd
commit
ece7f64ba9
|
|
@ -33,7 +33,8 @@
|
|||
<td>@{{ customer.from }}</td>
|
||||
<td>@{{ customer.customer_group_name }}</td>
|
||||
<td>
|
||||
<el-tag :type="customer.status ? 'success' : 'info'" size="small">@{{ customer.status ? '启用' : '禁用' }}</el-tag>
|
||||
<span v-if="customer.status" class="text-success">{{ __('common.enable') }}</span>
|
||||
<span v-else class="text-secondary">{{ __('common.disable') }}</span>
|
||||
<td>
|
||||
<a class="btn btn-outline-secondary btn-sm" :href="customer.edit">编辑</a>
|
||||
<button class="btn btn-outline-danger btn-sm ml-1" type="button" @click="deleteCustomer(customer.delete, index)">删除</button>
|
||||
|
|
|
|||
|
|
@ -18,4 +18,6 @@ return [
|
|||
'restored_success' => 'Restore Successfully!',
|
||||
'updated_success' => 'Updated Successfully!',
|
||||
'get_success' => 'Get Successfully!',
|
||||
'enable' => 'Enable',
|
||||
'disable' => 'Disable',
|
||||
];
|
||||
|
|
|
|||
|
|
@ -17,6 +17,8 @@ return [
|
|||
'restored_success' => '恢复成功!',
|
||||
'updated_success' => '更新成功!',
|
||||
'get_success' => '获取成功!',
|
||||
'enable' => '启用',
|
||||
'disable' => '禁用',
|
||||
];
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue