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