邮件还原

master
czq 2023-08-15 16:53:25 +08:00
parent 7a738efba0
commit c76f4962a8
2 changed files with 22 additions and 27 deletions

View File

@ -30,7 +30,22 @@ ENV = 'production'
#VUE_APP_BASE_API = 'http://175.45.202.9:8083'
# x1-QA测试服
VUE_APP_BASE_API = 'http://120.92.51.235:8083'
#VUE_APP_BASE_API = 'http://120.92.51.235:8083'
# 主播服
#VUE_APP_BASE_API = 'http://1.13.245.222:8083/'
#国内正式服
#VUE_APP_BASE_API = 'http://1.13.158.168:8083'
#BT正式服
#VUE_APP_BASE_API = 'http://110.41.179.253:8083'
#BT主播服
#VUE_APP_BASE_API = 'http://124.71.66.2:8083'
#VUE_APP_BASE_API = 'http://146.56.239.195:8083'
VUE_APP_BASE_API = 'http://43.133.69.121:8083'
# ----代理地址----
VUE_APP_PROXY_API = 'http://127.0.0.1:80'

View File

@ -12,29 +12,13 @@
/>
</el-select>
</div>
<div style="margin-bottom: 10px display: table-cell;vertical-align: middle;text-align:center;">
<el-upload
ref="upload"
accept=".xlsx"
action=""
style="display: inline-block"
:auto-upload="false"
:http-request="handleUpload"
:on-remove="handleRemove"
:limit="1"
:on-change="onUploadChange"
:before-upload="beforeAvatarUpload"
>
<el-button slot="trigger" size="small" type="primary">上传Execl</el-button>
<el-button style="margin-left: 10px;" size="small" type="success" @click="() => sendMailBtn()">发送邮件</el-button>
<div slot="tip" class="el-upload__tip">只能上传xls/xlsx文件,且不超过500kb</div>
</el-upload>
</div>
<!-- <div style="margin-bottom: 10px display: table-cell;vertical-align: middle;text-align:center;">
<div slot="tip" class="el-upload__tip">只能上传jpg/png文件,且不超过500kb</div>
<div style="margin-bottom: 10px;"><span>用户id:</span><el-input v-model="searchForm.userid" size="small" clearable style="width:90%" /></div>
<div style="margin-bottom: 10px;"><span style="line-height:50px">参数:</span><el-input v-model="searchForm.param" size="small" clearable style="width:90%" type="textarea" rows="2" /></div>
<div style="margin-bottom: 10px;"><span style="line-height:50px">标题:</span><el-input v-model="searchForm.title" size="small" clearable style="width:90%" type="textarea" rows="2" /></div>
<div>
<span style="line-height:69px">内容:</span><el-input v-model="searchForm.content" size="small" clearable style="width:90%" type="textarea" rows="3" />
<el-button type="primary" size="" @click="() => sendMailBtn()">发送邮件</el-button>
</div> -->
</div>
</div>
<div class="div-table">
<el-table
@ -185,10 +169,6 @@ export default {
this.serverMaps = response.data
})
},
handleRemove(file, fileList) {
console.log(file, fileList)
},
// 发送邮件
sendMailBtn() {
this.listLoading = true