imeik-bizui 2.8.6 → 2.8.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -24,6 +24,7 @@
24
24
  :request-payload="requestPayload"
25
25
  :fetch-usage-page="fetchUsagePage"
26
26
  :fetch-performance-page="fetchPerformancePage"
27
+ :tableEmptyText="tableEmptyText"
27
28
  @collapse="collapseInline"
28
29
  />
29
30
  <PersonBudgetDetailDialog
@@ -91,6 +92,10 @@ export default {
91
92
  type: String,
92
93
  default: '请完善费用承担人和费用类型后查看个人预算'
93
94
  },
95
+ tableEmptyText: {
96
+ type: String,
97
+ default: ''
98
+ },
94
99
  debounceMs: {
95
100
  type: Number,
96
101
  default: 320
@@ -68,7 +68,7 @@
68
68
  :height="tableHeight"
69
69
  size="small"
70
70
  border
71
- empty-text="没有匹配的记录,请尝试其他单号。"
71
+ :empty-text="tableEmptyText"
72
72
  >
73
73
  <el-table-column prop="sourceSystemName" label="来源系统" min-width="100">
74
74
  <template slot-scope="{ row }">
@@ -153,7 +153,7 @@
153
153
  :height="tableHeight"
154
154
  size="small"
155
155
  border
156
- empty-text="没有匹配的记录,请尝试其他单号。"
156
+ :empty-text="tableEmptyText"
157
157
  >
158
158
  <el-table-column label="订单编号" min-width="140">
159
159
  <template slot-scope="{ row }">
@@ -249,7 +249,8 @@ export default {
249
249
  overview: { type: Object, default: null },
250
250
  requestPayload: { type: Object, default: null },
251
251
  fetchUsagePage: { type: Function, default: null },
252
- fetchPerformancePage: { type: Function, default: null }
252
+ fetchPerformancePage: { type: Function, default: null },
253
+ tableEmptyText: { type: String, default: '' }
253
254
  },
254
255
  data() {
255
256
  return {
@@ -18,6 +18,7 @@
18
18
  :request-payload="requestPayload"
19
19
  :show-detail-link="showDetailLink"
20
20
  :empty-text="resolvedEmptyText"
21
+ :table-empty-text="tableEmptyText"
21
22
  :debounce-ms="debounceMs"
22
23
  :narrow-detail-mode="narrowDetailMode"
23
24
  :fetch-overview="useMock ? null : sceneApi.fetchOverview"
@@ -134,6 +135,11 @@ export default {
134
135
  emptyText: {
135
136
  type: String,
136
137
  default: ''
138
+ },
139
+ /** dialog中的table如果没有数据的默认 */
140
+ tableEmptyText: {
141
+ type: String,
142
+ default: '暂无数据'
137
143
  }
138
144
  },
139
145
  computed: {