forked from zhurui/management
1 line
12 KiB
JSON
1 line
12 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\\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//\nimport mixinViewModule from '@/mixins/view-module';\nimport ECharts from 'vue-echarts';\nimport 'echarts/lib/chart/bar';\nexport default {\n name: \"people\",\n mixins: [mixinViewModule],\n components: {\n 'v-chart': ECharts\n },\n data: function data() {\n return {\n mixinViewModuleOptions: {\n getDataListURL: '/system/accessrecords/page',\n getDataListIsPage: true\n },\n dataForm: {\n studentNum: \"\",\n name: \"\",\n status: \"\"\n },\n limit: 5,\n outTotal: 0,\n barOptions: {\n color: ['#FACD91', '#95F204'],\n grid: {\n top: 0,\n left: '3%',\n right: '4%',\n bottom: 20,\n containLabel: true\n },\n xAxis: {\n type: \"value\",\n boundaryGap: [0, 0.01],\n axisLabel: {\n show: false\n },\n axisLine: {\n show: false\n },\n splitLine: {\n show: false\n }\n },\n yAxis: {\n type: \"category\",\n data: ['已归', '外出'],\n axisLabel: {\n color: \"#fff\"\n },\n axisLine: {\n show: false\n }\n },\n series: [{\n name: \"统计\",\n type: \"bar\",\n barWidth: 30,\n label: {\n show: true,\n formatter: '{c}'\n },\n data: [{\n name: \"已归\",\n value: 0,\n itemStyle: {\n color: \"#67C23A\"\n }\n }, {\n name: \"外出\",\n value: 0,\n itemStyle: {\n color: \"#F56C6C\"\n }\n }]\n }]\n }\n };\n },\n computed: {\n previewList: function previewList() {\n var _this = this;\n\n return this.dataList.map(function (item) {\n return _this.$ImgServerUrl + item.imgUrl;\n });\n }\n },\n created: function created() {\n var _this2 = this;\n\n this.$http.get(\"/system/scdormitoryperson/getOutNum\").then(function (_ref) {\n var res = _ref.data;\n\n if (res.code !== 0) {\n return _this2.$message.error(res.msg);\n }\n\n _this2.barOptions.series[0].data[0].value = res.data.backNum;\n _this2.barOptions.series[0].data[1].value = res.data.outNum;\n });\n },\n methods: {}\n};",{"version":3,"sources":["people.vue"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA+DA,OAAA,eAAA,MAAA,sBAAA;AACA,OAAA,OAAA,MAAA,aAAA;AACA,OAAA,uBAAA;AACA,eAAA;AACA,EAAA,IAAA,EAAA,QADA;AAEA,EAAA,MAAA
|