forked from zhurui/management
1 line
7.1 KiB
JSON
1 line
7.1 KiB
JSON
{"remainingRequest":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\src\\components\\ren-process-multiple\\src\\ren-process-multiple.vue?vue&type=script&lang=js&","dependencies":[{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\src\\components\\ren-process-multiple\\src\\ren-process-multiple.vue","mtime":1614735254000},{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\babel-loader\\lib\\index.js","mtime":499162500000},{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\vue-loader\\lib\\index.js","mtime":499162500000}],"contextDependencies":[],"result":["//\n//\n//\n//\n//\n//\n//\n//\n\nexport default {\n name: 'RenProcessMultiple',\n data () {\n return {\n // 是否显示启动流程\n startProcessVisible: false,\n // 是否任务处理\n runningHandleVisible: false,\n // 是否显示流程处理详情\n processDetailVisible: false,\n // 用于区分流程启动(start)、任务处理(taskHandle)以及查看详情(null)\n showType: null,\n // 父级对象\n parentObj: null,\n dataForm: {\n processDefinitionKey: '',\n taskId: '',\n businessKey: '',\n processInstanceId: ''\n },\n // 回调函数\n callbacks: {\n // 启动成功回调\n startProcessSuccessCallback: null,\n // 启动失败回调\n startProcessErrorCallback: null,\n // 任务处理成功回调\n taskHandleSuccessCallback: null,\n // 任务处理失败回调\n taskHandleErrorCallback: null,\n // 表单保存成功回调\n formSaveSuccessCallback: null,\n // 表单保存失败回调\n formSaveErrorCallback: null\n }\n }\n },\n components: {\n },\n created () {\n this.$nextTick(() => {\n if (!this.showType) {\n this.startProcessVisible = false\n this.runningHandleVisible = false\n this.processDetailVisible = true\n } else if (this.showType === 'start') {\n // 启动流程\n this.startProcessVisible = true\n this.$nextTick(() => {\n this.$refs.renProcessStart.rootObj = this.parentObj\n this.$refs.renProcessStart.callbacks = this.callbacks\n this.$refs.renProcessStart.dataForm.processDefinitionKey = this.dataForm.processDefinitionKey\n })\n } else if (this.showType === 'taskHandle') {\n // 任务处理\n this.runningHandleVisible = true\n this.$nextTick(() => {\n this.$refs.renProcessRunning.rootObj = this.parentObj\n this.$refs.renProcessRunning.dataForm.taskId = this.dataForm.taskId\n this.$refs.renProcessRunning.dataForm.processInstanceId = this.dataForm.processInstanceId\n this.$refs.renProcessRunning.callbacks = this.callbacks\n this.$refs.renProcessRunning.dataForm.businessKey = this.dataForm.businessKey\n this.$refs.renProcessRunning.dataForm.processDefinitionKey = this.dataForm.processDefinitionKey\n })\n }\n })\n },\n props: {\n saveFormUrl: String,\n updateInstanceIdUrl: String,\n dataFormName: String\n },\n watch: {\n },\n methods: {\n }\n}\n",{"version":3,"sources":["ren-process-multiple.vue"],"names":[],"mappings":";;;;;;;;;AASA;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;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","file":"ren-process-multiple.vue","sourceRoot":"src/components/ren-process-multiple/src","sourcesContent":["<template>\n <div>\n <ren-process-start v-if=\"startProcessVisible\" :saveFormUrl=\"saveFormUrl\" :updateInstanceIdUrl=\"updateInstanceIdUrl\" :dataFormName=\"dataFormName\" ref=\"renProcessStart\"></ren-process-start>\n <ren-process-running v-if=\"runningHandleVisible\" ref=\"renProcessRunning\"></ren-process-running>\n <ren-process-detail v-if=\"processDetailVisible\" ref=\"renProcessDetail\"></ren-process-detail>\n </div>\n</template>\n\n<script>\nexport default {\n name: 'RenProcessMultiple',\n data () {\n return {\n // 是否显示启动流程\n startProcessVisible: false,\n // 是否任务处理\n runningHandleVisible: false,\n // 是否显示流程处理详情\n processDetailVisible: false,\n // 用于区分流程启动(start)、任务处理(taskHandle)以及查看详情(null)\n showType: null,\n // 父级对象\n parentObj: null,\n dataForm: {\n processDefinitionKey: '',\n taskId: '',\n businessKey: '',\n processInstanceId: ''\n },\n // 回调函数\n callbacks: {\n // 启动成功回调\n startProcessSuccessCallback: null,\n // 启动失败回调\n startProcessErrorCallback: null,\n // 任务处理成功回调\n taskHandleSuccessCallback: null,\n // 任务处理失败回调\n taskHandleErrorCallback: null,\n // 表单保存成功回调\n formSaveSuccessCallback: null,\n // 表单保存失败回调\n formSaveErrorCallback: null\n }\n }\n },\n components: {\n },\n created () {\n this.$nextTick(() => {\n if (!this.showType) {\n this.startProcessVisible = false\n this.runningHandleVisible = false\n this.processDetailVisible = true\n } else if (this.showType === 'start') {\n // 启动流程\n this.startProcessVisible = true\n this.$nextTick(() => {\n this.$refs.renProcessStart.rootObj = this.parentObj\n this.$refs.renProcessStart.callbacks = this.callbacks\n this.$refs.renProcessStart.dataForm.processDefinitionKey = this.dataForm.processDefinitionKey\n })\n } else if (this.showType === 'taskHandle') {\n // 任务处理\n this.runningHandleVisible = true\n this.$nextTick(() => {\n this.$refs.renProcessRunning.rootObj = this.parentObj\n this.$refs.renProcessRunning.dataForm.taskId = this.dataForm.taskId\n this.$refs.renProcessRunning.dataForm.processInstanceId = this.dataForm.processInstanceId\n this.$refs.renProcessRunning.callbacks = this.callbacks\n this.$refs.renProcessRunning.dataForm.businessKey = this.dataForm.businessKey\n this.$refs.renProcessRunning.dataForm.processDefinitionKey = this.dataForm.processDefinitionKey\n })\n }\n })\n },\n props: {\n saveFormUrl: String,\n updateInstanceIdUrl: String,\n dataFormName: String\n },\n watch: {\n },\n methods: {\n }\n}\n</script>\n"]}]} |