1 line
79 KiB
Plaintext
1 line
79 KiB
Plaintext
{"version":3,"sources":["webpack:///src/views/assetmanager/Device.vue","webpack:///./src/views/assetmanager/Device.vue?d51a","webpack:///./src/views/assetmanager/Device.vue"],"names":["Device","data","fileIsChange","loading","length","value","multipleSelection","fileList","deviceOptions","platformOptions","brandOptions","isUsedOptions","id","label","classificationOptions","belongOptions","devicelist","queryInfo","name","pageNum","pageSize","currpage","total","addDialogVisible","borrowDialogVisible","editDialogVisible","detailDialogVisible","addForm","model","code","platform","brand","belong","classification","systemVersion","uuid","comments","picture","detailForm","editForm","borrowForm","borrower","borrowInstructions","addFormRules","required","message","trigger","min","max","borrowFormRules","mounted","this","getPlatformOptions","getBrandOptions","getClassificationOptions","getBelongOptions","created","getDeviceList","methods","_this","$api","device","then","res","_this2","_this3","_this4","handleSelectionChange","val","statusFormat","row","column","isUsed","query","_this5","queryAllDevice","stringify_default","count","clearOptions","catch","handleSizeChange","newSize","handleCurrentChange","newpageNum","addDevice","_this6","$refs","addFormRef","validate","valid","formData","FormData","files","append","raw","comm","uploadImg","title","src","$notify","type","setTimeout","msg","resetFields","borrowDevice","_this7","borrowFormRef","borrowDataList","forEach","item","borrowData","push","showBorrowForm","flag","isUsedList","element","status","$confirm","confirmButtonText","cancelButtonText","err","console","log","returnDevice","_this8","selectDatas","showEditDialog","_this9","queryDeviceById","showDetailDialog","_this10","cache","addDialogClose","addDialogCancel","borrowDialogClose","editDialogClose","editFormRef","editDialogCancel","editDevice","_this11","updateDevice","delDevice","_this12","deleteDevice","getRowKeys","rows","_this13","multipleTable","toggleRowSelection","clearSelection","handleRemove","file","handleChange","batchExportDeviceList","_this14","batchExportDeviceListToExcel","$common","downloadFiles","fileName","deleteFile","exportAllDeviceList","_this15","exportWhenQueryINfo","exportAllDeviceListToExcel","assetmanager_Device","render","_vm","_h","$createElement","_c","_self","staticClass","attrs","inline","label-width","placeholder","clearable","callback","$$v","$set","expression","_l","key","dictCode","dictValue","_v","on","click","$event","directives","rawName","ref","tooltip-effect","slice","border","fit","row-key","selection-change","width","reserve-selection","align","scopedSlots","_u","fn","scope","staticStyle","height","preview-src-list","lazy","prop","formatter","fixed","size","page-sizes","page-size","layout","size-change","current-change","visible","close-on-click-modal","update:visible","close","rules","action","on-change","on-remove","auto-upload","show-file-list","file-list","slot","disabled","staticRenderFns","Component","__webpack_require__","normalizeComponent","ssrContext","__webpack_exports__"],"mappings":"sJAuWAA,cACAC,KADA,WAEA,OACAC,cAAA,EACAC,SAAA,EACAC,OAAA,GACAC,MAAA,GACAC,qBACAC,YACAC,iBACAC,mBACAC,gBACAC,gBAEAC,GAAA,EACAC,MAAA,MACAR,MAAA,IAGAO,GAAA,EACAC,MAAA,MACAR,MAAA,IAGAS,yBACAC,iBACAC,cACAC,WACAC,KAAA,GACAC,QAAA,EACAC,SAAA,IAEAC,SAAA,EACAC,MAAA,EACAC,kBAAA,EACAC,qBAAA,EACAC,mBAAA,EACAC,qBAAA,EACAC,SACAT,KAAA,GACAU,MAAA,GACAC,KAAA,GACAC,SAAA,GACAC,MAAA,GACAC,OAAA,GACAC,eAAA,GACAC,cAAA,GACAC,KAAA,GACAC,SAAA,GACAC,QAAA,IAEAC,cACAC,YACAC,YACAC,SAAA,GACAC,mBAAA,IAEAC,cACAX,SACAY,UAAA,EAAAC,QAAA,UAAAC,QAAA,SAEAb,iBACAW,UAAA,EAAAC,QAAA,UAAAC,QAAA,SAEAf,QACAa,UAAA,EAAAC,QAAA,UAAAC,QAAA,SAEA5B,OACA0B,UAAA,EAAAC,QAAA,UAAAC,QAAA,SACAC,IAAA,EAAAC,IAAA,GAAAH,QAAA,iBAAAC,QAAA,SAEAlB,QACAgB,UAAA,EAAAC,QAAA,UAAAC,QAAA,SACAC,IAAA,EAAAC,IAAA,GAAAH,QAAA,iBAAAC,QAAA,SAEAjB,OACAe,UAAA,EAAAC,QAAA,UAAAC,QAAA,SACAC,IAAA,EAAAC,IAAA,GAAAH,QAAA,iBAAAC,QAAA,SAEAhB,WACAc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eAAA,EAAAC,kBAAA,EAAAC,YAAA9D,EAAA/J,YAAyJkK,EAAA,aAAkBG,OAAOwC,KAAA,QAAAhH,KAAA,aAAiCkE,EAAAmB,GAAA,sBAAAnB,EAAAmB,GAAA,KAAAhB,EAAA,QAAsDE,YAAA,gBAAAC,OAAmCyD,KAAA,UAAgBA,KAAA,WAAe5D,EAAA,aAAkBiB,IAAIC,MAAA,SAAAC,GAAyBtB,EAAA7I,mBAAA,MAAgC6I,EAAAmB,GAAA,SAAAnB,EAAAmB,GAAA,KAAAhB,EAAA,aAA8CG,OAAOxE,KAAA,WAAiBsF,IAAKC,MAAArB,EAAA5B,cAAwB4B,EAAAmB,GAAA,sBAE5skB8C,oBCCjB,IAcAC,EAdyBC,EAAQ,OAcjCC,CACE1O,EACAoK,GATF,EAVA,SAAAuE,GACEF,EAAQ,SAaV,kBAEA,MAUeG,EAAA,QAAAJ,EAAiB","file":"static/js/21.c6abdc20026b7dd23dca.js","sourcesContent":["<template>\n <div class=\"box\">\n<!-- 列表查询区域 -->\n <el-form :inline=\"true\" class=\"item-form-inline\" label-width=\"100px\">\n <el-form-item label=\"设备品牌\" >\n <el-select v-model=\"queryInfo.brand\" placeholder=\"请选择\" clearable>\n <el-option\n v-for=\"item in brandOptions\"\n :key=\"item.dictCode\"\n :label=\"item.dictValue\"\n :value=\"item.dictValue\"> \n </el-option>\n </el-select>\n </el-form-item> \n <el-form-item label=\"设备名称\">\n <el-input v-model=\"queryInfo.name\" placeholder=\"请输入设备名称\" clearable></el-input>\n </el-form-item> \n <el-form-item label=\"操作系统\">\n <el-select v-model=\"queryInfo.platform\" placeholder=\"请选择\" clearable>\n <el-option\n v-for=\"item in platformOptions\"\n :key=\"item.dictCode\"\n :label=\"item.dictValue\"\n :value=\"item.dictValue\"> \n </el-option>\n </el-select>\n </el-form-item>\n <el-form-item label=\"设备分类\">\n <el-select v-model=\"queryInfo.classification\" placeholder=\"请选择\" clearable>\n <el-option\n v-for=\"item in classificationOptions\"\n :key=\"item.dictCode\"\n :label=\"item.dictValue\"\n :value=\"item.dictValue\">\n </el-option>\n </el-select>\n </el-form-item> \n <el-form-item label=\"设备状态\">\n <el-select v-model=\"queryInfo.isUsed\" placeholder=\"请选择\" clearable>\n <el-option\n v-for=\"item in isUsedOptions\"\n :key=\"item.id\"\n :label=\"item.label\"\n :value=\"item.value\">\n </el-option>\n </el-select>\n </el-form-item> \n <el-form-item label=\"借用人\">\n <el-input v-model=\"queryInfo.borrower\" placeholder=\"请输入借用人\" clearable></el-input>\n </el-form-item>\n <el-form-item>\n <el-button type=\"primary\" @click=\"query\">查询</el-button>\n </el-form-item>\n </el-form>\n\n<!-- 列表上方操作按钮 -->\n <el-row class=\"add_button\">\n <el-button type=\"primary\" @click=\"addDialogVisible = true\">添加</el-button>\n <el-button type=\"primary\" @click=\"showBorrowForm\">借用</el-button>\n <el-button type=\"primary\" @click=\"returnDevice\">归还</el-button>\n <el-button type=\"primary\" @click=\"batchExportDeviceList\">批量导出</el-button>\n <el-button type=\"primary\" @click=\"exportAllDeviceList\">全部导出</el-button>\n </el-row>\n\n<!-- 数据列表,支持多选 -->\n <el-table\n ref=\"multipleTable\" tooltip-effect=\"dark\" v-loading=\"loading\" \n :data=\"devicelist.slice((currpage - 1)*queryInfo.pageSize, currpage*queryInfo.pageSize)\"\n border\n :fit=\"true\"\n :row-key=\"getRowKeys\"\n @selection-change=\"handleSelectionChange\">\n <el-table-column type=\"selection\" width=\"60\" :reserve-selection=\"true\" align=\"center\"></el-table-column>\n <!-- <el-table-column type=\"index\" label=\"序号\" width=\"80px\" align=\"center\">\n </el-table-column> -->\n <el-table-column label=\"设备图片\" align=\"center\" width=\"150px\">\n <template slot-scope=\"scope\"> \n <el-image \n style=\"width: 120px; height: 100px\"\n :src=\"scope.row.picture\" \n :preview-src-list=\"[scope.row.picture]\" \n lazy>\n </el-image>\n </template>\n </el-table-column>\n <el-table-column label=\"所属\" prop=\"belong\" align=\"center\" width=\"100px\"></el-table-column>\n <el-table-column label=\"设备品牌\" prop=\"brand\" align=\"center\" width=\"150px\"></el-table-column>\n <el-table-column label=\"设备名称\" prop=\"name\" align=\"center\" width=\"150px\"></el-table-column>\n <el-table-column label=\"设备型号\" prop=\"model\" align=\"center\" width=\"150px\"></el-table-column>\n <el-table-column label=\"操作系统\" prop=\"platform\" align=\"center\" width=\"150px\"></el-table-column> \n <el-table-column label=\"设备编号\" prop=\"code\" align=\"center\" width=\"150px\"></el-table-column>\n <el-table-column label=\"设备状态\" align=\"center\" prop=\"isUsed\" width=\"100px\" :formatter=\"statusFormat\"></el-table-column>\n <el-table-column label=\"借用人\" prop=\"borrower\" align=\"center\" width=\"100px\"></el-table-column>\n <el-table-column label=\"借用时间\" prop=\"borrowTime\" align=\"center\" width=\"180px\"></el-table-column>\n <el-table-column label=\"操作\" align=\"center\" fixed=\"right\" width=\"180\">\n <template slot-scope=\"scope\">\n <el-button type=\"text\" size=\"small\" @click=\"showDetailDialog(scope.row.id)\">查看</el-button>\n <el-button type=\"text\" size=\"small\" @click=\"showEditDialog(scope.row.id)\">编辑</el-button>\n <el-button type=\"text\" size=\"small\" @click=\"delDevice(scope.row.id)\">删除</el-button>\n </template>\n </el-table-column>\n </el-table>\n\n<!-- 列表分页 -->\n <el-pagination\n @size-change=\"handleSizeChange\"\n @current-change=\"handleCurrentChange\"\n :page-sizes=\"[5, 10, 20, 30]\"\n :page-size=\"queryInfo.pageSize\"\n layout=\"total, sizes, prev, pager, next, jumper\"\n :total=\"total\">\n </el-pagination>\n\n<!-- 添加操作 -->\n <el-dialog\n title=\"添加设备\"\n :visible.sync=\"addDialogVisible\"\n width=\"50%\"\n :close-on-click-modal= 'false'\n @close=\"addDialogClose\">\n <!-- 添加表单 -->\n <el-form :model=\"addForm\" :rules=\"addFormRules\" ref=\"addFormRef\" label-width=\"100px\">\n <el-form-item label=\"设备所属\" prop=\"belong\">\n <el-select v-model=\"addForm.belong\" placeholder=\"请选择设备所属\" clearable>\n <el-option\n v-for=\"item in belongOptions\"\n :key=\"item.dictCode\"\n :label=\"item.dictValue\"\n :value=\"item.dictValue\">\n </el-option>\n </el-select>\n </el-form-item>\n <el-form-item label=\"设备分类\" prop=\"classification\">\n <el-select v-model=\"addForm.classification\" placeholder=\"请选择设备分类\" clearable>\n <el-option\n v-for=\"item in classificationOptions\"\n :key=\"item.dictCode\"\n :label=\"item.dictValue\"\n :value=\"item.dictValue\">\n </el-option>\n </el-select>\n </el-form-item>\n <el-form-item label=\"设备品牌\" prop=\"brand\">\n <el-select v-model=\"addForm.brand\" placeholder=\"请选择设备品牌\" clearable>\n <el-option\n v-for=\"item in brandOptions\"\n :key=\"item.dictCode\"\n :label=\"item.dictValue\"\n :value=\"item.dictValue\"> \n </el-option>\n </el-select>\n </el-form-item>\n <el-form-item label=\"设备名称\" prop=\"name\">\n <el-input v-model=\"addForm.name\" placeholder=\"请输入设备名称\" clearable></el-input>\n </el-form-item> \n <el-form-item label=\"设备型号\" prop=\"model\">\n <el-input v-model=\"addForm.model\" placeholder=\"请输入设备型号\" clearable></el-input>\n </el-form-item>\n <el-form-item label=\"设备编号\" prop=\"code\">\n <el-input v-model=\"addForm.code\" placeholder=\"请输入设备编号\" clearable></el-input>\n </el-form-item>\n <el-form-item label=\"操作系统\" prop=\"platform\">\n <el-select v-model=\"addForm.platform\" placeholder=\"请选择操作系统\" clearable>\n <el-option\n v-for=\"item in platformOptions\"\n :key=\"item.dictCode\"\n :label=\"item.dictValue\"\n :value=\"item.dictValue\"> \n </el-option>\n </el-select>\n </el-form-item>\n <el-form-item label=\"系统版本\" prop=\"systemVersion\">\n <el-input v-model=\"addForm.systemVersion\" placeholder=\"请输入系统版本\" clearable></el-input>\n </el-form-item>\n <el-form-item label=\"UUID\" prop=\"uuid\">\n <el-input v-model=\"addForm.uuid\" placeholder=\"请输入uuid\" clearable></el-input>\n </el-form-item> \n <el-form-item label=\"备注\" prop=\"comments\">\n <el-input type=\"textarea\" v-model=\"addForm.comments\" placeholder=\"请输入备注信息\" :rows=\"6\"></el-input>\n </el-form-item>\n <el-form-item label=\"设备图片\" prop=\"picture\">\n <el-upload\n class=\"upload\"\n action=\"\" \n :on-change=\"handleChange\"\n :on-remove=\"handleRemove\"\n :auto-upload=\"false\"\n :show-file-list=\"true\"\n :file-list=\"fileList\"> \n <el-button size=\"small\" type=\"primary\" v-model=\"addForm.picture\">点击上传</el-button>\n </el-upload>\n </el-form-item>\n </el-form>\n <span slot=\"footer\" class=\"dialog-footer\">\n <el-button @click=\"addDialogCancel\">取 消</el-button>\n <el-button type=\"primary\" @click=\"addDevice\">确 定</el-button>\n </span>\n </el-dialog>\n\n<!-- 借用操作 -->\n <el-dialog\n title=\"申请借用设备\"\n :visible.sync=\"borrowDialogVisible\"\n :close-on-click-modal= 'false'\n width=\"50%\"\n @close=\"borrowDialogClose\">\n <!-- 借用表单 -->\n <el-form :model=\"borrowForm\" :rules=\"borrowFormRules\" ref=\"borrowFormRef\" label-width=\"100px\">\n <el-form-item label=\"借用人\" prop=\"borrower\">\n <el-input v-model=\"borrowForm.borrower\" placeholder=\"请输入借用人\"></el-input>\n </el-form-item>\n <el-form-item label=\"借用说明\" prop=\"borrowInstructions\">\n <el-input type=\"textarea\" v-model=\"borrowForm.borrowInstructions\" placeholder=\"请输入借用说明\"></el-input>\n </el-form-item>\n </el-form>\n <span slot=\"footer\" class=\"dialog-footer\">\n <el-button @click=\"borrowDialogVisible = false\">取 消</el-button>\n <el-button type=\"primary\" @click=\"borrowDevice\">确 定</el-button>\n </span>\n </el-dialog>\n\n<!-- 查看 -->\n <el-dialog\n title=\"查看设备详情\"\n :visible.sync=\"detailDialogVisible\"\n :close-on-click-modal= 'false'\n width=\"50%\">\n <el-form \n :model=\"detailForm\" label-width=\"100px\">\n <el-form-item label=\"所属\" prop=\"belong\">\n <el-input v-model=\"detailForm.belong\" disabled></el-input>\n </el-form-item>\n <el-form-item label=\"设备分类\" prop=\"classification\">\n <el-input v-model=\"detailForm.classification\" disabled></el-input>\n </el-form-item>\n <el-form-item label=\"设备品牌\" prop=\"brand\">\n <el-input v-model=\"detailForm.brand\" disabled></el-input>\n </el-form-item>\n <el-form-item label=\"设备名称\" prop=\"name\">\n <el-input v-model=\"detailForm.name\" disabled></el-input>\n </el-form-item>\n <el-form-item label=\"设备型号\" prop=\"model\">\n <el-input v-model=\"detailForm.model\" disabled></el-input>\n </el-form-item>\n <el-form-item label=\"设备编号\" prop=\"code\">\n <el-input v-model=\"detailForm.code\" disabled></el-input>\n </el-form-item>\n <el-form-item label=\"操作系统\" prop=\"platform\">\n <el-input v-model=\"detailForm.platform\" disabled></el-input>\n </el-form-item> \n <el-form-item label=\"系统版本\" prop=\"systemVersion\">\n <el-input v-model=\"detailForm.systemVersion\" disabled></el-input>\n </el-form-item>\n <el-form-item label=\"UUID\" prop=\"uuid\">\n <el-input v-model=\"detailForm.uuid\" disabled></el-input>\n </el-form-item>\n <el-form-item label=\"备注\" prop=\"comments\">\n <el-input type=\"textarea\" v-model=\"detailForm.comments\" :rows=\"6\" disabled></el-input>\n </el-form-item>\n <el-form-item label=\"设备图片\">\n <el-image style=\"width: 350px; height: 250px\"\n :src=\"detailForm.picture\"\n lazy>\n </el-image> \n </el-form-item>\n </el-form>\n <span slot=\"footer\" class=\"dialog-footer\">\n <el-button @click=\"detailDialogVisible = false\">关闭</el-button>\n </span>\n </el-dialog>\n\n<!-- 修改 -->\n <el-dialog\n title=\"编辑设备信息\"\n :visible.sync=\"editDialogVisible\"\n :close-on-click-modal= 'false'\n width=\"50%\" @close=\"editDialogClose\">\n <el-form :model=\"editForm\" :rules=\"addFormRules\" ref=\"editFormRef\" label-width=\"100px\">\n <el-form-item label=\"设备所属\" prop=\"belong\">\n <el-select v-model=\"editForm.belong\" clearable>\n <el-option\n v-for=\"item in belongOptions\"\n :key=\"item.dictCode\"\n :label=\"item.dictValue\"\n :value=\"item.dictValue\">\n </el-option>\n </el-select>\n </el-form-item>\n <el-form-item label=\"设备分类\" prop=\"classification\">\n <el-select v-model=\"editForm.classification\" clearable>\n <el-option\n v-for=\"item in classificationOptions\"\n :key=\"item.dictCode\"\n :label=\"item.dictValue\"\n :value=\"item.dictValue\">\n </el-option>\n </el-select>\n </el-form-item>\n <el-form-item label=\"设备品牌\" prop=\"brand\">\n <el-select v-model=\"editForm.brand\" clearable>\n <el-option\n v-for=\"item in brandOptions\"\n :key=\"item.dictCode\"\n :label=\"item.dictValue\"\n :value=\"item.dictValue\"> \n </el-option>\n </el-select>\n </el-form-item>\n <el-form-item label=\"设备名称\" prop=\"name\">\n <el-input v-model=\"editForm.name\" clearable></el-input>\n </el-form-item>\n <el-form-item label=\"设备型号\" prop=\"model\">\n <el-input v-model=\"editForm.model\" clearable></el-input>\n </el-form-item> \n <el-form-item label=\"设备编号\" prop=\"code\">\n <el-input v-model=\"editForm.code\" clearable></el-input>\n </el-form-item>\n <el-form-item label=\"操作系统\" prop=\"platform\">\n <el-select v-model=\"editForm.platform\" clearable>\n <el-option\n v-for=\"item in platformOptions\"\n :key=\"item.dictCode\"\n :label=\"item.dictValue\"\n :value=\"item.dictValue\"> \n </el-option>\n </el-select>\n </el-form-item> \n <el-form-item label=\"系统版本\" prop=\"systemVersion\">\n <el-input v-model=\"editForm.systemVersion\" clearable></el-input>\n </el-form-item>\n <el-form-item label=\"UUID\" prop=\"uuid\">\n <el-input v-model=\"editForm.uuid\" clearable></el-input>\n </el-form-item>\n <el-form-item label=\"备注\" prop=\"comments\">\n <el-input type=\"textarea\" v-model=\"editForm.comments\" :rows=\"6\"></el-input>\n </el-form-item>\n <el-form-item label=\"设备图片\" prop=\"picture\" v-model=\"editForm.picture\">\n <el-upload\n class=\"upload\"\n action=\"addForm.picture\"\n :on-change=\"handleChange\"\n :on-remove=\"handleRemove\"\n :auto-upload=\"false\"\n :show-file-list=\"true\"\n :file-list=\"fileList\"> \n <el-button size=\"small\" type=\"primary\">点击上传</el-button>\n </el-upload>\n </el-form-item> \n </el-form>\n <span slot=\"footer\" class=\"dialog-footer\">\n <el-button @click=\"editDialogVisible = false\">取 消</el-button>\n <el-button type=\"primary\" @click=\"editDevice\">确 定</el-button>\n </span>\n </el-dialog> \n </div>\n</template>\n\n<script>\nimport { Flag, Sleep } from '@icon-park/vue'\nexport default {\n data () {\n return {\n fileIsChange: false,\n loading: false,\n length: '',\n value: '',\n multipleSelection: [],\n fileList: [],\n deviceOptions:[],\n platformOptions: [],\n brandOptions: [],\n isUsedOptions: [\n {\n id: 1,\n label: '未借出',\n value: 0\n },\n {\n id: 2,\n label: '已借出',\n value: 1\n }\n ],\n classificationOptions: [],\n belongOptions: [],\n devicelist: [],\n queryInfo: {\n name: '',\n pageNum: 1,\n pageSize: 10\n }, \n currpage: 1,\n total: 0,\n addDialogVisible: false,\n borrowDialogVisible: false,\n editDialogVisible: false,\n detailDialogVisible: false,\n addForm: {\n name: '',\n model: '',\n code: '',\n platform: '',\n brand: '',\n belong: '',\n classification: '',\n systemVersion: '',\n uuid: '',\n comments: '',\n picture: ''\n },\n detailForm: {},\n editForm: {},\n borrowForm: {\n borrower: '',\n borrowInstructions: ''\n },\n addFormRules: {\n belong: [\n { required: true, message: '请选择设备所属', trigger: 'blur' },\n ],\n classification: [\n { required: true, message: '请选择设备分类', trigger: 'blur' },\n ],\n brand: [\n { required: true, message: '请选择设备品牌', trigger: 'blur' },\n ],\n name: [\n { required: true, message: '请输入设备名称', trigger: 'blur' },\n { min: 1, max: 20, message: '长度在 1 到 20 个字符', trigger: 'blur' }\n ],\n model: [\n { required: true, message: '请输入设备型号', trigger: 'blur' },\n { min: 1, max: 20, message: '长度在 1 到 20 个字符', trigger: 'blur' }\n ],\n code: [\n { required: true, message: '请输入设备编号', trigger: 'blur' },\n { min: 1, max: 20, message: '长度在 1 到 20 个字符', trigger: 'blur' }\n ],\n platform: [\n { required: true, message: '请选择操作系统', trigger: 'blur'},\n ],\n systemVersion: [\n { required: true, message: '请输入系统版本', trigger: 'blur' },\n { min: 1, max: 20, message: '长度在 1 到 20 个字符', trigger: 'blur' }\n ],\n picture: [\n { required: false, message: '请上传设备图片',trigger: 'blur' }\n ],\n },\n borrowFormRules: {\n borrower: [\n { required: true, message: '请输入借用人', trigger: 'blur' },\n { min: 1, max: 20, message: '长度在 1 到 20 个字符', trigger: 'blur' }\n ],\n borrowInstructions: [\n { required: false, message: '请输入借用说明', trigger: 'blur' },\n { min: 0, max: 256, message: '长度在 0 到 256 个字符', trigger: 'blur' }\n ]\n }, \n }\n },\n\n mounted () {\n this.getPlatformOptions()\n this.getBrandOptions()\n this.getClassificationOptions()\n this.getBelongOptions()\n },\n\n created () {\n this.getDeviceList()\n },\n\n methods: {\n getPlatformOptions(){\n //获取操作系统列表数据\n this.$api.device.getPlatformOptions().then(res =>{\n this.platformOptions=res.data.data;\n })\n },\n getBrandOptions(){\n //获取设备品牌列表数据\n this.$api.device.getBrandOptions().then(res =>{\n this.brandOptions=res.data.data;\n })\n }, \n getClassificationOptions(){\n //获取设备分类列表数据\n this.$api.device.getClassificationOptions().then(res =>{\n this.classificationOptions=res.data.data;\n })\n },\n getBelongOptions(){\n //获取设备所属列表数据\n this.$api.device.getBelongOptions().then(res =>{\n this.belongOptions=res.data.data;\n })\n },\n handleSelectionChange(val) {\n this.multipleSelection = val;\n },\n statusFormat(row,column){\n // 设备状态转换\n if(row.isUsed ==0){\n return '未借出'\n }else{\n return '已借出'\n } \n },\n query(){\n //查询按钮 \n this.queryInfo.pageNum = 1\n this.total = 0\n this.getDeviceList() \n },\n getDeviceList() {\n // 获取设备列表\n this.$api.device.queryAllDevice(JSON.stringify(this.queryInfo)).then(res => {\n this.devicelist = res.data.data\n this.total = res.data.count\n this.clearOptions()\n //清空列表中选择的选项\n }).catch(() => {\n this.loading = false\n })\n },\n handleSizeChange (newSize) {\n this.queryInfo.pageSize = newSize\n this.getDeviceList()\n },\n handleCurrentChange (newpageNum) {\n this.queryInfo.pageNum = newpageNum\n this.getDeviceList()\n },\n addDevice(){\n this.$refs.addFormRef.validate(valid => {\n if (!valid) return\n var formData = new FormData()\n var files = this.fileList[0]\n var fileRealName = ''\n if (files != null) {\n var fileName = files.name\n var fileRealName = ''\n formData.append('file', files.raw)\n formData.append('filename', files.name) \n this.$api.comm.uploadImg(formData).then((res) => {\n if(res.data.code == 200){\n fileRealName = res.data.data.title\n //将返回的图片url传入后台,保存到数据库中\n this.addForm.picture = res.data.data.src\n }else{\n this.$notify({\n type: 'error',\n message: '上传失败'\n })\n }\n }).catch(()=>{})\n }\n setTimeout(() =>{\n this.$api.device.addDevice(JSON.stringify(this.addForm)).then(res => {\n this.$notify({\n message: res.data.msg,\n type: \"success\",\n });\n this.addDialogVisible = false\n this.getDeviceList()\n this.$refs.addFormRef.resetFields()\n this.fileList = []\n }).catch(()=>{\n })\n },1000); \n }) \n },\n borrowDevice(){\n // 借用设备\n this.$refs.borrowFormRef.validate(valid => {\n if (!valid) return\n var selectDatas = this.multipleSelection\n var borrowDataList = []\n selectDatas.forEach(item=>{\n var borrowData = {}\n borrowData.id = item.id\n borrowData.borrower = this.borrowForm.borrower\n borrowData.borrowInstructions = this.borrowForm.borrowInstructions\n borrowDataList.push(borrowData)\n })\n this.$api.device.borrowDevice(JSON.stringify(borrowDataList)).then(res=>{\n this.$notify({\n type: 'success',\n message: res.data.msg\n })\n this.borrowDialogVisible = false\n this.$refs.borrowFormRef.resetFields()\n this.getDeviceList()\n }).catch(()=>{})\n }) \n },\n showBorrowForm(){\n if(this.multipleSelection.length == 0){\n this.$notify({\n type: 'warning',\n message: '请勾选需要借用的设备'\n })\n }\n else{\n var selectDatas = this.multipleSelection\n var flag=false\n var isUsedList=[]\n selectDatas.forEach(element => { \n if(element.isUsed == 1){\n isUsedList.push(element.status)\n }\n }) \n if(isUsedList.length == 0){\n flag=true\n }\n if (flag){\n this.borrowDialogVisible=true\n }else{\n this.$confirm('已借出的不能再次借出', '提示', {\n confirmButtonText: '确定',\n cancelButtonText: '取消',\n type: 'warning'\n }).catch((err)=>{console.log(err)})\n }\n }\n },\n returnDevice(){\n // 归还设备\n if(this.multipleSelection.length == 0){\n this.$notify({\n type: 'warning',\n message: '请勾选需要归还的设备'\n })\n }else{\n var selectDatas = this.multipleSelection\n var flag=false\n var isUsedList=[]\n selectDatas.forEach(element => {\n if(element.isUsed == 0){\n isUsedList.push(element.status)\n }\n })\n if(isUsedList.length == 0 ){\n flag=true\n }\n if (flag){\n this.$confirm('归还设备前,请设备管理员确认设备完好,确定归还设备吗?', '提示', {\n confirmButtonText: '确定',\n cancelButtonText: '取消',\n type: 'warning'\n }).then(() => {\n this.$api.device.returnDevice(JSON.stringify(selectDatas)).then(res => {\n this.loading = false\n this.$notify({\n type: 'success',\n message: res.data.msg\n })\n this.getDeviceList()\n }).catch(() => {\n this.loading = false\n })\n }).catch(() => {\n this.loading = false\n })\n }else{\n this.$confirm('未借出的不能归还', '提示', {\n confirmButtonText: '确定',\n cancelButtonText: '取消',\n type: 'warning'\n })\n }\n }\n }, \n showEditDialog (id) {\n this.editDialogVisible = true\n this.$api.device.queryDeviceById(id).then(res => {\n this.loading = false\n this.editForm = res.data.data\n }).catch(() => {\n this.loading = false\n })\n },\n showDetailDialog (id) {\n this.detailDialogVisible = true\n this.cache\n this.$api.device.queryDeviceById(id).then(res => {\n this.loading = false\n this.detailForm = res.data.data\n }).catch(() => {\n this.loading = false\n })\n },\n addDialogClose () {\n this.$refs.addFormRef.resetFields()\n this.fileList = []\n },\n addDialogCancel () {\n this.$refs.addFormRef.resetFields()\n this.fileList = []\n this.addDialogVisible = false\n },\n borrowDialogClose () {\n this.$refs.borrowFormRef.resetFields()\n },\n editDialogClose () {\n this.fileList = []\n this.$refs.editFormRef.resetFields()\n },\n editDialogCancel () {\n this.$refs.editFormRef.resetFields()\n this.fileList = []\n this.editDialogVisible = false\n },\n editDevice () {\n // 编辑设备信息\n this.$refs.editFormRef.validate(valid => {\n if (!valid) return\n var formData = new FormData()\n var files = this.fileList[0]\n var fileRealName = ''\n if (files != null) {\n var fileName = files.name\n var fileRealName = ''\n formData.append('file', files.raw)\n formData.append('filename', files.name) \n this.$api.comm.uploadImg(formData).then((res) => {\n if(res.data.code == 200){\n fileRealName = res.data.data.title\n //将返回的图片url传入后台,保存到数据库中\n this.editForm.picture = res.data.data.src \n }else{\n this.$notify({\n type: 'error',\n message: '上传失败'\n })\n }\n }).catch(()=>{})\n } \n setTimeout(() =>{\n this.$api.device.updateDevice(JSON.stringify(this.editForm)).then(res => {\n this.$notify({\n message: res.data.msg,\n type: \"success\",\n });\n this.editDialogVisible = false\n this.getDeviceList()\n this.$refs.editForm.resetFields()\n }).catch(()=>{\n })\n },1000); \n }) \n },\n delDevice (id) {\n // 删除设备\n this.$confirm('确定删除该记录吗?', '提示', {\n confirmButtonText: '确定',\n cancelButtonText: '取消',\n type: 'warning'\n }).then(() => {\n this.$api.device.deleteDevice(id).then(res => {\n this.$notify({\n message: res.data.msg,\n type: \"success\",\n }); \n this.getDeviceList() \n }).catch(() => {\n this.loading = false\n })\n }).catch(() => {})\n }, \n getRowKeys(row){\n return row.id\n },\n clearOptions(rows) {\n // 清空下拉列表中的选择项\n if (rows) {\n rows.forEach(row => { this.$refs.multipleTable.toggleRowSelection(row) })\n }\n else {\n this.$refs.multipleTable.clearSelection();\n }\n },\n handleRemove(file, fileList) {\n this.fileList = []\n },\n handleChange(file, fileList) {\n this.fileList = fileList\n if(this.fileList.length > 1){\n this.fileList = []\n this.fileList.push(file)\n } \n if(this.fileList.length == 0){\n this.fileList = []\n this.fileList.push(file)\n } \n },\n batchExportDeviceList(){\n //批量导出设备列表数据\n if(this.multipleSelection.length == 0){\n this.$notify({\n type: 'warning',\n message: '请勾选需要导出的记录'\n })\n return\n }else{\n this.loading = true\n this.$api.device.batchExportDeviceListToExcel(JSON.stringify(this.multipleSelection)).then(res=>{\n this.loading = false\n this.$notify({\n type: 'success',\n message: res.data.msg\n })\n this.$common.downloadFiles(res.data.data.fileName)\n this.$api.comm.deleteFile(res.data.data.fileName)\n }).catch(()=>{})\n }\n },\n exportAllDeviceList(){\n //批量导出设备列表数据\n this.loading = true\n var exportWhenQueryINfo = this.queryInfo\n exportWhenQueryINfo.pageNum = 0\n this.$api.device.exportAllDeviceListToExcel(JSON.stringify(exportWhenQueryINfo)).then(res=>{\n this.loading = false\n if(res.data.code == 200){\n this.$notify({\n type: 'success',\n message: res.data.msg\n })\n this.$common.downloadFiles(res.data.data.fileName)\n this.$api.comm.deleteFile(res.data.data.fileName)\n }else{\n this.$notify({\n type: 'error',\n message: res.data.msg\n })\n } \n }).catch(()=>{})\n },\n }\n}\n</script>\n\n<style scoped lang=\"less\">\n.box {\n padding: 20px 25px;\n}\n.el-table {\n margin-top: 23px;\n margin-bottom: 20px; \n}\n.el-select {\n width: 100% !important;\n}\n</style>\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":""} |