From 51453805bae17ac96ae7be39d9f6dcb8f05b8e54 Mon Sep 17 00:00:00 2001
From: ludc
Date: 星期五, 04 八月 2023 18:44:54 +0800
Subject: [PATCH] Merge branch 'master' of http://dev.vci-tech.com:1065/r/ubcs
---
Source/UBCS-WEB/src/components/template/FlowPath.vue | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
diff --git a/Source/UBCS-WEB/src/components/template/FlowPath.vue b/Source/UBCS-WEB/src/components/template/FlowPath.vue
index 3e77d21..f3d30c7 100644
--- a/Source/UBCS-WEB/src/components/template/FlowPath.vue
+++ b/Source/UBCS-WEB/src/components/template/FlowPath.vue
@@ -2,7 +2,7 @@
<avue-crud ref="crud" :table-loading="loading" :data="data" v-model="form" :option="option" :page.sync="page"
:search.sync="search" @on-load="getDataList" @row-save="handleSave" @row-del="handleDelete"
@row-update="handleEdit" @refresh-change="handleRefresh" @size-change="handleSizePage"
- @current-change="handleCurrentPage">
+ @current-change="handleCurrentPage" v-if="Formlist.length>0">
</avue-crud>
</template>
@@ -23,6 +23,10 @@
typeof: String,
required: true,
default: ""
+ },
+ Formlist:{
+ type:Array,
+ default:[]
}
},
data() {
@@ -47,6 +51,7 @@
index: true,
searchMenuSpan: 8,
searchBtn: false,
+ refreshBtn:false,
emptyBtn: false,
columnBtn: false,
editBtn:!this.checkStatus || this.crudLCStatus == 'Editing',
@@ -158,6 +163,8 @@
this.data = data.records
this.page.total = data.total
} else this.loading = false
+ }else {
+ this.data=[]
}
},
--
Gitblit v1.9.3