@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.
|
@@ -23,6 +23,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
23
23
|
type: String,
|
|
24
24
|
default: ""
|
|
25
25
|
},
|
|
26
|
+
parkType: {
|
|
27
|
+
type: String,
|
|
28
|
+
default: "tcclx_2"
|
|
29
|
+
},
|
|
26
30
|
// 开始时间
|
|
27
31
|
beginTime: {
|
|
28
32
|
type: Number,
|
|
@@ -37,6 +41,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
37
41
|
height: {
|
|
38
42
|
type: String,
|
|
39
43
|
default: "132px"
|
|
44
|
+
},
|
|
45
|
+
url: {
|
|
46
|
+
type: String,
|
|
47
|
+
default: "/ipes-pcip-server/api/v1/statistical/flow-car/line"
|
|
40
48
|
}
|
|
41
49
|
},
|
|
42
50
|
setup(__props) {
|
|
@@ -131,11 +139,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
131
139
|
});
|
|
132
140
|
async function getData() {
|
|
133
141
|
try {
|
|
134
|
-
const { flowTimeType, parkId, beginTime, endTime } = props;
|
|
142
|
+
const { flowTimeType, parkId, beginTime, endTime, parkType, url } = props;
|
|
135
143
|
const res = await requestControl({
|
|
136
144
|
method: "get",
|
|
137
|
-
url
|
|
145
|
+
url,
|
|
138
146
|
params: {
|
|
147
|
+
parkType,
|
|
139
148
|
flowTimeType,
|
|
140
149
|
parkId,
|
|
141
150
|
beginTime,
|