forked from zhurui/management
1 line
4.5 KiB
JSON
1 line
4.5 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=template&id=2ddfd77a&scoped=true&","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\\vue-loader\\lib\\loaders\\templateLoader.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<el-card shadow=\"never\" class=\"aui-card--fill\">\n\t<el-form :inline=\"true\" :model=\"dataForm\" @keyup.enter.native=\"getDataList()\" ref=\"ruleForm\">\n\t\t<el-form-item label=\"设备名称\" prop=\"imDevicename\">\n\t\t\t<el-input v-model=\"dataForm.imDevicename\" placeholder=\"请输入\" clearable></el-input>\n\t\t</el-form-item>\n\t\t<el-form-item label=\"设备状态\" prop=\"imStatus\">\n\t\t\t<el-select v-model=\"dataForm.imStatus\" placeholder=\"请选择\" clearable>\n\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</el-option>\n\t\t\t</el-select>\n\t\t</el-form-item>\n\t\t<el-form-item>\n\t\t\t<el-button @click=\"getDataList()\">{{ $t('query') }}</el-button>\n\t\t</el-form-item>\n\t\t<el-form-item>\n\t\t\t<el-button type=\"warning\" @click=\"resetForm('ruleForm')\">重置</el-button>\n\t\t</el-form-item>\n\t\t<el-form-item>\n\t\t\t<el-button type=\"primary\" @click=\"addOrUpdateHandle()\">{{ $t('add') }}</el-button>\n\t\t</el-form-item>\n\t\t<el-form-item>\n\t\t\t<el-button type=\"success\" @click=\"importHandle()\">导入</el-button>\n\t\t</el-form-item>\n\t</el-form>\n\t<el-table v-loading=\"dataListLoading\" :data=\"dataList\" style=\"width: 100%;\">\n\t\t<el-table-column type=\"index\" label=\"序号\" width=\"100\" align=\"center\"></el-table-column>\n\t\t<el-table-column prop=\"imDevicename\" label=\"设备名称\" header-align=\"center\" align=\"center\"></el-table-column>\n\t\t<el-table-column prop=\"imDevicesn\" label=\"设备序列号\" header-align=\"center\" align=\"center\"></el-table-column>\n\t\t<el-table-column prop=\"uwb\" label=\"UWB标签\" header-align=\"center\" align=\"center\"></el-table-column>\n\t\t<el-table-column label=\"设备状态\" header-align=\"center\" align=\"center\">\n\t\t\t<template slot-scope=\"scope\">\n\t\t\t\t<span v-if=\"scope.row.imStatus==0\" style=\"color:#67C23A;\"> {{ $getDictLabel(\"equipment_status\", scope.row.imStatus) }}</span>\n\t\t\t\t<span v-else style=\"color:#f56c6c;\"> {{ $getDictLabel(\"equipment_status\", scope.row.imStatus) }}</span>\n\t\t\t</template>\n\t\t</el-table-column>\n\t\t<el-table-column prop=\"imSetupaddr\" label=\"安装位置\" header-align=\"center\" align=\"center\"></el-table-column>\n\t\t<el-table-column prop=\"imSetupdate\" label=\"安装时间\" header-align=\"center\" align=\"center\"></el-table-column>\n\t\t<el-table-column prop=\"imExpirydate\" label=\"有效期\" header-align=\"center\" align=\"center\"></el-table-column>\n\t\t<el-table-column :label=\"$t('handle')\" fixed=\"right\" header-align=\"center\" align=\"center\">\n\t\t\t<template slot-scope=\"scope\">\n\t\t\t\t<el-button type=\"text\" @click=\"addOrUpdateHandle(scope.row.imId)\">{{ $t('update') }}</el-button>\n\t\t\t\t<el-button type=\"text\" @click=\"deleteHandle(scope.row.imId)\">{{ $t('delete') }}</el-button>\n\t\t\t</template>\n\t\t</el-table-column>\n\t</el-table>\n\t<el-pagination :current-page=\"page\" :page-sizes=\"[10, 20, 50, 100]\" :page-size=\"limit\" :total=\"total\" layout=\"total, sizes, prev, pager, next, jumper\"\n\t @size-change=\"pageSizeChangeHandle\" @current-change=\"pageCurrentChangeHandle\">\n\t</el-pagination>\n\t<!-- 弹窗, 新增 / 修改 -->\n\t<add-or-update v-if=\"addOrUpdateVisible\" ref=\"addOrUpdate\" @refreshDataList=\"getDataList\"></add-or-update>\n\t<!-- 批量上传信息 -->\n\t<upload ref=\"studentUploadExcel\" template-url=\"./template/equipment/重控设施设备表导入模板.xls\" upload-url=\"/system/scimportantdevice/importExcel\"></upload>\n</el-card>\n",null]} |