management/front/dkha-web-sz-main/node_modules/.cache/vue-loader/4e5c28af5e929a7a533d53380c2...

1 line
17 KiB
JSON

{"remainingRequest":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\src\\views\\modules\\equipmentManage\\access-config.vue?vue&type=style&index=0&id=01f7acc6&lang=scss&scoped=true&","dependencies":[{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\src\\views\\modules\\equipmentManage\\access-config.vue","mtime":1614735254000},{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\css-loader\\index.js","mtime":499162500000},{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\vue-loader\\lib\\loaders\\stylePostLoader.js","mtime":499162500000},{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\postcss-loader\\src\\index.js","mtime":499162500000},{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\sass-loader\\lib\\loader.js","mtime":1533139052000},{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\vue-loader\\lib\\index.js","mtime":499162500000}],"contextDependencies":[],"result":["\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n.el-dialog {\n\t.el-row {\n\t\tcolor: #fff;\n\t\tline-height: 35px;\n\t}\n\n\t.el-input,\n\t.el-input-number,\n\t.el-select {\n\t\twidth: 100%;\n\t}\n\n\t.el-switch {\n\t\tmargin-left: 20px;\n\n\t\t/deep/.el-switch__label {\n\t\t\tcolor: #fff;\n\n\t\t\t&.is-active {\n\t\t\t\tcolor: #17B3A3;\n\t\t\t}\n\t\t}\n\t}\n}\n",{"version":3,"sources":["access-config.vue"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkWA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA","file":"access-config.vue","sourceRoot":"src/views/modules/equipmentManage","sourcesContent":["<template>\n\t<el-dialog title=\"配置信息\" :visible.sync=\"dialogVisible\" :close-on-click-modal=\"false\" top=\"10vh\">\n\t\t<div>\n\t\t\t<el-form ref=\"dataForm\" :model=\"dataForm\" label-width=\"180px\" :rules=\"rules\">\n\t\t\t\t<el-row>\n\t\t\t\t\t<el-col :span=\"12\">\n\t\t\t\t\t\t<el-form-item label=\"设备名称\" prop=\"deviceName\">\n\t\t\t\t\t\t\t<el-input v-model=\"dataForm.deviceName\" disabled :max=\"30\"></el-input>\n\t\t\t\t\t\t</el-form-item>\n\t\t\t\t\t</el-col>\n\t\t\t\t\t<el-col :span=\"11\" :offset=\"1\">\n\t\t\t\t\t\t<el-form-item label=\"管理密码\" prop=\"devicePassword\">\n\t\t\t\t\t\t\t<el-input v-model=\"dataForm.devicePassword\" :max=\"30\"></el-input>\n\t\t\t\t\t\t</el-form-item>\n\t\t\t\t\t</el-col>\n\t\t\t\t</el-row>\n\t\t\t\t<el-row>\n\t\t\t\t\t<el-col :span=\"12\">\n\t\t\t\t\t\t<el-form-item label=\"人脸识别阈值\" prop=\"threshold\">\n\t\t\t\t\t\t\t<el-input-number v-model=\"dataForm.threshold\" :controls=\"false\" :min=\"0\" :max=\"1\" :precision=\"2\">\n\t\t\t\t\t\t\t</el-input-number>\n\t\t\t\t\t\t</el-form-item>\n\t\t\t\t\t</el-col>\n\t\t\t\t\t<el-col :span=\"11\" :offset=\"1\">\n\t\t\t\t\t\t<el-form-item label=\"关门延时\" prop=\"openDelay\">\n\t\t\t\t\t\t\t<el-input-number v-model=\"dataForm.openDelay\" :controls=\"false\" :min=\"0\" :max=\"100\" :precision=\"1\"></el-input-number>\n\t\t\t\t\t\t</el-form-item>\n\t\t\t\t\t</el-col>\n\t\t\t\t</el-row>\n\t\t\t\t<el-row>\n\t\t\t\t\t<el-col :span=\"12\">\n\t\t\t\t\t\t<el-form-item label=\"识别失败重试间隔\" prop=\"interval\">\n\t\t\t\t\t\t\t<el-input-number v-model=\"dataForm.interval\" :controls=\"false\" :min=\"1\" :max=\"10\" :precision=\"1\"></el-input-number>\n\t\t\t\t\t\t</el-form-item>\n\t\t\t\t\t</el-col>\n\t\t\t\t\t<el-col :span=\"11\" :offset=\"1\">\n\t\t\t\t\t\t<el-form-item label=\"识别成功重试间隔\" prop=\"successRetryDelay\">\n\t\t\t\t\t\t\t<el-input-number v-model=\"dataForm.successRetryDelay\" :controls=\"false\" :min=\"1\" :max=\"10\" :precision=\"1\"></el-input-number>\n\t\t\t\t\t\t</el-form-item>\n\t\t\t\t\t</el-col>\n\t\t\t\t</el-row>\n\t\t\t\t<el-row>\n\t\t\t\t\t<el-col :span=\"12\">\n\t\t\t\t\t\t<el-form-item label=\"失败语音模式\" prop=\"strangerVoiceMode\">\n\t\t\t\t\t\t\t<el-select v-model=\"dataForm.strangerVoiceMode\" placeholder=\"请选择\">\n\t\t\t\t\t\t\t\t<el-option value=\"1\" label=\"不播报\"></el-option>\n\t\t\t\t\t\t\t\t<el-option value=\"2\" label=\"播报警报音\"></el-option>\n\t\t\t\t\t\t\t\t<el-option value=\"3\" label=\"预置音-识别失败\"></el-option>\n\t\t\t\t\t\t\t\t<el-option value=\"4\" label=\"预置音-验证不通过\"></el-option>\n\t\t\t\t\t\t\t\t<!-- <el-option value=\"100\" label=\"播报自定义内容\" ></el-option> -->\n\t\t\t\t\t\t\t</el-select>\n\t\t\t\t\t\t</el-form-item>\n\t\t\t\t\t</el-col>\n\t\t\t\t\t<el-col :span=\"11\" :offset=\"1\">\n\t\t\t\t\t\t<el-form-item label=\"成功语音模式\" prop=\"voiceMode\">\n\t\t\t\t\t\t\t<el-select v-model=\"dataForm.voiceMode\" placeholder=\"请选择\">\n\t\t\t\t\t\t\t\t<el-option value=\"1\" label=\"不播报\"></el-option>\n\t\t\t\t\t\t\t\t<el-option value=\"2\" label=\"播报姓名\"></el-option>\n\t\t\t\t\t\t\t\t<el-option value=\"3\" label=\"预置音-识别成功\"></el-option>\n\t\t\t\t\t\t\t\t<el-option value=\"4\" label=\"预置音-欢迎光临\"></el-option>\n\t\t\t\t\t\t\t\t<el-option value=\"5\" label=\"预置音-门已打开\"></el-option>\n\t\t\t\t\t\t\t\t<el-option value=\"6\" label=\"预置音-门已打开,欢迎光临\"></el-option>\n\t\t\t\t\t\t\t\t<!-- <el-option value=\"100\" label=\"播报自定义内容\" ></el-option> -->\n\t\t\t\t\t\t\t</el-select>\n\t\t\t\t\t\t</el-form-item>\n\t\t\t\t\t</el-col>\n\t\t\t\t</el-row>\n\t\t\t\t<el-row>\n\t\t\t\t\t<el-col :span=\"12\">\n\t\t\t\t\t\t<el-form-item label=\"失败显示模式\" prop=\"strangerMode\">\n\t\t\t\t\t\t\t<el-select v-model=\"dataForm.strangerMode\" placeholder=\"请选择\">\n\t\t\t\t\t\t\t\t<el-option value=\"1\" label=\"默认标识\"></el-option>\n\t\t\t\t\t\t\t\t<el-option value=\"2\" label=\"不反馈\"></el-option>\n\t\t\t\t\t\t\t\t<!-- <el-option value=\"100\" label=\"显示自定义内容\" ></el-option> -->\n\t\t\t\t\t\t\t</el-select>\n\t\t\t\t\t\t</el-form-item>\n\t\t\t\t\t</el-col>\n\t\t\t\t\t<el-col :span=\"11\" :offset=\"1\">\n\t\t\t\t\t\t<el-form-item label=\"成功显示模式\" prop=\"displayMode\">\n\t\t\t\t\t\t\t<el-select v-model=\"dataForm.displayMode\" placeholder=\"请选择\">\n\t\t\t\t\t\t\t\t<el-option label=\"显示姓名\" value=\"1\"></el-option>\n\t\t\t\t\t\t\t\t<el-option label=\"隐藏姓名最后一个字符\" value=\"2\"></el-option>\n\t\t\t\t\t\t\t\t<!-- <el-option label=\"显示自定义内容\" value=\"100\"></el-option> -->\n\t\t\t\t\t\t\t</el-select>\n\t\t\t\t\t\t</el-form-item>\n\t\t\t\t\t</el-col>\n\t\t\t\t</el-row>\n\t\t\t\t<el-row>\n\t\t\t\t\t<el-col :span=\"12\">\n\t\t\t\t\t\t<el-form-item label=\"识别距离\" prop=\"signDistance\">\n\t\t\t\t\t\t\t<el-select v-model=\"dataForm.signDistance\" placeholder=\"请选择\">\n\t\t\t\t\t\t\t\t<el-option :value=\"1\" label=\"0~1米\"></el-option>\n\t\t\t\t\t\t\t\t<el-option :value=\"2\" label=\"0~1.5米\"></el-option>\n\t\t\t\t\t\t\t\t<el-option :value=\"3\" label=\"0~2米\"></el-option>\n\t\t\t\t\t\t\t\t<el-option :value=\"4\" label=\"0~2.5米\"></el-option>\n\t\t\t\t\t\t\t\t<el-option :value=\"5\" label=\"0~3.5米\"></el-option>\n\t\t\t\t\t\t\t</el-select>\n\t\t\t\t\t\t</el-form-item>\n\t\t\t\t\t</el-col>\n\t\t\t\t\t<el-col :span=\"11\" :offset=\"1\">\n\t\t\t\t\t\t<el-form-item label=\"公司名称\" prop=\"companyName\">\n\t\t\t\t\t\t\t<el-input v-model=\"dataForm.companyName\" placeholder=\"请输入\" :max=\"30\"></el-input>\n\t\t\t\t\t\t</el-form-item>\n\t\t\t\t\t</el-col>\n\t\t\t\t</el-row>\n\t\t\t\t<el-row>\n\t\t\t\t\t<el-col :span=\"12\">\n\t\t\t\t\t\t<el-form-item label=\"是否打开测温\" prop=\"isOpenTemp\">\n\t\t\t\t\t\t\t<el-switch v-model=\"dataForm.isOpenTemp\" :active-value=\"true\" :inactive-value=\"false\"></el-switch>\n\t\t\t\t\t\t</el-form-item>\n\t\t\t\t\t</el-col>\n\t\t\t\t\t<el-col :span=\"11\" :offset=\"1\">\n\t\t\t\t\t\t<el-form-item label=\"是否打开暗屏\" prop=\" isOpenRadar\">\n\t\t\t\t\t\t\t<el-switch v-model=\"dataForm.isOpenRadar\" :active-value=\"true\" :inactive-value=\"false\"></el-switch>\n\t\t\t\t\t\t</el-form-item>\n\t\t\t\t\t</el-col>\n\t\t\t\t</el-row>\n\t\t\t\t<el-row>\n\t\t\t\t\t<el-col :span=\"12\">\n\t\t\t\t\t\t<el-form-item label=\"识别记录图片上传开关\" prop=\"uploadRecordImage\">\n\t\t\t\t\t\t\t<el-switch v-model=\"dataForm.uploadRecordImage\" :active-value=\"1\" :inactive-value=\"0\"></el-switch>\n\t\t\t\t\t\t</el-form-item>\n\t\t\t\t\t</el-col>\n\t\t\t\t\t<el-col :span=\"11\" :offset=\"1\">\n\t\t\t\t\t\t<el-form-item label=\"识别成功重试开关\" prop=\"successRetry\">\n\t\t\t\t\t\t\t<el-switch v-model=\"dataForm.successRetry\" :active-value=\"1\" :inactive-value=\"0\"></el-switch>\n\t\t\t\t\t\t</el-form-item>\n\t\t\t\t\t</el-col>\n\t\t\t\t</el-row>\n\t\t\t\t<el-row>\n\t\t\t\t\t<el-col :span=\"12\">\n\t\t\t\t\t\t<el-form-item label=\"IR活体预览显示开关\" prop=\"irLivePreview\">\n\t\t\t\t\t\t\t<el-switch v-model=\"dataForm.irLivePreview\" :active-value=\"1\" :inactive-value=\"0\"></el-switch>\n\t\t\t\t\t\t</el-form-item>\n\t\t\t\t\t</el-col>\n\t\t\t\t\t<el-col :span=\"11\" :offset=\"1\">\n\t\t\t\t\t\t<el-form-item label=\"设备每日重启开关\" prop=\"rebootEveryDay\">\n\t\t\t\t\t\t\t<el-switch v-model=\"dataForm.rebootEveryDay\" :active-value=\"1\" :inactive-value=\"0\"></el-switch>\n\t\t\t\t\t\t</el-form-item>\n\t\t\t\t\t</el-col>\n\t\t\t\t</el-row>\n\t\t\t\t<el-row>\n\t\t\t\t\t<el-col :span=\"12\">\n\t\t\t\t\t\t<el-form-item label=\"人脸质量检测开关\" prop=\"faceQuality\">\n\t\t\t\t\t\t\t<el-switch v-model=\"dataForm.faceQuality\" :active-value=\"1\" :inactive-value=\"0\"></el-switch>\n\t\t\t\t\t\t</el-form-item>\n\t\t\t\t\t</el-col>\n\t\t\t\t\t<el-col :span=\"11\" :offset=\"1\">\n\t\t\t\t\t\t<el-form-item label=\"人脸质量检测阈值\" prop=\"faceQualityThreshold\">\n\t\t\t\t\t\t\t<el-input-number v-model=\"dataForm.faceQualityThreshold\" :controls=\"false\" :min=\"0\" :max=\"1\" :precision=\"2\"></el-input-number>\n\t\t\t\t\t\t</el-form-item>\n\t\t\t\t\t</el-col>\n\t\t\t\t</el-row>\n\t\t\t\t<el-row>\n\t\t\t\t\t<el-col :span=\"12\">\n\t\t\t\t\t\t<el-form-item label=\"底部右下角标题\" prop=\"bottomTitle\">\n\t\t\t\t\t\t\t<el-input v-model=\"dataForm.bottomTitle\" placeholder=\"请输入\" :max=\"30\"></el-input>\n\t\t\t\t\t\t</el-form-item>\n\t\t\t\t\t</el-col>\n\t\t\t\t</el-row>\n\t\t\t</el-form>\n\t\t</div>\n\t\t<div slot=\"footer\">\n\t\t\t<el-button @click=\"dialogVisible = false\">取 消</el-button>\n\t\t\t<el-button type=\"primary\" v-loading=\"loading\" @click=\"submitInfo\">确 定</el-button>\n\t\t</div>\n\t</el-dialog>\n</template>\n<script>\n\timport {\n\t\tgetDictLabel\n\t} from \"@/utils\";\n\timport debounce from 'lodash/debounce'\n\texport default {\n\t\tfilters: {\n\t\t\ttypeFilter(value) {\n\t\t\t\treturn getDictLabel(\"accessEquipType\", value);\n\t\t\t}\n\t\t},\n\t\tdata() {\n\t\t\treturn {\n\t\t\t\tdialogVisible: false,\n\t\t\t\tloading: false,\n\t\t\t\tdataForm: {},\n\t\t\t\trules: {\n\t\t\t\t\tdeviceName: [{\n\t\t\t\t\t\trequired: true,\n\t\t\t\t\t\tmessage: '请输入',\n\t\t\t\t\t\ttrigger: ['blur', 'change']\n\t\t\t\t\t}, ],\n\t\t\t\t\tdevicePassword: [{\n\t\t\t\t\t\t\trequired: true,\n\t\t\t\t\t\t\tmessage: '请输入',\n\t\t\t\t\t\t\ttrigger: ['blur', 'change']\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tmax: 30,\n\t\t\t\t\t\t\tmessage: '最多30个字符',\n\t\t\t\t\t\t\ttrigger: ['blur', 'change']\n\t\t\t\t\t\t},\n\t\t\t\t\t],\n\t\t\t\t\tthreshold: [{\n\t\t\t\t\t\trequired: true,\n\t\t\t\t\t\tmessage: '请输入',\n\t\t\t\t\t\ttrigger: ['blur', 'change']\n\t\t\t\t\t}, ],\n\t\t\t\t\topenDelay: [{\n\t\t\t\t\t\trequired: true,\n\t\t\t\t\t\tmessage: '请输入',\n\t\t\t\t\t\ttrigger: ['blur', 'change']\n\t\t\t\t\t}, ],\n\t\t\t\t\tinterval: [{\n\t\t\t\t\t\trequired: true,\n\t\t\t\t\t\tmessage: '请输入',\n\t\t\t\t\t\ttrigger: ['blur', 'change']\n\t\t\t\t\t}, ],\n\t\t\t\t\tsuccessRetryDelay: [{\n\t\t\t\t\t\trequired: true,\n\t\t\t\t\t\tmessage: '请输入',\n\t\t\t\t\t\ttrigger: ['blur', 'change']\n\t\t\t\t\t}, ],\n\t\t\t\t\tisOpenTemp: [{\n\t\t\t\t\t\trequired: true,\n\t\t\t\t\t\tmessage: '请输入',\n\t\t\t\t\t\ttrigger: ['blur', 'change']\n\t\t\t\t\t}, ],\n\t\t\t\t\tisOpenRadar: [{\n\t\t\t\t\t\trequired: true,\n\t\t\t\t\t\tmessage: '请输入',\n\t\t\t\t\t\ttrigger: ['blur', 'change']\n\t\t\t\t\t}, ],\n\t\t\t\t\tuploadRecordImage: [{\n\t\t\t\t\t\trequired: true,\n\t\t\t\t\t\tmessage: '请输入',\n\t\t\t\t\t\ttrigger: ['blur', 'change']\n\t\t\t\t\t}, ],\n\t\t\t\t\tsuccessRetry: [{\n\t\t\t\t\t\trequired: true,\n\t\t\t\t\t\tmessage: '请输入',\n\t\t\t\t\t\ttrigger: ['blur', 'change']\n\t\t\t\t\t}, ],\n\t\t\t\t\tsignDistance: [{\n\t\t\t\t\t\trequired: true,\n\t\t\t\t\t\tmessage: '请选择',\n\t\t\t\t\t\ttrigger: ['blur', 'change']\n\t\t\t\t\t}, ],\n\t\t\t\t\tvoiceMode: [{\n\t\t\t\t\t\trequired: true,\n\t\t\t\t\t\tmessage: '请选择',\n\t\t\t\t\t\ttrigger: ['blur', 'change']\n\t\t\t\t\t}, ],\n\t\t\t\t\tdisplayMode: [{\n\t\t\t\t\t\trequired: true,\n\t\t\t\t\t\tmessage: '请选择',\n\t\t\t\t\t\ttrigger: ['blur', 'change']\n\t\t\t\t\t}, ],\n\t\t\t\t\tstrangerMode: [{\n\t\t\t\t\t\trequired: true,\n\t\t\t\t\t\tmessage: '请选择',\n\t\t\t\t\t\ttrigger: ['blur', 'change']\n\t\t\t\t\t}, ],\n\t\t\t\t\tstrangerVoiceMode: [{\n\t\t\t\t\t\trequired: true,\n\t\t\t\t\t\tmessage: '请选择',\n\t\t\t\t\t\ttrigger: ['blur', 'change']\n\t\t\t\t\t}, ],\n\t\t\t\t\tirLivePreview: [{\n\t\t\t\t\t\trequired: true,\n\t\t\t\t\t\tmessage: '请选择',\n\t\t\t\t\t\ttrigger: ['blur', 'change']\n\t\t\t\t\t}, ],\n\t\t\t\t\trebootEveryDay: [{\n\t\t\t\t\t\trequired: true,\n\t\t\t\t\t\tmessage: '请选择',\n\t\t\t\t\t\ttrigger: ['blur', 'change']\n\t\t\t\t\t}, ],\n\t\t\t\t\tfaceQualityThreshold: [{\n\t\t\t\t\t\trequired: true,\n\t\t\t\t\t\tmessage: '请输入',\n\t\t\t\t\t\ttrigger: ['blur', 'change']\n\t\t\t\t\t}, ],\n\t\t\t\t\tfaceQuality: [{\n\t\t\t\t\t\trequired: true,\n\t\t\t\t\t\tmessage: '请输入',\n\t\t\t\t\t\ttrigger: ['blur', 'change']\n\t\t\t\t\t}, ],\n\t\t\t\t\tbottomTitle: [{\n\t\t\t\t\t\trequired: true,\n\t\t\t\t\t\tmessage: '请输入',\n\t\t\t\t\t\ttrigger: ['blur', 'change']\n\t\t\t\t\t}, ],\n\t\t\t\t}\n\t\t\t};\n\t\t},\n\t\tmethods: {\n\t\t\tinit(id) {\n\t\t\t\tthis.dialogVisible = true;\n\t\t\t\tthis.loading = true;\n\t\t\t\t// 获取设备配置信息\n\t\t\t\tthis.$http({\n\t\t\t\t\turl: `/system/scaidooreight/getdoorsetting/${id}`,\n\t\t\t\t\tmethod: \"get\"\n\t\t\t\t}).then(({\n\t\t\t\t\tdata: res\n\t\t\t\t}) => {\n\t\t\t\t\tif (res.code != 0) {\n\t\t\t\t\t\treturn this.$message.error(res.msg)\n\t\t\t\t\t}\n\t\t\t\t\tthis.dataForm = {\n\t\t\t\t\t\taeId: id,\n\t\t\t\t\t\t...res.data\n\t\t\t\t\t}\n\t\t\t\t}).finally(() => {\n\t\t\t\t\tthis.loading = false;\n\t\t\t\t})\n\t\t\t},\n\t\t\tsubmitInfo: debounce(function() {\n\t\t\t\tthis.$refs['dataForm'].validate((valid) => {\n\t\t\t\t\tif (!valid) {\n\t\t\t\t\t\treturn false\n\t\t\t\t\t}\n\t\t\t\t\tthis.loading = true;\n\t\t\t\t\tlet submitData = {\n\t\t\t\t\t\t...this.dataForm\n\t\t\t\t\t}\n\t\t\t\t\tfor (let key in submitData) {\n\t\t\t\t\t\tif (submitData[key] === \"\") {\n\t\t\t\t\t\t\tdelete submitData[key]\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\t// 提交配置信息\n\t\t\t\t\tthis.$http({\n\t\t\t\t\t\turl: \"/system/scaidooreight/setdoorsetting\",\n\t\t\t\t\t\tmethod: 'post',\n\t\t\t\t\t\tdata: submitData\n\t\t\t\t\t}).then(({\n\t\t\t\t\t\tdata\n\t\t\t\t\t}) => {\n\t\t\t\t\t\tif (data.code != 0) {\n\t\t\t\t\t\t\treturn this.$message.error(data.msg)\n\t\t\t\t\t\t}\n\t\t\t\t\t\tthis.dialogVisible = false;\n\t\t\t\t\t\tthis.$parent.$parent.query();\n\t\t\t\t\t\tthis.$message.success(data.msg || '操作成功')\n\t\t\t\t\t}).finally(() => {\n\t\t\t\t\t\tthis.loading = false;\n\t\t\t\t\t})\n\t\t\t\t})\n\n\t\t\t}, 1000),\n\t\t}\n\t};\n</script>\n<style lang=\"scss\" scoped>\n\t.el-dialog {\n\t\t.el-row {\n\t\t\tcolor: #fff;\n\t\t\tline-height: 35px;\n\t\t}\n\n\t\t.el-input,\n\t\t.el-input-number,\n\t\t.el-select {\n\t\t\twidth: 100%;\n\t\t}\n\n\t\t.el-switch {\n\t\t\tmargin-left: 20px;\n\n\t\t\t/deep/.el-switch__label {\n\t\t\t\tcolor: #fff;\n\n\t\t\t\t&.is-active {\n\t\t\t\t\tcolor: #17B3A3;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n</style>\n"]}]}