fix 前端弹窗全局禁止冒泡事件,电子税务局验证码获取时间调整为120秒

jianshui-ui
13181781697 1 year ago
parent 8a61039d5e
commit c110e665d6
  1. 2
      jianshui-ui/src/main.js
  2. 11
      jianshui-ui/src/views/freedom/taxBureauLogin/index.vue

@ -35,6 +35,8 @@ import DictTag from '@/components/DictTag'
import VueMeta from 'vue-meta'
// 字典数据组件
import DictData from '@/components/DictData'
//全局修改默认配置,点击空白处不能关闭弹窗
Element.Dialog.props.closeOnClickModal.default = false
// 全局方法挂载
Vue.prototype.getDicts = getDicts

@ -45,6 +45,7 @@
class="dialog"
title="短信登录"
:visible.sync="dialogVisible"
:close-on-click-modal="false"
width="550px"
>
<div class="dialog_title">
@ -63,13 +64,14 @@
</div>
</div>
<span slot="footer" class="dialog-footer">
<el-button @click="dialogVisible = false"> </el-button>
<el-button @click.stop="dialogVisible = false"> </el-button>
<el-button type="primary" @click="yzmloginBtn()"> </el-button>
</span>
</el-dialog>
<el-dialog
title="责任人"
:visible.sync="zzrdialogVisible"
:close-on-click-modal="false"
width="550px"
>
<el-form ref="form" :model="form" label-width="60px" label-position="left" align="center" class="form">
@ -84,7 +86,7 @@
</el-row>
</el-form>
<span slot="footer" class="dialog-footer">
<el-button @click="zzrdialogVisible = false"> </el-button>
<el-button @click.stop="zzrdialogVisible = false"> </el-button>
<el-button type="primary" @click="zzrloginBtn()"> </el-button>
</span>
</el-dialog>
@ -128,7 +130,7 @@ export default {
anewLoginBtnLoading:false,
getyzmBtnloading:false,
getQrCodeBtnloading:false,
countdown:60,
countdown:120,
timec: null, //
};
},
@ -216,7 +218,7 @@ export default {
} else {
//
this.getyzmBtnloading = false;
this.countdown = 60;
this.countdown = 120;
clearInterval(this.timec); //
}
}, 1000);
@ -306,6 +308,7 @@ export default {
if(this.loginKey.id !== '' && this.loginKey.key !== ''){
this.getRpaAuthStatus()
}
this.dialogVisible= true
},
beforeDestroy(){
window.clearInterval(this.timer);

Loading…
Cancel
Save