瀏覽代碼

限制数据源筛选条件

tl 2 月之前
父節點
當前提交
e855efb86e
共有 1 個文件被更改,包括 16 次插入7 次删除
  1. 16 7
      cpp-ui/src/views/statistics/analyzeRecords/index.vue

+ 16 - 7
cpp-ui/src/views/statistics/analyzeRecords/index.vue

@@ -118,7 +118,16 @@ export default {
       fileStatus: '',
       fileDescribe: '',
       dataSources: '',
-      dataSourcesList: [],
+      dataSourcesList: [
+        {
+          value: 'E1',
+          label: '场站端'
+        },
+        {
+          value: 'E2',
+          label: '中心端'
+        },
+      ],
       fileDescribeList: [
         {
           value: 'null',
@@ -160,7 +169,7 @@ export default {
     }
   },
   created() {
-    this.getDataSourcesEnum()
+    // this.getDataSourcesEnum()
     this.getAllFileType()
     this.getFileTypeInfo()
 
@@ -195,11 +204,11 @@ export default {
       const s = (date.getSeconds() < 10 ? '0' : '') + date.getSeconds()
       return Y + M + D + h + m + s
     },
-    getDataSourcesEnum() {
-      this.$axios.get("/enumSelect/dataSourcesEnum").then(response => {
-        this.dataSourcesList = response.data
-      })
-    },
+    // getDataSourcesEnum() {
+    //   this.$axios.get("/enumSelect/dataSourcesEnum").then(response => {
+    //     this.dataSourcesList = response.data
+    //   })
+    // },
     getStationCode() {
       this.$axios({url: '/electricfield/all', method: 'get'}).then(response => {
         this.stationList = response.data