This commit is contained in:
@@ -162,9 +162,9 @@
|
||||
<i-button icon="md-add"></i-button>
|
||||
</Upload>
|
||||
</FormItem>
|
||||
<FormItem v-if="UpParmas.listData.data!=null" 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:green">导入成功!</div>
|
||||
<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:green">导入成功!</div>
|
||||
</FormItem>
|
||||
</Form>
|
||||
|
||||
@@ -639,7 +639,7 @@ export default {
|
||||
_this.spinShow=false;
|
||||
_this.UpParmas.fileName=file.name;
|
||||
_this.UpParmas.listData=response;
|
||||
if(response.State)
|
||||
if(response.code==0)
|
||||
{
|
||||
_this.$Message.info('导入成功!');
|
||||
_this.getsearcBaseSchClass();
|
||||
|
||||
Reference in New Issue
Block a user