| | |
| | | if (res.auditStatus == 2 || res.auditStatus == 3) { |
| | | processData.push({ |
| | | type: |
| | | res.auditStatus === 2 |
| | | res.auditStatus === 1 |
| | | ? "primary" |
| | | : res.auditStatus === 3 |
| | | : res.auditStatus === 2 |
| | | ? "danger" |
| | | : "warning", |
| | | mode: "list", |
| | |
| | | { |
| | | label: "审核结果:", |
| | | value: |
| | | res.auditStatus === 2 |
| | | res.auditStatus === 1 |
| | | ? "通过" |
| | | : res.auditStatus === 3 |
| | | : res.auditStatus === 2 |
| | | ? "驳回" |
| | | : "待审批", |
| | | }, |
| | |
| | | }, |
| | | // 验证所有编辑器内容 |
| | | validateEditors() { |
| | | const editors = { |
| | | let editors = { |
| | | termStandard: this.$refs.standardEditor.getContent(), |
| | | termInstrument: this.$refs.instrumentEditor.getContent(), |
| | | termReagent: this.$refs.reagentEditor.getContent(), |