Browse Source

设备列表

DESKTOP-O04BTUJ\muzen 3 years ago
parent
commit
ea160bacb1
1 changed files with 2 additions and 20 deletions
  1. 2 20
      src/views/device/list/detail.vue

+ 2 - 20
src/views/device/list/detail.vue

@@ -95,9 +95,10 @@ import { categoryList } from "@/api/device/category";
 import { functionList } from "@/api/device/function";
 import { functionList } from "@/api/device/function";
 import imageUpload from "@/components/Upload/index";
 import imageUpload from "@/components/Upload/index";
 import mixin from "./mixin/index";
 import mixin from "./mixin/index";
+import typeOptions from '../mixin/typeOptions'
 
 
 export default {
 export default {
-  mixins: [mixin],
+  mixins: [mixin, typeOptions],
   components: {
   components: {
     imageUpload,
     imageUpload,
   },
   },
@@ -105,25 +106,6 @@ export default {
     return {
     return {
       // 能否编辑
       // 能否编辑
       disabled: false,
       disabled: false,
-      // 设备类型列表
-      typeOptions: [
-        {
-          value: 1,
-          label: "蓝牙",
-        },
-        {
-          value: 2,
-          label: "WiFi",
-        },
-        {
-          value: 3,
-          label: "传统蓝牙",
-        },
-        {
-          value: 4,
-          label: "4G",
-        },
-      ],
       // 升级方式列表
       // 升级方式列表
       upgradeTypeOptions: [
       upgradeTypeOptions: [
         {
         {