Преглед на файлове

移动端 考勤打卡

黑龙江艺术高中职
yxq преди 5 месеца
родител
ревизия
843d793803
променени са 2 файла, в които са добавени 12 реда и са изтрити 2 реда
  1. +6
    -1
      Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/AttendanceCard/list.vue
  2. +6
    -1
      Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/AttendanceCardTeacher/list.vue

+ 6
- 1
Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/AttendanceCard/list.vue Целия файл

@@ -326,7 +326,12 @@
this.requestBase("https://mp.weixin.qq.com/intp/getuserclientip").then(res=>{
this.HIDE_LOADING()
let res_ = res[1]
if(res_.data&&['1.190.222.35','1.190.222.34','1.190.222.40'].includes(res_.data.client_ip)){
let client_ip_start = '1.190.222.'
let arr = []
for(let i=34;i<47;i++){
arr.push(client_ip_start+i)
}
if(res_.data&&arr.includes(res_.data.client_ip)){
this.isInternalNet = true
let postData = {AIsOut:0,ClockPlace:'已连接校园网'}
TOAST&&this.NAV_TO(`./single_zc`,postData,true)


+ 6
- 1
Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/AttendanceCardTeacher/list.vue Целия файл

@@ -325,7 +325,12 @@
this.requestBase("https://mp.weixin.qq.com/intp/getuserclientip").then(res=>{
this.HIDE_LOADING()
let res_ = res[1]
if(res_.data&&['1.190.222.35','1.190.222.34','1.190.222.40'].includes(res_.data.client_ip)){
let client_ip_start = '1.190.222.'
let arr = []
for(let i=34;i<47;i++){
arr.push(client_ip_start+i)
}
if(res_.data&&arr.includes(res_.data.client_ip)){
this.isInternalNet = true
let postData = {AIsOut:0,ClockPlace:'已连接校园网'}
TOAST&&this.NAV_TO(`./single_zc`,postData,true)


Зареждане…
Отказ
Запис