| | |
| | | return axios.post('/api/t-pedigree-chart/addProgenitor', { ...data }) |
| | | } |
| | | |
| | | // 谱系图详情 |
| | | export const getDetail = (params) => { |
| | | return axios.get('/open/t-pedigree-chart/getDetailInfoById', { params }) |
| | | } |
| | | |
| | | // 删除菌种库 |
| | | export const deleteStrainLibrary = (params) => { |
| | | return axios.delete('/open/t-train-library/deleteById', { params }) |
| | | } |
| | | |
| | | // 新增计划数 |
| | | export const addProgenitorChild = (params) => { |
| | | return axios.post('/api/t-pedigree-chart/updateCount', { ...params }) |
| | | } |
| | | |
| | | // 祖代-母代新增菌种传代项 |
| | | export const addProgenitor = (params) => { |
| | | return axios.post('/api/t-pedigree-chart/addProgenitorChild', { ...params }) |
| | | } |