Commit d628b541 by 吴娟华

'修改'

1 parent ecff1049
......@@ -3,11 +3,11 @@
<div class="wrap" v-show="mode==='default'">
<el-card class="box-card">
<div slot="header" class="clearfix box-card-title">
虎哥e盾保单下载系统
虎哥E盾保单下载系统
</div>
<div class="form_wrap">
<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-form-item>
<el-form-item label="车架号" prop="standNo">
......@@ -17,7 +17,8 @@
<el-input v-model="form.code" ></el-input>
</el-form-item>
<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>
</div>
<div style="clear:both;text-align: center">
......@@ -101,7 +102,8 @@ export default {
detail: {
},
submitting: false
submitting: false,
loading: false
}
},
mounted() {
......@@ -109,7 +111,11 @@ export default {
},
methods: {
changeCodeImg(){
this.loading = true
this.random = Math.random()
setTimeout(()=>{
this.loading = false
},500)
},
submit() {
this.$refs.form.validate(valid => {
......
......@@ -13,7 +13,7 @@ module.exports = {
proxy: {
"/ots": {
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'//
},
},
},
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!