From ca150d38b8ecb9c69b0b32ac865e28fcf8c8fc8f Mon Sep 17 00:00:00 2001
From: zhanghua <314079846@qq.com>
Date: 星期一, 28 十一月 2022 16:14:44 +0800
Subject: [PATCH] Merge branch 'master' of http://42.193.1.25:9521/r/sccg_ui
---
src/views/operate/images/index.vue | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/src/views/operate/images/index.vue b/src/views/operate/images/index.vue
index c7b5f36..b6ef844 100644
--- a/src/views/operate/images/index.vue
+++ b/src/views/operate/images/index.vue
@@ -40,15 +40,15 @@
@selection-change="tableChange">
<el-table-column type="selection" min-width="5">
</el-table-column>
- <el-table-column prop="baseId" label="鎵�灞炰簨浠剁紪鍙�" min-width="18">
+ <el-table-column prop="code" label="鎵�灞炰簨浠剁紪鍙�" min-width="18">
</el-table-column>
<el-table-column prop="category" label="闂绫诲埆" min-width="8">
- <template slot-scope="scope">
+ <template v-if="scope.row.category" slot-scope="scope">
<span>{{ getCategory(scope.row.category).label }}</span>
</template>
</el-table-column>
<el-table-column prop="eventSource" label="浜嬩欢鏉ユ簮" min-width="8">
- <template slot-scope="scope">
+ <template v-if="scope.row.eventSource" slot-scope="scope">
<span>{{ getEventSource(scope.row.eventSource).label }}</span>
</template>
</el-table-column>
@@ -261,7 +261,7 @@
dateParams.startTime = dateParams[0];
dateParams.endTime = dateParams[1]
}
- imageManagement.getImageResources({ current: this.currentPage, size: this.size, type: this.type, ...dateParams })
+ imageManagement.getImageResources({ current: this.currentPage, size: this.pageSize, type: this.size, ...dateParams })
.then(({ records, total }) => {
this.tableData = records;
this.totalNum = total;
@@ -298,6 +298,7 @@
closeDialog() {
this.isShowUploadDialog = false;
+ this.getImageResourceList();
},
getCategory(value) {
--
Gitblit v1.8.0