mirror of
https://gitee.com/lab1024/smart-admin.git
synced 2025-11-18 08:33:49 +08:00
Data tracking / Revision by 0207 ppt
This commit is contained in:
@@ -208,17 +208,22 @@ export const userquery = (stype, ) => {
|
||||
return fetch('goods?petType='+stype, data, 'POST' )
|
||||
}
|
||||
//处方信息
|
||||
export const userque = (goodsName, curPage,curRow) => {
|
||||
export const userque = (goodsName, petType, curPage,curRow) => {
|
||||
if(!curPage)
|
||||
curPage=1;
|
||||
if(!curRow)
|
||||
curRow=10;
|
||||
let queryTail='page='+curPage+'&rows='+curRow;
|
||||
let queryTail='&page='+curPage+'&rows='+curRow;
|
||||
let query='?0';
|
||||
if(goodsName)
|
||||
queryTail = '?goodsName='+goodsName;
|
||||
query += '&goodsName='+goodsName;
|
||||
if(petType!==undefined && petType!=='') {
|
||||
query += '&petType='+petType;
|
||||
}
|
||||
query += queryTail;
|
||||
var data = {
|
||||
}
|
||||
return fetch('goods'+queryTail, data, 'POST' )
|
||||
return fetch('goods'+query, data, 'POST' )
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user