1.2.5.4 漏掉的路由
This commit is contained in:
@@ -70,7 +70,7 @@
|
|||||||
for (let i = 2020; i <= date.getFullYear(); i++) {
|
for (let i = 2020; i <= date.getFullYear(); i++) {
|
||||||
years.push(i)
|
years.push(i)
|
||||||
}
|
}
|
||||||
for (let i = 1; i <= month; i++) {
|
for (let i = 1; i <= 12; i++) {
|
||||||
months.push(i)
|
months.push(i)
|
||||||
}
|
}
|
||||||
for (let i = 1; i <= 31; i++) {
|
for (let i = 1; i <= 31; i++) {
|
||||||
@@ -78,15 +78,15 @@
|
|||||||
}
|
}
|
||||||
return {
|
return {
|
||||||
title: 'picker-view',
|
title: 'picker-view',
|
||||||
years: [new Date().getFullYear()],
|
years: years,
|
||||||
year: new Date().getFullYear(),
|
year: year,
|
||||||
months: months,
|
months: months,
|
||||||
dialogModal: '',
|
dialogModal: '',
|
||||||
month: month,
|
month: month,
|
||||||
days: days,
|
days: days,
|
||||||
day: day,
|
day: day,
|
||||||
// value: [9999, month - 1, day - 1],
|
// value: [9999, month - 1, day - 1],
|
||||||
value: [0, month - 1, day - 1],
|
value: [year, month - 1, day - 1],
|
||||||
selDate: year + '-' + month + '-' + day,
|
selDate: year + '-' + month + '-' + day,
|
||||||
detailData: [],
|
detailData: [],
|
||||||
basicData: {
|
basicData: {
|
||||||
|
|||||||
@@ -66,7 +66,7 @@
|
|||||||
for (let i = 2020; i <= date.getFullYear(); i++) {
|
for (let i = 2020; i <= date.getFullYear(); i++) {
|
||||||
years.push(i)
|
years.push(i)
|
||||||
}
|
}
|
||||||
for (let i = 1; i <= month; i++) {
|
for (let i = 1; i <= 12; i++) {
|
||||||
months.push(i)
|
months.push(i)
|
||||||
}
|
}
|
||||||
for (let i = 1; i <= 31; i++) {
|
for (let i = 1; i <= 31; i++) {
|
||||||
@@ -74,15 +74,15 @@
|
|||||||
}
|
}
|
||||||
return {
|
return {
|
||||||
title: 'picker-view',
|
title: 'picker-view',
|
||||||
years: [new Date().getFullYear()],
|
years: years,
|
||||||
year: new Date().getFullYear(),
|
year: year,
|
||||||
months: months,
|
months: months,
|
||||||
dialogModal: '',
|
dialogModal: '',
|
||||||
month: month,
|
month: month,
|
||||||
days: days,
|
days: days,
|
||||||
day: day,
|
day: day,
|
||||||
// value: [9999, month - 1, day - 1],
|
// value: [9999, month - 1, day - 1],
|
||||||
value: [0, month - 1, day - 1],
|
value: [year, month - 1, day - 1],
|
||||||
selDate: year + '-' + month,
|
selDate: year + '-' + month,
|
||||||
detailData: [],
|
detailData: [],
|
||||||
basicData: {
|
basicData: {
|
||||||
|
|||||||
@@ -119,7 +119,7 @@
|
|||||||
uni.setStorageSync('orderId', id)
|
uni.setStorageSync('orderId', id)
|
||||||
console.log('id', id)
|
console.log('id', id)
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url: '/pages/orderList/OrderDetail/OrderDetail'
|
url: '/packageOrders/pages/orderList/OrderDetail/OrderDetail'
|
||||||
})
|
})
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -54,7 +54,7 @@
|
|||||||
type: 'edit'
|
type: 'edit'
|
||||||
})
|
})
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url: '/pages/staff/editStaff/editStaff'
|
url: '/packageStaff/pages/staff/editStaff/editStaff'
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -73,7 +73,7 @@
|
|||||||
type: 'add'
|
type: 'add'
|
||||||
})
|
})
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url: '/pages/staff/editStaff/addUser'
|
url: '/packageStaff/pages/staff/editStaff/addUser'
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
InputBlur() {
|
InputBlur() {
|
||||||
|
|||||||
@@ -61,7 +61,7 @@
|
|||||||
<text class="color-000">版本号</text>
|
<text class="color-000">版本号</text>
|
||||||
</view>
|
</view>
|
||||||
<view class="action">
|
<view class="action">
|
||||||
<text class="text-grey text-sm">1.3.0</text>
|
<text class="text-grey text-sm">1.2.5.4</text>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
|
|||||||
@@ -440,7 +440,7 @@
|
|||||||
uni.setStorageSync('orderId', id)
|
uni.setStorageSync('orderId', id)
|
||||||
console.log('id', id)
|
console.log('id', id)
|
||||||
uni.redirectTo({
|
uni.redirectTo({
|
||||||
url: '/pages/orderList/OrderDetail/OrderDetail'
|
url: '/packageOrders/pages/orderList/OrderDetail/OrderDetail'
|
||||||
})
|
})
|
||||||
|
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
import axios from 'axios'
|
import axios from 'axios'
|
||||||
import utils from '@/utils/encode'
|
import utils from '@/utils/encode'
|
||||||
const service = axios.create({
|
const service = axios.create({
|
||||||
// baseURL: 'http://192.168.0.147:48080', // 小杰
|
// baseURL: 'http://192.168.0.10:48080', // 小杰
|
||||||
baseURL: 'https://www.51xingka.net/oilApp',//生产
|
baseURL: 'https://www.51xingka.net/oilApp',//生产
|
||||||
timeout: 5000
|
timeout: 5000
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user