forked from zhurui/management
1 line
10 KiB
JSON
1 line
10 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\\statistics\\people.vue?vue&type=script&lang=js&","dependencies":[{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\src\\views\\modules\\statistics\\people.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//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\nimport mixinViewModule from '@/mixins/view-module'\nimport ECharts from 'vue-echarts'\nimport 'echarts/lib/chart/bar'\nexport default {\n\tname: \"people\",\n\tmixins: [mixinViewModule],\n\tcomponents:{\n\t\t'v-chart':ECharts\n\t},\n\tdata() {\n\t\treturn {\n\t\t\tmixinViewModuleOptions: {\n\t\t\t\tgetDataListURL: '/system/accessrecords/page',\n\t\t\t\tgetDataListIsPage: true,\n\t\t\t},\n\t\t\tdataForm: {\n\t\t\t\tstudentNum: \"\",\n\t\t\t\tname: \"\",\n\t\t\t\tstatus:\"\"\n\t\t\t},\n\t\t\tlimit:5,\n\t\t\toutTotal: 0,\n\t\t\tbarOptions:{\n\t\t\t\tcolor:['#FACD91','#95F204'],\n\t\t\t\tgrid: {\n\t\t\t\t\ttop: 0,\n\t\t\t\t\tleft: '3%',\n\t\t\t\t\tright: '4%',\n\t\t\t\t\tbottom: 20,\n\t\t\t\t\tcontainLabel: true\n\t\t\t\t},\n\t\t\t\txAxis:{\n\t\t\t\t\ttype:\"value\",\n\t\t\t\t\tboundaryGap:[0,0.01],\n\t\t\t\t\taxisLabel:{\n\t\t\t\t\t\tshow:false,\n\t\t\t\t\t},\n\t\t\t\t\taxisLine:{\n\t\t\t\t\t\tshow:false\n\t\t\t\t\t},\n\t\t\t\t\tsplitLine:{\n\t\t\t\t\t\tshow:false\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\tyAxis:{\n\t\t\t\t\ttype:\"category\",\n\t\t\t\t\tdata:['已归','外出'],\n\t\t\t\t\taxisLabel:{\n\t\t\t\t\t\tcolor:\"#fff\"\n\t\t\t\t\t},\n\t\t\t\t\taxisLine:{\n\t\t\t\t\t\tshow:false\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\tseries:[\n\t\t\t\t\t{\n\t\t\t\t\t\tname:\"统计\",\n\t\t\t\t\t\ttype:\"bar\",\n\t\t\t\t\t\tbarWidth:30,\n\t\t\t\t\t\tlabel:{\n\t\t\t\t\t\t\tshow:true,\n\t\t\t\t\t\t\tformatter:'{c}'\n\t\t\t\t\t\t},\n\t\t\t\t\t\tdata:[\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tname:\"已归\",\n\t\t\t\t\t\t\t\tvalue:0,\n\t\t\t\t\t\t\t\titemStyle:{\n\t\t\t\t\t\t\t\t\tcolor:\"#67C23A\"\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tname:\"外出\",\n\t\t\t\t\t\t\t\tvalue:0,\n\t\t\t\t\t\t\t\titemStyle:{\n\t\t\t\t\t\t\t\t\tcolor:\"#F56C6C\"\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t]\n\t\t\t\t\t}\n\t\t\t\t]\n\t\t\t}\n\t\t}\n\t},\n\tcomputed:{\n\t\tpreviewList(){\n\t\t\treturn this.dataList.map(item=>{\n\t\t\t\treturn this.$ImgServerUrl+item.imgUrl\n\t\t\t})\n\t\t},\n\t},\n\tcreated() {\n\t\tthis.$http.get(\"/system/scdormitoryperson/getOutNum\").then(({\n\t\t\tdata: res\n\t\t}) => {\n\t\t\tif (res.code !== 0) {\n\t\t\t\treturn this.$message.error(res.msg)\n\t\t\t}\n\t\t\tthis.barOptions.series[0].data[0].value=res.data.backNum\n\t\t\tthis.barOptions.series[0].data[1].value=res.data.outNum\n\t\t})\n\t},\n\tmethods: {\n\t\n\t}\n}\n",{"version":3,"sources":["people.vue"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA+DA;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;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;AACA;AA
|