You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 line
9.5 KiB
1 line
9.5 KiB
{"remainingRequest":"D:\\BaiduNetdiskDownload\\springboot和vue社团管理\\client\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\BaiduNetdiskDownload\\springboot和vue社团管理\\client\\src\\views\\pages\\ApplyLogs.vue?vue&type=script&lang=js","dependencies":[{"path":"D:\\BaiduNetdiskDownload\\springboot和vue社团管理\\client\\src\\views\\pages\\ApplyLogs.vue","mtime":1642772652000},{"path":"D:\\BaiduNetdiskDownload\\springboot和vue社团管理\\client\\node_modules\\cache-loader\\dist\\cjs.js","mtime":1741688074111},{"path":"D:\\BaiduNetdiskDownload\\springboot和vue社团管理\\client\\node_modules\\babel-loader\\lib\\index.js","mtime":1741688074515},{"path":"D:\\BaiduNetdiskDownload\\springboot和vue社团管理\\client\\node_modules\\cache-loader\\dist\\cjs.js","mtime":1741688074111},{"path":"D:\\BaiduNetdiskDownload\\springboot和vue社团管理\\client\\node_modules\\vue-loader\\lib\\index.js","mtime":1741688069764}],"contextDependencies":[],"result":[{"type":"Buffer","data":"base64:CglpbXBvcnQgewoJCWdldExvZ2luVXNlciwKCQlnZXRQYWdlQXBwbHlMb2dzLAoJCXVwZEFwcGx5TG9ncwoJfSBmcm9tICIuLi8uLi9hcGkiOwoKCWV4cG9ydCBkZWZhdWx0IHsKCgkJZGF0YSgpIHsKCgkJCXJldHVybiB7CgkJCQl1c2VyVHlwZTogIiIsCgkJCQlwYWdlSW5mb3M6IFtdLAoJCQkJcGFnZUluZGV4OiAxLAoJCQkJcGFnZVNpemU6IDEwLAoJCQkJcGFnZVRvdGFsOiAwLAoJCQkJdG90YWxJbmZvOiAwLAoJCQkJbG9hZGluZzogdHJ1ZSwKCQkJCXFyeUZvcm06IHsKCQkJCQl0b2tlbjogdGhpcy4kc3RvcmUuc3RhdGUudG9rZW4sCgkJCQkJdGVhbU5hbWU6ICIiLAoJCQkJCXVzZ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],"mappings":";AAoEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;;AAEA;AACA;AACA;AACA","file":"ApplyLogs.vue","sourceRoot":"src/views/pages","sourcesContent":["<template>\n\t<div class=\"fater-body-show\">\n\t\t<el-card shadow=\"never\">\n\t\t\t<div slot=\"header\">\n\t\t\t\t信息查询\n\t\t\t</div>\n\t\t\t<div>\n\t\t\t\t<el-form :inline=\"true\" :model=\"qryForm\">\n\t\t\t\t\t<el-form-item >\n\t\t\t\t\t\t<el-input v-model=\"qryForm.teamName\"\n\t\t\t\t\t\t\tplaceholder=\"输入团队名称…\"\n\t\t\t\t\t\t\tautocomplete=\"off\"></el-input>\n\t\t\t\t\t</el-form-item>\n\t\t\t\t\t<el-form-item >\n\t\t\t\t\t\t<el-input v-model=\"qryForm.userName\"\n\t\t\t\t\t\t\tplaceholder=\"输入成员姓名…\"\n\t\t\t\t\t\t\tautocomplete=\"off\"></el-input>\n\t\t\t\t\t</el-form-item>\n\t\t\t\t\t<el-form-item>\n\t\t\t\t\t\t<el-button type=\"primary\" \n\t\t\t\t\t\t\ticon=\"el-icon-search\" @click=\"getPageLikeInfo()\"></el-button>\n\t\t\t\t\t</el-form-item>\n\t\t\t\t</el-form>\n\t\t\t</div>\n\t\t</el-card>\n\n\t\t<el-card shadow=\"never\">\n\t\t\t<div>\n\t\t\t\t<el-table v-loading=\"loading\" element-loading-text=\"拼命加载中\" element-loading-spinner=\"el-icon-loading\"\n\t\t\t\t\telement-loading-background=\"rgba(124, 124, 124, 0.8)\" :data=\"pageInfos\" border>\n\t\t\t\t\t<el-table-column align=\"center\" type=\"index\"></el-table-column>\n\t\t\t\t\t<el-table-column align=\"center\" prop=\"teamName\" label=\"社团名称\"></el-table-column>\n\t\t\t\t\t<el-table-column align=\"center\" prop=\"userName\" label=\"申请人姓名\"></el-table-column>\n\t\t\t\t\t<el-table-column align=\"center\" prop=\"userGender\" label=\"申请人性别\"></el-table-column>\n\t\t\t\t\t<el-table-column align=\"center\" prop=\"userPhone\" label=\"申请人电话\"></el-table-column>\n\t\t\t\t\t<el-table-column align=\"center\" prop=\"createTime\" label=\"申请时间\"></el-table-column>\n\t\t\t\t\t<el-table-column v-if=\"userType == 1\" align=\"center\" label=\"操作处理\">\n\t\t\t\t\t\t<template slot-scope=\"scope\">\n\t\t\t\t\t\t\t<el-button v-if=\"scope.row.status == 0\" \n\t\t\t\t\t\t\t\ttype=\"primary\" size=\"mini\" @click=\"updInfo(scope.row, 1)\">通过</el-button>\n\t\t\t\t\t\t\t<el-button v-if=\"scope.row.status == 0\" \n\t\t\t\t\t\t\t\ttype=\"danger\" size=\"mini\" @click=\"updInfo(scope.row, 2)\">驳回</el-button>\n\t\t\t\t\t\t\t<el-tag effect=\"plain\" type=\"success\" v-if=\"scope.row.status == 1\">已通过</el-tag>\n\t\t\t\t\t\t\t<el-tag effect=\"plain\" type=\"danger\" v-if=\"scope.row.status == 2\">已驳回</el-tag>\n\t\t\t\t\t\t</template>\n\t\t\t\t\t</el-table-column>\n\t\t\t\t\t<el-table-column v-else align=\"center\" label=\"申请状态\">\n\t\t\t\t\t\t<template slot-scope=\"scope\">\n\t\t\t\t\t\t\t<el-tag effect=\"plain\" type=\"warning\" v-if=\"scope.row.status == 0\">审核中</el-tag>\n\t\t\t\t\t\t\t<el-tag effect=\"plain\" type=\"success\" v-if=\"scope.row.status == 1\">已通过</el-tag>\n\t\t\t\t\t\t\t<el-tag effect=\"plain\" type=\"danger\" v-if=\"scope.row.status == 2\">已驳回</el-tag>\n\t\t\t\t\t\t</template>\n\t\t\t\t\t</el-table-column>\n\t\t\t\t</el-table>\n\t\t\t\t<el-pagination v-if=\"pageTotal > 1\" style=\"margin-top: 15px;\" @size-change=\"handleSizeChange\"\n\t\t\t\t\t@current-change=\"handleCurrentChange\" :current-page=\"pageIndex\" :page-sizes=\"[5, 10, 20, 50]\"\n\t\t\t\t\t:page-size=\"pageSize\" layout=\"total, sizes, prev, pager, next, jumper\" :total=\"totalInfo\">\n\t\t\t\t</el-pagination>\n\t\t\t</div>\n\t\t</el-card>\n\t</div>\n</template>\n\n<style>\n\n</style>\n\n<script>\n\timport {\n\t\tgetLoginUser,\n\t\tgetPageApplyLogs,\n\t\tupdApplyLogs\n\t} from \"../../api\";\n\n\texport default {\n\n\t\tdata() {\n\n\t\t\treturn {\n\t\t\t\tuserType: \"\",\n\t\t\t\tpageInfos: [],\n\t\t\t\tpageIndex: 1,\n\t\t\t\tpageSize: 10,\n\t\t\t\tpageTotal: 0,\n\t\t\t\ttotalInfo: 0,\n\t\t\t\tloading: true,\n\t\t\t\tqryForm: {\n\t\t\t\t\ttoken: this.$store.state.token,\n\t\t\t\t\tteamName: \"\",\n\t\t\t\t\tuserName: \"\",\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\t\tmethods: {\n\n\t\t\tgetPageInfo(pageIndex, pageSize) {\n\n\t\t\t\tgetPageApplyLogs(pageIndex, pageSize, this.qryForm.token).then(resp => {\n\n\t\t\t\t\tthis.pageInfos = resp.data.data;\n\t\t\t\t\tthis.pageIndex = resp.data.pageIndex;\n\t\t\t\t\tthis.pageSize = resp.data.pageSize;\n\t\t\t\t\tthis.pageTotal = resp.data.pageTotal;\n\t\t\t\t\tthis.totalInfo = resp.data.count;\n\n\t\t\t\t\tthis.loading = false;\n\t\t\t\t});\n\t\t\t},\n\t\t\tgetPageLikeInfo() {\n\n\t\t\t\tgetPageApplyLogs(1, this.pageSize, this.qryForm.token, this.qryForm.teamName, this.qryForm.userName).then(resp => {\n\n\t\t\t\t\tthis.pageInfos = resp.data.data;\n\t\t\t\t\tthis.pageIndex = resp.data.pageIndex;\n\t\t\t\t\tthis.pageSize = resp.data.pageSize;\n\t\t\t\t\tthis.totalInfo = resp.data.count;\n\t\t\t\t\tthis.pageTotal = resp.data.pageTotal;\n\t\t\t\t\tthis.loading = false;\n\t\t\t\t});\n\t\t\t},\n\t\t\thandleSizeChange(pageSize) {\n\n\t\t\t\tthis.getPageInfo(this.pageIndex, pageSize, this.qryForm.token, this.qryForm.teamName, this.qryForm.userName);\n\t\t\t},\n\t\t\thandleCurrentChange(pageIndex) {\n\n\t\t\t\tthis.getPageInfo(pageIndex, this.pageSize, this.qryForm.token, this.qryForm.teamName, this.qryForm.userName);\n\t\t\t},\n\t\t\tupdInfo(data, status) {\n\n\t\t\t\tdata['status'] = status;\n\t\t\t\tupdApplyLogs(data).then(resp => {\n\n\t\t\t\t\tthis.$message({\n\t\t\t\t\t\tmessage: resp.msg,\n\t\t\t\t\t\ttype: 'success'\n\t\t\t\t\t});\n\n\t\t\t\t\tthis.getPageInfo(1, this.pageSize);\n\n\t\t\t\t\tthis.initForm();\n\t\t\t\t});\n\t\t\t}\n\t\t},\n\t\tmounted() {\n\n\t\t\tthis.getPageInfo(1, this.pageSize, this.qryForm.token);\n\n\t\t\tgetLoginUser(this.$store.state.token).then(resp =>{\n\n\t\t\t\tthis.userType = resp.data.type;\n\t\t\t});\n\t\t}\n\t}\n</script>"]}]} |