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
Show 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 {
}
let
newUrl
=
'http://'
+
fwq
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
{
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 @@
<view
class=
"padding-xs bg-white"
style=
""
>
<view
class=
"cu-form-group "
>
<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>
</view>
</view>
...
...
pages/login/login.vue
View file @
afb1922b
...
...
@@ -19,9 +19,9 @@
<input
type=
"password"
v-model=
"password"
placeholder-class=
"input-empty"
maxlength=
"20"
password
data-key=
"password"
@
input=
"inputChange"
@
confirm=
"toLogin"
/>
</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"
>
<view></view>
<checkbox
class=
'round'
:class=
"checkbox[0].checked?'checked':''"
:checked=
"checkbox[0].checked?true:false"
value=
"Y"
></checkbox>
...
...
@@ -144,18 +144,18 @@
},
toLogin
:
function
()
{
const
that
=
this
;
uni
.
getStorage
({
key
:
'sqlPort'
,
success
:
function
(
e
){
console
.
log
(
e
)
if
(
e
.
data
==
""
)
that
.
$tip
.
toast
(
'请先设置服务器'
);
return
false
},
fail
()
{
that
.
$tip
.
toast
(
'请先设置服务器'
);
}
})
//
uni.getStorage({
//
key:'sqlPort',
//
success:function(e){
//
console.log(e)
//
if(e.data=="")
//
that.$tip.toast('请先设置服务器');
//
return false
//
},
//
fail() {
//
that.$tip.toast('请先设置服务器');
//
}
//
})
if
(
!
this
.
userName
||
this
.
userName
.
length
==
0
){
this
.
$tip
.
toast
(
'请填写用户名'
);
return
;
...
...
pages/login/update.vue
View file @
afb1922b
...
...
@@ -29,11 +29,10 @@
export
default
{
onLoad
()
{
// this.showLoading()
this
.
$Router
.
replaceAll
({
name
:
'login'
})
// setTimeout(()=>{
// appUpdate(this)
// },500)
this
.
showLoading
()
setTimeout
(()
=>
{
appUpdate
(
this
)
},
500
)
// #ifdef H5
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