@@ -1,19 +0,0 @@
-const mixin = {
- data() {
- return {
- // 使用分类列表
- deviceTypeOptions: [{
- value: 0,
- label: '音响'
- }, {
- value: 1,
- label: '耳机'
- value: 3,
- label: '穿戴'
- }],
- }
-}
-
-export default mixin
@@ -1,32 +0,0 @@
- // 设备类型列表
- typeOptions: [{
- label: "蓝牙",
- },
- {
- value: 2,
- label: "WiFi",
- label: "传统蓝牙",
- value: 4,
- label: "4G",
- ]
- methods: {
- // 字典翻译
- typeFormatter(row){
- return this.selectDictLabel(this.typeOptions, row.type)
@@ -1,26 +0,0 @@
-import { getClientTypeList } from '@/api/device/version'
- // 设备类型
- 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
- })