Commit 8aea23e9 authored by 罗超's avatar 罗超

1

parent 8f4aeaa5
...@@ -42,6 +42,11 @@ ...@@ -42,6 +42,11 @@
v-if="item.IsLeave === 1 && item.IsCheck < 2" v-if="item.IsLeave === 1 && item.IsCheck < 2"
>请假</van-button >请假</van-button
> >
<van-button
custom-class="already-leave-btn one_line"
v-if="item.IsLeave === 1 && item.IsCheck == 2"
>已请假</van-button
>
<van-button <van-button
custom-class="already-leave-btn one_line" custom-class="already-leave-btn one_line"
v-if="item.IsLeave === 0" v-if="item.IsLeave === 0"
......
let host = 'http://192.168.20.17:8017/api' //请求教育接口
let host = ''
if (process.env.NODE_ENV === "development") { if (process.env.NODE_ENV === "development") {
host = 'http://192.168.20.17:8017/api' host = 'http://192.168.20.17:8017/api'
// host = 'http://192.168.20.24:8300/api' // host = 'http://192.168.20.24:8300/api'
...@@ -7,7 +8,7 @@ if (process.env.NODE_ENV === "development") { ...@@ -7,7 +8,7 @@ if (process.env.NODE_ENV === "development") {
} }
import Toast from '../wxcomponents/vant/toast/toast'; import Toast from '../wxcomponents/vant/toast/toast';
let request = (param) => { let request = (param) => {
//网络请求
return new Promise((resolve, reject) => { return new Promise((resolve, reject) => {
let token = uni.getStorageSync('userInfo').Token; let token = uni.getStorageSync('userInfo').Token;
uni.request({ uni.request({
......
...@@ -3,7 +3,7 @@ let host = '' ...@@ -3,7 +3,7 @@ let host = ''
if (process.env.NODE_ENV === "development") { if (process.env.NODE_ENV === "development") {
host = 'http://192.168.20.17:8014/api' host = 'http://192.168.20.17:8014/api'
} else { } else {
// host = 'https://eduapi.oytour.com/api' host = "https://mallapi.oytour.com"
} }
import Toast from '../wxcomponents/vant/toast/toast'; import Toast from '../wxcomponents/vant/toast/toast';
let request = (param) => { let request = (param) => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment