{"remainingRequest":"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\\relatedInformation.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\xq-web-fvue\\src\\components\\flow\\relatedInformation.vue","mtime":1667327529419},{"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\r\nimport { mapState, mapActions } from \"vuex\";\r\nexport default {\r\n name: \"relatedInformation\",\r\n props: [\"instId\"],\r\n components: {},\r\n data() {\r\n return {\r\n relatedInformationDialog:false,\r\n checked:true\r\n };\r\n },\r\n computed: mapState({\r\n rows: state => state.storeProcess.rows,\r\n pagination: state => state.storeProcess.pagination,\r\n total: state => state.storeProcess.total,\r\n relatedInformation: state => state.storeProcess.relatedInformation\r\n }),\r\n methods: {\r\n isChecked(checked){\r\n let pageBean ={};\r\n this.checked=checked;\r\n if(checked){\r\n pageBean = {\"pageBean\":{\"page\":\"1\",\"pageSize\":\"10\",\"showTotal\":\"true\"}, \"params\":{\"distinct\": \"1\"},\r\n \"querys\":[{property: \"procInstId\", value: this.instId, operation: \"EQUAL\", relation: \"AND\"}]};\r\n \r\n }else{\r\n pageBean = {\"pageBean\":{\"page\":\"1\",\"pageSize\":\"10\",\"showTotal\":\"true\"},\"querys\":[{property: \"procInstId\", value: this.instId, operation: \"EQUAL\", relation: \"AND\"}]};\r\n }\r\n this.$store.dispatch(\"storeProcess/getByRecordInstId\",pageBean);\r\n },\r\n //鼠标点击页面其他其他位置不关闭弹框\r\n handleClose(done) {\r\n this.relatedInformationDialog = true;\r\n this.$store.dispatch(\"storeProcess/getRelatedInformationById\", this.instId);\r\n let pageBean = {\"pageBean\":{\"page\":\"1\",\"pageSize\":\"10\",\"showTotal\":\"true\"},\r\n \"params\":{\"distinct\": \"1\"},\"querys\":[{property: \"procInstId\", value: this.instId, operation: \"EQUAL\", relation: \"AND\"}]}; //初次加载默认pageBean\r\n this.$store.dispatch(\"storeProcess/getByRecordInstId\",pageBean);\r\n },\r\n handleSizeChange: function (size) {//每页下拉显示数据\r\n this.$store.dispatch(\"storeProcess/setPaginationSize\",size);\r\n this.search();\r\n },\r\n handleCurrentChange: function(currentPage){//点击第几页\r\n this.$store.dispatch(\"storeProcess/setPaginationPageNum\",currentPage);\r\n this.search();\r\n },\r\n search(){\r\n let pageBean ={};\r\n if(this.checked){\r\n pageBean = {\"pageBean\":this.pagination,\r\n \"params\":{\"distinct\": \"1\"},\"querys\":[{property: \"procInstId\", value: this.instId, operation: \"EQUAL\", relation: \"AND\"}]}; \r\n }else{\r\n pageBean = {\"pageBean\":this.pagination,\"querys\":[{property: \"procInstId\", value: this.instId, operation: \"EQUAL\", relation: \"AND\"}]}; \r\n }\r\n this.$store.dispatch(\"storeProcess/getByRecordInstId\",pageBean);\r\n }\r\n }\r\n};\r\n",null]}