|
|
|
@ -1,5 +1,4 @@ |
|
|
|
// pages/index/index.js
|
|
|
|
import Dialog from '../../../components/dialog/dialog' |
|
|
|
import { getStatisticsInfo } from "../../../api/saas" |
|
|
|
const event = require('../../../utils/event') |
|
|
|
const app = getApp() |
|
|
|
@ -50,10 +49,10 @@ Component({ |
|
|
|
} |
|
|
|
}, |
|
|
|
orderList: function (e) { |
|
|
|
if(e.currentTarget.dataset.status == 3){ |
|
|
|
wx.navigateTo({ url: '/pages/process/payment-list/index?status=' + e.currentTarget.dataset.status }) |
|
|
|
if(e.currentTarget.dataset.status == 1){ |
|
|
|
wx.navigateTo({ url: '/pages/client/factory-list/index' }) |
|
|
|
} else { |
|
|
|
wx.navigateTo({ url: '/pages/process/order-list/index?status=' + e.currentTarget.dataset.status }) |
|
|
|
wx.navigateTo({ url: '/pages/client/order-list/index' }) |
|
|
|
} |
|
|
|
}, |
|
|
|
fetchStatisticsInfo: function(){ |
|
|
|
|