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

1 line
6.4 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\\therma-imaging.vue?vue&type=script&lang=js&","dependencies":[{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\src\\views\\modules\\equipmentManage\\therma-imaging.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\nimport AddOrUpdate from './therma-imaging-add-or-update'\nimport mixinViewModule from '@/mixins/view-module'\nimport {\n\tgetDictDataList\n} from '@/utils'\nexport default {\n\tname: \"therma-imaging\",\n\tcomponents: {\n\t\tAddOrUpdate,\n\t},\n\tmixins: [mixinViewModule],\n\tdata() {\n\t\treturn {\n\t\t\tmixinViewModuleOptions: {\n\t\t\t\tgetDataListURL: '/system/scthermalimaging/page',\n\t\t\t\tgetDataListIsPage: true,\n\t\t\t\tdeleteURL: '/system/scthermalimaging',\n\t\t\t},\n\t\t\tequipStatusList: getDictDataList('equipment_status'),\n\t\t\t// dataForm: {\n\n\t\t\t// }\n\t\t}\n\t},\n\tmethods: {}\n}\n",{"version":3,"sources":["therma-imaging.vue"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA","file":"therma-imaging.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>\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 label=\"检测位置\" prop=\"tfDevicename\">\n\t\t\t\t<el-input v-model=\"dataForm.tfDevicename\" placeholder=\"请输入\" clearable></el-input>\n\t\t\t</el-form-item>\n\t\t\t<el-form-item label=\"设备状态\" prop=\"tfStatus\">\n\t\t\t\t<el-select v-model=\"dataForm.tfStatus\" placeholder=\"请选择\" clearable>\n\t\t\t\t\t<el-option v-for=\"item in equipStatusList\" :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()\">查询</el-button>\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</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=\"tfDevicename\" label=\"检测位置\" header-align=\"center\" align=\"center\"></el-table-column>\n\t\t\t<el-table-column prop=\"tfDevicesn\" label=\"设备序列号\" header-align=\"center\" align=\"center\"></el-table-column>\n\t\t\t<el-table-column prop=\"tfIpgateway\" label=\"IP地址\" header-align=\"center\" align=\"center\"></el-table-column>\n\t\t\t<el-table-column label=\"设备状态\" header-align=\"center\" align=\"center\">\n\t\t\t\t<template slot-scope=\"scope\">\n\t\t\t\t\t<span v-if=\"scope.row.tfStatus==0\" style=\"color:#67C23A;\"> {{ $getDictLabel(\"equipment_status\", scope.row.tfStatus) }}</span>\n\t\t\t\t\t<span v-else style=\"color:#f56c6c;\"> {{ $getDictLabel(\"equipment_status\", scope.row.tfStatus) }}</span>\n\t\t\t\t</template>\n\t\t\t</el-table-column>\n\t\t\t<el-table-column prop=\"tfSetupaddr\" label=\"安装位置\" header-align=\"center\" align=\"center\"></el-table-column>\n\t\t\t<el-table-column prop=\"tfSetupdate\" label=\"安装时间\" header-align=\"center\" align=\"center\"></el-table-column>\n\t\t\t<el-table-column :label=\"$t('handle')\" fixed=\"right\" header-align=\"center\" align=\"center\">\n\t\t\t\t<template slot-scope=\"scope\">\n\t\t\t\t\t<el-button type=\"text\" @click=\"addOrUpdateHandle(scope.row.tfId)\">{{ $t('update') }}</el-button>\n\t\t\t\t\t<el-button type=\"text\" @click=\"deleteHandle(scope.row.tfId)\">{{ $t('delete') }}</el-button>\n\t\t\t\t</template>\n\t\t\t</el-table-column>\n\t\t</el-table>\n\t\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\t @size-change=\"pageSizeChangeHandle\" @current-change=\"pageCurrentChangeHandle\">\n\t\t</el-pagination>\n\t\t<!-- 弹窗, 新增 / 修改 -->\n\t\t<add-or-update v-if=\"addOrUpdateVisible\" ref=\"addOrUpdate\" @refreshDataList=\"getDataList\"></add-or-update>\n\t</el-card>\n</template>\n\n<script>\n\timport AddOrUpdate from './therma-imaging-add-or-update'\n\timport mixinViewModule from '@/mixins/view-module'\n\timport {\n\t\tgetDictDataList\n\t} from '@/utils'\n\texport default {\n\t\tname: \"therma-imaging\",\n\t\tcomponents: {\n\t\t\tAddOrUpdate,\n\t\t},\n\t\tmixins: [mixinViewModule],\n\t\tdata() {\n\t\t\treturn {\n\t\t\t\tmixinViewModuleOptions: {\n\t\t\t\t\tgetDataListURL: '/system/scthermalimaging/page',\n\t\t\t\t\tgetDataListIsPage: true,\n\t\t\t\t\tdeleteURL: '/system/scthermalimaging',\n\t\t\t\t},\n\t\t\t\tequipStatusList: getDictDataList('equipment_status'),\n\t\t\t\t// dataForm: {\n\n\t\t\t\t// }\n\t\t\t}\n\t\t},\n\t\tmethods: {}\n\t}\n</script>\n<style scoped lang=\"scss\">\n\t.el-table {\n\t\t.el-button--text {\n\t\t\tpadding: 8px 0;\n\n\t\t\t&.hide-text {\n\t\t\t\tmax-width: 120px;\n\t\t\t\ttext-overflow: ellipsis;\n\t\t\t\toverflow: hidden;\n\t\t\t\twhite-space: nowrap;\n\t\t\t\tword-break: break-all;\n\t\t\t}\n\t\t}\n\t}\n</style>\n"]}]}