From bf829988a79ab9deb006d683337431540ee70ec6 Mon Sep 17 00:00:00 2001 From: zouyu <2723363702@qq.com> Date: 星期五, 15 十二月 2023 14:36:26 +0800 Subject: [PATCH] Merge branch 'master' of http://114.132.189.42:9002/r/mes-ocea-before --- src/views/common/ztt-table.vue | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/views/common/ztt-table.vue b/src/views/common/ztt-table.vue index 64d8045..bdb3592 100644 --- a/src/views/common/ztt-table.vue +++ b/src/views/common/ztt-table.vue @@ -245,6 +245,7 @@ :show-overflow-tooltip="!item.noShowTip" :width="inMemoryColWidth[item.prop] || item.width" :prop="item.prop" + align="center" > <template slot="header" slot-scope="scope"> <template v-if="item.isSearch"> @@ -324,7 +325,7 @@ <template v-if="!item.render"> <template v-if="item.formatter"> <span v-if="item.isTag" style="text-align: center;"> - <el-tag style="width:50px;margin: 3px;" :type="scope.row[item.prop] == 0 ? 'success' : 'info'"> + <el-tag style="width:60px;margin: 3px;" :type="scope.row[item.prop] == 0 ? 'success' : 'info'"> <span v-html="item.formatter(scope.row, item, scope.row[item.prop])"></span> </el-tag> </span> @@ -941,8 +942,7 @@ } }, getDataList(selectedId) { - // this.dataListLoading = true - this.dataListLoading = false + this.dataListLoading = true var criteria = {} criteria.dateTimeFilters = this.dateTimeFilters criteria.multiSearchFilter = this.multiSearchFilter @@ -968,6 +968,7 @@ return this.doCallback(this.ajaxFun, arr, selectedId) }, doCallback(fn, args, selectedId) { + this.tableData=[] return fn .apply(this, args) .then((response) => { -- Gitblit v1.9.3