|
@@ -39,7 +39,7 @@ let time = ref<number>(60)
|
|
|
let timer = ref<any>()
|
|
|
let canSendSms = ref<boolean>(true)
|
|
|
let labelCol = ref<object>({ style: { width: '140px' } })
|
|
|
-let action = ref<string>('http://153.37.175.42:8070/app/common/upload')
|
|
|
+let action = ref<string>('http://test.liebaoai.cn/app/common/upload')
|
|
|
let checked = ref<boolean>(false)
|
|
|
let showAgreement = ref<boolean>(false)
|
|
|
|
|
@@ -104,7 +104,9 @@ watch(formState, (newValue) => {
|
|
|
console.log('数据:', newValue);
|
|
|
if (newValue.userAccount && newValue.password && newValue.passwordAgain && newValue.code) {
|
|
|
firstDisabled.value = false
|
|
|
- if (newValue.address && newValue.street && newValue.merchantName && newValue.bizLicenseNo && newValue.bizLicense && newValue.legalPerson && newValue.idcardNo && newValue.idcardFront && newValue.idcardBack && newValue.bizLicenseIdcard && newValue.contactName && newValue.mobile) {
|
|
|
+ // if (newValue.address && newValue.street && newValue.merchantName && newValue.bizLicenseNo && newValue.bizLicense && newValue.legalPerson && newValue.idcardNo && newValue.idcardFront && newValue.idcardBack && newValue.bizLicenseIdcard && newValue.contactName && newValue.mobile) {
|
|
|
+ if (newValue.street && newValue.merchantName && newValue.bizLicenseNo && newValue.bizLicense && newValue.legalPerson && newValue.idcardNo && newValue.idcardFront && newValue.idcardBack && newValue.bizLicenseIdcard && newValue.contactName && newValue.mobile) {
|
|
|
+
|
|
|
submitDisabled.value = false
|
|
|
} else {
|
|
|
submitDisabled.value = true
|
|
@@ -140,7 +142,7 @@ function getAddressInfo() {
|
|
|
"plugins": ['AMap.Geocoder'], // 需要使用的的插件列表,如比例尺'AMap.Scale'等
|
|
|
}).then((AMap: { Geocoder: new () => any; }) => {
|
|
|
let geocoder = new AMap.Geocoder()
|
|
|
- geocoder.getLocation(formState.address, function (status: string, result: { info: string; }) {
|
|
|
+ geocoder.getLocation(formState.cityName+formState.districtName+formState.street, function (status: string, result: { info: string; }) {
|
|
|
console.log('result:', status, result);
|
|
|
if (status === 'complete' && result.info === 'OK') {
|
|
|
// result中对应详细地理坐标信息
|