forked from zhurui/management
1 line
6.4 KiB
JSON
1 line
6.4 KiB
JSON
{"remainingRequest":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\babel-loader\\lib\\index.js!C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\cache-loader\\dist\\cjs.js??ref--0-0!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\\sys\\area.vue?vue&type=script&lang=js&","dependencies":[{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\src\\views\\modules\\sys\\area.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//\nimport mixinViewModule from '@/mixins/view-module';\nimport { treeDataTranslate, getDictLabel } from '@/utils';\nimport addOrUpdate from \"./area-add-or-update\";\nexport default {\n mixins: [mixinViewModule],\n components: {\n addOrUpdate: addOrUpdate\n },\n data: function data() {\n return {\n dataForm: {\n rcName: ''\n },\n mixinViewModuleOptions: {\n getDataListURL: '/system/scregionconfig/page',\n deleteURL: '/system/scregionconfig',\n getDataListIsPage: true\n }\n };\n },\n methods: {\n search: function search() {\n this.page = 1;\n this.query();\n },\n // 编辑\n editHandle: function editHandle(row) {\n this.$refs['addOrUpdate'].init(row.rcId);\n },\n addHandle: function addHandle() {\n this.$refs['addOrUpdate'].init();\n },\n formatterType: function formatterType(row) {\n return getDictLabel('areaType', row.rcType);\n }\n }\n};",{"version":3,"sources":["area.vue"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA8CA,OAAA,eAAA,MAAA,sBAAA;AACA,SAAA,iBAAA,EAAA,YAAA,QAAA,SAAA;AACA,OAAA,WAAA;AACA,eAAA;AACA,EAAA,MAAA,EAAA,CAAA,eAAA,CADA;AAEA,EAAA,UAAA,EAAA;AAAA,IAAA,WAAA,EAAA;AAAA,GAFA;AAGA,EAAA,IAHA,kBAGA;AACA,WAAA;AACA,MAAA,QAAA,EAAA;AACA,QAAA,MAAA,EAAA;AADA,OADA;AAIA,MAAA,sBAAA,EAAA;AACA,QAAA,cAAA,EAAA,6BADA;AAEA,QAAA,SAAA,EAAA,wBAFA;AAGA,QAAA,iBAAA,EAAA;AAHA;AAJA,KAAA;AAUA,GAdA;AAeA,EAAA,OAAA,EAAA;AACA,IAAA,MADA,oBACA;AACA,WAAA,IAAA,GAAA,CAAA;AACA,WAAA,KAAA;AACA,KAJA;AAKA;AACA,IAAA,UANA,sBAMA,GANA,EAMA;AACA,WAAA,KAAA,CAAA,aAAA,EAAA,IAAA,CAAA,GAAA,CAAA,IAAA;AACA,KARA;AASA,IAAA,SATA,uBASA;AACA,WAAA,KAAA,CAAA,aAAA,EAAA,IAAA;AACA,KAXA;AAYA,IAAA,aAZA,yBAYA,GAZA,EAYA;AACA,aAAA,YAAA,CAAA,UAAA,EAAA,GAAA,CAAA,MAAA,CAAA;AACA;AAdA;AAfA,CAAA","sourcesContent":["<template>\n <el-card shadow=\"never\" class=\"aui-card--fill building-list\">\n <el-form ref=\"ruleForm\" :model=\"dataForm\" label-width=\"80px\" inline>\n <el-form-item label=\"区域名称\" prop=\"rcName\">\n <el-input v-model=\"dataForm.rcName\"></el-input>\n </el-form-item>\n <el-form-item>\n <el-button @click=\"search\">查询</el-button>\n <el-button type=\"warning\" @click=\"resetForm('ruleForm')\">重置</el-button>\n <el-button type=\"primary\" @click=\"addHandle()\">新增</el-button>\n </el-form-item>\n </el-form>\n \n <el-table :data=\"dataList\">\n <el-table-column type=\"index\" label=\"序号\" width=\"80\" align=\"center\"></el-table-column>\n <el-table-column prop=\"rcName\" label=\"区域名称\" show-overflow-tooltip ></el-table-column>\n <el-table-column prop=\"rcNo\" label=\"区域编号\" show-overflow-tooltip></el-table-column>\n <el-table-column prop=\"rcAddress\" label=\"区域位置\" show-overflow-tooltip></el-table-column>\n <el-table-column prop=\"rcFloorName\" label=\"楼栋/楼层\" show-overflow-tooltip ></el-table-column>\n <el-table-column prop=\"rcFenceName\" label=\"区域围栏名称\" show-overflow-tooltip></el-table-column>\n <el-table-column prop=\"rcFenceId\" label=\"区域围栏编号\" show-overflow-tooltip></el-table-column>\n <el-table-column prop=\"rcType\" label=\"类别\" show-overflow-tooltip :formatter=\"formatterType\"></el-table-column>\n <el-table-column label=\"操作\" show-overflow-tooltip>\n <template slot-scope=\"scope\">\n <div>\n <el-button type=\"text\" @click=\"editHandle(scope.row)\">修改</el-button>\n <el-button type=\"text\" @click=\"deleteHandle(scope.row.rcId)\">删除</el-button>\n </div>\n </template>\n </el-table-column>\n </el-table>\n <el-pagination\n :current-page=\"page\"\n :page-sizes=\"[10, 20, 50, 100]\"\n :page-size=\"limit\"\n :total=\"total\"\n layout=\"total, sizes, prev, pager, next, jumper\"\n @size-change=\"pageSizeChangeHandle\"\n @current-change=\"pageCurrentChangeHandle\">\n </el-pagination>\n <!-- 新增 编辑 -->\n <add-or-update ref=\"addOrUpdate\"></add-or-update>\n </el-card>\n</template>\n\n<script>\nimport mixinViewModule from '@/mixins/view-module'\nimport { treeDataTranslate ,getDictLabel} from '@/utils'\nimport addOrUpdate from './area-add-or-update'\nexport default {\n mixins: [mixinViewModule],\n components:{ addOrUpdate },\n data(){\n return{\n dataForm:{\n rcName:'',\n },\n mixinViewModuleOptions: {\n getDataListURL: '/system/scregionconfig/page',\n deleteURL: '/system/scregionconfig',\n getDataListIsPage:true\n },\n }\n },\n methods:{\n search(){\n this.page=1;\n this.query();\n },\n // 编辑\n editHandle(row){\n this.$refs['addOrUpdate'].init(row.rcId)\n },\n addHandle(){\n this.$refs['addOrUpdate'].init()\n },\n formatterType(row){\n return getDictLabel('areaType',row.rcType)\n }\n }\n}\n</script>\n<style lang=\"scss\" scoped>\n.el-row {\n margin-bottom: 20px;\n}\n</style>\n"],"sourceRoot":"src/views/modules/sys"}]} |