1 line
5.9 KiB
JSON
1 line
5.9 KiB
JSON
{"remainingRequest":"E:\\hz-zhhq-web\\node_modules\\thread-loader\\dist\\cjs.js!E:\\hz-zhhq-web\\node_modules\\babel-loader\\lib\\index.js!E:\\hz-zhhq-web\\node_modules\\cache-loader\\dist\\cjs.js??ref--0-0!E:\\hz-zhhq-web\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!E:\\hz-zhhq-web\\src\\views\\jurisdiction\\accountnumber\\manage\\index.vue?vue&type=script&lang=js","dependencies":[{"path":"E:\\hz-zhhq-web\\src\\views\\jurisdiction\\accountnumber\\manage\\index.vue","mtime":1737610069427},{"path":"E:\\hz-zhhq-web\\babel.config.js","mtime":1737610069371},{"path":"E:\\hz-zhhq-web\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"E:\\hz-zhhq-web\\node_modules\\thread-loader\\dist\\cjs.js","mtime":499162500000},{"path":"E:\\hz-zhhq-web\\node_modules\\babel-loader\\lib\\index.js","mtime":456789000000},{"path":"E:\\hz-zhhq-web\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"E:\\hz-zhhq-web\\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//\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//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\nimport Paging from \"@/views/Public/paging.vue\";\nimport { YyList, UserListByRole, deleteRoleForUser } from \"@/api/getdata\";\nimport Popup from \"@/views/estate/examine/dialog/popup.vue\";\nexport default {\n components: {\n Paging: Paging,\n Popup: Popup\n },\n data: function data() {\n return {\n loading: false,\n //åˆ<C3A5>始化loading\n loadingMsg: \"\",\n validation: false,\n formInline: {\n telephone: \"\"\n },\n page: {\n limit: 0 /** 当å‰<C3A5>点击*/,\n sizePage: 10 /** 当å‰<C3A5>多少页*/,\n total: 0 /**总数 */\n },\n tableData: []\n };\n },\n created: function created() {},\n mounted: function mounted() {\n // this.$message({\n // message: JSON.parse(this.$route.query.row),\n // type: \"warning\"\n // });\n this.createLoad();\n this.getaccount();\n },\n methods: {\n comeBack: function comeBack() {\n this.$router.push({\n name: \"Accountnumber\"\n });\n },\n createLoad: function createLoad() {\n this.loading = true;\n this.loadingMsg = \"åŠ è½½ä¸...\";\n },\n clearLoad: function clearLoad() {\n this.loading = false;\n this.loadingMsg = \"\";\n },\n closeEnd: function closeEnd() {\n this.validation = false;\n },\n onSubmit: function onSubmit() {\n this.page.limit = 1;\n this.createLoad();\n this.getaccount();\n },\n // 分页\n currentChanges: function currentChanges(val) {\n this.page.limit = val;\n this.createLoad();\n this.getaccount();\n },\n getaccount: function getaccount() {\n var _this = this;\n var Content = {\n currentPage: this.page.limit == 0 ? 1 : this.page.limit,\n queryObj: {\n roleId: JSON.parse(this.$route.query.row).role_id,\n mobile: this.formInline.telephone\n }\n };\n console.log(Content, 777);\n UserListByRole(Content).then(function (res) {\n // console.log(res);\n if (res.returnCode == \"1\") {\n _this.clearLoad();\n console.log(res, 888);\n _this.tableData = res.returnData.data;\n _this.page.total = res.returnData.total;\n _this.page.limit = res.returnData.currentPage;\n if (_this.page.total == 0) {\n _this.$message({\n message: \"当å‰<C3A5>æ— æ•°æ<C2B0>®\",\n type: \"success\"\n });\n } else {\n _this.$message({\n message: res.returnMsg,\n type: \"success\"\n });\n }\n } else {\n _this.$message({\n message: res.returnMsg,\n type: \"warning\"\n });\n setTimeout(function () {\n _this.clearLoad();\n }, 300);\n }\n }).catch(function (err) {\n console.log(err);\n setTimeout(function () {\n _this.clearLoad();\n }, 300);\n });\n },\n //åˆ é™¤å‡½æ•°\n deleteHandler: function deleteHandler(row) {\n var _this2 = this;\n this.$alert(\"ç¡®è®¤è¿›è¡Œåˆ é™¤å˜›ï¼Ÿ\", \"确认\", {\n confirmButtonText: \"确定\",\n callback: function callback(action) {\n if (action == \"confirm\") {\n _this2.createLoad();\n var params = {\n id: row.id,\n // userId: \"\",\n flag: _this2.$route.query.onurl\n };\n console.log(params, 567);\n deleteRoleForUser(params).then(function (res) {\n if (res.returnCode == \"1\") {\n _this2.$message({\n message: res.returnMsg,\n type: \"success\"\n });\n _this2.createLoad();\n _this2.getaccount();\n _this2.$emit(\"delAccount\", val);\n } else {\n _this2.$message({\n message: res.returnMsg,\n type: \"warning\"\n });\n }\n }).catch(function (err) {\n console.log(\"error\");\n setTimeout(function () {\n _this2.clearLoad();\n }, 300);\n });\n }\n }\n });\n }\n }\n};",null]} |