1
0
Fork 0
management/front/dkha-web-sz-main/node_modules/.cache/babel-loader/292d71062d7a2d37fc527286c78...

1 line
10 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\\applicationPart3\\leaveApproval2\\leaveapproval2.vue?vue&type=script&lang=js&","dependencies":[{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\src\\views\\modules\\applicationPart3\\leaveApproval2\\leaveapproval2.vue","mtime":1622644456298},{"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//\nimport mixinViewModule from '@/mixins/view-module';\nimport AddOrUpdate from \"./leaveapproval2-add-or-update\"; //\n// str.indexOf(\"2\") != -1\n\nexport default {\n mixins: [mixinViewModule],\n data: function data() {\n return {\n mixinViewModuleOptions: {\n getDataListURL: '/system/leaveApplication/leaveapplication/page',\n getDataListIsPage: true,\n deleteURL: '/system/leaveApplication/leaveapplication',\n deleteIsBatch: true\n },\n dataForm: {\n id: '',\n approvalStatus: \"\"\n },\n popIsEdit: false,\n popIsApproval: false\n };\n },\n components: {\n AddOrUpdate: AddOrUpdate\n },\n methods: {\n approvalHandler: function approvalHandler(scopeRowId) {\n this.popIsApproval = true;\n this.popIsEdit = true;\n this.addOrUpdateHandle(scopeRowId);\n },\n lookUpInfo: function lookUpInfo(scopeRowId) {\n this.popIsEdit = false;\n this.popIsApproval = false;\n this.addOrUpdateHandle(scopeRowId);\n },\n addOrUpdateHandleWapper: function addOrUpdateHandleWapper(scopeRowId) {\n this.popIsEdit = true;\n this.popIsApproval = false;\n this.addOrUpdateHandle(scopeRowId);\n },\n deleteHandleWapper: function deleteHandleWapper(scopeRowId) {\n this.deleteHandle(scopeRowId);\n }\n }\n};",{"version":3,"sources":["leaveapproval2.vue"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA4EA,OAAA,eAAA,MAAA,sBAAA;AACA,OAAA,WAAA,uC;AAEA;;AACA,eAAA;AACA,EAAA,MAAA,EAAA,CAAA,eAAA,CADA;AAEA,EAAA,IAFA,kBAEA;AACA,WAAA;AACA,MAAA,sBAAA,EAAA;AACA,QAAA,cAAA,EAAA,gDADA;AAEA,QAAA,iBAAA,EAAA,IAFA;AAGA,QAAA,SAAA,EAAA,2CAHA;AAIA,QAAA,aAAA,EAAA;AAJA,OADA;AAOA,MAAA,QAAA,EAAA;AACA,QAAA,EAAA,EAAA,EADA;AAEA,QAAA,cAAA,EAAA;AAFA,OAPA;AAWA,MAAA,SAAA,EAAA,KAXA;AAYA,MAAA,aAAA,EAAA;AAZA,KAAA;AAcA,GAjBA;AAkBA,EAAA,UAAA,EAAA;AACA,IAAA,WAAA,EAAA;AADA,GAlBA;AAqBA,EAAA,OAAA,EAAA;AACA,IAAA,eADA,2BACA,UADA,EACA;AACA,WAAA,aAAA,GAAA,IAAA;AACA,WAAA,SAAA,GAAA,IAAA;AACA,WAAA,iBAAA,CAAA,UAAA;AACA,KALA;AAMA,IAAA,UANA,sBAMA,UANA,EAMA;AACA,WAAA,SAAA,GAAA,KAAA;AACA,WAAA,aAAA,GAAA,KAAA;AACA,WAAA,iBAAA,CAAA,UAAA;AACA,KAVA;AAWA,IAAA,uBAXA,mCAWA,UAXA,EAWA;AACA,WAAA,SAAA,GAAA,IAAA;AACA,WAAA,aAAA,GAAA,KAAA;AACA,WAAA,iBAAA,CAAA,UAAA;AACA,KAfA;AAgBA,IAAA,kBAhBA,8BAgBA,UAhBA,EAgBA;AACA,WAAA,YAAA,CAAA,UAAA;AACA;AAlBA;AArBA,CAAA","sourcesContent":["<template>\n <el-card shadow=\"never\" class=\"aui-card--fill\">\n <div class=\"mod-leaveApproval2__leaveapproval2}\">\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-select v-model=\"dataForm.approvalStatus\" placeholder=\"审批状态\" style=\"display:block;\">\n <el-option label=\"未审批\" value=\"0\"></el-option>\n <el-option label=\"已通过\" value=\"1\"></el-option>\n <el-option label=\"未通过\" value=\"2\"></el-option>\n <el-option label=\"所有项\" value=\"\"></el-option>\n </el-select>\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\" style=\"width: 100%;\">\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=\"studentNumber\" label=\"学号\" header-align=\"center\" align=\"center\"></el-table-column>\n <el-table-column prop=\"leaveStartTime\" label=\"请假开始时间\" header-align=\"center\" align=\"center\"></el-table-column>\n <el-table-column prop=\"leaveEndTime\" label=\"请假结束时间\" header-align=\"center\" align=\"center\"></el-table-column>\n <el-table-column prop=\"leaveReason\" label=\"请假事由\" header-align=\"center\" align=\"center\"></el-table-column>\n <el-table-column prop=\"leaveType\" label=\"请假类型\" header-align=\"center\" align=\"center\">\n <template slot-scope=\"scope\">\n <el-tag v-if=\"scope.row.leaveType==0\" type=\"warning\" effect=\"dark\">病假</el-tag>\n <el-tag v-if=\"scope.row.leaveType==1\" type=\"warning\" effect=\"dark\">事假</el-tag>\n <el-tag v-if=\"scope.row.leaveType==2\" type=\"warning\" effect=\"dark\">出差</el-tag>\n <el-tag v-if=\"scope.row.leaveType==3\" type=\"warning\" effect=\"dark\">其他</el-tag>\n </template>\n </el-table-column>\n<!-- <el-table-column prop=\"leaveContact\" label=\"外出联系人\" header-align=\"center\" align=\"center\"></el-table-column>-->\n<!-- <el-table-column prop=\"leaveContactPhoneNumber\" label=\"家庭联系人\" header-align=\"center\" align=\"center\"></el-table-column>-->\n <el-table-column prop=\"leaveFor\" label=\"离校去向\" header-align=\"center\" align=\"center\"></el-table-column>\n <el-table-column prop=\"leaveInfo\" label=\"行程信息\" header-align=\"center\" align=\"center\"></el-table-column>\n <el-table-column prop=\"approvalUser\" label=\"审批人\" header-align=\"center\" align=\"center\"></el-table-column>\n <el-table-column prop=\"comment\" label=\"审批意见\" header-align=\"center\" align=\"center\"></el-table-column>\n <el-table-column prop=\"approvalStatus\" label=\"审核状态\" header-align=\"center\" align=\"center\">\n <template slot-scope=\"scope\">\n <el-tag v-if=\"scope.row.approvalStatus==0\" effect=\"dark\" type=\"info\">待审核</el-tag>\n <el-tag v-if=\"scope.row.approvalStatus==1\" effect=\"dark\" type=\"success\">通过</el-tag>\n <el-tag v-if=\"scope.row.approvalStatus==2\" effect=\"dark\" type=\"danger\">不通过</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 v-if=\"scope.row.approvalStatus==0\" size=\"small\" @click=\"approvalHandler(scope.row.id)\">审批</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\" :isapproval=\"popIsApproval\" ref=\"addOrUpdate\" @refreshDataList=\"getDataList\"></add-or-update>\n </div>\n </el-card>\n</template>\n\n<script>\nimport mixinViewModule from '@/mixins/view-module'\nimport AddOrUpdate from './leaveapproval2-add-or-update'\n//\n// str.indexOf(\"2\") != -1\nexport default {\n mixins: [mixinViewModule],\n data () {\n return {\n mixinViewModuleOptions: {\n getDataListURL: '/system/leaveApplication/leaveapplication/page',\n getDataListIsPage: true,\n deleteURL: '/system/leaveApplication/leaveapplication',\n deleteIsBatch: true\n },\n dataForm: {\n id: '',\n approvalStatus: \"\"\n },\n popIsEdit: false,\n popIsApproval: false,\n }\n },\n components: {\n AddOrUpdate\n },\n methods:{\n approvalHandler(scopeRowId){\n this.popIsApproval=true;\n this.popIsEdit=true\n this.addOrUpdateHandle(scopeRowId)\n },\n lookUpInfo(scopeRowId){\n this.popIsEdit = false;\n this.popIsApproval=false;\n this.addOrUpdateHandle(scopeRowId)\n },\n addOrUpdateHandleWapper(scopeRowId){\n this.popIsEdit = true;\n this.popIsApproval=false;\n this.addOrUpdateHandle(scopeRowId)\n },\n deleteHandleWapper(scopeRowId){\n this.deleteHandle(scopeRowId)\n },\n }\n\n}\n</script>\n"],"sourceRoot":"src/views/modules/applicationPart3/leaveApproval2"}]}