1 line
2.8 KiB
JSON
1 line
2.8 KiB
JSON
{"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\\roleManage\\popup\\ticketpop.vue?vue&type=script&lang=js","dependencies":[{"path":"E:\\hz-zhhq-web\\src\\views\\jurisdiction\\roleManage\\popup\\ticketpop.vue","mtime":1737610069431},{"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\\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":["\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar _getdata = require(\"@/api/getdata\");\nvar _utils = require(\"@/utils\");\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\", \"dataForm\", \"title\", \"disabled\", \"dataList\"],\n data: function data() {\n return {\n roles: [],\n lDialog: this.width > 500 ? \"w700\" : \"w500\",\n dialogVisible: true,\n isDisabled: true,\n options: [],\n roleIds: [],\n menuIds: [],\n menuList: [],\n defaultProps: {\n children: 'children',\n label: 'name'\n },\n roleTypes: ['WEB角色', 'APP角色']\n };\n },\n mounted: function mounted() {\n this.menuIds = [];\n var menuIds = this.dataForm.menuIds;\n for (var i in menuIds) {\n this.menuIds.push(menuIds[i].menu_id);\n }\n if (this.dataForm.id === 0) {\n this.isDisabled = false;\n }\n this.menuList = this.dataList;\n },\n methods: {\n /*关闭弹窗 */handleClose: function handleClose() {\n var _this = this;\n this.dialogVisible = false;\n this.$emit(\"closeDialog\");\n setTimeout(function () {\n _this.dialogVisible = true;\n });\n },\n /**确认弹窗 */sureBtnClick: function sureBtnClick() {\n var _this2 = this;\n this.dialogVisible = false;\n this.$emit(\"closeDialog\");\n setTimeout(function () {\n _this2.dialogVisible = true;\n });\n },\n /**验证 */submitForm: function submitForm(formName) {\n var data = this.dataForm;\n data.roleType = '0';\n data.menuIds = this.$refs.tree.getCheckedKeys();\n this.$emit('submit', data);\n }\n }\n};",null]} |