david 2 anni fa
parent
commit
e90f628973
1 ha cambiato i file con 8 aggiunte e 2 eliminazioni
  1. 8 2
      src/components/FilterUser.vue

+ 8 - 2
src/components/FilterUser.vue

@@ -54,7 +54,7 @@
         <el-select
         <el-select
           v-model="filterValue"
           v-model="filterValue"
           class="filter-item"
           class="filter-item"
-          :placeholder="`${pleaseSelect}${allFilterTypes[filterType].name}`"
+          :placeholder="`${pleaseSelect.pleaseSelect}${allFilterTypes[filterType].name}`"
         >
         >
           <el-option
           <el-option
             v-for="(item,key) in allFilterTypes[filterType].selectData"
             v-for="(item,key) in allFilterTypes[filterType].selectData"
@@ -274,7 +274,7 @@ export default {
       },
       },
       allFilterTypes: this.filterTypes,
       allFilterTypes: this.filterTypes,
       filterType: '',
       filterType: '',
-      pleaseSelect:this.$t('filter.pleaseSelectNotice'),
+      
       filterSymbol: '',
       filterSymbol: '',
       // filterSymbols: {
       // filterSymbols: {
       //   '=': this.$t('filter.eq'),
       //   '=': this.$t('filter.eq'),
@@ -403,6 +403,12 @@ export default {
         '<=': this.$t('filter.lessThan')
         '<=': this.$t('filter.lessThan')
       }
       }
     },
     },
+    pleaseSelect() {
+      return {
+        'pleaseSelect':this.$t('filter.pleaseSelectNotice'),
+      }
+    },
+    
     filterRelations() {
     filterRelations() {
       return {
       return {
         'and': this.$t('filter.and'),
         'and': this.$t('filter.and'),