You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
			
				
					1 line
				
				3.3 KiB
			
		
		
			
		
	
	
					1 line
				
				3.3 KiB
			| 
								 
											4 years ago
										 
									 | 
							
								{"remainingRequest":"F:\\workspace\\gcy\\RK-archives\\ruoyi-ui\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!F:\\workspace\\gcy\\RK-archives\\ruoyi-ui\\src\\components\\activiti\\approvalHistory\\index.vue?vue&type=script&lang=js&","dependencies":[{"path":"F:\\workspace\\gcy\\RK-archives\\ruoyi-ui\\src\\components\\activiti\\approvalHistory\\index.vue","mtime":1633763897159},{"path":"F:\\workspace\\gcy\\RK-archives\\ruoyi-ui\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"F:\\workspace\\gcy\\RK-archives\\ruoyi-ui\\node_modules\\babel-loader\\lib\\index.js","mtime":315532800000},{"path":"F:\\workspace\\gcy\\RK-archives\\ruoyi-ui\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"F:\\workspace\\gcy\\RK-archives\\ruoyi-ui\\node_modules\\vue-loader\\lib\\index.js","mtime":499162500000}],"contextDependencies":[],"result":[{"type":"Buffer","data":"base64:Ly8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KCmltcG9ydCB7IGxpc3RIaXN0b3J5IH0gZnJvbSAnQC9hcGkvYWN0aXZpdGkvcHJvY2VzcycKCmV4cG9ydCBkZWZhdWx0IHsKICBwcm9wczogWydpbnN0YW5jZUlkJ10sCiAgbmFtZTogJ2luZGV4JywKICBkYXRhKCkgewogICAgcmV0dXJuIHsKICAgICAgLy/lrqHmibnljoblj7IKICAgICAgZ3JpZERhdGE6IG51bGwKICAgIH0KICB9LAogIG1ldGhvZHM6IHsKICAgIC8qKiDljoblj7LliJfooaggKi8KICAgIGhpc3RvcnlMaXN0KGluc3RhbmNlKSB7CiAgICAgIGxpc3RIaXN0b3J5KGluc3RhbmNlKS50aGVuKHJlc3BvbnNlID0+IHsKICAgICAgICB0aGlzLmdyaWREYXRhID0gcmVzcG9uc2Uucm93cwogICAgICB9KQogICAgfQogIH0sCiAgd2F0Y2g6IHsKICAgIGluc3RhbmNlSWQ6IHsKICAgICAgaW1tZWRpYXRlOiB0cnVlLAogICAgICBoYW5kbGVyKG5ld1ZhbCkgewogICAgICAgIGlmIChuZXdWYWwpIHsKICAgICAgICAgIHRoaXMuaGlzdG9yeUxpc3QobmV3VmFsKQogICAgICAgIH1lbHNlIHsKICAgICAgICAgIHRoaXMuZ3JpZERhdGE9bnVsbDsKICAgICAgICB9CiAgICAgIH0KICAgIH0KICB9Cn0K"},{"version":3,"sources":["index.vue"],"names":[],"mappings":";;;;;;;;;;;;;;AAcA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","file":"index.vue","sourceRoot":"src/components/activiti/approvalHistory","sourcesContent":["<template>\n  <div>\n    <el-table :data=\"gridData\">\n      <el-table-column property=\"activityName\" label=\"任务名称\"></el-table-column>\n      <el-table-column property=\"assigneeName\" label=\"处理人\"></el-table-column>\n      <el-table-column property=\"comment\" label=\"审批意见\"></el-table-column>\n      <el-table-column property=\"startTime\" label=\"开始时间\"></el-table-column>\n      <el-table-column property=\"endTime\" label=\"结束时间\"></el-table-column>\n      <el-table-column property=\"durationInMillis\" label=\"耗时\"></el-table-column>\n    </el-table>\n  </div>\n</template>\n\n<script>\n  import { listHistory } from '@/api/activiti/process'\n\n  export default {\n    props: ['instanceId'],\n    name: 'index',\n    data() {\n      return {\n        //审批历史\n        gridData: null\n      }\n    },\n    methods: {\n      /** 历史列表 */\n      historyList(instance) {\n        listHistory(instance).then(response => {\n          this.gridData = response.rows\n        })\n      }\n    },\n    watch: {\n      instanceId: {\n        immediate: true,\n        handler(newVal) {\n          if (newVal) {\n            this.historyList(newVal)\n          }else {\n            this.gridData=null;\n          }\n        }\n      }\n    }\n  }\n</script>\n\n<style scoped>\n\n</style>\n"]}]}
							 |