| | |
| | | getInspectionCycles: "/eam/inspectionOrder/getInspectionCycles", |
| | | getInspectionProjectId: "/eam/inspectionOrder/getInspectionProjectId", |
| | | // getEquipmentIdById: "/eam/equipment/list", |
| | | getNum: '/eam/sysIdentity/getNumNew' |
| | | }, |
| | | |
| | | dataSource: [], |
| | |
| | | methods: { |
| | | add() { |
| | | this.edit({ startWorkCondition: "1", inspectionOrderDetails: [] }) |
| | | this.getSeq() |
| | | }, |
| | | |
| | | edit(record) { |
| | |
| | | }) |
| | | }, |
| | | |
| | | |
| | | getSeq() { |
| | | getAction(this.url.getNum, { type: 'DailylnspectionOrder', length: 4 }).then(res => { |
| | | if (res.success) { |
| | | this.form.setFieldsValue({ "num": res.result }) |
| | | } |
| | | }) |
| | | }, |
| | | |
| | | // getEquipmentIdById(equipmentId) { |
| | | // if (equipmentId != null && equipmentId != "") { |
| | | // getAction(this.url.getEquipmentIdById, { id: equipmentId }).then((res) => { |