This commit is contained in:
@@ -67,9 +67,9 @@
|
|||||||
<i-button icon="md-add"></i-button>
|
<i-button icon="md-add"></i-button>
|
||||||
</Upload>
|
</Upload>
|
||||||
</FormItem>
|
</FormItem>
|
||||||
<FormItem v-if="UpParmas.listData.data!=null" style="margin-bottom:10px">
|
<FormItem v-if="UpParmas.fileName" style="margin-bottom:10px">
|
||||||
<div v-if="UpParmas.listData.code==0" style="color:red">导入失败,请修改Excel文件中相关数据后再重新上传!</div>
|
<div v-if="UpParmas.listData.code!=0" style="color:red">导入失败,请修改Excel文件中相关数据后再重新上传!</div>
|
||||||
<div v-if="UpParmas.listData.code!=0" style="color:green">导入成功!</div>
|
<div v-if="UpParmas.listData.code==0" style="color:green">导入成功!</div>
|
||||||
</FormItem>
|
</FormItem>
|
||||||
</Form>
|
</Form>
|
||||||
|
|
||||||
@@ -461,12 +461,12 @@ export default {
|
|||||||
_this.spinShow=false;
|
_this.spinShow=false;
|
||||||
_this.UpParmas.fileName=file.name;
|
_this.UpParmas.fileName=file.name;
|
||||||
_this.UpParmas.listData=response;
|
_this.UpParmas.listData=response;
|
||||||
if(response.State)
|
if(response.code==0)
|
||||||
{
|
{
|
||||||
_this.$Message.info('导入成功!');
|
_this.$Message.info('导入成功!');
|
||||||
_this.getteachssearch();
|
_this.getteachssearch();
|
||||||
}else{
|
}else{
|
||||||
_this.$Message.info(response.Message);
|
_this.$Message.info(response.msg);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
//附件上传之前的方法
|
//附件上传之前的方法
|
||||||
|
|||||||
Reference in New Issue
Block a user