Commit 83825b8d authored by youjie's avatar youjie

no message

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