\n \n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n 查询\n \n \n\n\n \n 添加\n 借用\n 归还\n 批量导出\n 全部导出\n \n\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n 查看\n 编辑\n 删除\n \n \n \n\n\n \n \n\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n 点击上传\n \n \n \n \n \n\n\n \n \n \n \n \n \n \n \n \n \n \n \n\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n 点击上传\n \n \n \n \n \n
\n\n\n\n\n\n\n\n\n// WEBPACK FOOTER //\n// src/views/assetmanager/Device.vue","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"box\"},[_c('el-form',{staticClass:\"item-form-inline\",attrs:{\"inline\":true,\"label-width\":\"100px\"}},[_c('el-form-item',{attrs:{\"label\":\"设备品牌\"}},[_c('el-select',{attrs:{\"placeholder\":\"请选择\",\"clearable\":\"\"},model:{value:(_vm.queryInfo.brand),callback:function ($$v) {_vm.$set(_vm.queryInfo, \"brand\", $$v)},expression:\"queryInfo.brand\"}},_vm._l((_vm.brandOptions),function(item){return _c('el-option',{key:item.dictCode,attrs:{\"label\":item.dictValue,\"value\":item.dictValue}})}),1)],1),_vm._v(\" \"),_c('el-form-item',{attrs:{\"label\":\"设备名称\"}},[_c('el-input',{attrs:{\"placeholder\":\"请输入设备名称\",\"clearable\":\"\"},model:{value:(_vm.queryInfo.name),callback:function ($$v) {_vm.$set(_vm.queryInfo, \"name\", $$v)},expression:\"queryInfo.name\"}})],1),_vm._v(\" \"),_c('el-form-item',{attrs:{\"label\":\"操作系统\"}},[_c('el-select',{attrs:{\"placeholder\":\"请选择\",\"clearable\":\"\"},model:{value:(_vm.queryInfo.platform),callback:function ($$v) {_vm.$set(_vm.queryInfo, \"platform\", $$v)},expression:\"queryInfo.platform\"}},_vm._l((_vm.platformOptions),function(item){return _c('el-option',{key:item.dictCode,attrs:{\"label\":item.dictValue,\"value\":item.dictValue}})}),1)],1),_vm._v(\" \"),_c('el-form-item',{attrs:{\"label\":\"设备分类\"}},[_c('el-select',{attrs:{\"placeholder\":\"请选择\",\"clearable\":\"\"},model:{value:(_vm.queryInfo.classification),callback:function ($$v) {_vm.$set(_vm.queryInfo, \"classification\", $$v)},expression:\"queryInfo.classification\"}},_vm._l((_vm.classificationOptions),function(item){return _c('el-option',{key:item.dictCode,attrs:{\"label\":item.dictValue,\"value\":item.dictValue}})}),1)],1),_vm._v(\" \"),_c('el-form-item',{attrs:{\"label\":\"设备状态\"}},[_c('el-select',{attrs:{\"placeholder\":\"请选择\",\"clearable\":\"\"},model:{value:(_vm.queryInfo.isUsed),callback:function ($$v) {_vm.$set(_vm.queryInfo, \"isUsed\", $$v)},expression:\"queryInfo.isUsed\"}},_vm._l((_vm.isUsedOptions),function(item){return _c('el-option',{key:item.id,attrs:{\"label\":item.label,\"value\":item.value}})}),1)],1),_vm._v(\" \"),_c('el-form-item',{attrs:{\"label\":\"借用人\"}},[_c('el-input',{attrs:{\"placeholder\":\"请输入借用人\",\"clearable\":\"\"},model:{value:(_vm.queryInfo.borrower),callback:function ($$v) {_vm.$set(_vm.queryInfo, \"borrower\", $$v)},expression:\"queryInfo.borrower\"}})],1),_vm._v(\" \"),_c('el-form-item',[_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":_vm.query}},[_vm._v(\"查询\")])],1)],1),_vm._v(\" \"),_c('el-row',{staticClass:\"add_button\"},[_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":function($event){_vm.addDialogVisible = true}}},[_vm._v(\"添加\")]),_vm._v(\" \"),_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":_vm.showBorrowForm}},[_vm._v(\"借用\")]),_vm._v(\" \"),_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":_vm.returnDevice}},[_vm._v(\"归还\")]),_vm._v(\" \"),_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":_vm.batchExportDeviceList}},[_vm._v(\"批量导出\")]),_vm._v(\" \"),_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":_vm.exportAllDeviceList}},[_vm._v(\"全部导出\")])],1),_vm._v(\" \"),_c('el-table',{directives:[{name:\"loading\",rawName:\"v-loading\",value:(_vm.loading),expression:\"loading\"}],ref:\"multipleTable\",attrs:{\"tooltip-effect\":\"dark\",\"data\":_vm.devicelist.slice((_vm.currpage - 1)*_vm.queryInfo.pageSize, _vm.currpage*_vm.queryInfo.pageSize),\"border\":\"\",\"fit\":true,\"row-key\":_vm.getRowKeys},on:{\"selection-change\":_vm.handleSelectionChange}},[_c('el-table-column',{attrs:{\"type\":\"selection\",\"width\":\"60\",\"reserve-selection\":true,\"align\":\"center\"}}),_vm._v(\" \"),_c('el-table-column',{attrs:{\"label\":\"设备图片\",\"align\":\"center\",\"width\":\"150px\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('el-image',{staticStyle:{\"width\":\"120px\",\"height\":\"100px\"},attrs:{\"src\":scope.row.picture,\"preview-src-list\":[scope.row.picture],\"lazy\":\"\"}})]}}])}),_vm._v(\" \"),_c('el-table-column',{attrs:{\"label\":\"所属\",\"prop\":\"belong\",\"align\":\"center\",\"width\":\"100px\"}}),_vm._v(\" \"),_c('el-table-column',{attrs:{\"label\":\"设备品牌\",\"prop\":\"brand\",\"align\":\"center\",\"width\":\"150px\"}}),_vm._v(\" \"),_c('el-table-column',{attrs:{\"label\":\"设备名称\",\"prop\":\"name\",\"align\":\"center\",\"width\":\"150px\"}}),_vm._v(\" \"),_c('el-table-column',{attrs:{\"label\":\"设备型号\",\"prop\":\"model\",\"align\":\"center\",\"width\":\"150px\"}}),_vm._v(\" \"),_c('el-table-column',{attrs:{\"label\":\"操作系统\",\"prop\":\"platform\",\"align\":\"center\",\"width\":\"150px\"}}),_vm._v(\" \"),_c('el-table-column',{attrs:{\"label\":\"设备编号\",\"prop\":\"code\",\"align\":\"center\",\"width\":\"150px\"}}),_vm._v(\" \"),_c('el-table-column',{attrs:{\"label\":\"设备状态\",\"align\":\"center\",\"prop\":\"isUsed\",\"width\":\"100px\",\"formatter\":_vm.statusFormat}}),_vm._v(\" \"),_c('el-table-column',{attrs:{\"label\":\"借用人\",\"prop\":\"borrower\",\"align\":\"center\",\"width\":\"100px\"}}),_vm._v(\" \"),_c('el-table-column',{attrs:{\"label\":\"借用时间\",\"prop\":\"borrowTime\",\"align\":\"center\",\"width\":\"180px\"}}),_vm._v(\" \"),_c('el-table-column',{attrs:{\"label\":\"操作\",\"align\":\"center\",\"fixed\":\"right\",\"width\":\"180\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('el-button',{attrs:{\"type\":\"text\",\"size\":\"small\"},on:{\"click\":function($event){return _vm.showDetailDialog(scope.row.id)}}},[_vm._v(\"查看\")]),_vm._v(\" \"),_c('el-button',{attrs:{\"type\":\"text\",\"size\":\"small\"},on:{\"click\":function($event){return _vm.showEditDialog(scope.row.id)}}},[_vm._v(\"编辑\")]),_vm._v(\" \"),_c('el-button',{attrs:{\"type\":\"text\",\"size\":\"small\"},on:{\"click\":function($event){return _vm.delDevice(scope.row.id)}}},[_vm._v(\"删除\")])]}}])})],1),_vm._v(\" \"),_c('el-pagination',{attrs:{\"page-sizes\":[5, 10, 20, 30],\"page-size\":_vm.queryInfo.pageSize,\"layout\":\"total, sizes, prev, pager, next, jumper\",\"total\":_vm.total},on:{\"size-change\":_vm.handleSizeChange,\"current-change\":_vm.handleCurrentChange}}),_vm._v(\" \"),_c('el-dialog',{attrs:{\"title\":\"添加设备\",\"visible\":_vm.addDialogVisible,\"width\":\"50%\",\"close-on-click-modal\":false},on:{\"update:visible\":function($event){_vm.addDialogVisible=$event},\"close\":_vm.addDialogClose}},[_c('el-form',{ref:\"addFormRef\",attrs:{\"model\":_vm.addForm,\"rules\":_vm.addFormRules,\"label-width\":\"100px\"}},[_c('el-form-item',{attrs:{\"label\":\"设备所属\",\"prop\":\"belong\"}},[_c('el-select',{attrs:{\"placeholder\":\"请选择设备所属\",\"clearable\":\"\"},model:{value:(_vm.addForm.belong),callback:function ($$v) {_vm.$set(_vm.addForm, \"belong\", $$v)},expression:\"addForm.belong\"}},_vm._l((_vm.belongOptions),function(item){return _c('el-option',{key:item.dictCode,attrs:{\"label\":item.dictValue,\"value\":item.dictValue}})}),1)],1),_vm._v(\" \"),_c('el-form-item',{attrs:{\"label\":\"设备分类\",\"prop\":\"classification\"}},[_c('el-select',{attrs:{\"placeholder\":\"请选择设备分类\",\"clearable\":\"\"},model:{value:(_vm.addForm.classification),callback:function ($$v) {_vm.$set(_vm.addForm, \"classification\", $$v)},expression:\"addForm.classification\"}},_vm._l((_vm.classificationOptions),function(item){return _c('el-option',{key:item.dictCode,attrs:{\"label\":item.dictValue,\"value\":item.dictValue}})}),1)],1),_vm._v(\" \"),_c('el-form-item',{attrs:{\"label\":\"设备品牌\",\"prop\":\"brand\"}},[_c('el-select',{attrs:{\"placeholder\":\"请选择设备品牌\",\"clearable\":\"\"},model:{value:(_vm.addForm.brand),callback:function ($$v) {_vm.$set(_vm.addForm, \"brand\", $$v)},expression:\"addForm.brand\"}},_vm._l((_vm.brandOptions),function(item){return _c('el-option',{key:item.dictCode,attrs:{\"label\":item.dictValue,\"value\":item.dictValue}})}),1)],1),_vm._v(\" \"),_c('el-form-item',{attrs:{\"label\":\"设备名称\",\"prop\":\"name\"}},[_c('el-input',{attrs:{\"placeholder\":\"请输入设备名称\",\"clearable\":\"\"},model:{value:(_vm.addForm.name),callback:function ($$v) {_vm.$set(_vm.addForm, \"name\", $$v)},expression:\"addForm.name\"}})],1),_vm._v(\" \"),_c('el-form-item',{attrs:{\"label\":\"设备型号\",\"prop\":\"model\"}},[_c('el-input',{attrs:{\"placeholder\":\"请输入设备型号\",\"clearable\":\"\"},model:{value:(_vm.addForm.model),callback:function ($$v) {_vm.$set(_vm.addForm, \"model\", $$v)},expression:\"addForm.model\"}})],1),_vm._v(\" \"),_c('el-form-item',{attrs:{\"label\":\"设备编号\",\"prop\":\"code\"}},[_c('el-input',{attrs:{\"placeholder\":\"请输入设备编号\",\"clearable\":\"\"},model:{value:(_vm.addForm.code),callback:function ($$v) {_vm.$set(_vm.addForm, \"code\", $$v)},expression:\"addForm.code\"}})],1),_vm._v(\" \"),_c('el-form-item',{attrs:{\"label\":\"操作系统\",\"prop\":\"platform\"}},[_c('el-select',{attrs:{\"placeholder\":\"请选择操作系统\",\"clearable\":\"\"},model:{value:(_vm.addForm.platform),callback:function ($$v) {_vm.$set(_vm.addForm, \"platform\", $$v)},expression:\"addForm.platform\"}},_vm._l((_vm.platformOptions),function(item){return _c('el-option',{key:item.dictCode,attrs:{\"label\":item.dictValue,\"value\":item.dictValue}})}),1)],1),_vm._v(\" \"),_c('el-form-item',{attrs:{\"label\":\"系统版本\",\"prop\":\"systemVersion\"}},[_c('el-input',{attrs:{\"placeholder\":\"请输入系统版本\",\"clearable\":\"\"},model:{value:(_vm.addForm.systemVersion),callback:function ($$v) {_vm.$set(_vm.addForm, \"systemVersion\", $$v)},expression:\"addForm.systemVersion\"}})],1),_vm._v(\" \"),_c('el-form-item',{attrs:{\"label\":\"UUID\",\"prop\":\"uuid\"}},[_c('el-input',{attrs:{\"placeholder\":\"请输入uuid\",\"clearable\":\"\"},model:{value:(_vm.addForm.uuid),callback:function ($$v) {_vm.$set(_vm.addForm, \"uuid\", $$v)},expression:\"addForm.uuid\"}})],1),_vm._v(\" \"),_c('el-form-item',{attrs:{\"label\":\"备注\",\"prop\":\"comments\"}},[_c('el-input',{attrs:{\"type\":\"textarea\",\"placeholder\":\"请输入备注信息\",\"rows\":6},model:{value:(_vm.addForm.comments),callback:function ($$v) {_vm.$set(_vm.addForm, \"comments\", $$v)},expression:\"addForm.comments\"}})],1),_vm._v(\" \"),_c('el-form-item',{attrs:{\"label\":\"设备图片\",\"prop\":\"picture\"}},[_c('el-upload',{staticClass:\"upload\",attrs:{\"action\":\"\",\"on-change\":_vm.handleChange,\"on-remove\":_vm.handleRemove,\"auto-upload\":false,\"show-file-list\":true,\"file-list\":_vm.fileList}},[_c('el-button',{attrs:{\"size\":\"small\",\"type\":\"primary\"},model:{value:(_vm.addForm.picture),callback:function ($$v) {_vm.$set(_vm.addForm, \"picture\", $$v)},expression:\"addForm.picture\"}},[_vm._v(\"点击上传\")])],1)],1)],1),_vm._v(\" \"),_c('span',{staticClass:\"dialog-footer\",attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('el-button',{on:{\"click\":_vm.addDialogCancel}},[_vm._v(\"取 消\")]),_vm._v(\" \"),_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":_vm.addDevice}},[_vm._v(\"确 定\")])],1)],1),_vm._v(\" \"),_c('el-dialog',{attrs:{\"title\":\"申请借用设备\",\"visible\":_vm.borrowDialogVisible,\"close-on-click-modal\":false,\"width\":\"50%\"},on:{\"update:visible\":function($event){_vm.borrowDialogVisible=$event},\"close\":_vm.borrowDialogClose}},[_c('el-form',{ref:\"borrowFormRef\",attrs:{\"model\":_vm.borrowForm,\"rules\":_vm.borrowFormRules,\"label-width\":\"100px\"}},[_c('el-form-item',{attrs:{\"label\":\"借用人\",\"prop\":\"borrower\"}},[_c('el-input',{attrs:{\"placeholder\":\"请输入借用人\"},model:{value:(_vm.borrowForm.borrower),callback:function ($$v) {_vm.$set(_vm.borrowForm, \"borrower\", $$v)},expression:\"borrowForm.borrower\"}})],1),_vm._v(\" \"),_c('el-form-item',{attrs:{\"label\":\"借用说明\",\"prop\":\"borrowInstructions\"}},[_c('el-input',{attrs:{\"type\":\"textarea\",\"placeholder\":\"请输入借用说明\"},model:{value:(_vm.borrowForm.borrowInstructions),callback:function ($$v) {_vm.$set(_vm.borrowForm, \"borrowInstructions\", $$v)},expression:\"borrowForm.borrowInstructions\"}})],1)],1),_vm._v(\" \"),_c('span',{staticClass:\"dialog-footer\",attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('el-button',{on:{\"click\":function($event){_vm.borrowDialogVisible = false}}},[_vm._v(\"取 消\")]),_vm._v(\" \"),_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":_vm.borrowDevice}},[_vm._v(\"确 定\")])],1)],1),_vm._v(\" \"),_c('el-dialog',{attrs:{\"title\":\"查看设备详情\",\"visible\":_vm.detailDialogVisible,\"close-on-click-modal\":false,\"width\":\"50%\"},on:{\"update:visible\":function($event){_vm.detailDialogVisible=$event}}},[_c('el-form',{attrs:{\"model\":_vm.detailForm,\"label-width\":\"100px\"}},[_c('el-form-item',{attrs:{\"label\":\"所属\",\"prop\":\"belong\"}},[_c('el-input',{attrs:{\"disabled\":\"\"},model:{value:(_vm.detailForm.belong),callback:function ($$v) {_vm.$set(_vm.detailForm, \"belong\", $$v)},expression:\"detailForm.belong\"}})],1),_vm._v(\" \"),_c('el-form-item',{attrs:{\"label\":\"设备分类\",\"prop\":\"classification\"}},[_c('el-input',{attrs:{\"disabled\":\"\"},model:{value:(_vm.detailForm.classification),callback:function ($$v) {_vm.$set(_vm.detailForm, \"classification\", $$v)},expression:\"detailForm.classification\"}})],1),_vm._v(\" \"),_c('el-form-item',{attrs:{\"label\":\"设备品牌\",\"prop\":\"brand\"}},[_c('el-input',{attrs:{\"disabled\":\"\"},model:{value:(_vm.detailForm.brand),callback:function ($$v) {_vm.$set(_vm.detailForm, \"brand\", $$v)},expression:\"detailForm.brand\"}})],1),_vm._v(\" \"),_c('el-form-item',{attrs:{\"label\":\"设备名称\",\"prop\":\"name\"}},[_c('el-input',{attrs:{\"disabled\":\"\"},model:{value:(_vm.detailForm.name),callback:function ($$v) {_vm.$set(_vm.detailForm, \"name\", $$v)},expression:\"detailForm.name\"}})],1),_vm._v(\" \"),_c('el-form-item',{attrs:{\"label\":\"设备型号\",\"prop\":\"model\"}},[_c('el-input',{attrs:{\"disabled\":\"\"},model:{value:(_vm.detailForm.model),callback:function ($$v) {_vm.$set(_vm.detailForm, \"model\", $$v)},expression:\"detailForm.model\"}})],1),_vm._v(\" \"),_c('el-form-item',{attrs:{\"label\":\"设备编号\",\"prop\":\"code\"}},[_c('el-input',{attrs:{\"disabled\":\"\"},model:{value:(_vm.detailForm.code),callback:function ($$v) {_vm.$set(_vm.detailForm, \"code\", $$v)},expression:\"detailForm.code\"}})],1),_vm._v(\" \"),_c('el-form-item',{attrs:{\"label\":\"操作系统\",\"prop\":\"platform\"}},[_c('el-input',{attrs:{\"disabled\":\"\"},model:{value:(_vm.detailForm.platform),callback:function ($$v) {_vm.$set(_vm.detailForm, \"platform\", $$v)},expression:\"detailForm.platform\"}})],1),_vm._v(\" \"),_c('el-form-item',{attrs:{\"label\":\"系统版本\",\"prop\":\"systemVersion\"}},[_c('el-input',{attrs:{\"disabled\":\"\"},model:{value:(_vm.detailForm.systemVersion),callback:function ($$v) {_vm.$set(_vm.detailForm, \"systemVersion\", $$v)},expression:\"detailForm.systemVersion\"}})],1),_vm._v(\" \"),_c('el-form-item',{attrs:{\"label\":\"UUID\",\"prop\":\"uuid\"}},[_c('el-input',{attrs:{\"disabled\":\"\"},model:{value:(_vm.detailForm.uuid),callback:function ($$v) {_vm.$set(_vm.detailForm, \"uuid\", $$v)},expression:\"detailForm.uuid\"}})],1),_vm._v(\" \"),_c('el-form-item',{attrs:{\"label\":\"备注\",\"prop\":\"comments\"}},[_c('el-input',{attrs:{\"type\":\"textarea\",\"rows\":6,\"disabled\":\"\"},model:{value:(_vm.detailForm.comments),callback:function ($$v) {_vm.$set(_vm.detailForm, \"comments\", $$v)},expression:\"detailForm.comments\"}})],1),_vm._v(\" \"),_c('el-form-item',{attrs:{\"label\":\"设备图片\"}},[_c('el-image',{staticStyle:{\"width\":\"350px\",\"height\":\"250px\"},attrs:{\"src\":_vm.detailForm.picture,\"lazy\":\"\"}})],1)],1),_vm._v(\" \"),_c('span',{staticClass:\"dialog-footer\",attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('el-button',{on:{\"click\":function($event){_vm.detailDialogVisible = false}}},[_vm._v(\"关闭\")])],1)],1),_vm._v(\" \"),_c('el-dialog',{attrs:{\"title\":\"编辑设备信息\",\"visible\":_vm.editDialogVisible,\"close-on-click-modal\":false,\"width\":\"50%\"},on:{\"update:visible\":function($event){_vm.editDialogVisible=$event},\"close\":_vm.editDialogClose}},[_c('el-form',{ref:\"editFormRef\",attrs:{\"model\":_vm.editForm,\"rules\":_vm.addFormRules,\"label-width\":\"100px\"}},[_c('el-form-item',{attrs:{\"label\":\"设备所属\",\"prop\":\"belong\"}},[_c('el-select',{attrs:{\"clearable\":\"\"},model:{value:(_vm.editForm.belong),callback:function ($$v) {_vm.$set(_vm.editForm, \"belong\", $$v)},expression:\"editForm.belong\"}},_vm._l((_vm.belongOptions),function(item){return _c('el-option',{key:item.dictCode,attrs:{\"label\":item.dictValue,\"value\":item.dictValue}})}),1)],1),_vm._v(\" \"),_c('el-form-item',{attrs:{\"label\":\"设备分类\",\"prop\":\"classification\"}},[_c('el-select',{attrs:{\"clearable\":\"\"},model:{value:(_vm.editForm.classification),callback:function ($$v) {_vm.$set(_vm.editForm, \"classification\", $$v)},expression:\"editForm.classification\"}},_vm._l((_vm.classificationOptions),function(item){return _c('el-option',{key:item.dictCode,attrs:{\"label\":item.dictValue,\"value\":item.dictValue}})}),1)],1),_vm._v(\" \"),_c('el-form-item',{attrs:{\"label\":\"设备品牌\",\"prop\":\"brand\"}},[_c('el-select',{attrs:{\"clearable\":\"\"},model:{value:(_vm.editForm.brand),callback:function ($$v) {_vm.$set(_vm.editForm, \"brand\", $$v)},expression:\"editForm.brand\"}},_vm._l((_vm.brandOptions),function(item){return _c('el-option',{key:item.dictCode,attrs:{\"label\":item.dictValue,\"value\":item.dictValue}})}),1)],1),_vm._v(\" \"),_c('el-form-item',{attrs:{\"label\":\"设备名称\",\"prop\":\"name\"}},[_c('el-input',{attrs:{\"clearable\":\"\"},model:{value:(_vm.editForm.name),callback:function ($$v) {_vm.$set(_vm.editForm, \"name\", $$v)},expression:\"editForm.name\"}})],1),_vm._v(\" \"),_c('el-form-item',{attrs:{\"label\":\"设备型号\",\"prop\":\"model\"}},[_c('el-input',{attrs:{\"clearable\":\"\"},model:{value:(_vm.editForm.model),callback:function ($$v) {_vm.$set(_vm.editForm, \"model\", $$v)},expression:\"editForm.model\"}})],1),_vm._v(\" \"),_c('el-form-item',{attrs:{\"label\":\"设备编号\",\"prop\":\"code\"}},[_c('el-input',{attrs:{\"clearable\":\"\"},model:{value:(_vm.editForm.code),callback:function ($$v) {_vm.$set(_vm.editForm, \"code\", $$v)},expression:\"editForm.code\"}})],1),_vm._v(\" \"),_c('el-form-item',{attrs:{\"label\":\"操作系统\",\"prop\":\"platform\"}},[_c('el-select',{attrs:{\"clearable\":\"\"},model:{value:(_vm.editForm.platform),callback:function ($$v) {_vm.$set(_vm.editForm, \"platform\", $$v)},expression:\"editForm.platform\"}},_vm._l((_vm.platformOptions),function(item){return _c('el-option',{key:item.dictCode,attrs:{\"label\":item.dictValue,\"value\":item.dictValue}})}),1)],1),_vm._v(\" \"),_c('el-form-item',{attrs:{\"label\":\"系统版本\",\"prop\":\"systemVersion\"}},[_c('el-input',{attrs:{\"clearable\":\"\"},model:{value:(_vm.editForm.systemVersion),callback:function ($$v) {_vm.$set(_vm.editForm, \"systemVersion\", $$v)},expression:\"editForm.systemVersion\"}})],1),_vm._v(\" \"),_c('el-form-item',{attrs:{\"label\":\"UUID\",\"prop\":\"uuid\"}},[_c('el-input',{attrs:{\"clearable\":\"\"},model:{value:(_vm.editForm.uuid),callback:function ($$v) {_vm.$set(_vm.editForm, \"uuid\", $$v)},expression:\"editForm.uuid\"}})],1),_vm._v(\" \"),_c('el-form-item',{attrs:{\"label\":\"备注\",\"prop\":\"comments\"}},[_c('el-input',{attrs:{\"type\":\"textarea\",\"rows\":6},model:{value:(_vm.editForm.comments),callback:function ($$v) {_vm.$set(_vm.editForm, \"comments\", $$v)},expression:\"editForm.comments\"}})],1),_vm._v(\" \"),_c('el-form-item',{attrs:{\"label\":\"设备图片\",\"prop\":\"picture\"},model:{value:(_vm.editForm.picture),callback:function ($$v) {_vm.$set(_vm.editForm, \"picture\", $$v)},expression:\"editForm.picture\"}},[_c('el-upload',{staticClass:\"upload\",attrs:{\"action\":\"addForm.picture\",\"on-change\":_vm.handleChange,\"on-remove\":_vm.handleRemove,\"auto-upload\":false,\"show-file-list\":true,\"file-list\":_vm.fileList}},[_c('el-button',{attrs:{\"size\":\"small\",\"type\":\"primary\"}},[_vm._v(\"点击上传\")])],1)],1)],1),_vm._v(\" \"),_c('span',{staticClass:\"dialog-footer\",attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('el-button',{on:{\"click\":function($event){_vm.editDialogVisible = false}}},[_vm._v(\"取 消\")]),_vm._v(\" \"),_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":_vm.editDevice}},[_vm._v(\"确 定\")])],1)],1)],1)}\nvar staticRenderFns = []\nvar esExports = { render: render, staticRenderFns: staticRenderFns }\nexport default esExports\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/vue-loader/lib/template-compiler?{\"id\":\"data-v-136fd240\",\"hasScoped\":true,\"transformToRequire\":{\"video\":[\"src\",\"poster\"],\"source\":\"src\",\"img\":\"src\",\"image\":\"xlink:href\"},\"buble\":{\"transforms\":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/views/assetmanager/Device.vue\n// module id = null\n// module chunks = ","function injectStyle (ssrContext) {\n require(\"!!../../../node_modules/extract-text-webpack-plugin/dist/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true}!vue-style-loader!css-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-136fd240\\\",\\\"scoped\\\":true,\\\"hasInlineConfig\\\":false}!less-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./Device.vue\")\n}\nvar normalizeComponent = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")\n/* script */\nexport * from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./Device.vue\"\nimport __vue_script__ from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./Device.vue\"\n/* template */\nimport __vue_template__ from \"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-136fd240\\\",\\\"hasScoped\\\":true,\\\"transformToRequire\\\":{\\\"video\\\":[\\\"src\\\",\\\"poster\\\"],\\\"source\\\":\\\"src\\\",\\\"img\\\":\\\"src\\\",\\\"image\\\":\\\"xlink:href\\\"},\\\"buble\\\":{\\\"transforms\\\":{}}}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./Device.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = \"data-v-136fd240\"\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_template__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/views/assetmanager/Device.vue\n// module id = null\n// module chunks = "],"sourceRoot":""}