Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx-business
/
ots-policy
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit d628b541
authored
Jan 25, 2021
by
吴娟华
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
'修改'
1 parent
ecff1049
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
5 deletions
src/App.vue
vue.config.js
src/App.vue
View file @
d628b54
...
@@ -3,11 +3,11 @@
...
@@ -3,11 +3,11 @@
<div
class=
"wrap"
v-show=
"mode==='default'"
>
<div
class=
"wrap"
v-show=
"mode==='default'"
>
<el-card
class=
"box-card"
>
<el-card
class=
"box-card"
>
<div
slot=
"header"
class=
"clearfix box-card-title"
>
<div
slot=
"header"
class=
"clearfix box-card-title"
>
虎哥
e
盾保单下载系统
虎哥
E
盾保单下载系统
</div>
</div>
<div
class=
"form_wrap"
>
<div
class=
"form_wrap"
>
<el-form
ref=
"form"
:rules=
"rules"
:model=
"form"
size=
"small"
label-width=
"80px"
>
<el-form
ref=
"form"
:rules=
"rules"
:model=
"form"
size=
"small"
label-width=
"80px"
>
<el-form-item
label=
"姓名"
prop=
"name"
>
<el-form-item
label=
"姓
名"
prop=
"name"
>
<el-input
v-model=
"form.name"
></el-input>
<el-input
v-model=
"form.name"
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
label=
"车架号"
prop=
"standNo"
>
<el-form-item
label=
"车架号"
prop=
"standNo"
>
...
@@ -17,7 +17,8 @@
...
@@ -17,7 +17,8 @@
<el-input
v-model=
"form.code"
></el-input>
<el-input
v-model=
"form.code"
></el-input>
</el-form-item>
</el-form-item>
<div
class=
"code_wrap"
>
<div
class=
"code_wrap"
>
<img
:src=
"`$
{BASE_URL}ots/dync_captcha?${random}`" alt="" style="height: 33px;">
<img
:src=
"`$
{BASE_URL}ots/dync_captcha?${random}`" alt="" style="height: 33px;" v-show="!loading">
<i
class=
"el-icon-loading"
v-show=
"loading"
style=
"margin: 10px 20px"
></i>
<el-link
type=
"primary"
@
click
.
prevent=
"changeCodeImg"
>
换一张
</el-link>
<el-link
type=
"primary"
@
click
.
prevent=
"changeCodeImg"
>
换一张
</el-link>
</div>
</div>
<div
style=
"clear:both;text-align: center"
>
<div
style=
"clear:both;text-align: center"
>
...
@@ -101,7 +102,8 @@ export default {
...
@@ -101,7 +102,8 @@ export default {
detail
:
{
detail
:
{
},
},
submitting
:
false
submitting
:
false
,
loading
:
false
}
}
},
},
mounted
()
{
mounted
()
{
...
@@ -109,7 +111,11 @@ export default {
...
@@ -109,7 +111,11 @@ export default {
},
},
methods
:
{
methods
:
{
changeCodeImg
(){
changeCodeImg
(){
this
.
loading
=
true
this
.
random
=
Math
.
random
()
this
.
random
=
Math
.
random
()
setTimeout
(()
=>
{
this
.
loading
=
false
},
500
)
},
},
submit
()
{
submit
()
{
this
.
$refs
.
form
.
validate
(
valid
=>
{
this
.
$refs
.
form
.
validate
(
valid
=>
{
...
...
vue.config.js
View file @
d628b54
...
@@ -13,7 +13,7 @@ module.exports = {
...
@@ -13,7 +13,7 @@ module.exports = {
proxy
:
{
proxy
:
{
"/ots"
:
{
"/ots"
:
{
changeOrigin
:
true
,
changeOrigin
:
true
,
target
:
'http://
192.168.2.78:9999
'
//"http://e-shield.glsx.net", //'http://e-shield.didihu.com.cn'//'http://tnfk.branch.glsx.com.cn/'//'http://192.168.2.46:9999'//'http://192.168.2.57:9999/'//'http://192.168.1.158:8088'//'http://192.168.1.53:8088'//'http://localhost:8088'//'http://tiger-sso.didihu.com.cn'//
target
:
'http://
frbt.branch.glsx.com.cn/
'
//"http://e-shield.glsx.net", //'http://e-shield.didihu.com.cn'//'http://tnfk.branch.glsx.com.cn/'//'http://192.168.2.46:9999'//'http://192.168.2.57:9999/'//'http://192.168.1.158:8088'//'http://192.168.1.53:8088'//'http://localhost:8088'//'http://tiger-sso.didihu.com.cn'//
},
},
},
},
},
},
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment