smartyz-web-sdk 1.2.0 → 1.2.1
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.
|
@@ -3539,7 +3539,7 @@ const _sfc_main$1 = {
|
|
|
3539
3539
|
};
|
|
3540
3540
|
}
|
|
3541
3541
|
};
|
|
3542
|
-
const Pagination = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-
|
|
3542
|
+
const Pagination = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-4068604f"]]);
|
|
3543
3543
|
const _hoisted_1 = {
|
|
3544
3544
|
key: 0,
|
|
3545
3545
|
class: "fusion-list-container"
|
|
@@ -3577,7 +3577,7 @@ const _sfc_main = {
|
|
|
3577
3577
|
// 街道编码数组
|
|
3578
3578
|
streetCodes: { type: Array, default: () => [] },
|
|
3579
3579
|
// 分页(默认值10,当前页1,总页数0,是否开启分页true)
|
|
3580
|
-
pagination: { type: Object, default: () => ({ pageNum: 1, pageSize: 50, total: 0, isPagination:
|
|
3580
|
+
pagination: { type: Object, default: () => ({ pageNum: 1, pageSize: 50, total: 0, isPagination: false }) }
|
|
3581
3581
|
},
|
|
3582
3582
|
emits: ["update:viewPointShow", "close", "handleOperate", "dataLoaded"],
|
|
3583
3583
|
setup(__props, { emit: __emit }) {
|
|
@@ -3597,7 +3597,7 @@ const _sfc_main = {
|
|
|
3597
3597
|
pageNum: 1,
|
|
3598
3598
|
pageSize: 10,
|
|
3599
3599
|
total: 0,
|
|
3600
|
-
isPagination:
|
|
3600
|
+
isPagination: false
|
|
3601
3601
|
});
|
|
3602
3602
|
const filteredResults = computed(() => {
|
|
3603
3603
|
if (!searchValue.value.trim()) {
|
|
@@ -3808,7 +3808,6 @@ const _sfc_main = {
|
|
|
3808
3808
|
checkAllShowStatus();
|
|
3809
3809
|
};
|
|
3810
3810
|
const handlePageChange = (page) => {
|
|
3811
|
-
console.log(page);
|
|
3812
3811
|
paginationOption.pageNum = page.pageNum;
|
|
3813
3812
|
emit("update:pageNum", page.pageNum);
|
|
3814
3813
|
getVideoTwinList(
|
|
@@ -3819,7 +3818,6 @@ const _sfc_main = {
|
|
|
3819
3818
|
props.pagination.pageSize
|
|
3820
3819
|
).then((res) => {
|
|
3821
3820
|
res ? console.log(`countryCodes/streetCodes 变化,重新拉取数据:`, res) : "";
|
|
3822
|
-
console.log(res.pagination.total);
|
|
3823
3821
|
paginationOption.total = res.pagination.total;
|
|
3824
3822
|
});
|
|
3825
3823
|
};
|
|
@@ -3853,7 +3851,7 @@ const _sfc_main = {
|
|
|
3853
3851
|
props.pagination.pageSize
|
|
3854
3852
|
).then((res) => {
|
|
3855
3853
|
res ? console.log(`countryCodes/streetCodes 变化,重新拉取数据:`, res) : "";
|
|
3856
|
-
|
|
3854
|
+
paginationOption.isPagination = res.pagination.total > paginationOption.pageSize ? true : false;
|
|
3857
3855
|
paginationOption.total = res.pagination.total;
|
|
3858
3856
|
paginationOption.pageNum = res.pagination.pageNum;
|
|
3859
3857
|
});
|
|
@@ -3949,7 +3947,7 @@ const _sfc_main = {
|
|
|
3949
3947
|
};
|
|
3950
3948
|
}
|
|
3951
3949
|
};
|
|
3952
|
-
const ViewPointComponent = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
3950
|
+
const ViewPointComponent = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-2c04a4d5"]]);
|
|
3953
3951
|
const index = {
|
|
3954
3952
|
SyzVideoPlayer,
|
|
3955
3953
|
VideoPlane,
|