소스 검색

Merge branch 'test' of git.echepei.com:sailun/sailun-tbr-web into test

caojunjie 4 년 전
부모
커밋
4b3adfdbb2
1개의 변경된 파일7개의 추가작업 그리고 7개의 파일을 삭제
  1. 7 7
      pages/login/register_3.vue

+ 7 - 7
pages/login/register_3.vue

@@ -139,13 +139,18 @@
 				this.formData = data.formData
 				this.dataUrl = data.dataUrl
 			})
+		},
+		mounted() {
 			this.getAgentArea()
 			this.getTasknum()
 		},
 		methods: {
 			getAgentArea() {
-				let data={
-						
+				console.log(this.formData)
+				request({
+					url: '/sailun/appStoreBasicInfo/getAgentArea',
+					method: 'post',
+					data:{
 						"area": this.formData.district,
 						"city": this.formData.city,
 						"province": this.formData.province,
@@ -156,11 +161,6 @@
 						"vkorg": "8100",
 						"vtweg": "10"
 					}
-					console.log(data)
-				request({
-					url: '/sailun/appStoreBasicInfo/getAgentArea',
-					method: 'post',
-					data: data
 				}).then(res => {
 					if (res.data.code == 0) {
 						this.agentList = res.data.Data.data