|
@@ -126,6 +126,13 @@ export default {
|
|
|
setup(props, { emit }) {
|
|
|
const { siteId } = toRefs(props);
|
|
|
const { type } = toRefs(props);
|
|
|
+ window.xm.showToast({
|
|
|
+ message:
|
|
|
+ "searchForm:" +
|
|
|
+ searchForm.value.location.id +
|
|
|
+ ",siteId:" +
|
|
|
+ siteId.value,
|
|
|
+ });
|
|
|
const searchForm = ref({
|
|
|
name: "",
|
|
|
sex: "",
|
|
@@ -188,6 +195,13 @@ export default {
|
|
|
(newValue, oldValue) => {
|
|
|
if (oldValue != newValue) {
|
|
|
index = 0;
|
|
|
+ window.xm.showToast({
|
|
|
+ message:
|
|
|
+ "searchForm:" +
|
|
|
+ searchForm.value.location.id +
|
|
|
+ ",siteId:" +
|
|
|
+ siteId.value,
|
|
|
+ });
|
|
|
onLoad();
|
|
|
}
|
|
|
},
|
|
@@ -226,16 +240,20 @@ export default {
|
|
|
// 数据全部加载完成
|
|
|
if (records.length < 15) {
|
|
|
finished.value = true;
|
|
|
- window.xm.showToast({
|
|
|
- message:
|
|
|
- "siteId" + searchForm.value.location.id + "," + siteId.value,
|
|
|
- });
|
|
|
+
|
|
|
if (
|
|
|
finished.value &&
|
|
|
!loading.value &&
|
|
|
searchForm.value.location.id != ""
|
|
|
) {
|
|
|
checked.value.push(...list.value);
|
|
|
+ window.xm.showToast({
|
|
|
+ message:
|
|
|
+ "searchForm:" +
|
|
|
+ searchForm.value.location.id +
|
|
|
+ ",siteId:" +
|
|
|
+ siteId.value,
|
|
|
+ });
|
|
|
checkAll();
|
|
|
}
|
|
|
} else {
|