@@ -1,6 +1,6 @@
// let BASE_Server = "http://127.0.0.1:8329"
- let BASE_Server = "https://192.168.1.100:18080"
-// let BASE_Server = "https://sookajs.top:18080"
+ // let BASE_Server = "https://192.168.1.100:18080"
+let BASE_Server = "https://sookajs.top:18080"
let app = getApp()
@@ -168,6 +168,7 @@ function post_token(url, data, successfun) {
fail(res){
wx.showToast({
title: "网络请求失败",
+ icon:'none',
})
}
@@ -30,7 +30,7 @@ Page({
},
bindViewlogin(){
- if(!this.data.userName){
+ if(this.data.userName==null||this.data.userName==''){
title: '请输入用户名',
icon:'none',
@@ -38,7 +38,7 @@ Page({
return
- if(!this.data.password){
+ if(this.data.password==null||this.data.password==''){
title: '请输入密码',
@@ -114,7 +114,13 @@ Page({
-
+ if(this.data.askCompany==null){
+ wx.showToast({
+ title: '请输入咨询组织名称',
+ icon:'none'
+ })
+ return
+ }
if(this.data.number==null){
title: '请输入检查人员编号',
@@ -145,7 +145,7 @@ Page({
submitXqzggzs2(){
if(this.data.company==null){
- title: '请输入组织名称',
icon:'none'