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

1 line
11 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\\applicationPart2\\groupWeeklyReports\\groupweeklyreports.vue?vue&type=script&lang=js&","dependencies":[{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\src\\views\\modules\\applicationPart2\\groupWeeklyReports\\groupweeklyreports.vue","mtime":1622442314997},{"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\nimport mixinViewModule from '@/mixins/view-module'\nimport AddOrUpdate from './groupweeklyreports-add-or-update'\nexport default {\n mixins: [mixinViewModule],\n data () {\n return {\n mixinViewModuleOptions: {\n getDataListURL: '/system/groupWeeklyReports/groupweeklyreports/page',\n getDataListIsPage: true,\n deleteURL: '/system/groupWeeklyReports/groupweeklyreports',\n deleteIsBatch: true\n },\n dataForm: {\n id: '',\n projectId: \"选择项目\",\n },\n projectList: [],\n\n popIsEdit: false,\n projectInfo: {projectAppId: \"\", projectAppName: \"\"},\n }\n },\n components: {\n AddOrUpdate\n },\n created() {\n this.getProjectList();\n },\n methods:{\n lookUpInfo(scopeRowId){\n\n this.popIsEdit = false;\n this.addOrUpdateHandle(scopeRowId)\n\n },\n addOrUpdateHandleWapper(scopeRowId){\n if (this.dataForm.projectId === \"选择项目\") {\n return this.$message({\n message: \"请先选择所属项目\",\n type: 'warning',\n duration: 3000\n })\n }\n\n this.projectList.forEach((item) => {\n // console.log(item)\n // console.log(\"item====\")\n // console.log(this.dataForm.projectId)\n // console.log(\"this.dataForm.projectId====\")\n if (item.projectId === this.dataForm.projectId) {\n this.projectInfo.projectAppId = item.projectId;\n this.projectInfo.projectAppName = item.projectName;\n }\n // console.log(this.projectInfo)\n\n })\n this.popIsEdit = true;\n this.addOrUpdateHandle(scopeRowId)\n },\n deleteHandleWapper(scopeRowId){\n this.deleteHandle(scopeRowId)\n },\n getProjectList() {\n // 获取项目列表\n this.$http.get(\n '/system/teammateManagement/teammatemanagement/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.projectList = res.data.list\n // console.log(this.projectList)\n if (res.code !== 0) {\n this.projectList = []\n this.total = 0\n return this.$message.error(res.msg)\n }\n }).catch(() => {\n })\n },\n }\n\n}\n",{"version":3,"sources":["groupweeklyreports.vue"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA","file":"groupweeklyreports.vue","sourceRoot":"src/views/modules/applicationPart2/groupWeeklyReports","sourcesContent":["<template>\n <el-card shadow=\"never\" class=\"aui-card--fill\">\n <div class=\"mod-groupWeeklyReports__groupweeklyreports}\">\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\n <el-form-item label=\"所属项目:\">\n <el-select v-model=\"dataForm.projectId\" placeholder=\"选择项目\">\n <el-option v-for=\"(project, index) in projectList\" :label=\"project.projectName\" :value=\"project.projectId\"\n :key=\"index\"></el-option>\n </el-select>\n </el-form-item>\n\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=\"projectName\" label=\"项目名称\" header-align=\"center\" align=\"center\"></el-table-column>\n <el-table-column prop=\"groupName\" label=\"小组名称\" header-align=\"center\" align=\"center\"></el-table-column>\n <el-table-column prop=\"startdateWeek\" label=\"本周开始时间\" header-align=\"center\" align=\"center\"></el-table-column>\n <el-table-column prop=\"enddateWeek\" label=\"本周结束时间\" header-align=\"center\" align=\"center\"></el-table-column>\n <el-table-column prop=\"content\" label=\"周报内容\" header-align=\"center\" align=\"center\">\n <template slot-scope=\"scope\">\n {{scope.row.content.length>12?scope.row.content.slice(0, 12)+\"...\":scope.row.content}}\n </template>\n </el-table-column>\n <el-table-column prop=\"reporter\" 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\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)\">{{ $t('delete') }}</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 :currentProjectInfo=\"this.projectInfo\"\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 './groupweeklyreports-add-or-update'\nexport default {\n mixins: [mixinViewModule],\n data () {\n return {\n mixinViewModuleOptions: {\n getDataListURL: '/system/groupWeeklyReports/groupweeklyreports/page',\n getDataListIsPage: true,\n deleteURL: '/system/groupWeeklyReports/groupweeklyreports',\n deleteIsBatch: true\n },\n dataForm: {\n id: '',\n projectId: \"选择项目\",\n },\n projectList: [],\n\n popIsEdit: false,\n projectInfo: {projectAppId: \"\", projectAppName: \"\"},\n }\n },\n components: {\n AddOrUpdate\n },\n created() {\n this.getProjectList();\n },\n methods:{\n lookUpInfo(scopeRowId){\n\n this.popIsEdit = false;\n this.addOrUpdateHandle(scopeRowId)\n\n },\n addOrUpdateHandleWapper(scopeRowId){\n if (this.dataForm.projectId === \"选择项目\") {\n return this.$message({\n message: \"请先选择所属项目\",\n type: 'warning',\n duration: 3000\n })\n }\n\n this.projectList.forEach((item) => {\n // console.log(item)\n // console.log(\"item====\")\n // console.log(this.dataForm.projectId)\n // console.log(\"this.dataForm.projectId====\")\n if (item.projectId === this.dataForm.projectId) {\n this.projectInfo.projectAppId = item.projectId;\n this.projectInfo.projectAppName = item.projectName;\n }\n // console.log(this.projectInfo)\n\n })\n this.popIsEdit = true;\n this.addOrUpdateHandle(scopeRowId)\n },\n deleteHandleWapper(scopeRowId){\n this.deleteHandle(scopeRowId)\n },\n getProjectList() {\n // 获取项目列表\n this.$http.get(\n '/system/teammateManagement/teammatemanagement/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.projectList = res.data.list\n // console.log(this.projectList)\n if (res.code !== 0) {\n this.projectList = []\n this.total = 0\n return this.$message.error(res.msg)\n }\n }).catch(() => {\n })\n },\n }\n\n}\n</script>\n"]}]}