{"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\\SecretaryManager.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\xq-web-bpm\\src\\views\\flow\\SecretaryManager.vue","mtime":1675071992835},{"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//\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 secretaryEdit = function secretaryEdit() {\n  return import(\"@/components/flow/SecretaryEdit.vue\");\n};\n\nexport default {\n  components: {\n    secretaryEdit: secretaryEdit\n  },\n  data: function data() {\n    return {\n      data: [],\n      pageResult: {\n        page: 0,\n        pageSize: 50,\n        total: 0\n      },\n      editData: {},\n      dialogVisible: false,\n      deleteUrl: window.context.bpmRunTime + \"/runtime/bpmSecretaryManage/v1/removes\"\n    };\n  },\n  methods: {\n    rowClick: function rowClick(row, column, event) {\n      this.$refs.table.$refs.htTable.toggleRowSelection(row);\n    },\n    loadData: function loadData(param, cb) {\n      var _this = this;\n\n      flow.getSecretaryList(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.getSecretaryById(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                this.$refs.secretaryEdit.handleOpen();\n\n              case 8:\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    beforeClose: function beforeClose() {\n      this.dialogVisible = false;\n    },\n    afterSave: function afterSave() {\n      this.$refs.table.load();\n    }\n  }\n};",null]}