| @@ -478,7 +478,7 @@ | |||||
| } | } | ||||
| function loadModelList(){ | function loadModelList(){ | ||||
| $.get(`${repolink}/modelmanage/query_model_for_predict?repoId=${repoId}`, (data) => { | |||||
| $.get(`${repolink}/modelmanage/query_model_for_predict?repoId=${repoId}&type=-1`, (data) => { | |||||
| modelData = data | modelData = data | ||||
| let nameList = data.nameList | let nameList = data.nameList | ||||
| const n_length = nameList.length | const n_length = nameList.length | ||||
| @@ -40,7 +40,7 @@ | |||||
| var verifyCode = bindPhoneEl.find('input.verifyCode').val(); | var verifyCode = bindPhoneEl.find('input.verifyCode').val(); | ||||
| if (phoneNumber && verifyCode) { | if (phoneNumber && verifyCode) { | ||||
| e.preventDefault(); | e.preventDefault(); | ||||
| if (!/^1[3578]\d{9}$/.test(phoneNumber)) { | |||||
| if (!/^1[3-9]\d{9}$/.test(phoneNumber)) { | |||||
| bindPhoneEl.find('.ui.negative.message').show().find('p').text({{.i18n.Tr "phone.please_enter_the_correct_mobile_number"}}); | bindPhoneEl.find('.ui.negative.message').show().find('p').text({{.i18n.Tr "phone.please_enter_the_correct_mobile_number"}}); | ||||
| return; | return; | ||||
| } | } | ||||
| @@ -153,7 +153,7 @@ | |||||
| return; | return; | ||||
| } | } | ||||
| var phoneNumber = self.dom.find('.phone-num-c input').val(); | var phoneNumber = self.dom.find('.phone-num-c input').val(); | ||||
| if (!/^1[3578]\d{9}$/.test(phoneNumber)) { | |||||
| if (!/^1[3-9]\d{9}$/.test(phoneNumber)) { | |||||
| self.dom.find('.phone-num-c').addClass('error'); | self.dom.find('.phone-num-c').addClass('error'); | ||||
| return; | return; | ||||
| } else { | } else { | ||||