{"remainingRequest":"D:\\jenkins\\workspace\\xq-web-bpm\\node_modules\\thread-loader\\dist\\cjs.js!D:\\jenkins\\workspace\\xq-web-bpm\\node_modules\\babel-loader\\lib\\index.js!D:\\jenkins\\workspace\\xq-web-bpm\\node_modules\\cache-loader\\dist\\cjs.js??ref--0-0!D:\\jenkins\\workspace\\xq-web-bpm\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\jenkins\\workspace\\xq-web-bpm\\src\\views\\flow\\AgentManager.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\xq-web-bpm\\src\\views\\flow\\AgentManager.vue","mtime":1675071992788},{"path":"D:\\jenkins\\workspace\\xq-web-bpm\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\xq-web-bpm\\node_modules\\thread-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\xq-web-bpm\\node_modules\\babel-loader\\lib\\index.js","mtime":315532800000},{"path":"D:\\jenkins\\workspace\\xq-web-bpm\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\xq-web-bpm\\node_modules\\vue-loader\\lib\\index.js","mtime":499162500000}],"contextDependencies":[],"result":["import \"regenerator-runtime/runtime\";\nimport _asyncToGenerator from \"D:/jenkins/workspace/xq-web-bpm/node_modules/@babel/runtime/helpers/esm/asyncToGenerator\";\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 flow from \"@/api/flow.js\";\n\nvar agentEdit = function agentEdit() {\n  return import(\"@/components/flow/AgentEdit.vue\");\n};\n\nexport default {\n  components: {\n    agentEdit: agentEdit\n  },\n  data: function data() {\n    return {\n      data: [],\n      dialogVisible: false,\n      pageResult: {\n        page: 0,\n        pageSize: 50,\n        total: 0\n      },\n      editData: {},\n      deleteUrl: window.context.bpmModel + \"/bpmModel/bpmDeputy/v1/removes\"\n    };\n  },\n  methods: {\n    loadData: function loadData(param, cb) {\n      var _this = this;\n\n      flow.getAgentList(param).then(function (response) {\n        _this.data = response.rows;\n        _this.pageResult = {\n          page: response.page,\n          pageSize: response.pageSize,\n          total: response.total\n        };\n      }).finally(function () {\n        cb();\n      });\n    },\n    edit: function () {\n      var _edit = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee(id) {\n        return regeneratorRuntime.wrap(function _callee$(_context) {\n          while (1) {\n            switch (_context.prev = _context.next) {\n              case 0:\n                if (!(id != null)) {\n                  _context.next = 6;\n                  break;\n                }\n\n                _context.next = 3;\n                return flow.getAgentById(id);\n\n              case 3:\n                this.editData = _context.sent;\n                _context.next = 7;\n                break;\n\n              case 6:\n                this.editData = {};\n\n              case 7:\n                console.info(this.editData);\n                this.$refs.agentEdit.handleOpen();\n\n              case 9:\n              case \"end\":\n                return _context.stop();\n            }\n          }\n        }, _callee, this);\n      }));\n\n      function edit(_x) {\n        return _edit.apply(this, arguments);\n      }\n\n      return edit;\n    }(),\n    afterSave: function afterSave() {\n      this.$refs.table.load();\n    }\n  }\n};",null]}