hz-zhhq-web/node_modules/.cache/babel-loader/2300b185a7dc46e3d0312604b0f...

1 line
8.3 KiB
JSON
Raw Normal View History

2025-02-25 13:43:48 +08:00
{"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\\passVisualization\\role\\index.vue?vue&type=script&lang=js","dependencies":[{"path":"E:\\hz-zhhq-web\\src\\views\\passVisualization\\role\\index.vue","mtime":1737610069441},{"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\nimport Paging from \"@/views/Public/paging.vue\";\nimport { Own, getRoleList, addRoleData, delRoleData, updateRoleData, authUsers, authDevices } from \"@/api/getdata\";\nimport Addpop from \"./popup/addpop.vue\";\nimport Userpop from \"./popup/userpop.vue\";\nimport Devicepop from \"./popup/devicepop.vue\";\nimport Popup from \"@/views/estate/examine/dialog/popup.vue\";\nexport default {\n data: function data() {\n return {\n fileList: [],\n loading: false,\n //初始化loading\n loadingMsg: \"\",\n food_name: \"\",\n formInline: {\n roleName: \"\"\n },\n page: {\n limit: 0 /** 当前点击*/,\n sizePage: 10 /** 当前多少页*/,\n total: 0 /**总数 */\n },\n tableData: [],\n validation: false,\n //删除询问弹窗\n row: {},\n isShowEdit: false /**用于设置弹窗 */,\n isUserEdit: false /**用于设置弹窗 */,\n isDeviceEdit: false /**用于设置弹窗 */,\n num: 3\n };\n },\n components: {\n Paging: Paging,\n Addpop: Addpop,\n Userpop: Userpop,\n Devicepop: Devicepop,\n Popup: Popup\n },\n mounted: function mounted() {\n if (this.$route.params.index) {\n this.currentChanges(this.$route.params.index);\n } else {\n this.createLoad();\n this.getlist();\n }\n },\n methods: {\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 // 分页\n currentChanges: function currentChanges(val) {\n this.createLoad();\n this.page.limit = val;\n this.getlist();\n },\n getlist: function getlist() {\n var _this = this;\n var Content = {\n roleName: this.formInline.roleName,\n currentPage: this.page.limit == 0 ? 1 : this.page.limit,\n pageNum: this.page.limit == 0 ? 1 : this.page.limit,\n pageSize: 10\n };\n getRoleList(Content).then(function (res) {\n if (res.returnCode == \"1\") {\n console.log(res);\n _this.clearLoad();\n _this.tableData = res.returnData.data;\n _this.page.total = res.returnData.total;\n _this.page.limit = res.returnData.currentPage;\n // this.tableData.id = res.returnData.data.id;\n } else {\n _this.$message({\n message: res.returnMsg,\n type: \"warning\"\n });\n setTimeout(function () {\n _this.clearLoad();\n