Commit f4531879 authored by 李苏's avatar 李苏 💬

云ERP app

parent 9908ea72
//APP更新
import api from 'api/api.js'
import { http } from '@/common/service/service.js'
export default function appUpdate() {
api.postData('/getAppVersion',{
http.post('/getAppVersion',{
/* version: plus.runtime.version,
imei: plus.device.imei, */
apptype:"0",
......
......@@ -2,8 +2,8 @@
"name" : "格物ERP",
"appid" : "__UNI__C98E701",
"description" : "",
"versionName" : "1.0.1",
"versionCode" : 2,
"versionName" : "2",
"versionCode" : 3,
"transformPx" : false,
"app-plus" : {
/* 5+App特有相关 */
......@@ -42,7 +42,9 @@
"<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>"
]
},
"ios" : {},
"ios" : {
"dSYMs" : false
},
/* ios打包配置 */
"sdkConfigs" : {
"ad" : {},
......@@ -51,9 +53,6 @@
"appkey_ios" : "87f4d2a4a0c42e0c86cf312c8b8154e8",
"appkey_android" : "87f4d2a4a0c42e0c86cf312c8b8154e8"
}
},
"push" : {
"unipush" : {}
}
},
"icons" : {
......
......@@ -5,10 +5,10 @@
"path": "pages/login/cusmerLogin",
"style": {}
},
{
"path": "pages/login/login",
"style": {}
},
// {
// "path": "pages/login/login",
// "style": {}
// },
//pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
{
......
......@@ -31,7 +31,7 @@
}
},
onLoad:function(e){
if(e){
if(e.query){
let cur=JSON.parse(e.query)
if (cur.infor=="process"){
this.PageCur='process'
......
......@@ -91,7 +91,7 @@
// 固定服务器资源地址
// imgsrc:"http://119.3.92.249:18080/dmg/images/logo.ico",
imgsrc:"",
firurl:"http://clouderp.gavelinfo.com/door",
firurl:"https://clouderp.gavelinfo.com/door",
sedyrl:"http://clouderp.gavelinfo.com/hderp",
// 服务器——端口号
fwq:"",
......@@ -230,26 +230,13 @@
console.log("用户名获取成功")
}
});
// this.$router.go(0)
//ACCESS_TOKEN
this.$tip.success('登录成功!')
this.$Router.replaceAll({name:'index'})
// #ifdef APP-PLUS
// this.saveClientId()
// #endif
// #ifndef APP-PLUS
this.$tip.success('登录成功!')
// #endif
}else{
this.$tip.alert(resp.data.message||"登录失败");
}
})
},
changErp(){
this.$Router.replaceAll({name:'login'})
},
gofwqsz(){
this.$Router.push({
path: '/pages/login/fwqsz', query:{
......@@ -343,10 +330,6 @@
//ACCESS_TOKEN
this.$tip.success('登录成功!')
this.$Router.replaceAll({name:'index'})
// #ifdef APP-PLUS
// this.saveClientId()
// #endif
this.$tip.success('登录成功!')
}else{
this.loading=false;
this.$tip.alert(resp.data.message||"请求失败");
......
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