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

1 line
7.1 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\\applicationPart1\\attendanceRecords\\attendancerecords.vue?vue&type=style&index=0&lang=css&","dependencies":[{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\src\\views\\modules\\applicationPart1\\attendanceRecords\\attendancerecords.vue","mtime":1620715550643},{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\css-loader\\index.js","mtime":499162500000},{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\vue-loader\\lib\\loaders\\stylePostLoader.js","mtime":499162500000},{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\postcss-loader\\src\\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.el-table .warning-row {\n background: oldlace;\n}\n\n.el-table .success-row {\n background: #f0f9eb;\n}\n",{"version":3,"sources":["attendancerecords.vue"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAqEA;AACA;AACA;;AAEA;AACA;AACA","file":"attendancerecords.vue","sourceRoot":"src/views/modules/applicationPart1/attendanceRecords","sourcesContent":["<template>\n <el-card shadow=\"never\" class=\"aui-card--fill\">\n <div class=\"mod-attendanceRecords__attendancerecords}\">\n <el-form :inline=\"true\" :model=\"dataForm\" @keyup.enter.native=\"getDataList()\">\n <el-form-item>\n <el-input v-model=\"dataForm.id\" placeholder=\"id\" clearable></el-input>\n </el-form-item>\n <el-form-item>\n <el-button @click=\"getDataList()\">{{ $t('query') }}</el-button>\n </el-form-item>\n <el-form-item>\n <el-button type=\"primary\" @click=\"addOrUpdateHandleWapper()\">{{ $t('add') }}</el-button>\n </el-form-item>\n <el-form-item>\n <el-button type=\"danger\" @click=\"deleteHandleWapper()\">{{ $t('deleteBatch') }}</el-button>\n </el-form-item>\n </el-form>\n <el-table v-loading=\"dataListLoading\" :data=\"dataList\" border @selection-change=\"dataListSelectionChangeHandle\"\n style=\"width: 100%;\"\n :row-class-name=\"tableRowClassName\">\n <el-table-column type=\"selection\" header-align=\"center\" align=\"center\" width=\"50\"></el-table-column>\n <!-- <el-table-column prop=\"id\" label=\"打卡ID\" header-align=\"center\" align=\"center\"></el-table-column>-->\n <el-table-column prop=\"clockedConfigurationId\" label=\"考勤配置表ID\" header-align=\"center\"\n align=\"center\"></el-table-column>\n <el-table-column prop=\"actualClockedTime\" label=\"打卡时间\" header-align=\"center\" align=\"center\"></el-table-column>\n <el-table-column prop=\"clockedType\" label=\"打卡类型\n \" header-align=\"center\" align=\"center\"></el-table-column>\n <el-table-column prop=\"requiredClockedStartTime\" label=\"此次打卡要求的开始时间\" header-align=\"center\"\n align=\"center\"></el-table-column>\n <el-table-column prop=\"requiredClockedEndTime\" label=\"此次打卡要求的结束时间\" header-align=\"center\"\n align=\"center\"></el-table-column>\n <el-table-column prop=\"studentNumber\" label=\"学号\" header-align=\"center\" align=\"center\"></el-table-column>\n <el-table-column prop=\"clockedResult\" label=\"打卡结果\" header-align=\"center\" align=\"center\">\n <template slot-scope=\"scope\">\n <el-tag v-if=\"scope.row.clockedResult==0\" type='success'>正常</el-tag>\n <el-tag v-if=\"scope.row.clockedResult==1\" type='danger'>迟到</el-tag>\n <el-tag v-if=\"scope.row.clockedResult==2\" type='warning'>其他</el-tag>\n </template>\n </el-table-column>\n<!-- <el-table-column prop=\"creator\" label=\"创建人\" header-align=\"center\" align=\"center\"></el-table-column>-->\n <el-table-column prop=\"createDate\" label=\"创建时间\" header-align=\"center\" align=\"center\"></el-table-column>\n <el-table-column :label=\"$t('handle')\" fixed=\"right\" header-align=\"center\" align=\"center\" width=\"230\">\n <template slot-scope=\"scope\">\n <el-button size=\"small\" @click=\"lookUpInfo(scope.row.id)\">{{ \"详情\" }}</el-button>\n <el-button size=\"small\" @click=\"addOrUpdateHandleWapper(scope.row.id)\">{{ $t('update') }}</el-button>\n <el-button type=\"danger\" size=\"small\" @click=\"deleteHandleWapper(scope.row.id)\">{{\n $t('delete')\n }}\n </el-button>\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 :isedit=\"popIsEdit\" v-if=\"addOrUpdateVisible\" ref=\"addOrUpdate\"\n @refreshDataList=\"getDataList\"></add-or-update>\n </div>\n </el-card>\n</template>\n\n<style>\n.el-table .warning-row {\n background: oldlace;\n}\n\n.el-table .success-row {\n background: #f0f9eb;\n}\n</style>\n\n<script>\nimport mixinViewModule from '@/mixins/view-module'\nimport AddOrUpdate from './attendancerecords-add-or-update'\n\nexport default {\n mixins: [mixinViewModule],\n data() {\n return {\n mixinViewModuleOptions: {\n getDataListURL: '/system/attendanceRecords/attendancerecords/page',\n getDataListIsPage: true,\n deleteURL: '/system/attendanceRecords/attendancerecords',\n deleteIsBatch: true\n },\n dataForm: {\n id: ''\n },\n popIsEdit: false,\n }\n },\n components: {\n AddOrUpdate\n },\n methods: {\n tableRowClassName({row}) {\n let rowBackground = {};\n if (row.clockedResult == 1) {\n return 'warning-row';\n } else if (row.clockedRt == 0) {\n return 'success-row';\n }\n return '';\n },\n lookUpInfo(scopeRowId) {\n\n this.popIsEdit = false;\n this.addOrUpdateHandle(scopeRowId)\n\n },\n addOrUpdateHandleWapper(scopeRowId) {\n this.popIsEdit = true;\n this.addOrUpdateHandle(scopeRowId)\n },\n deleteHandleWapper(scopeRowId) {\n this.deleteHandle(scopeRowId)\n },\n }\n\n}\n</script>\n"]}]}