| | |
| | | prop: 'tab3', |
| | | }] |
| | | }, |
| | | checkStatus:true,//是否需要验证模板状态, |
| | | checkStatus:false,//是否需要验证模板状态, |
| | | } |
| | | }, |
| | | created() { |
| | |
| | | }); |
| | | }, |
| | | handleDetail(row) { |
| | | this.$router.push({path: `/work/process/${flowRoute(this.flowRoutes, row.category)}/detail/${row.processInstanceId}/${row.businessId}`}); |
| | | this.$router.push({path: `/work/process/${flowRoute(this.flowRoutes, row.category)}/detail/${row.processInstanceId}/${row.businessId}?name=` +row.categoryName+'详情'}); |
| | | }, |
| | | handleImage(row) { |
| | | this.processInstanceId = row.processInstanceId; |
| | |
| | | this.$refs.crud.toggleSelection(); |
| | | }, |
| | | handleDetail(row) { |
| | | this.$router.push({path: `/work/process/${flowRoute(this.flowRoutes, row.category)}/detail/${row.processInstanceId}/${row.businessId}`}); |
| | | this.$router.push({path: `/work/process/${flowRoute(this.flowRoutes, row.category)}/detail/${row.processInstanceId}/${row.businessId}?name=` +row.categoryName+'详情'}); |
| | | }, |
| | | handleImage(row) { |
| | | this.processInstanceId = row.processInstanceId; |
| | |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | <el-form-item label="请假理由"> |
| | | <el-form-item label="描述"> |
| | | <el-input :disabled="true" type="textarea" v-model="form.reason" /> |
| | | </el-form-item> |
| | | </el-card> |
| | |
| | | group: [ |
| | | { |
| | | icon: 'el-icon-info', |
| | | label: '请假基础信息', |
| | | label: '基础信息', |
| | | prop: 'group1', |
| | | column: [ |
| | | { |
| | |
| | | ] |
| | | }, |
| | | { |
| | | label: '请假理由', |
| | | label: '描述', |
| | | prop: 'reason', |
| | | type: 'textarea', |
| | | span: 24, |
| | | rules: [ |
| | | { |
| | | required: true, |
| | | message: '请输入请假理由', |
| | | message: '请输入内容', |
| | | trigger: 'blur' |
| | | } |
| | | ] |
| | |
| | | this.templateId=res.data.variables.templateId; |
| | | this.modelKey=res.data.variables.modelKey; |
| | | this.codeClassifyOid=res.data.variables.codeClassifyOid; |
| | | this.title='11'; |
| | | //this.taskId=res.data.variables.taskId; |
| | | if (res.success) { |
| | | console.log(res) |
| | |
| | | this.$refs.crud.toggleSelection(); |
| | | }, |
| | | handleDetail(row) { |
| | | this.$router.push({ path: `/work/process/${flowRoute(this.flowRoutes, row.category)}/detail/${row.processInstanceId}/${row.businessId}` }); |
| | | this.$router.push({ path: `/work/process/${flowRoute(this.flowRoutes, row.category)}/detail/${row.processInstanceId}/${row.businessId}?name=` +row.categoryName+'详情' }); |
| | | }, |
| | | handleImage(row) { |
| | | this.processInstanceId = row.processInstanceId; |
| | |
| | | this.$refs.crud.toggleSelection(); |
| | | }, |
| | | handleStart(row) { |
| | | this.$router.push({path: `/work/process/${flowRoute(this.flowRoutes, row.category)}/form/${row.id}`}); |
| | | this.$router.push({path: `/work/process/${flowRoute(this.flowRoutes, row.category)}/form/${row.id}?name=` +row.categoryName}); |
| | | }, |
| | | handleImage(row) { |
| | | this.processDefinitionId = row.id; |
| | |
| | | this.$refs.crud.toggleSelection(); |
| | | }, |
| | | handleWork(row) { |
| | | this.$router.push({ path: `/work/process/${flowRoute(this.flowRoutes, row.category)}/handle/${row.taskId}/${row.processInstanceId}/${row.businessId}` }); |
| | | this.$router.push({ path: `/work/process/${flowRoute(this.flowRoutes, row.category)}/handle/${row.taskId}/${row.processInstanceId}/${row.businessId}?name=`+'处理'+row.categoryName }); |
| | | }, |
| | | handleDetail(row) { |
| | | this.$router.push({ path: `/work/process/${flowRoute(this.flowRoutes, row.category)}/detail/${row.processInstanceId}/${row.businessId}` }); |
| | | this.$router.push({ path: `/work/process/${flowRoute(this.flowRoutes, row.category)}/detail/${row.processInstanceId}/${row.businessId}?name=` +row.categoryName+'详情'}); |
| | | }, |
| | | handleImage(row) { |
| | | this.processInstanceId = row.processInstanceId; |