@ued_fpi/data-visual 1.4.16 → 1.4.17
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.
|
@@ -27,6 +27,10 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
27
27
|
type: String,
|
|
28
28
|
default: ""
|
|
29
29
|
},
|
|
30
|
+
parkType: {
|
|
31
|
+
type: String,
|
|
32
|
+
default: "tcclx_2"
|
|
33
|
+
},
|
|
30
34
|
// 开始时间
|
|
31
35
|
beginTime: {
|
|
32
36
|
type: Number,
|
|
@@ -41,6 +45,10 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
41
45
|
height: {
|
|
42
46
|
type: String,
|
|
43
47
|
default: "132px"
|
|
48
|
+
},
|
|
49
|
+
url: {
|
|
50
|
+
type: String,
|
|
51
|
+
default: "/ipes-pcip-server/api/v1/statistical/flow-car/line"
|
|
44
52
|
}
|
|
45
53
|
},
|
|
46
54
|
setup(__props) {
|
|
@@ -135,11 +143,12 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
135
143
|
});
|
|
136
144
|
async function getData() {
|
|
137
145
|
try {
|
|
138
|
-
const { flowTimeType, parkId, beginTime, endTime } = props;
|
|
146
|
+
const { flowTimeType, parkId, beginTime, endTime, parkType, url } = props;
|
|
139
147
|
const res = await request.default({
|
|
140
148
|
method: "get",
|
|
141
|
-
url
|
|
149
|
+
url,
|
|
142
150
|
params: {
|
|
151
|
+
parkType,
|
|
143
152
|
flowTimeType,
|
|
144
153
|
parkId,
|
|
145
154
|
beginTime,
|