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

1 line
6.4 KiB
JSON
Raw Normal View History

2025-02-25 13:43:48 +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\\menu\\index.vue?vue&type=script&lang=js","dependencies":[{"path":"E:\\hz-zhhq-web\\src\\views\\jurisdiction\\menu\\index.vue","mtime":1737610069430},{"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\nvar _interopRequireDefault = require(\"E:/hz-zhhq-web/node_modules/@babel/runtime/helpers/interopRequireDefault.js\");\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nrequire(\"core-js/modules/es6.function.name\");\nvar _getdata = require(\"@/api/getdata\");\nvar _utils = require(\"@/utils\");\nvar _addUpdatePop = _interopRequireDefault(require(\"./popup/addUpdatePop.vue\"));\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\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 components: {\n popup: _addUpdatePop.default\n },\n data: function data() {\n return {\n loading: false,\n //初始化loading\n loadingMsg: \"\",\n row: {},\n dataList: [],\n dialogTableVisible: false,\n dataForm: {},\n newAlert: false,\n //新增活动弹窗是否显示\n newAlertTitle: '',\n //弹窗title\n isNewActivity: 1 //1是新增 2是编辑\n };\n },\n mounted: function mounted() {\n this.getDate();\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 closeNewAlert: function closeNewAlert() {\n this.newAlert = false;\n },\n /**删除 */delChange: function delChange(id) {\n var _this = this;\n this.$alert(\"确认进行删除嘛?\", \"确认\", {\n confirmButtonText: \"确定\",\n callback: function callback(action) {\n if (action == \"confirm\") {\n _this.createLoad();\n var Content = {\n id: id\n };\n (0, _getdata.delMenu)(Content).then(function (res) {\n if (res.returnCode == \"1\") {\n _this.$message({\n message: res.returnMsg,\n type: \"success\"\n });\n _this.getDate();\n _this.dialogTableVisible = false;\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 });\n },\n getDate: function getDate() {\n var _this2 = this;\n this.createLoad();\n var Content = {};\n (0, _getdata.menuList)(Content).then(function (res) {\n if (res.returnCode == \"1\") {\n _this2.clearLoad();\n if (res.returnData.length == 0) {\n _this2.$message({\n messa