forked from zhurui/management
1 line
14 KiB
JSON
1 line
14 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\\applicationPart4\\course2\\course2.vue?vue&type=script&lang=js&","dependencies":[{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\src\\views\\modules\\applicationPart4\\course2\\course2.vue","mtime":1622476791610},{"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//\nimport mixinViewModule from '@/mixins/view-module';\nimport AddOrUpdate from \"./course2-add-or-update\";\nexport default {\n mixins: [mixinViewModule],\n data: function data() {\n return {\n mixinViewModuleOptions: {\n getDataListURL: '/system/course/course/page',\n getDataListIsPage: true,\n deleteURL: '/system/course/course',\n deleteIsBatch: true\n },\n dataForm: {\n id: '',\n studentNumber: this.$store.state.user.username\n },\n popIsEdit: false,\n mycourese: [{\n time: \"第一大节\",\n class1: '',\n class2: '',\n class3: '',\n class4: '',\n class5: ''\n }, {\n time: \"第二大节\",\n class1: '',\n class2: '',\n class3: '',\n class4: '',\n class5: ''\n }, {\n time: \"第三大节\",\n class1: '',\n class2: '',\n class3: '',\n class4: '',\n class5: ''\n }, {\n time: \"第四大节\",\n class1: '',\n class2: '',\n class3: '',\n class4: '',\n class5: ''\n }, {\n time: \"第五大节\",\n class1: '',\n class2: '',\n class3: '',\n class4: '',\n class5: ''\n }],\n aim: null\n };\n },\n created: function created() {\n this.getCoures();\n },\n components: {\n AddOrUpdate: AddOrUpdate\n },\n methods: {\n getCoures: function getCoures() {\n var _this = this;\n\n // 获取课程列表\n this.$http.get('/system/course/course/page', {\n params: {\n order: this.order,\n orderField: this.orderField,\n page: this.mixinViewModuleOptions.getDataListIsPage ? this.page : null,\n limit: 1000,\n studentNumber: this.$store.state.user.username\n }\n }).then(function (_ref) {\n var res = _ref.data;\n _this.aim = res.data.list[0];\n\n if (_this.aim) {\n _this.mycourese = [{\n time: \"第一大节\",\n class1: _this.aim.c11,\n class2: _this.aim.c12,\n class3: _this.aim.c13,\n class4: _this.aim.c14,\n class5: _this.aim.c15\n }, {\n time: \"第二大节\",\n class1: _this.aim.c21,\n class2: _this.aim.c22,\n class3: _this.aim.c23,\n class4: _this.aim.c24,\n class5: _this.aim.c25\n }, {\n time: \"第三大节\",\n class1: _this.aim.c31,\n class2: _this.aim.c32,\n class3: _this.aim.c33,\n class4: _this.aim.c34,\n class5: _this.aim.c35\n }, {\n time: \"第四大节\",\n class1: _this.aim.c41,\n class2: _this.aim.c42,\n class3: _this.aim.c43,\n class4: _this.aim.c44,\n class5: _this.aim.c45\n }, {\n time: \"第五大节\",\n class1: _this.aim.c51,\n class2: _this.aim.c52,\n class3: _this.aim.c53,\n class4: _this.aim.c54,\n class5: _this.aim.c55\n }];\n _this.dataForm.id = _this.aim.id;\n } // console.log(this.aim)\n\n\n if (res.code !== 0) {\n _this.aim = null;\n _this.total = 0;\n return _this.$message.error(res.msg);\n }\n }).catch(function () {}); // console.log(this.mycourese);\n // console.log(this.dataForm.id);\n },\n lookUpInfo: function lookUpInfo(scopeRowId) {\n this.popIsEdit = false;\n this.addOrUpdateHandle(scopeRowId);\n },\n addOrUpdateHandleWapper: function addOrUpdateHandleWapper(scopeRowId) {\n this.popIsEdit = true;\n this.addOrUpdateHandle(scopeRowId);\n },\n deleteHandleWapper: function deleteHandleWapper(scopeRowId) {\n this.deleteHandle(scopeRowId);\n }\n }\n};",{"version":3,"sources":["course2.vue"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoCA,OAAA,eAAA,MAAA,sBAAA;AACA,OAAA,WAAA;AAEA,eAAA;AACA,EAAA,MAAA,EAAA,CAAA,eAAA,CADA;AAEA,EAAA,IAFA,kBAEA;AACA,WAAA;AACA,MAAA,sBAAA,EAAA;AACA,QAAA,cAAA,EAAA,4BADA;AAEA,QAAA,iBAAA,EAAA,IAFA;AAGA,QAAA,SAAA,EAAA,uBAHA;AAIA,QAAA,aAAA,EAAA;AAJA,OADA;AAOA,MAAA,QAAA,EAAA;AACA,QAAA,EAAA,EAAA,EADA;AAEA,QAAA,aAAA,EAAA,KAAA,MAAA,CAAA,KAAA,CAAA,IAAA,CAAA;AAFA,OAPA;AAWA,MAAA,SAAA,EAAA,KAXA;AAYA,MAAA,SAAA,EAAA,CACA;AAAA,QAAA,IAAA,EAAA,MAAA;AAAA,QAAA,MAAA,EAAA,EAAA;AAAA,QAAA,MAAA,EAAA,EAAA;AAAA,QAAA,MAAA,EAAA,EAAA;AAAA,QAAA,MAAA,EAAA,EAAA;AAAA,QAAA,MAAA,EAAA;AAAA,OADA,EAEA;AAAA,QAAA,IAAA,EAAA,MAAA;AAAA,QAAA,MAAA,EAAA,EAAA;AAAA,QAAA,MAAA,EAAA,EAAA;AAAA,QAAA,MAAA,EAAA,EAAA;AAAA,QAAA,MAAA,EAAA,EAAA;AAAA,QAAA,MAAA,EA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=\"mod-course__course}\">\n <el-form :inline=\"true\" :model=\"dataForm\" @keyup.enter.native=\"getDataList()\">\n <el-form-item>\n <el-button @click=\"getCoures()\">{{ $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=\"primary\" @click=\"addOrUpdateHandleWapper(dataForm.id)\">{{ $t('update') }}</el-button>\n </el-form-item>\n <el-form-item>\n <el-button type=\"danger\" @click=\"deleteHandleWapper(dataForm.id)\">{{ $t('deleteBatch') }}</el-button>\n </el-form-item>\n </el-form>\n <el-table v-loading=\"dataListLoading\" :data=\"mycourese\" border @selection-change=\"dataListSelectionChangeHandle\"\n style=\"width: 100%;\">\n\n <el-table-column prop=\"time\" label=\"时间\" header-align=\"center\" align=\"center\"></el-table-column>\n <el-table-column prop=\"class1\" label=\"星期一\" header-align=\"center\" align=\"center\"></el-table-column>\n <el-table-column prop=\"class2\" label=\"星期二\" header-align=\"center\" align=\"center\"></el-table-column>\n <el-table-column prop=\"class3\" label=\"星期三\" header-align=\"center\" align=\"center\"></el-table-column>\n <el-table-column prop=\"class4\" label=\"星期四\" header-align=\"center\" align=\"center\"></el-table-column>\n <el-table-column prop=\"class5\" label=\"星期五\" header-align=\"center\" align=\"center\"></el-table-column>\n </el-table>\n\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<script>\nimport mixinViewModule from '@/mixins/view-module'\nimport AddOrUpdate from './course2-add-or-update'\n\nexport default {\n mixins: [mixinViewModule],\n data() {\n return {\n mixinViewModuleOptions: {\n getDataListURL: '/system/course/course/page',\n getDataListIsPage: true,\n deleteURL: '/system/course/course',\n deleteIsBatch: true\n },\n dataForm: {\n id: '',\n studentNumber: this.$store.state.user.username,\n },\n popIsEdit: false,\n mycourese: [\n {time: \"第一大节\", class1: '', class2: '', class3: '', class4: '', class5: '',},\n {time: \"第二大节\", class1: '', class2: '', class3: '', class4: '', class5: '',},\n {time: \"第三大节\", class1: '', class2: '', class3: '', class4: '', class5: '',},\n {time: \"第四大节\", class1: '', class2: '', class3: '', class4: '', class5: '',},\n {time: \"第五大节\", class1: '', class2: '', class3: '', class4: '', class5: '',},\n ],\n aim: null,\n }\n }, created() {\n this.getCoures()\n },\n components: {\n AddOrUpdate\n },\n methods: {\n getCoures() {\n // 获取课程列表\n this.$http.get(\n '/system/course/course/page', {\n params: {\n order: this.order,\n orderField: this.orderField,\n page: this.mixinViewModuleOptions.getDataListIsPage ? this.page : null,\n limit: 1000,\n studentNumber: this.$store.state.user.username,\n }\n }\n ).then(({\n data: res\n }) => {\n\n this.aim = res.data.list[0];\n if (this.aim) {\n this.mycourese = [\n {time: \"第一大节\", class1: this.aim.c11, class2: this.aim.c12, class3: this.aim.c13, class4: this.aim.c14, class5: this.aim.c15,},\n {time: \"第二大节\", class1: this.aim.c21, class2: this.aim.c22, class3: this.aim.c23, class4: this.aim.c24, class5: this.aim.c25,},\n {time: \"第三大节\", class1: this.aim.c31, class2: this.aim.c32, class3: this.aim.c33, class4: this.aim.c34, class5: this.aim.c35,},\n {time: \"第四大节\", class1: this.aim.c41, class2: this.aim.c42, class3: this.aim.c43, class4: this.aim.c44, class5: this.aim.c45,},\n {time: \"第五大节\", class1: this.aim.c51, class2: this.aim.c52, class3: this.aim.c53, class4: this.aim.c54, class5: this.aim.c55,},\n ];\n this.dataForm.id = this.aim.id;\n }\n // console.log(this.aim)\n if (res.code !== 0) {\n this.aim = null\n this.total = 0\n return this.$message.error(res.msg)\n }\n }).catch(() => {\n })\n\n // console.log(this.mycourese);\n // console.log(this.dataForm.id);\n },\n lookUpInfo(scopeRowId) {\n\n this.popIsEdit = false;\n this.addOrUpdateHandle(scopeRowId)\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"],"sourceRoot":"src/views/modules/applicationPart4/course2"}]} |