摘要:
1、引入组件: import pwInput from '@/views/component/pwInput' 2、用法: <pwInput v-model="form.oldPwd" @validatePass='validatePassOld' :showIcon='showIcon'></pw 阅读全文
摘要:
<a-date-picker disabled v-decorator="['createTime',{initialValue:moment(getCurrentData(), 'YYYY-MM-DD')}]" placeholder="请选择创建时间"/> 阅读全文
摘要:
<a-select placeholder="请选择性别" :value='sex' @change="handleChangeSelect"> <a-select-option value=""> 未知 </a-select-option> <a-select-option value="0"> 阅读全文
摘要:
<a-form :form="form" :selfUpdate='true' @submit="handleSubmit" layout="inline" hideRequiredMark autocomplete="off"><a-form> 阅读全文
摘要:
<a-form-item > <a-input placeholder="用户名" v-decorator="[ 'userName', {rules: [{ required: true, message: '请填写用户名' }],validateTrigger:'blur'}//设置此属性设置当 阅读全文
摘要:
if (!!window.ActiveXObject || "ActiveXObject" in window){//判断是否为ie浏览器 window.navigator.msSaveBlob(res.data, '用户模板.xlsx')//在ie中下载可用此方法,也可用下方注释的方法,此方法可以 阅读全文
摘要:
var xmlhttp;xmlhttp=new XMLHttpRequest();xmlhttp.open("GET",userUrl2 + 'user/getQrCode'+accessToken+"&name="+item.name+"&phone="+item.phoneNumber+"&co 阅读全文
摘要:
// 解密 b64DecodeUnicode(str) { return decodeURIComponent(Array.prototype.map.call(atob(str), function(c) { return '%' + ('00' + c.charCodeAt(0).toStrin 阅读全文
摘要:
var a = document.createElement('a'); a.download = that.billName+'.xls'; a.href = URL.createObjectURL(res.data)///解决由于数据量太大导致chrome导出出现网络错误(由于url长度限制 $ 阅读全文
摘要:
this.$ajax({ method:"get", url:‘’, params:{"batchnumber":exportIndex}, responseType:"blob", transformRequest: [function (data) { that.$Spin.show({ ren 阅读全文