diff --git a/src/api/index.js b/src/api/index.js index b55e878..940f258 100644 --- a/src/api/index.js +++ b/src/api/index.js @@ -79,6 +79,7 @@ export default { downloadAgain:`/data/data/downloadAgain`, isDownload:`/data/data/product/isDownload`, getTableTime:`/data/data/tableTime/getTableTime`, + getLevel: `/data/category/getLevel`, // 数据操作记录 queryAccumulate:`/data/data/dataRecord/queryAccumulate`, diff --git a/src/components/menuTree/index.vue b/src/components/menuTree/index.vue new file mode 100644 index 0000000..4b39e34 --- /dev/null +++ b/src/components/menuTree/index.vue @@ -0,0 +1,35 @@ + + + + diff --git a/src/pages/data/list/index.vue b/src/pages/data/list/index.vue index 8ee4424..9e3a123 100644 --- a/src/pages/data/list/index.vue +++ b/src/pages/data/list/index.vue @@ -2,90 +2,7 @@
- +
@@ -181,9 +98,13 @@ import { mapState } from 'vuex' import axios from 'axios' import util from '@/libs/util' import Setting from '@/setting' +import menuTree from '@/components/menuTree' let startTimeLimit = '' let endTimeLimit = '' export default { + components: { + menuTree + }, data() { return { that: this, diff --git a/src/setting.js b/src/setting.js index 08fe481..5689f17 100644 --- a/src/setting.js +++ b/src/setting.js @@ -24,7 +24,7 @@ const Setting = { showProgressBar: true, // 接口请求地址 // apiBaseURL: env === 'development' ? 'http://192.168.31.151:9000' : 'http://39.108.250.202:9000',// 佳坤 - apiBaseURL: env === 'development' ? 'http://192.168.31.151:9000' : 'http://39.108.250.202:9000', + apiBaseURL: env === 'development' ? 'http://39.108.250.202:9000' : 'http://39.108.250.202:9000', // 接口请求返回错误时,弹窗的持续时间,单位:秒 modalDuration: 3, // 接口请求返回错误时,弹窗的类型,可选值为 Message 或 Notice