| | |
| | | style="width: 146px;display: inline-block;font-size:12px;font-weight:bold;" |
| | | >{{ dataForm.ifsSync ? '是' : '否' }}</span |
| | | > |
| | | </el-form-item> |
| | | </el-form-item>--> |
| | | <el-form-item label="主工艺" prop="master"> |
| | | <el-switch v-model="dataForm.master"> </el-switch> |
| | | </el-form-item> --> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | </el-form> |
| | |
| | | }, |
| | | // 参数集模板点击事件 |
| | | templateRowClick(row) { |
| | | |
| | | if(this.isShowTree){ |
| | | this.isShowTree=false |
| | | }else{ |
| | |
| | | this.$message.success('添加成功') |
| | | // 选中最后一个模板 |
| | | this.selectTempalteByIndex(this.operationTemplateList.length - 1) |
| | | this.getRoutingTemplate(this.routingOperationId) |
| | | } else { |
| | | this.$message.error('添加失败') |
| | | } |
| | |
| | | } else { |
| | | this.$message.error('添加失败') |
| | | } |
| | | this.templateRowClick({id: this.routingTemplateId}) |
| | | }) |
| | | } |
| | | }, |