management/front/dkha-web-sz-main/node_modules/.cache/babel-loader/b3de24550e38c41f28ff4e1c843...

1 line
27 KiB
JSON
Raw Normal View History

2023-12-18 13:12:25 +08:00
{"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\\dataAnalysis\\attendance.vue?vue&type=script&lang=js&","dependencies":[{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\src\\views\\modules\\dataAnalysis\\attendance.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":["import \"core-js/modules/es6.regexp.split\";\nimport \"core-js/modules/web.dom.iterable\";\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//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\nimport Cookies from 'js-cookie';\nimport qs from 'qs';\nimport { getDictDataList } from '@/utils';\nimport vView from \"./v-view\";\nimport { buildMerge } from \"../../../utils/mergeCell.js\";\nexport default {\n data: function data() {\n return {\n viewVisible: false,\n dataForm: {\n scWaid: '',\n startDate: \"\",\n endDate: \"\"\n },\n dataList: [],\n //教职工\n staffList: [],\n centerDialogVisible: false,\n form: {\n date: ''\n },\n ruleform: {\n date: {\n required: true,\n message: '请选择日期',\n trigger: 'change'\n }\n },\n loading: false,\n dateRange: []\n };\n },\n components: {\n vView: vView\n },\n computed: {\n schoolList: function schoolList() {\n return getDictDataList(\"school\");\n },\n toolComputed: function toolComputed() {\n return function (dateStr, row) {\n var str = \"\";\n row.forEach(function (item) {\n if (dateStr === item.stDate) {\n str = \"\".concat(item.stDate, \" \").concat(item.stNum, \"\\u6B21\");\n }\n });\n return str;\n };\n }\n },\n mounted: function mounted() {\n this.getStaffList();\n this.getDataList();\n var current = new Date();\n var dd = new Date(new Date().getTime() - 24 * 60 * 60 * 1000);\n var today = current.toLocaleString('chinese', {\n hour12: false\n }).split('/').join('-').substr(0, 10);\n var old7 = current.setDate(current.getDate() - 6);\n var time = new Date(parseInt(old7)).toLocaleDateString().replaceAll('/', '-');\n this.dataForm.startDate = time;\n this.dataForm.endDate = today;\n this.getBetweenDateStr(time, today);\n },\n methods: {\n getBetweenDateStr: function getBetweenDateStr(start, end) {\n var result = [];\n var beginDay = start.split(\"-\");\n var endDay = end.split(\"-\");\n var diffDay = new Date();\n var dateList = new Array();\n var i = 0;\n diffDay.setDate(beginDay[2]);\n diffDay.setMonth(beginDay[1] - 1);\n diffDay.setFullYear(beginDay[0]);\n result.push(start);\n\n while (i == 0) {\n var countDay = diffDay.getTime() + 24 * 60 * 60 * 1000;\n diffDay.setTime(countDay);\n dateList[2] = diffDay.getDate();\n dateList[1] = diffDay.getMonth() + 1;\n dateList[0] = diffDay.getFullYear();\n\n if (String(dateList[1]).length == 1)