DESKTOP-O04BTUJ\muzen 3 年 前
コミット
a63e49e40b

+ 0 - 19
src/views/device/list/mixin/index.js

@@ -1,19 +0,0 @@
-const mixin = {
-  data() {
-    return {
-      // 使用分类列表
-      deviceTypeOptions: [{
-        value: 0,
-        label: '音响'
-      }, {
-        value: 1,
-        label: '耳机'
-      }, {
-        value: 3,
-        label: '穿戴'
-      }],
-    }
-  }
-}
-
-export default mixin

+ 0 - 32
src/views/device/mixin/typeOptions.js

@@ -1,32 +0,0 @@
-const mixin = {
-  data() {
-    return {
-      // 设备类型列表
-      typeOptions: [{
-          value: 1,
-          label: "蓝牙",
-        },
-        {
-          value: 2,
-          label: "WiFi",
-        },
-        {
-          value: 3,
-          label: "传统蓝牙",
-        },
-        {
-          value: 4,
-          label: "4G",
-        },
-      ]
-    }
-  },
-  methods: {
-    // 字典翻译
-    typeFormatter(row){
-      return this.selectDictLabel(this.typeOptions, row.type)
-    }
-  },
-}
-
-export default mixin

+ 0 - 26
src/views/device/version/mixin/index.js

@@ -1,26 +0,0 @@
-import { getClientTypeList } from '@/api/device/version'
-
-const mixin = {
-  data() {
-    return {
-      // 设备类型
-      clientTypeOptions: [],
-    }
-  },
-  created() {
-    getClientTypeList().then(res => {
-      if (res.code === 0) {
-        let index = 1
-        res.data.map(i => {
-          this.clientTypeOptions.push({
-            id: ++index,
-            value: i.clientTypeId,
-            label: i.name
-          })
-        })
-      }
-    })
-  }
-}
-
-export default mixin