diff --git a/src/views/certificate/index.vue b/src/views/certificate/index.vue
index dfedc22..bffe82d 100644
--- a/src/views/certificate/index.vue
+++ b/src/views/certificate/index.vue
@@ -152,7 +152,7 @@ export default {
}
},
{ prop: 'renewalDate', label: '发换证日期', align: 'center', width: 50 },
- { prop: 'remarks', label: '备注', align: 'center', width: 60,formatter: this.formatterDicDataRemark },
+ { prop: 'remarks', label: '备注', align: 'center', width: 60, formatter: this.formatterDicDataRemark },
{ slot: 'operation' }
],
permission: {
@@ -333,8 +333,8 @@ export default {
}
return null
},
- formatterDicDataRemark(cellValue){
- if (cellValue != null) {
+ formatterDicDataRemark(cellValue) {
+ if (cellValue != null) {
let label = ''
this.remarksDicList.filter(dicData => dicData.code === cellValue.remarks).forEach(dicData => {
label = dicData.name
diff --git a/src/views/device_management/index.vue b/src/views/device_management/index.vue
index c2d3b3f..b977189 100644
--- a/src/views/device_management/index.vue
+++ b/src/views/device_management/index.vue
@@ -299,17 +299,6 @@ const defaultForm = form({
checkDate: ''
})
-// 自定义模板内容
-const PrefixPlusText = {
- props: ['value', 'functions'],
- template: `
-
-
-
-
- `
-}
-
export default {
name: 'InstrumentList',
components: { Pagination, Query, Crud, CustomTable, Edit, TreeSelect, Move },