需求excel
This commit is contained in:
parent
9f7535315c
commit
3d715bc30a
|
@ -45,14 +45,10 @@ logger = logging.getLogger('log')
|
||||||
|
|
||||||
|
|
||||||
def fenye(req):
|
def fenye(req):
|
||||||
if req.GET.get('page', None) and req.GET.get('rows', None):
|
page = int(req.GET.get('page', 1))
|
||||||
page = int(req.GET.get('page'))
|
rows = int(req.GET.get('rows',10))
|
||||||
rows = int(req.GET.get('rows'))
|
endnum = page*rows
|
||||||
endnum = page*rows
|
startnum = endnum-rows
|
||||||
startnum = endnum-rows
|
|
||||||
else:
|
|
||||||
startnum = 0
|
|
||||||
endnum = 10
|
|
||||||
return startnum, endnum
|
return startnum, endnum
|
||||||
|
|
||||||
# 特殊字符转json
|
# 特殊字符转json
|
||||||
|
|
Binary file not shown.
Binary file not shown.
BIN
需求/需求整理.xlsx
BIN
需求/需求整理.xlsx
Binary file not shown.
Loading…
Reference in New Issue