28 lines
662 B
JavaScript
28 lines
662 B
JavaScript
|
import { RamRequest } from '@/utils/service/index'
|
||
|
|
||
|
class CommonModel extends RamRequest {
|
||
|
|
||
|
//查看扫码信息
|
||
|
GetScanCodeView(param){
|
||
|
return this.get('/api/UHIK_BD_BarCodeMainFile/View', param);
|
||
|
}
|
||
|
//扫码列表
|
||
|
GetScanList(param){
|
||
|
return this.get('/api/TemporaryScan/List', param);
|
||
|
}
|
||
|
//扫描确认
|
||
|
DraftSave(param){
|
||
|
return this.post('/api/TemporaryScan/DraftSave', param);
|
||
|
}
|
||
|
//删除扫描记录
|
||
|
ScanDelete(param){
|
||
|
return this.post('/api/TemporaryScan/Delete', param);
|
||
|
}
|
||
|
//批量删除扫描记录
|
||
|
ScanDeleteBatch(param){
|
||
|
return this.post('/api/TemporaryScan/MultiDelete', param);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
export const commonModel = new CommonModel()
|