@@ -1,69 +0,0 @@
-import {
- categoryList
-} from "@/api/device/category";
- functionList
-} from "@/api/device/function";
-
-const category = {
- data() {
- return {
- categoryOptions: []
- }
- },
- created() {
- // 设备类型
- categoryList({
- status: 1,
- }).then((res) => {
- if (res.code === 0) {
- this.categoryOptions = res.data;
- });
-}
-const functions = {
- functionOptions: []
- // 权限列表
- functionList({
- isDelete: 0
- this.functionOptions = res.data;
-// 设备模式
-const devType = {
- typeOptions: [{
- value: 1,
- label: '蓝牙'
- }, {
- value: 2,
- label: 'WIFI'
- value: 3,
- label: '传统蓝牙'
- value: 4,
- label: '4G'
- }]
-export {
- category,
- functions,
- devType