1
0
Fork 0
management/front/dkha-web-sz-main/node_modules/.cache/vue-loader/da2315fdddd1fd4f833cf8a2fed...

1 line
22 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\\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":["//\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 {\n\t\tbuildMerge\n\t} from \"../../../utils/mergeCell.js\"\n export default {\n 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:{required: true, message: '请选择日期', trigger: 'change'}\n },\n loading: false,\n dateRange:[]\n }\n },\n components: {\n\t\t\tvView\n\t\t},\n computed: {\n\t\t\tschoolList() {\n\t\t\t\treturn getDictDataList(\"school\")\n },\n toolComputed() {\n\t\t\t\treturn function(dateStr, row) {\n\t\t\t\t\tlet str = \"\"\n\t\t\t\t\trow.forEach(item => {\n\t\t\t\t\t\tif (dateStr === item.stDate) {\n\t\t\t\t\t\t\tstr = `${item.stDate} ${item.stNum}次`\n\t\t\t\t\t\t}\n })\n\t\t\t\t\treturn str\n\t\t\t\t}\n },\n \n },\n mounted(){\n this.getStaffList()\n this.getDataList()\n\n let current=new Date()\n let dd=new Date((new Date).getTime() - 24 * 60 * 60 * 1000)\n let today=current.toLocaleString('chinese', { hour12: false }).split('/').join('-').substr(0,10)\n let old7=current.setDate(current.getDate()-6)\n let 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(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 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