Explorar el Código

企业管理-公司名称,公司简介

cornyuan hace 7 meses
padre
commit
1d9ead6ff2
Se han modificado 1 ficheros con 20 adiciones y 18 borrados
  1. 20 18
      src/views/autonym/autonym.vue

+ 20 - 18
src/views/autonym/autonym.vue

@@ -89,7 +89,7 @@
 				</template>
 			</el-table-column> -->
 
-			<el-table-column prop="companyName" label="企业名称" width="200">
+			<el-table-column prop="companyAllName" label="企业名称" width="200">
 			</el-table-column>
 			<el-table-column prop="companyLogo" label="企业头像" width="150">
 				<template slot-scope="scope">
@@ -152,12 +152,12 @@
 					</div>
 				</template>
 			</el-table-column> -->
-			<el-table-column prop="companyDetails" label="公司简介" width="200">
+			<el-table-column prop="companyContent" label="公司简介" width="200">
 				<template slot-scope="scope">
 					<div style="display: -webkit-box;-webkit-box-orient: vertical;-webkit-line-clamp: 3;overflow: hidden;max-height:80px;" >
 					<el-popover placement="top-start" title="" trigger="hover">
-						<div slot="reference">{{scope.row.companyDetails}}</div>
-						<div style="width: 400px;">{{scope.row.companyDetails}}</div>
+						<div slot="reference">{{scope.row.companyContent}}</div>
+						<div style="width: 400px;">{{scope.row.companyContent}}</div>
 					</el-popover>
 					</div>
 				</template>
@@ -229,7 +229,7 @@
 			</div>
 			<div style="margin-bottom: 10px;">
 				<span style="width: 200px;display: inline-block;text-align: right;">企业名称:</span>
-				<el-input v-model="companyName" style="width:45%;" placeholder="请输入企业名称">
+				<el-input v-model="companyAllName" style="width:45%;" placeholder="请输入企业名称">
 				</el-input>
 			</div>
 			<div style="margin-bottom: 10px;">
@@ -349,7 +349,7 @@
 			</div> -->
 			<div style="margin-bottom: 10px;">
 				<span style="width: 200px;display: inline-block;text-align: right;">企业介绍:</span>
-				<el-input v-model="companyDetails" style="width:45%;" type="textarea" :rows="3" placeholder="请输入企业介绍">
+				<el-input v-model="companyContent" style="width:45%;" type="textarea" :rows="3" placeholder="请输入企业介绍">
 				</el-input>
 			</div>
 			<div slot="footer" class="dialog-footer" style="margin-top: 30px;text-align: center;">
@@ -559,6 +559,7 @@
 				companyId: '',
 				companyPhone: '',
 				companyName: '',
+				companyAllName: '',
 				companyLegalPerson: '',
 				companyCreateTime:'',
 				companyPeople:'',
@@ -569,7 +570,7 @@
 				companyAddress: '',
 				companyRegisteredFund: '',
 				email:'',
-				companyDetails: '',
+				// companyDetails: '',
 				companyContent:'',
 				companyScope: [],
 				nickName1: '',
@@ -914,7 +915,7 @@
 					this.titles = '修改'
 					this.companyId = row.companyId
 					// this.companyPhone = row.companyPhone
-					this.companyName = row.companyName
+					this.companyAllName = row.companyAllName
 					this.companyLegalPerson = row.companyLegalPerson
 					this.companyCreateTime = row.companyCreateTime
 					this.companyPeople = row.companyPeople
@@ -930,7 +931,7 @@
 					this.companyAddress = row.companyAddress
 					this.companyRegisteredFund = row.companyRegisteredFund
 					this.email = row.email
-					this.companyDetails = row.companyDetails
+					// this.companyDetails = row.companyDetails
 					this.companyContent = row.companyContent
           if(row.companyScope){
           	this.companyScope = row.companyScope.split(',')
@@ -943,7 +944,7 @@
 					this.titles = '添加'
 					this.companyId = ''
 					// this.companyPhone = ''
-					this.companyName = ''
+					this.companyAllName = ''
 					this.companyLegalPerson = ''
 					this.companyCreateTime = ''
 					this.companyPeople = ''
@@ -954,7 +955,7 @@
 					this.companyAddress = ''
 					this.companyRegisteredFund = ''
 					this.email = ''
-					this.companyDetails = ''
+					// this.companyDetails = ''
 					this.companyContent = ''
 					this.companyScope = []
 					this.nickName1 = ''
@@ -1075,7 +1076,7 @@
 						});
 						return
 					}
-					if (this.companyName == '') {
+					if (this.companyAllName == '') {
 						this.$notify({
 							title: '提示',
 							duration: 1800,
@@ -1159,7 +1160,7 @@
 						});
 						return
 					}
-					if (this.companyDetails == '') {
+					if (this.companyContent == '') {
 						this.$notify({
 							title: '提示',
 							duration: 1800,
@@ -1194,7 +1195,7 @@
 							'companyCertification': that.companyCertification.toString(),
 							'companyCertificate': that.companyCertificate.toString(),
 							// 'phone': that.companyPhone,
-							'companyName': that.companyName,
+							'companyAllName': that.companyAllName,
 							'companyLegalPerson': that.companyLegalPerson,
 							'companyCreateTime':that.companyCreateTime,
 							'companyPeople':that.companyPeople,
@@ -1202,7 +1203,7 @@
 							'companyDutyParagraph': that.companyDutyParagraph,
 							'companyAddress': that.companyAddress,
 							'companyRegisteredFund': that.companyRegisteredFund,
-							'companyDetails': that.companyDetails,
+							// 'companyDetails': that.companyDetails,
 							'companyScope': that.companyScope.toString(),
 							'userId': that.userIdss,
 							'companyId': that.companyId,
@@ -1240,7 +1241,7 @@
 				this.titles = '添加'
 				this.companyId = ''
 				this.companyPhone = ''
-				this.companyName = ''
+				this.companyAllName = ''
 				this.companyLegalPerson = ''
 				this.companyCreateTime = ''
 				this.companyPeople = ''
@@ -1251,7 +1252,7 @@
 				this.companyAddress = ''
 				this.companyRegisteredFund = ''
 				this.email = ''
-				this.companyDetails = ''
+				// this.companyDetails = ''
 				this.companyContent = ''
 				this.companyScope = ''
 				this.nickName1 = ''
@@ -1315,6 +1316,7 @@
 						'phone': '',
 						'userId': this.userId,
 						'companyName':'',
+						'companyAllName':'',
 						'title':'',
 						'content':'',
 						'status':''
@@ -1479,7 +1481,7 @@
 						'status': this.statusT,
 						'userName': this.userName,
 						'companyPhone': this.companyPhoneT,
-						'companyName': this.companyNameT,
+						'companyName': this.companyAllName,
 						'startTime': this.startTime,
 						'endTime': this.endTime,
 					})