imeik-bizui 2.8.5 → 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.
- package/dist/bizui/src/FieldPersonBudgetBoard/core/PersonBudgetDashboard.vue +5 -0
- package/dist/bizui/src/FieldPersonBudgetBoard/core/PersonBudgetDetailPanel.vue +6 -5
- package/dist/bizui/src/FieldPersonBudgetBoard/core/PersonBudgetOverview.vue +2 -0
- package/dist/bizui/src/FieldPersonBudgetBoard/index.vue +6 -0
- package/dist/imeik-bizui.common.js +154 -139
- package/dist/imeik-bizui.common.js.gz +0 -0
- package/dist/imeik-bizui.css +1 -1
- package/dist/imeik-bizui.css.gz +0 -0
- package/dist/imeik-bizui.umd.js +154 -139
- package/dist/imeik-bizui.umd.js.gz +0 -0
- package/dist/imeik-bizui.umd.min.js +4 -4
- package/dist/imeik-bizui.umd.min.js.gz +0 -0
- package/package.json +1 -1
|
@@ -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
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
prefix-icon="el-icon-search"
|
|
37
37
|
@clear="searchUsage"
|
|
38
38
|
/>
|
|
39
|
-
<el-button type="primary" size="small"
|
|
39
|
+
<el-button type="primary" size="small" @click="searchUsage">查询</el-button>
|
|
40
40
|
</form>
|
|
41
41
|
</div>
|
|
42
42
|
|
|
@@ -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 }">
|
|
@@ -127,7 +127,7 @@
|
|
|
127
127
|
prefix-icon="el-icon-search"
|
|
128
128
|
@clear="searchPerformance"
|
|
129
129
|
/>
|
|
130
|
-
<el-button type="primary" size="small" class="pbd-perf-btn"
|
|
130
|
+
<el-button type="primary" size="small" class="pbd-perf-btn" @click="searchPerformance">查询</el-button>
|
|
131
131
|
</form>
|
|
132
132
|
</div>
|
|
133
133
|
|
|
@@ -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 {
|
|
@@ -123,6 +123,8 @@ export default {
|
|
|
123
123
|
return this.statusMeta.cls
|
|
124
124
|
},
|
|
125
125
|
statusDesc() {
|
|
126
|
+
// 通过 / 预警 / 禁止:固定用原型文案,不被接口 message 覆盖
|
|
127
|
+
if (STATUS_META[this.status]) return this.statusMeta.fallbackDesc
|
|
126
128
|
const msg = this.overview && this.overview.message
|
|
127
129
|
if (msg) return msg
|
|
128
130
|
return this.statusMeta.fallbackDesc
|
|
@@ -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: {
|