Commit 1d4e7e66 by 张杰

修复页面刷新

1 parent c2f99d69
......@@ -101,7 +101,7 @@
<el-form-item label="车架号:" prop="vin" class="long_form_item">
<div class="el_item_inner">
<el-input v-model="snForm.vin" class="a_input" maxlength="17" clearable :disabled="vinEdit && dialogType != 'create'"></el-input>
<auth-button type="primary" class="btn" size="mini" v-show="vinEdit" :uid="6010209" name="车架编辑" @click.native="vinEdit = !vinEdit">编辑</auth-button>
<auth-button type="primary" class="btn" size="mini" v-show="vinEdit && dialogType != 'create'" :uid="6010209" name="车架编辑" @click.native="vinEdit = !vinEdit">编辑</auth-button>
<el-button v-show="!vinEdit" class="btn" @click="vinEdit = !vinEdit">取消</el-button>
</div>
</el-form-item>
......@@ -1113,6 +1113,7 @@ export default {
this.importForm = {};
this.exportData = {};
this.$refs.importFile.value = "";
this.$refs.serchButton.click();
}
break;
case "export":
......@@ -1165,6 +1166,7 @@ export default {
this.snForm = {};
this.dialogType = "";
this.$refs.snForm.clearValidate();
this.$refs.serchButton.$el.click();
//this.$refs.vehicleForm.refreshTable();
//this.$refs.snForm.refreshTable();
} else {
......@@ -1195,6 +1197,7 @@ export default {
this.importing = false;
if (res.data.code == 200) {
this.exportData = res.data.data;
this.$refs.serchButton.$el.click();
} else {
this.$message({
message: res.data.message,
......@@ -1753,15 +1756,15 @@ export default {
}
}
.impot_btn{
.impot_btn {
position: relative;
}
.import-input{
.import-input {
position: absolute;
top:0;
right:0;
bottom:0;
left:0;
z-index:2;
top: 0;
right: 0;
bottom: 0;
left: 0;
z-index: 2;
}
</style>
\ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!