master
王亚玲 2 years ago
parent c41eeea38f
commit f439a5e1ee

@ -95,9 +95,9 @@ class _CallRecordsListState extends State<CallRecordsList> {
if (phoneNum3.isEmpty) { if (phoneNum3.isEmpty) {
CloudToast.show('请选择手机号'); CloudToast.show('请选择手机号');
} else { } else {
print(phoneNum3); // print(phoneNum3);
var res = await ExcludeFunc.getContactsList(phoneNum3); await ExcludeFunc.getContactsList(phoneNum3);
if(res) Get.back(); Navigator.pop(context,true);
} }
// _easyRefreshController.callRefresh(); // _easyRefreshController.callRefresh();

@ -65,7 +65,7 @@ class _SpecifyPhonePageState extends State<SpecifyPhonePage> {
MaterialPageRoute( MaterialPageRoute(
builder: (_) => const CallRecordsList()), builder: (_) => const CallRecordsList()),
) )
.then((val) => _getNullList()); .then((val) =>_refreshController.callRefresh());
// Get.to(() => const CallRecordsList()); // Get.to(() => const CallRecordsList());
}), }),
@ -89,9 +89,11 @@ class _SpecifyPhonePageState extends State<SpecifyPhonePage> {
} else { } else {
Get.to(() => (const ExcludeContactsPage())); Get.to(() => (const ExcludeContactsPage()));
} }
}), }),
_getAddPhone("添加单个或批量号码", "通过输入号码段添加批量号码", () { _getAddPhone("添加单个或批量号码", "通过输入号码段添加批量号码", () {
Get.to(() => (const ExcludeSinglePage())); Get.to(() => (const ExcludeSinglePage()));
}), }),
], ],
)), )),
@ -112,6 +114,7 @@ class _SpecifyPhonePageState extends State<SpecifyPhonePage> {
); );
}, },
context: context); context: context);
}, },
child: EasyRefresh( child: EasyRefresh(
firstRefresh: true, firstRefresh: true,

Loading…
Cancel
Save