diff --git a/src/views/main/BookingTemplate/addForm.vue b/src/views/main/BookingTemplate/addForm.vue
index a2cbf20..d34208a 100644
--- a/src/views/main/BookingTemplate/addForm.vue
+++ b/src/views/main/BookingTemplate/addForm.vue
@@ -17,7 +17,7 @@
-
+
diff --git a/src/views/main/BookingTemplate/editForm.vue b/src/views/main/BookingTemplate/editForm.vue
index 65fde44..ebe3829 100644
--- a/src/views/main/BookingTemplate/editForm.vue
+++ b/src/views/main/BookingTemplate/editForm.vue
@@ -18,7 +18,7 @@
-
+
diff --git a/src/views/main/BookingTemplate/index.vue b/src/views/main/BookingTemplate/index.vue
index b5859c4..9f16081 100644
--- a/src/views/main/BookingTemplate/index.vue
+++ b/src/views/main/BookingTemplate/index.vue
@@ -2,7 +2,7 @@
-
+
@@ -32,18 +32,17 @@
-
- 新增订舱模板
+
+ 新增订舱模板
{{ showType(text) }}
- 编辑
-
- BookingTemplateDelete(record)">
+ 编辑
+
+ BookingTemplateDelete(record)">
删除
@@ -113,14 +112,12 @@ export default {
}
},
created() {
- if (this.hasPerm('BookingTemplate:edit') || this.hasPerm('BookingTemplate:delete')) {
- this.columns.push({
- title: '操作',
- width: '150px',
- dataIndex: 'action',
- scopedSlots: { customRender: 'action' }
- })
- }
+ this.columns.push({
+ title: '操作',
+ width: '150px',
+ dataIndex: 'action',
+ scopedSlots: { customRender: 'action' }
+ })
this.typeData = [{
code: 10,
@@ -162,9 +159,8 @@ export default {
this.selectedRows = selectedRows
},
showType(code) {
- var find= this.typeData.filter(item => item.code == code)
- if(find.length>0)
- {
+ var find = this.typeData.filter(item => item.code == code)
+ if (find.length > 0) {
return find[0].name
}
}