{"remainingRequest":"D:\\jenkins\\workspace\\xq-web-fvue\\node_modules\\thread-loader\\dist\\cjs.js!D:\\jenkins\\workspace\\xq-web-fvue\\node_modules\\babel-loader\\lib\\index.js!D:\\jenkins\\workspace\\xq-web-fvue\\node_modules\\cache-loader\\dist\\cjs.js??ref--0-0!D:\\jenkins\\workspace\\xq-web-fvue\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\jenkins\\workspace\\xq-web-fvue\\src\\components\\flow\\completeView.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\xq-web-fvue\\src\\components\\flow\\completeView.vue","mtime":1667327529356},{"path":"D:\\jenkins\\workspace\\xq-web-fvue\\babel.config.js","mtime":1667327525434},{"path":"D:\\jenkins\\workspace\\xq-web-fvue\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\xq-web-fvue\\node_modules\\thread-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\xq-web-fvue\\node_modules\\babel-loader\\lib\\index.js","mtime":315532800000},{"path":"D:\\jenkins\\workspace\\xq-web-fvue\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\xq-web-fvue\\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//\nimport req from \"@/request.js\";\nexport default {\n name: \"completeView\",\n props: [\"procDefKey\"],\n data: function data() {\n return {\n title: \"\",\n pageBean: {\n page: 1,\n pageSize: 10,\n total: 0\n },\n querys: [{\n group: \"advance\",\n operation: \"EQUAL\",\n property: \"status_\",\n relation: \"AND\",\n value: \"end\"\n }, {\n group: \"advance\",\n operation: \"EQUAL\",\n property: \"proc_def_key_\",\n relation: \"AND\",\n value: this.procDefKey\n }],\n sorter: [{\n direction: \"DESC\",\n property: \"create_time_\"\n }],\n keyWord: \"\",\n startTime: \"\",\n endTime: \"\",\n date: \"\",\n rows: null,\n loading: true,\n procName: \"\"\n };\n },\n created: function created() {\n var _this = this;\n\n //验证当前流程定义别名是否已经配置流程公示\n this.$http.get(\"${portal}/portal/sysIndexColumn/sysIndexColumn/v1/validateProcAnn?defKey=\" + this.procDefKey).then(function (resp) {\n if (resp.data && resp.data.state) {\n _this.init();\n } else {\n _this.$router.push(\"/\");\n }\n });\n },\n methods: {\n init: function init() {\n var _this2 = this;\n\n this.loading = true;\n var that = this;\n var pageBean = this.pageBean;\n var querys = this.querys;\n var sorter = this.sorter;\n req.post(window.context.bpmRunTime + \"/runtime/instance/v1/query\", {\n pageBean: pageBean,\n querys: querys,\n sorter: sorter\n }).then(function (resp) {\n if (resp.status == \"200\") {\n if (resp.data.rows.length > 0) {\n that.procName = resp.data.rows[0].procDefName;\n }\n\n that.rows = resp.data.rows;\n that.loading = false;\n that.pageBean.total = resp.data.total;\n } else {\n _this2.loading = false;\n }\n });\n },\n goBack: function goBack() {\n this.$router.go(-1);\n },\n search: function search() {\n //删除旧的查询\n for (var i = this.querys.length - 1; i >= 0; i--) {\n var property = this.querys[i].property;\n\n if (property == 'subject' || property == 'creator' || property == 'createTime') {\n this.querys.splice(i, 1);\n }\n }\n\n if (this.keyWord) {\n this.querys.push({\n group: \"main\",\n property: \"subject\",\n operation: \"LIKE\",\n relation: \"OR\",\n value: this.keyWord\n });\n this.querys.push({\n group: \"main\",\n property: \"creator\",\n operation: \"LIKE\",\n relation: \"OR\",\n value: this.keyWord\n });\n }\n\n if (this.date && this.date.length == 2) {\n this.querys.push({\n group: \"time\",\n property: \"createTime\",\n operation: \"BETWEEN\",\n relation: \"AND\",\n value: this.date\n });\n }\n\n this.init();\n },\n handleSizeChange: function handleSizeChange(size) {\n this.pageBean.pageSize = size;\n this.init();\n },\n handleCurrentChange: function handleCurrentChange(page) {\n this.pageBean.page = page;\n this.init();\n },\n reset: function reset() {\n //删除旧的查询\n for (var i = this.querys.length - 1; i >= 0; i--) {\n var property = this.querys[i].property;\n\n if (property == 'subject' || property == 'creator' || property == 'createTime') {\n this.querys.splice(i, 1);\n }\n }\n\n this.keyWord = \"\";\n this.date = \"\";\n },\n //前往业务数据表单页面\n showBoData: function showBoData(id) {\n var token = this.$store.state.login.currentUser.token;\n var url = window.context.front + \"/doneReadOnly/\" + id + \"?token=\" + token;\n window.open(url, \"_blank\", \"width=\" + (window.screen.availWidth - 10) + \",height=\" + (window.screen.availHeight - 10));\n }\n }\n};",null]}