hz-zhhq-web/node_modules/.cache/babel-loader/004cf9090cab231235e6cf739a5...

1 line
1.6 KiB
JSON

{"remainingRequest":"E:\\hz-zhhq-web\\node_modules\\babel-loader\\lib\\index.js!E:\\hz-zhhq-web\\src\\store\\modules\\getdata.js","dependencies":[{"path":"E:\\hz-zhhq-web\\src\\store\\modules\\getdata.js","mtime":1737610069395},{"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}],"contextDependencies":[],"result":["\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar _getdata = require(\"@/api/getdata\");\nvar state = {\n gList: []\n};\nvar mutations = {\n SET_QLIST: function SET_QLIST(state, list) {\n state.qList = list;\n }\n};\nvar actions = {\n getlist: function getlist(_ref, userInfo) {\n var commit = _ref.commit;\n console.log(userInfo, '2222');\n var applicantDepartmentId = userInfo.applicantDepartmentId,\n applicantName = userInfo.applicantName,\n approvalStatus = userInfo.approvalStatus,\n endDate = userInfo.endDate,\n startDate = userInfo.startDate;\n return new Promise(function (resolve, reject) {\n (0, _getdata.getlist)(applicantDepartmentId, applicantName, approvalStatus, endDate, startDate).then(function (response) {\n // console.log(response)\n commit('SET_QLIST', response);\n resolve(response);\n }).catch(function (error) {\n reject(error);\n });\n });\n }\n};\nvar _default = exports.default = {\n namespaced: true,\n state: state,\n mutations: mutations,\n actions: actions\n};",null]}