Commit 544a6ae8 by LJM

css

parent 74b04f12
Showing with 9 additions and 5 deletions
...@@ -54,7 +54,7 @@ ...@@ -54,7 +54,7 @@
<el-pagination layout="total, sizes, prev, pager, next, jumper" :page-sizes="[10, 20, 50, 100, 200]" :total="total" @size-change="handleSizeChange" @current-change="handleCurrentChange" :current-page="page"></el-pagination> <el-pagination layout="total, sizes, prev, pager, next, jumper" :page-sizes="[10, 20, 50, 100, 200]" :total="total" @size-change="handleSizeChange" @current-change="handleCurrentChange" :current-page="page"></el-pagination>
</div> </div>
<!--导入数据确认--> <!--导入数据确认-->
<el-dialog title="导入数据确认" :close-on-click-modal="false" :visible.sync="dialogVisible" width="700px" custom-class="dialog-layer-notice"> <el-dialog title="导入数据确认" :close-on-click-modal="false" :visible.sync="dialogVisible" width="700px">
<div class="dialog-text"> <div class="dialog-text">
<p class="tt"> <p class="tt">
上传的型号经由猎芯审核通过后,会展示在【猎芯网】进行售卖,并参与【猎芯询报价】系统自动推送询价<br/> 上传的型号经由猎芯审核通过后,会展示在【猎芯网】进行售卖,并参与【猎芯询报价】系统自动推送询价<br/>
...@@ -77,7 +77,6 @@ ...@@ -77,7 +77,6 @@
</div> </div>
<Menu/> <Menu/>
</div> </div>
</template> </template>
<script> <script>
import Vue from 'vue'; import Vue from 'vue';
...@@ -165,13 +164,18 @@ export default { ...@@ -165,13 +164,18 @@ export default {
* @returns {boolean} * @returns {boolean}
*/ */
handleChange(file, fileList) { handleChange(file, fileList) {
var that = this;
if (file.code === 0) { if (file.code === 0) {
this.$message({ this.$message({
message: '导入成功', message: '导入成功',
type: 'success' type: 'success',
onClose() {
that.dialogVisible = false;
that.page = 1;
that.getData();
}
}); });
this.page = 1;
this.getData();
} else { } else {
this.$message({ this.$message({
message: file.msg, message: file.msg,
......
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 sign in to comment