| | |
| | | </template> |
| | | <script> |
| | | import { personnelInit, personnelCollect, cancelCollect, personnelSave, personnelDict } from '@/api/template/setPersonnel.js' |
| | | import { dateFormat } from "@/util/date"; |
| | | export default { |
| | | name: 'SetPersonnel', |
| | | props: { |
| | |
| | | const {modelKey,modelName,processDesc,processName,templateId,topName,vars,ids,btmtype} = this.saveParam |
| | | let vals= {modelKey,modelName,processDesc,processName,templateId,topName,ids,btmtype,...vars} |
| | | vals.oids=ids; |
| | | vals.createTime=dateFormat(new Date(), "yyyy-MM-dd hh:mm:ss") |
| | | const response = await personnelSave({ variables:vals, flowTaskUsers: this.collectParam.flowTaskUsers, }) |
| | | if (response.status === 200) { |
| | | this.$message({ |
| | |
| | | label: '上一步处理时间', |
| | | sortable:true, |
| | | width:150, |
| | | prop: 'historyActivityDurationTime' |
| | | prop: 'createTime' |
| | | }, |
| | | { |
| | | label: '上一步操作人', |
| | |
| | | label: '发起时间', |
| | | sortable:true, |
| | | width:180, |
| | | prop: 'createTime', |
| | | prop: 'processDefinitionStartTime' |
| | | }, { |
| | | label: '当前步骤', |
| | | prop: 'taskName', |
| | |
| | | label: '发起时间', |
| | | sortable: true, |
| | | width:180, |
| | | prop: 'createTime', |
| | | prop: 'processDefinitionStartTime' |
| | | }, { |
| | | label: '完成时间', |
| | | sortable: true, |
| | | width:180, |
| | | prop: 'historyTaskEndTime', |
| | | prop: 'createTime' |
| | | }, { |
| | | label: '所属流程模板', |
| | | sortable: true, |
| | |
| | | this.templateId=res.data.variables.templateId; |
| | | this.modelKey=res.data.variables.modelKey; |
| | | this.codeClassifyOid=res.data.variables.codeClassifyOid; |
| | | this.title='11'; |
| | | this.title=res.data.variables.processName; |
| | | //this.taskId=res.data.variables.taskId; |
| | | if (res.success) { |
| | | console.log(res) |
| | |
| | | label: '发起时间', |
| | | sortable:true, |
| | | width:180, |
| | | prop: 'createTime' |
| | | prop: 'processDefinitionStartTime' |
| | | },{ |
| | | label: '所属流程模板', |
| | | sortable:true, |
| | |
| | | :data="data" |
| | | ref="crud" |
| | | v-model="form" |
| | | :page.sync="page" |
| | | @search-change="searchChange" |
| | | @search-reset="searchReset" |
| | | @selection-change="selectionChange" |
| | |
| | | label: '发起时间', |
| | | sortable:true, |
| | | width:180, |
| | | prop: 'createTime', |
| | | prop: 'processDefinitionStartTime' |
| | | }, { |
| | | label: '所属流程模板', |
| | | sortable:true, |