调整代码
This commit is contained in:
parent
ce21ff9d91
commit
5dbd676ccf
@ -52,3 +52,11 @@ export function deleteIbpInfo(id) {
|
|||||||
method: 'delete'
|
method: 'delete'
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// 根据id查询IBP数据
|
||||||
|
export function getIbpInfo(id) {
|
||||||
|
return request({
|
||||||
|
url: `/api/draftIbp/${id}`,
|
||||||
|
method: 'get'
|
||||||
|
});
|
||||||
|
}
|
||||||
|
@ -11,9 +11,9 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import Cookies from 'js-cookie';
|
// import Cookies from 'js-cookie';
|
||||||
import { getStationList } from '@/api/runplan';
|
import { getStationList } from '@/api/runplan';
|
||||||
import ConstConfig from '@/scripts/ConstConfig';
|
// import ConstConfig from '@/scripts/ConstConfig';
|
||||||
import { postIbpPublish, getIbpAllList, deleteIbpInfo } from '@/api/ibp';
|
import { postIbpPublish, getIbpAllList, deleteIbpInfo } from '@/api/ibp';
|
||||||
import CreateIbp from './create';
|
import CreateIbp from './create';
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user