{"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\\system\\CommonWords\\CommonWords.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\xq-web-bpm\\src\\views\\system\\CommonWords\\CommonWords.vue","mtime":1675071993069},{"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":["//\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//\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';\nexport default {\n  props: {},\n  data: function data() {\n    return {\n      isSubmit: false,\n      title: '',\n      dialogVisible: false,\n      pa: {\n        page: 1,\n        pageSize: 20,\n        total: 0\n      },\n      formData: {\n        type: 1,\n        expression: '',\n        departmentId: '',\n        roleId: '',\n        postId: ''\n      },\n      pageBean: {\n        page: 1,\n        pageSize: 20,\n        total: 0\n      },\n      data: [],\n      postList: [],\n      roleList: [],\n      departmentList: []\n    };\n  },\n  methods: {\n    rowClick: function rowClick(row, column, event) {\n      this.$refs.htTable.$refs.htTable.toggleRowSelection(row);\n    },\n    saveUrl: function saveUrl() {\n      return window.context.bpmModel + '/flow/approvalItem/v1/save';\n    },\n    beforeSaveData: function beforeSaveData() {\n      this.isSubmit = true;\n    },\n    afterSaveData: function afterSaveData() {\n      this.dialogVisible = false;\n      this.formData = {\n        type: 1,\n        expression: '',\n        departmentId: '',\n        roleId: '',\n        postId: ''\n      };\n      this.$refs.htTable.load();\n    },\n    //获取部门\n    getDepartmentList: function getDepartmentList() {\n      var _this = this;\n\n      flow.getDepartmentList().then(function (resp) {\n        _this.departmentList = resp.data.rows;\n      });\n    },\n    //获取岗位\n    getPostList: function getPostList() {\n      var _this2 = this;\n\n      flow.getPostList().then(function (resp) {\n        _this2.postList = resp.data.rows;\n      });\n    },\n    //获取角色\n    getRoleList: function getRoleList() {\n      var _this3 = this;\n\n      flow.getRoleList().then(function (resp) {\n        _this3.roleList = resp.data.rows;\n      });\n    },\n    handleOpen: function handleOpen(param, row) {\n      var _this4 = this;\n\n      this.title = param;\n\n      if (row) {\n        flow.getApproval(row.id).then(function (resp) {\n          _this4.formData = resp.data;\n        });\n      }\n\n      this.dialogVisible = true;\n      this.getPostList();\n      this.getRoleList();\n      this.getDepartmentList();\n    },\n    handleClose: function handleClose() {\n      this.dialogVisible = false;\n      this.formData = {\n        type: 1,\n        expression: ''\n      };\n    },\n    formDeleteUrl: function formDeleteUrl() {\n      return \"\".concat(window.context.bpmModel, \"/flow/approvalItem/v1/remove?ids\");\n    },\n    loadData: function loadData(param, cb) {\n      var _this5 = this;\n\n      if (!param) {\n        this.pageBean.total = 0;\n        param = {\n          pageBean: ''\n        };\n        param.pageBean = this.pageBean;\n      }\n\n      flow.getApprovalItemList(param).then(function (resp) {\n        _this5.data = resp.data.rows;\n        _this5.pageBean = {\n          page: resp.data.page,\n          pageSize: resp.data.pageSize,\n          total: resp.data.total\n        };\n      }).finally(function () {\n        return cb();\n      });\n    }\n  }\n};",null]}