|
@@ -68,7 +68,7 @@ Page({
|
|
if (init) content.pageNumber = 1;
|
|
if (init) content.pageNumber = 1;
|
|
if (content.pageNumber > content.pageTotal) return;
|
|
if (content.pageNumber > content.pageTotal) return;
|
|
_Http.basic({
|
|
_Http.basic({
|
|
- "id": this.data.userrole == '业务员' ? 20221111145202 : 20221224180302,
|
|
|
|
|
|
+ "id": wx.getStorageSync('userrole') == '业务员' ? 20221111145202 : 20221224180302,
|
|
content
|
|
content
|
|
}).then(res => {
|
|
}).then(res => {
|
|
console.log("订单列表", res)
|
|
console.log("订单列表", res)
|
|
@@ -88,6 +88,7 @@ Page({
|
|
"content.sort": res.sort,
|
|
"content.sort": res.sort,
|
|
"content.total": res.total,
|
|
"content.total": res.total,
|
|
loading: false,
|
|
loading: false,
|
|
|
|
+ userrole: wx.getStorageSync('userrole'),
|
|
amount: currency(res.tips.amount, {
|
|
amount: currency(res.tips.amount, {
|
|
symbol: "¥",
|
|
symbol: "¥",
|
|
precision: 2
|
|
precision: 2
|