init
This commit is contained in:
@@ -77,9 +77,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>
|
||||
|
||||
@@ -625,7 +625,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();
|
||||
|
||||
@@ -119,9 +119,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>
|
||||
|
||||
@@ -430,7 +430,7 @@
|
||||
_this.spinShow=false;
|
||||
_this.UpParmas.fileName=file.name;
|
||||
_this.UpParmas.listData=response;
|
||||
if(response.State)
|
||||
if(response.code==0)
|
||||
{
|
||||
_this.$Message.info('导入成功!');
|
||||
_this.getsearcHigherSchClass();
|
||||
|
||||
@@ -157,9 +157,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>
|
||||
|
||||
@@ -202,9 +202,9 @@
|
||||
<i-button icon="md-add"></i-button>
|
||||
</Upload>
|
||||
</FormItem>
|
||||
<FormItem v-if="UpParmas2.listData.data!=null" style="margin-bottom:10px">
|
||||
<div v-if="UpParmas2.listData.code==0" style="color:red">导入失败,请修改Excel文件中相关数据后再重新上传!</div>
|
||||
<div v-if="UpParmas2.listData.code!=0" style="color:green">导入成功!</div>
|
||||
<FormItem v-if="UpParmas2.fileName" style="margin-bottom:10px">
|
||||
<div v-if="UpParmas2.listData.code!=0" style="color:red">导入失败,请修改Excel文件中相关数据后再重新上传!</div>
|
||||
<div v-if="UpParmas2.listData.code==0" style="color:green">导入成功!</div>
|
||||
</FormItem>
|
||||
</Form>
|
||||
|
||||
@@ -684,7 +684,7 @@
|
||||
_this.spinShow=false;
|
||||
_this.UpParmas.fileName=file.name;
|
||||
_this.UpParmas.listData=response;
|
||||
if(response.State)
|
||||
if(response.code==0)
|
||||
{
|
||||
_this.$Message.info('导入成功!');
|
||||
_this.loadData()
|
||||
@@ -727,7 +727,7 @@
|
||||
_this.spinShow=false;
|
||||
_this.UpParmas2.fileName=file.name;
|
||||
_this.UpParmas2.listData=response;
|
||||
if(response.State)
|
||||
if(response.code==0)
|
||||
{
|
||||
_this.$Message.info('导入成功!');
|
||||
_this.loadData()
|
||||
|
||||
@@ -144,9 +144,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>
|
||||
|
||||
@@ -189,9 +189,9 @@
|
||||
<i-button icon="md-add"></i-button>
|
||||
</Upload>
|
||||
</FormItem>
|
||||
<FormItem v-if="UpParmas2.listData.data!=null" style="margin-bottom:10px">
|
||||
<div v-if="UpParmas2.listData.code==0" style="color:red">导入失败,请修改Excel文件中相关数据后再重新上传!</div>
|
||||
<div v-if="UpParmas2.listData.code!=0" style="color:green">导入成功!</div>
|
||||
<FormItem v-if="UpParmas2.fileName" style="margin-bottom:10px">
|
||||
<div v-if="UpParmas2.listData.code!=0" style="color:red">导入失败,请修改Excel文件中相关数据后再重新上传!</div>
|
||||
<div v-if="UpParmas2.listData.code==0" style="color:green">导入成功!</div>
|
||||
</FormItem>
|
||||
</Form>
|
||||
|
||||
@@ -667,7 +667,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.loadData()
|
||||
@@ -710,7 +710,7 @@ export default {
|
||||
_this.spinShow=false;
|
||||
_this.UpParmas2.fileName=file.name;
|
||||
_this.UpParmas2.listData=response;
|
||||
if(response.State)
|
||||
if(response.code==0)
|
||||
{
|
||||
_this.$Message.info('导入成功!');
|
||||
_this.loadData()
|
||||
|
||||
@@ -107,9 +107,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>
|
||||
|
||||
@@ -396,7 +396,7 @@
|
||||
_this.spinShow=false;
|
||||
_this.UpParmas.fileName=file.name;
|
||||
_this.UpParmas.listData=response;
|
||||
if(response.State)
|
||||
if(response.code==0)
|
||||
{
|
||||
_this.$Message.info('导入成功!');
|
||||
_this.getteachssearch();
|
||||
|
||||
@@ -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();
|
||||
|
||||
@@ -68,7 +68,6 @@
|
||||
</Upload>
|
||||
</FormItem>
|
||||
<FormItem v-if="UpParmas.fileName" style="margin-bottom:10px">
|
||||
{{ UpParmas.listData.code }}
|
||||
<div v-if="UpParmas.listData.code!=0" style="color:red">导入失败,请修改Excel文件中相关数据后再重新上传!</div>
|
||||
<div v-if="UpParmas.listData.code==0" style="color:green">导入成功!</div>
|
||||
</FormItem>
|
||||
|
||||
Reference in New Issue
Block a user