wkw hace 7 meses
padre
commit
6ec36e9344
Se han modificado 3 ficheros con 12 adiciones y 12 borrados
  1. 1 1
      src/views/enterpriseList/index.vue
  2. 10 10
      src/views/login/login.vue
  3. 1 1
      src/views/setting/logOff.vue

+ 1 - 1
src/views/enterpriseList/index.vue

@@ -77,7 +77,7 @@
 							:src="item.companyLogo" fit="cover" />
 						<div class="list-box-item-top-r">
 							<div class="list-box-item-top-r-name">
-								{{item.companyName}}
+								{{item.companyName || item.companyAllName}}
 							</div>
 							<div class="list-box-item-top-r-label flex flex-wrap">
 								<div v-if="item.city" class="list-box-item-top-r-label-i">

+ 10 - 10
src/views/login/login.vue

@@ -173,7 +173,7 @@
 							</div>
 						</div>
 						<!-- 用户名 -->
-						<div class="center-r-item flex align-center justify-center">
+						<!-- <div class="center-r-item flex align-center justify-center">
 							<div class="center-r-item-box flex align-center justify-between">
 								<div class="center-r-item-box-l flex align-center">
 									用户名
@@ -182,7 +182,7 @@
 									<el-input class="inputClass" size="large" v-model="nikName" placeholder="请设置用户名" />
 								</div>
 							</div>
-						</div>
+						</div> -->
 						<!-- 手机号 -->
 						<div class="center-r-item flex align-center justify-center margin-top-20">
 							<div class="center-r-item-box flex align-center justify-between">
@@ -531,12 +531,12 @@
 			},
 			//注册
 			registApp() {
-				if (!this.nikName) {
-					ElMessageBox.alert('请输入用户名', '提示', {
-						confirmButtonText: '确认',
-					})
-					return
-				}
+				// if (!this.nikName) {
+				// 	ElMessageBox.alert('请输入用户名', '提示', {
+				// 		confirmButtonText: '确认',
+				// 	})
+				// 	return
+				// }
 				if (!this.userName) {
 					ElMessageBox.alert('请输入手机号', '提示', {
 						confirmButtonText: '确认',
@@ -562,10 +562,10 @@
 					return
 				}
 				let data = {
-					userName: this.nikName,
+					userName: this.userName,
 					phone: this.userName,
 					password: this.passWord,
-					invitation: this.invitation,
+					// invitation: this.invitation,
 					platform: 'pc',
 					msg: this.code
 				}

+ 1 - 1
src/views/setting/logOff.vue

@@ -69,7 +69,7 @@
 					let data = {
 						state: 8,
 					}
-					this.$Request.post('/app/message/insertMessage', data, {
+					this.$Request.post('/app/user/logout', data, {
 						type: 'json'
 					}).then(res => {
 						if (res.code == 0) {