forked from zhurui/management
1 line
6.0 KiB
JSON
1 line
6.0 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\\warningData\\uwb.vue?vue&type=script&lang=js&","dependencies":[{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\src\\views\\modules\\warningData\\uwb.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\nimport mixinViewModule from '@/mixins/view-module'\n export default {\n mixins: [mixinViewModule],\n data(){\n return{\n mixinViewModuleOptions: {\n getDataListURL: 'system/scuwbalarm/page',\n getDataListIsPage: true,\n },\n dateTime:null,\n dataForm:{\n startDate:'',\n endDate:'',\n // ubaAddress:'',\n },\n }\n },\n watch:{\n dateTime(val) {\n\t\t\t\tif(val){\n\t\t\t\t\tthis.dataForm.startDate = val[0];\n\t\t\t\t\tthis.dataForm.endDate = val[1];\n\t\t\t\t}else{\n\t\t\t\t\tthis.dataForm.startDate = \"\";\n\t\t\t\t\tthis.dataForm.endDate = \"\";\n\t\t\t\t} \n\t\t\t},\n },\n methods:{\n clickReset(){\n this.dateTime=null\n this.dataForm.startDate = \"\";\n\t\t\t\tthis.dataForm.endDate = \"\";\n // this.dataForm.ubaAddress=\"\";\n this.getDataList()\n }\n }\n\n }\n",{"version":3,"sources":["uwb.vue"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgDA;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;;AAEA","file":"uwb.vue","sourceRoot":"src/views/modules/warningData","sourcesContent":["<template>\n <el-card shadow=\"never\" class=\"aui-card--fill\">\n <el-form :model=\"dataForm\" :inline=\"true\">\n <el-form-item label=\"报警时间\">\n <el-date-picker\n v-model=\"dateTime\"\n type=\"daterange\"\n value-format=\"yyyy-MM-dd\"\n range-separator=\"至\"\n start-placeholder=\"开始日期\"\n end-placeholder=\"结束日期\">\n </el-date-picker>\n </el-form-item>\n <!-- <el-form-item label=\"采集地址\">\n <el-input v-model=\"dataForm.ubaAddress\" clearable></el-input>\n </el-form-item> -->\n <el-form-item>\n <el-button @click=\"getDataList\">查询</el-button>\n <el-button type=\"warning\" @click=\"clickReset\">重置</el-button>\n </el-form-item>\n </el-form>\n <el-table v-loading=\"dataListLoading\" :data=\"dataList\" style=\"width: 100%\">\n <el-table-column type=\"index\" label=\"序号\" align=\"center\"></el-table-column>\n <el-table-column prop=\"uwbname\" label=\"名称\" align=\"center\"></el-table-column>\n <el-table-column prop=\"ubaAlarmtype\" label=\"类型\" align=\"center\">\n <template slot-scope=\"scope\">\n <span v-if=\"scope.row.ubaAlarmtype == '0'\">重控设施越界报警</span>\n <span v-else-if=\"scope.row.ubaAlarmtype == '1'\">访客越界报警</span>\n <span v-else>保密区域入界报警</span>\n </template>\n </el-table-column>\n <el-table-column prop=\"ubaAddress\" label=\"区域名称\" align=\"center\"></el-table-column>\n <el-table-column prop=\"ubaAlarmtime\" label=\"报警时间\" align=\"center\"></el-table-column>\n </el-table>\n <el-pagination\n @size-change=\"pageSizeChangeHandle\"\n @current-change=\"pageCurrentChangeHandle\"\n :current-page=\"page\"\n :page-sizes=\"[10, 20, 30, 40]\"\n :page-size=\"limit\"\n layout=\"total, sizes, prev, pager, next, jumper\"\n :total=\"total\">\n </el-pagination>\n\n </el-card>\n</template>\n\n<script>\nimport mixinViewModule from '@/mixins/view-module'\n export default {\n mixins: [mixinViewModule],\n data(){\n return{\n mixinViewModuleOptions: {\n getDataListURL: 'system/scuwbalarm/page',\n getDataListIsPage: true,\n },\n dateTime:null,\n dataForm:{\n startDate:'',\n endDate:'',\n // ubaAddress:'',\n },\n }\n },\n watch:{\n dateTime(val) {\n\t\t\t\tif(val){\n\t\t\t\t\tthis.dataForm.startDate = val[0];\n\t\t\t\t\tthis.dataForm.endDate = val[1];\n\t\t\t\t}else{\n\t\t\t\t\tthis.dataForm.startDate = \"\";\n\t\t\t\t\tthis.dataForm.endDate = \"\";\n\t\t\t\t} \n\t\t\t},\n },\n methods:{\n clickReset(){\n this.dateTime=null\n this.dataForm.startDate = \"\";\n\t\t\t\tthis.dataForm.endDate = \"\";\n // this.dataForm.ubaAddress=\"\";\n this.getDataList()\n }\n }\n\n }\n</script>\n\n<style lang=\"scss\" scoped>\n\n</style>"]}]} |