forked from zhurui/management
1 line
7.3 KiB
JSON
1 line
7.3 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\\import.vue?vue&type=script&lang=js&","dependencies":[{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\src\\views\\modules\\equipmentManage\\import.vue","mtime":1614735254000},{"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\\babel-loader\\lib\\index.js","mtime":499162500000},{"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\nimport AddOrUpdate from './import-add-or-update'\nimport mixinViewModule from '@/mixins/view-module'\nimport upload from '@/components/public/upload-excel-or-img'\nimport {\n\tgetDictDataList\n} from '@/utils'\nexport default {\n\tname: \"electric\",\n\tcomponents: {\n\t\tAddOrUpdate,\n\t\tupload\n\t},\n\tmixins: [mixinViewModule],\n\tdata() {\n\t\treturn {\n\t\t\tmixinViewModuleOptions: {\n\t\t\t\tgetDataListURL: '/system/scimportantdevice/page',\n\t\t\t\tgetDataListIsPage: true,\n\t\t\t\tdeleteURL: '/system/scimportantdevice',\n\t\t\t},\n\t\t\tdataForm: {\n\t\t\t\timDevicename: \"\",\n\t\t\t\timDevicetype: \"\",\n\t\t\t}\n\t\t}\n\t},\n\tcomputed: {\n\t\ttfStatusList() {\n\t\t\treturn getDictDataList(\"equipment_status\")\n\t\t}\n\t},\n\tmethods: {\n\t\timportHandle() {\n\t\t\tthis.$refs['studentUploadExcel'].init()\n\t\t},\n\t}\n}\n",{"version":3,"sources":["import.vue"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAyDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","file":"import.vue","sourceRoot":"src/views/modules/equipmentManage","sourcesContent":["<template>\n\t<el-card shadow=\"never\" class=\"aui-card--fill\">\n\t\t<el-form :inline=\"true\" :model=\"dataForm\" @keyup.enter.native=\"getDataList()\" ref=\"ruleForm\">\n\t\t\t<el-form-item label=\"设备名称\" prop=\"imDevicename\">\n\t\t\t\t<el-input v-model=\"dataForm.imDevicename\" placeholder=\"请输入\" clearable></el-input>\n\t\t\t</el-form-item>\n\t\t\t<el-form-item label=\"设备状态\" prop=\"imStatus\">\n\t\t\t\t<el-select v-model=\"dataForm.imStatus\" placeholder=\"请选择\" clearable>\n\t\t\t\t\t<el-option v-for=\"item in tfStatusList\" :key=\"item.dictValue\" :label=\"item.dictLabel\" :value=\"item.dictValue\">\n\t\t\t\t\t</el-option>\n\t\t\t\t</el-select>\n\t\t\t</el-form-item>\n\t\t\t<el-form-item>\n\t\t\t\t<el-button @click=\"getDataList()\">{{ $t('query') }}</el-button>\n\t\t\t</el-form-item>\n\t\t\t<el-form-item>\n\t\t\t\t<el-button type=\"warning\" @click=\"resetForm('ruleForm')\">重置</el-button>\n\t\t\t</el-form-item>\n\t\t\t<el-form-item>\n\t\t\t\t<el-button type=\"primary\" @click=\"addOrUpdateHandle()\">{{ $t('add') }}</el-button>\n\t\t\t</el-form-item>\n\t\t\t<el-form-item>\n\t\t\t\t<el-button type=\"success\" @click=\"importHandle()\">导入</el-button>\n\t\t\t</el-form-item>\n\t\t</el-form>\n\t\t<el-table v-loading=\"dataListLoading\" :data=\"dataList\" style=\"width: 100%;\">\n\t\t\t<el-table-column type=\"index\" label=\"序号\" width=\"100\" align=\"center\"></el-table-column>\n\t\t\t<el-table-column prop=\"imDevicename\" label=\"设备名称\" header-align=\"center\" align=\"center\"></el-table-column>\n\t\t\t<el-table-column prop=\"imDevicesn\" label=\"设备序列号\" header-al
|