Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
X
xgdlapp
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
李苏
xgdlapp
Commits
afb1922b
Commit
afb1922b
authored
May 09, 2023
by
李苏
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
服务器写死
parent
752a0d45
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
21 additions
and
22 deletions
+21
-22
config.service.js
common/service/config.service.js
+2
-2
putin_register.vue
pages/dl_putin_storage/putin_register.vue
+1
-1
login.vue
pages/login/login.vue
+14
-14
update.vue
pages/login/update.vue
+4
-5
No files found.
common/service/config.service.js
View file @
afb1922b
...
@@ -9,9 +9,9 @@ try {
...
@@ -9,9 +9,9 @@ try {
}
}
let
newUrl
=
'http://'
+
fwq
let
newUrl
=
'http://'
+
fwq
if
(
process
.
env
.
NODE_ENV
==
'development'
)
{
if
(
process
.
env
.
NODE_ENV
==
'development'
)
{
BASE_URL
=
"http://1
92.168.30.57:9
080/xgwcs"
BASE_URL
=
"http://1
0.2.175.100:8
080/xgwcs"
}
else
{
}
else
{
BASE_URL
=
"http://1
92.168.30.57:9
080/xgwcs"
BASE_URL
=
"http://1
0.2.175.100:8
080/xgwcs"
}
}
...
...
pages/dl_putin_storage/putin_register.vue
View file @
afb1922b
...
@@ -42,7 +42,7 @@
...
@@ -42,7 +42,7 @@
<view
class=
"padding-xs bg-white"
style=
""
>
<view
class=
"padding-xs bg-white"
style=
""
>
<view
class=
"cu-form-group "
>
<view
class=
"cu-form-group "
>
<view
class=
"title"
>
库位码
</view>
<view
class=
"title"
>
库位码
</view>
<input
:focus=
"kwmFocus"
v-model=
"code"
@
confirm=
"searchKwm()"
placeholder=
"扫描库位码"
></input>
<input
v-model=
"code"
@
confirm=
"searchKwm()"
placeholder=
"扫描库位码"
></input>
<Scan
:app=
"app"
:params=
"'code'"
:do=
"'searchKwm'"
></Scan>
<Scan
:app=
"app"
:params=
"'code'"
:do=
"'searchKwm'"
></Scan>
</view>
</view>
</view>
</view>
...
...
pages/login/login.vue
View file @
afb1922b
...
@@ -19,9 +19,9 @@
...
@@ -19,9 +19,9 @@
<input
type=
"password"
v-model=
"password"
placeholder-class=
"input-empty"
maxlength=
"20"
<input
type=
"password"
v-model=
"password"
placeholder-class=
"input-empty"
maxlength=
"20"
password
data-key=
"password"
@
input=
"inputChange"
@
confirm=
"toLogin"
/>
password
data-key=
"password"
@
input=
"inputChange"
@
confirm=
"toLogin"
/>
</view>
</view>
<view
@
click=
"gofwqsz"
class=
"padding text-right"
style=
"color: #4399FC;"
>
<!--
<view
@
click=
"gofwqsz"
class=
"padding text-right"
style=
"color: #4399FC;"
>
服务器设置
服务器设置
</view>
</view>
-->
<checkbox-group
class=
"flex"
@
change=
"CheckboxChange"
>
<checkbox-group
class=
"flex"
@
change=
"CheckboxChange"
>
<view></view>
<view></view>
<checkbox
class=
'round'
:class=
"checkbox[0].checked?'checked':''"
:checked=
"checkbox[0].checked?true:false"
value=
"Y"
></checkbox>
<checkbox
class=
'round'
:class=
"checkbox[0].checked?'checked':''"
:checked=
"checkbox[0].checked?true:false"
value=
"Y"
></checkbox>
...
@@ -144,18 +144,18 @@
...
@@ -144,18 +144,18 @@
},
},
toLogin
:
function
()
{
toLogin
:
function
()
{
const
that
=
this
;
const
that
=
this
;
uni
.
getStorage
({
//
uni.getStorage({
key
:
'sqlPort'
,
//
key:'sqlPort',
success
:
function
(
e
){
//
success:function(e){
console
.
log
(
e
)
//
console.log(e)
if
(
e
.
data
==
""
)
//
if(e.data=="")
that
.
$tip
.
toast
(
'请先设置服务器'
);
//
that.$tip.toast('请先设置服务器');
return
false
//
return false
},
//
},
fail
()
{
//
fail() {
that
.
$tip
.
toast
(
'请先设置服务器'
);
//
that.$tip.toast('请先设置服务器');
}
//
}
})
//
})
if
(
!
this
.
userName
||
this
.
userName
.
length
==
0
){
if
(
!
this
.
userName
||
this
.
userName
.
length
==
0
){
this
.
$tip
.
toast
(
'请填写用户名'
);
this
.
$tip
.
toast
(
'请填写用户名'
);
return
;
return
;
...
...
pages/login/update.vue
View file @
afb1922b
...
@@ -29,11 +29,10 @@
...
@@ -29,11 +29,10 @@
export
default
{
export
default
{
onLoad
()
{
onLoad
()
{
// this.showLoading()
this
.
showLoading
()
this
.
$Router
.
replaceAll
({
name
:
'login'
})
setTimeout
(()
=>
{
// setTimeout(()=>{
appUpdate
(
this
)
// appUpdate(this)
},
500
)
// },500)
// #ifdef H5
// #ifdef H5
this
.
$Router
.
replaceAll
({
name
:
'login'
})
this
.
$Router
.
replaceAll
({
name
:
'login'
})
...
...
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