forked from zhurui/management
1 line
10 KiB
JSON
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\\applicationPart2\\projectApplication\\projectapplication.vue?vue&type=script&lang=js&","dependencies":[{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\src\\views\\modules\\applicationPart2\\projectApplication\\projectapplication.vue","mtime":1622513756144},{"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 \"./projectapplication-add-or-update\";\nexport default {\n mixins: [mixinViewModule],\n data: function data() {\n return {\n mixinViewModuleOptions: {\n getDataListURL: '/system/projectApplication/projectapplication/page',\n getDataListIsPage: true,\n deleteURL: '/system/projectApplication/projectapplication',\n deleteIsBatch: true\n },\n dataForm: {\n projectName: '',\n id: '',\n studentNumber: this.$store.state.user.roleNames.indexOf(\"审批\") !== -1 || this.$store.state.user.roleNames.indexOf(\"管理\") !== -1 ? '' : this.$store.state.user.roleNames.indexOf(\"普通学生\") !== -1 ? this.$store.state.user.username : ''\n },\n popIsEdit: false\n };\n },\n components: {\n AddOrUpdate: AddOrUpdate\n },\n methods: {\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":["projectapplication.vue"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA4EA,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,oDADA;AAEA,QAAA,iBAAA,EAAA,IAFA;AAGA,QAAA,SAAA,EAAA,+CAHA;AAIA,QAAA,aAAA,EAAA;AAJA,OADA;AASA,MAAA,QAAA,EAAA;AACA,QAAA,WAAA,EAAA,EADA;AAEA,QAAA,EAAA,EAAA,EAFA;AAGA,QAAA,aAAA,EAAA,KAAA,MAAA,CAAA,KAAA,CAAA,IAAA,CAAA,SAAA,CAAA,OAAA,CAAA,IAAA,MAAA,CAAA,CAAA,IAAA,KAAA,MAAA,CAAA,KAAA,CAAA,IAAA,CAAA,SAAA,CAAA,OAAA,CAAA,IAAA,MAAA,CAAA,CAAA,GACA,EADA,GACA,KAAA,MAAA,CAAA,KAAA,CAAA,IAAA,CAAA,SAAA,CAAA,OAAA,CAAA,MAAA,MAAA,CAAA,CAAA,GAAA,KAAA,MAAA,CAAA,KAAA,CAAA,IAAA,CAAA,QAAA,GAAA;AAJA,OATA;AAeA,MAAA,SAAA,EAAA;AAfA,KAAA;AAiBA,GApBA;AAqBA,EAAA,UAAA,EAAA;AACA,IAAA,WAAA,EAAA;AADA,GArBA;AAwBA,EAAA,OAAA,EAAA;AACA,IAAA,UADA,sBACA,UADA,EACA;AAEA,WAAA,SAAA,GAAA,KAAA;AACA,WAAA,iBAAA,CAAA,UAAA;AAEA,KANA;AAOA,IAAA,uBAPA,mCAOA,UAPA,EAOA;AACA,WAAA,SAAA,GAAA,IAAA;AACA,WAAA,iBAAA,CAAA,UAAA;AACA,KAVA;AAWA,IAAA,kBAXA,8BAWA,UAXA,EAWA;AACA,WAAA,YAAA,CAAA,UAAA;AACA;AAbA;AAxBA,CAAA","sourcesContent":["<template>\n <el-card shadow=\"never\" class=\"aui-card--fill\">\n <div class=\"mod-projectApplication__projectapplication}\">\n <el-form :inline=\"true\" :model=\"dataForm\" @keyup.enter.native=\"getDataList()\">\n <el-form-item>\n <el-input v-model=\"dataForm.projectName\" placeholder=\"项目名称\" 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 <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=\"applicant\" label=\"申请人\" header-align=\"center\" align=\"center\"></el-table-column>\n <el-table-column prop=\"applicationDept\" label=\"申请单位\" header-align=\"center\" align=\"center\"></el-table-column>\n <el-table-column prop=\"projectStartDate\" label=\"项目开始时间\" header-align=\"center\" align=\"center\"></el-table-column>\n <el-table-column prop=\"projectEndDate\" label=\"项目结束时间\" header-align=\"center\" align=\"center\"></el-table-column>\n <el-table-column prop=\"projectType\" label=\"项目类型\" header-align=\"center\" align=\"center\">\n <template slot-scope=\"scope\">\n <el-tag v-if=\"scope.row.projectType==0\" effect=\"dark\">开发</el-tag>\n <el-tag v-if=\"scope.row.projectType==1\" effect=\"dark\">算法</el-tag>\n <el-tag v-if=\"scope.row.projectType==2\" effect=\"dark\">安全</el-tag>\n <el-tag v-if=\"scope.row.projectType==3\" effect=\"dark\">通信</el-tag>\n <el-tag v-if=\"scope.row.projectType==4\" effect=\"dark\">其他</el-tag>\n </template>\n </el-table-column>\n <el-table-column prop=\"projectDescription\" label=\"项目描述\" header-align=\"center\" align=\"center\"></el-table-column>\n <el-table-column prop=\"projectState\" label=\"项目状态\" header-align=\"center\" align=\"center\">\n <template slot-scope=\"scope\">\n <el-tag v-if=\"scope.row.projectState==0\" effect=\"dark\" type=\"info\">待审核</el-tag>\n <el-tag v-if=\"scope.row.projectState==1\" effect=\"dark\" type=\"success\">进行中</el-tag>\n <el-tag v-if=\"scope.row.projectState==2\" effect=\"dark\" type=\"danger\">不通过</el-tag>\n <el-tag v-if=\"scope.row.projectState==3\" effect=\"dark\" type=\"warning\">已完成</el-tag>\n </template>\n </el-table-column>\n <el-table-column prop=\"comment\" label=\"审批意见\" header-align=\"center\" align=\"center\"></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.projectState==0\" size=\"small\" @click=\"addOrUpdateHandleWapper(scope.row.id)\">\n {{ $t('update') }}\n </el-button>\n <el-button v-if=\"scope.row.projectState==0 || scope.row.projectState==2\" type=\"danger\" size=\"small\"\n @click=\"deleteHandleWapper(scope.row.id)\">{{ $t('delete') }}\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<script>\nimport mixinViewModule from '@/mixins/view-module'\nimport AddOrUpdate from './projectapplication-add-or-update'\n\nexport default {\n mixins: [mixinViewModule],\n data() {\n return {\n mixinViewModuleOptions: {\n getDataListURL: '/system/projectApplication/projectapplication/page',\n getDataListIsPage: true,\n deleteURL: '/system/projectApplication/projectapplication',\n deleteIsBatch: true\n },\n\n\n dataForm: {\n projectName:'',\n id: '',\n studentNumber: (this.$store.state.user.roleNames.indexOf(\"审批\") !== -1 || this.$store.state.user.roleNames.indexOf(\"管理\") !== -1) ?\n '' : ((this.$store.state.user.roleNames.indexOf(\"普通学生\") !== -1) ? this.$store.state.user.username : ''),\n },\n popIsEdit: false,\n }\n },\n components: {\n AddOrUpdate\n },\n methods: {\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"],"sourceRoot":"src/views/modules/applicationPart2/projectApplication"}]} |