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

1 line
5.6 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\\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//\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:{ 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",{"version":3,"sources":["area.vue"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA8CA;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":"area.vue","sourceRoot":"src/views/modules/sys","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"]}]}