ocpview-pro 0.1.8 → 0.1.9
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/package.json
CHANGED
|
@@ -39,7 +39,9 @@
|
|
|
39
39
|
<Tooltip placement="top">
|
|
40
40
|
<template #content>
|
|
41
41
|
<div>
|
|
42
|
-
<span style="font-size: 12px">
|
|
42
|
+
<span style="font-size: 12px">
|
|
43
|
+
{{ $t("表头设计") }}
|
|
44
|
+
</span>
|
|
43
45
|
</div>
|
|
44
46
|
</template>
|
|
45
47
|
<p style="cursor: pointer" @click.stop="openColSet">
|
|
@@ -78,18 +80,30 @@ import elementResizeDetectorMaker from "element-resize-detector";
|
|
|
78
80
|
import QueryBar from "./querybar.vue";
|
|
79
81
|
import GridColSet from "./gridcolset.vue";
|
|
80
82
|
import { resolveComponent } from "vue";
|
|
83
|
+
const billstatusColorMap = {
|
|
84
|
+
A: { text: "#fa8c16", background: "#fff7e6", border: "#fa8c16" },
|
|
85
|
+
N: { text: "#1677ff", background: "#e6f7ff", border: "#1677ff" },
|
|
86
|
+
S: { text: "#1677ff", background: "#e6f7ff", border: "#1677ff" },
|
|
87
|
+
Q: { text: "#f5222d", background: "#fff2f0", border: "#f5222d" },
|
|
88
|
+
T: { text: "#f5222d", background: "#fff2f0", border: "#f5222d" },
|
|
89
|
+
W: { text: "#fa8c16", background: "#fff7e6", border: "#fa8c16" },
|
|
90
|
+
X: { text: "#00875a", background: "#d4edda", border: "#00875a" },
|
|
91
|
+
Y: { text: "#52c41a", background: "#f0fff4", border: "#52c41a" },
|
|
92
|
+
C: { text: "#666666", background: "#f5f5f5", border: "#8c8c8c" },
|
|
93
|
+
};
|
|
94
|
+
const cardBillstatus = {
|
|
95
|
+
...billstatusColorMap,
|
|
96
|
+
F: { text: "#fa8c16", background: "#fff7e6", border: "#fa8c16" },
|
|
97
|
+
};
|
|
81
98
|
const columnColorConfig = {
|
|
82
|
-
billstatus:
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
Y: { text: "#52c41a", background: "#f0fff4", border: "#52c41a" },
|
|
91
|
-
C: { text: "#666666", background: "#f5f5f5", border: "#8c8c8c" },
|
|
92
|
-
},
|
|
99
|
+
billstatus: billstatusColorMap,
|
|
100
|
+
bcfhshbz: cardBillstatus,
|
|
101
|
+
bcahshbz: cardBillstatus,
|
|
102
|
+
bcrhshbz: cardBillstatus,
|
|
103
|
+
bcbfshbz: cardBillstatus,
|
|
104
|
+
bcshshbz: cardBillstatus,
|
|
105
|
+
bcthshbz: cardBillstatus,
|
|
106
|
+
bahshbz: cardBillstatus,
|
|
93
107
|
};
|
|
94
108
|
export default {
|
|
95
109
|
name: "mbillquerygrid",
|
|
@@ -250,7 +264,7 @@ export default {
|
|
|
250
264
|
this.rowBtnData = btns;
|
|
251
265
|
}
|
|
252
266
|
if (this.rowBtnData.length > 0) {
|
|
253
|
-
this.actionConfig.label = this.$t(
|
|
267
|
+
this.actionConfig.label = this.$t("操作");
|
|
254
268
|
this.actionConfig.key = "actionbtn";
|
|
255
269
|
this.actionConfig.align = "center";
|
|
256
270
|
this.actionConfig.render = this.actionRender;
|