Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cxerpapp
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
李苏
cxerpapp
Commits
f4531879
Commit
f4531879
authored
Aug 29, 2022
by
李苏
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
云ERP app
parent
9908ea72
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
13 additions
and
30 deletions
+13
-30
appUpdate.js
common/util/appUpdate.js
+2
-1
manifest.json
manifest.json
+5
-6
pages.json
pages.json
+4
-4
index.vue
pages/index/index.vue
+1
-1
cusmerLogin.vue
pages/login/cusmerLogin.vue
+1
-18
No files found.
common/util/appUpdate.js
View file @
f4531879
//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"
,
...
...
manifest.json
View file @
f4531879
...
...
@@ -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"
:
{
...
...
pages.json
View file @
f4531879
...
...
@@ -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
{
...
...
pages/index/index.vue
View file @
f4531879
...
...
@@ -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'
...
...
pages/login/cusmerLogin.vue
View file @
f4531879
...
...
@@ -91,7 +91,7 @@
// 固定服务器资源地址
// imgsrc:"http://119.3.92.249:18080/dmg/images/logo.ico",
imgsrc
:
""
,
firurl
:
"http://clouderp.gavelinfo.com/door"
,
firurl
:
"http
s
://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
||
"请求失败"
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment