hz-zhhq-web/node_modules/.cache/babel-loader/c2ba514207a531fb964ff155c03...

1 line
4.0 KiB
JSON
Raw Normal View History

2025-02-25 14:04:51 +08:00
{"remainingRequest":"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\\webuser\\popup\\ticketpop.vue?vue&type=script&lang=js","dependencies":[{"path":"E:\\hz-zhhq-web\\src\\views\\jurisdiction\\webuser\\popup\\ticketpop.vue","mtime":1737610069432},{"path":"E:\\hz-zhhq-web\\babel.config.js","mtime":1737610069371},{"path":"E:\\hz-zhhq-web\\node_modules\\cache-loader\\dist\\cjs.js","mtime":1740463332762},{"path":"E:\\hz-zhhq-web\\node_modules\\babel-loader\\lib\\index.js","mtime":1740463332584},{"path":"E:\\hz-zhhq-web\\node_modules\\cache-loader\\dist\\cjs.js","mtime":1740463332762},{"path":"E:\\hz-zhhq-web\\node_modules\\vue-loader\\lib\\index.js","mtime":1740463340941}],"contextDependencies":[],"result":["\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar _fs = require(\"fs\");\nvar _getdata = require(\"@/api/getdata\");\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\nvar _default = exports.default = {\n props: [\"width\", \"row\", \"title\"],\n data: function data() {\n return {\n options: [],\n /**拜访部门 */\n //role:[{id: 1,name:'超级管理员'},{id: 2,name:'普通员工'},{id: 9,name:'外部人员'},{id:3,name:\"新技术测试\"} ],\n role: [],\n lDialog: this.width > 500 ? \"w700\" : \"w500\",\n dialogVisible: true,\n rules: {\n bm: [{\n required: true,\n message: \"请选择部门名\",\n trigger: \"change\"\n }]\n }\n };\n },\n mounted: function mounted() {\n this.getbmlist();\n this.getAppRoleList();\n },\n methods: {\n getbmlist: function getbmlist() {\n var _this = this;\n (0, _getdata.GetChan)().then(function (res) {\n if (res.returnCode == '1') {\n _this.$message({\n message: res.returnMsg,\n type: \"success\"\n });\n _this.options = res.returnData;\n } else {\n _this.$message({\n message: res.returnMsg,\n type: \"warning\"\n });\n }\n }).catch(function (err) {\n console.log(err);\n });\n },\n getAppRoleList: function getAppRoleList() {\n var _this2 = this;\n var aa = {\n roleName: '',\n pageIndex: 1,\n pageSize: 50\n };\n (0, _getdata.getAppRoleList)(aa).then(function (res) {\n if (res.returnCode == '1') {\n _this2.$message({\n message: res.returnMsg,\n type: \"success\"\n });\n _this2.role = res.returnData.data;\n } else {\n _this2.$message({\n message: res.returnMsg,\n type: \"warning\"\n });\n }\n }).catch(function (err) {\n console.log(err);\n });\n },\n /*关闭弹窗 */handleClose: function handleClose() {\n var _this3 = this;\n this.dialogVisible = false;\n this.$emit(\"closeDialog\");\n setTimeout(function () {\n _this3.dialogVisible = true;\n });\n },\n /**确认弹窗 */sureBtnClick: function sureBtnClick() {\n var _this4 = this;\n this.dialogVisible = false;\n this.$emit(\"closeDialog\");\n setTimeout(function () {\n _this4.dialogVisible = true;\n });\n },\n /**验证 */submitForm: function submitForm(formName) {\n // if(this.row.role_id == 0){\n // this.$message({\n // message:'如要设置超级管理员,请联系相关人员',\n // type: \"warning\"\n // });\n // return;\n // }\n var data = {\n id: this.row.id,\n departmentId: this.row.department_id,\n roleId: this.row.role_id\n };\n this.$emit('submit', data);\