Files
education/frontend/node_modules/.cache/vue-loader/df678e98d6ffb20c19dad87a21303f03.json
T

1 line
7.0 KiB
JSON

{"remainingRequest":"C:\\Users\\Admin\\Desktop\\education\\frontend\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!C:\\Users\\Admin\\Desktop\\education\\frontend\\src\\views\\system\\notice\\ReadUsers.vue?vue&type=script&lang=js","dependencies":[{"path":"C:\\Users\\Admin\\Desktop\\education\\frontend\\src\\views\\system\\notice\\ReadUsers.vue","mtime":1787567871662},{"path":"C:\\Users\\Admin\\Desktop\\education\\frontend\\node_modules\\cache-loader\\dist\\cjs.js","mtime":1787309791955},{"path":"C:\\Users\\Admin\\Desktop\\education\\frontend\\node_modules\\babel-loader\\lib\\index.js","mtime":1787309793142},{"path":"C:\\Users\\Admin\\Desktop\\education\\frontend\\node_modules\\cache-loader\\dist\\cjs.js","mtime":1787309791955},{"path":"C:\\Users\\Admin\\Desktop\\education\\frontend\\node_modules\\vue-loader\\lib\\index.js","mtime":1787309793790}],"contextDependencies":[],"result":[{"type":"Buffer","data":"base64:Ly8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KDQppbXBvcnQgeyBsaXN0Tm90aWNlUmVhZFVzZXJzIH0gZnJvbSAiQC9hcGkvc3lzdGVtL25vdGljZSINCg0KZXhwb3J0IGRlZmF1bHQgew0KICBuYW1lOiAiUmVhZFVzZXJzIiwNCiAgZGF0YSgpIHsNCiAgICByZXR1cm4gew0KICAgICAgdmlzaWJsZTogZmFsc2UsDQogICAgICBsb2FkaW5nOiBmYWxzZSwNCiAgICAgIG5vdGljZUlkOiB1bmRlZmluZWQsDQogICAgICBub3RpY2VUaXRsZTogIiIsDQogICAgICB0b3RhbDogMCwNCiAgICAgIHVzZXJM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VyeUZvcm0iKQ0KICAgICAgdGhpcy5oYW5kbGVRdWVyeSgpDQogICAgfSwNCiAgICBoYW5kbGVDbG9zZSgpIHsNCiAgICAgIHRoaXMudXNlckxpc3QgPSBbXQ0KICAgICAgdGhpcy50b3RhbCA9IDANCiAgICAgIHRoaXMucXVlcnlQYXJhbXMuc2VhcmNoVmFsdWUgPSB1bmRlZmluZWQNCiAgICB9DQogIH0NCn0NCg=="},{"version":3,"sources":["ReadUsers.vue"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAyCA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","file":"ReadUsers.vue","sourceRoot":"src/views/system/notice","sourcesContent":["<template>\r\n <el-dialog :title=\"`「${noticeTitle}」已读用户`\" :visible.sync=\"visible\" width=\"760px\" top=\"6vh\" append-to-body @close=\"handleClose\">\r\n <el-form :model=\"queryParams\" ref=\"queryForm\" size=\"small\" :inline=\"true\" style=\"margin-bottom: 4px;\">\r\n <el-form-item prop=\"searchValue\">\r\n <el-input\r\n v-model=\"queryParams.searchValue\"\r\n placeholder=\"登录名称 / 用户名称\"\r\n clearable\r\n prefix-icon=\"el-icon-search\"\r\n style=\"width: 220px;\"\r\n @keyup.enter.native=\"handleQuery\"\r\n @clear=\"handleQuery\"\r\n />\r\n </el-form-item>\r\n <el-form-item>\r\n <el-button type=\"primary\" icon=\"el-icon-search\" size=\"mini\" @click=\"handleQuery\">搜索</el-button>\r\n <el-button icon=\"el-icon-refresh\" size=\"mini\" @click=\"resetQuery\">重置</el-button>\r\n </el-form-item>\r\n <el-form-item style=\"float: right; margin-right: 0;\">\r\n <span class=\"read-stat\">\r\n 共 <strong>{{ total }}</strong> 人已读\r\n </span>\r\n </el-form-item>\r\n </el-form>\r\n <el-table v-loading=\"loading\" :data=\"userList\" size=\"small\" stripe height=\"340px\">\r\n <el-table-column type=\"index\" label=\"序号\" width=\"55\" align=\"center\" />\r\n <el-table-column label=\"登录名称\" prop=\"userName\" align=\"center\" :show-overflow-tooltip=\"true\" />\r\n <el-table-column label=\"用户名称\" prop=\"nickName\" align=\"center\" :show-overflow-tooltip=\"true\" />\r\n <el-table-column label=\"所属部门\" prop=\"deptName\" align=\"center\" :show-overflow-tooltip=\"true\" />\r\n <el-table-column label=\"手机号码\" prop=\"phonenumber\" align=\"center\" width=\"120\" />\r\n <el-table-column label=\"阅读时间\" prop=\"readTime\" align=\"center\" width=\"160\">\r\n <template slot-scope=\"scope\">\r\n <span>{{ parseTime(scope.row.readTime) }}</span>\r\n </template>\r\n </el-table-column>\r\n </el-table>\r\n <pagination v-show=\"total > 0\" :total=\"total\" :page.sync=\"queryParams.pageNum\" :limit.sync=\"queryParams.pageSize\" @pagination=\"getList\" style=\"padding: 6px 0px;\"/>\r\n </el-dialog>\r\n</template>\r\n\r\n<script>\r\nimport { listNoticeReadUsers } from \"@/api/system/notice\"\r\n\r\nexport default {\r\n name: \"ReadUsers\",\r\n data() {\r\n return {\r\n visible: false,\r\n loading: false,\r\n noticeId: undefined,\r\n noticeTitle: \"\",\r\n total: 0,\r\n userList: [],\r\n queryParams: {\r\n pageNum: 1,\r\n pageSize: 10,\r\n noticeId: undefined,\r\n searchValue: undefined\r\n }\r\n }\r\n },\r\n methods: {\r\n open(row) {\r\n this.noticeId = row.noticeId\r\n this.noticeTitle = row.noticeTitle\r\n this.queryParams.noticeId = row.noticeId\r\n this.queryParams.searchValue = undefined\r\n this.queryParams.pageNum = 1\r\n this.visible = true\r\n this.getList()\r\n },\r\n getList() {\r\n this.loading = true\r\n listNoticeReadUsers(this.queryParams).then(res => {\r\n this.userList = res.rows\r\n this.total = res.total\r\n }).finally(() => {\r\n this.loading = false\r\n })\r\n },\r\n handleQuery() {\r\n this.queryParams.pageNum = 1\r\n this.getList()\r\n },\r\n resetQuery() {\r\n this.resetForm(\"queryForm\")\r\n this.handleQuery()\r\n },\r\n handleClose() {\r\n this.userList = []\r\n this.total = 0\r\n this.queryParams.searchValue = undefined\r\n }\r\n }\r\n}\r\n</script>\r\n\r\n<style scoped>\r\n.read-stat {\r\n font-size: 13px;\r\n color: #606266;\r\n line-height: 28px;\r\n}\r\n.read-stat strong {\r\n color: #00875A;\r\n font-size: 15px;\r\n margin: 0 2px;\r\n}\r\n</style>\r\n"]}]}