Commit 83825b8d authored by youjie's avatar youjie

no message

parent 771b3477
......@@ -27,7 +27,7 @@
</el-col>
<el-col :xs="7" :sm="6" :md="5" :lg="4" :xl="3">
<span class="font-size-12" style="padding-right: 10px">板块</span>
<el-select v-model="msg.ModuleType" size="small" placeholder="请选择平台" @change="init">
<el-select v-model="msg.ModuleType" size="small" placeholder="请选择板块" @change="init">
<el-option label='不限' value='0' key='0'></el-option>
<el-option
v-for="item in ModuleTypeList"
......
......@@ -333,7 +333,11 @@
<el-upload :limit="1" :http-request="UploadClue" :multiple="false" accept="*.xls,*.xlsx"
:show-file-list="false" action="">
<img src="../../assets/img/cust/upimg.png" alt="">
</el-upload>
<span v-if="errText" style="width: 100px; position: absolute;right: -150px;top:40px; color: red;white-space: wrap;">
{{errText}}
</span>
</div>
<p>
<a :href="downloadUrl" style="cursor:pointer;color:blue;text-decoration:underline;">模板下载</a>
......@@ -353,6 +357,7 @@
export default {
data() {
return {
errText:'',
rankingTitle:[
'排名项目',
'第一名',
......@@ -425,6 +430,7 @@
},
//上传引流汇总
UploadClue(file) {
this.errText = ''
if(this.form.PlatformType==''){
return this.$message.error('请选择平台')
}
......@@ -449,12 +455,13 @@
this.UploadFlowStat(params, file.file, (res) => {
this.loadingB=false;
this.loadingText="";
if (res.data.resultCode == 1) {
if (res.resultCode == 1) {
this.dialogTableVisible = false;
this.Success("导入引流成功!");
this.init()
} else {
this.Error("导入引流失败!");
this.errText = res.message
this.Error(res.message);
}
});
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment