| | |
| | | <view class="row regis-info"> |
| | | <text class="info-title"><!-- <span style="color: red;">* --></span>客户名称: </text> |
| | | <picker @change="tenantNameSelect" :range="tenantNameArray" class="tenant-select"> |
| | | <label class="" v-model="tenantName">{{ tenantNameArrayType }}</label> |
| | | <label :style="{color:tenantNameColor}" v-model="tenantName">{{ tenantNameArrayType }}</label> |
| | | </picker> |
| | | <!-- <input class="input" type="text" v-model="tenantName" placeholder="请输入客户名称" placeholder-class="placeholder" /> --> |
| | | </view> |
| | |
| | | <view class="row regis-info"> |
| | | <text class="info-title"><!-- <span style="color: red;">* --></span>客户类型: </text> |
| | | <picker @change="typeSelect" :range="typeArray" class="type-select"> |
| | | <label class="" v-model="typeArrayType">{{ typeArrayType }}</label> |
| | | <label :style="{color:typeArrayTypeColor}" v-model="typeArrayType">{{ typeArrayType }}</label> |
| | | </picker> |
| | | <!-- <input class="input" type="text" v-model="type" placeholder="请输入客户类型" placeholder-class="placeholder" /> --> |
| | | </view> |
| | |
| | | export default{ |
| | | data () { |
| | | return { |
| | | typeArrayTypeColor:"#808080", |
| | | tenantNameColor:"#808080", |
| | | id:"", |
| | | tenantName:"", |
| | | linkman:"", |
| | |
| | | tenantArr:[], |
| | | tenantNameArray:[], |
| | | tenantNameArrayIndex:0, |
| | | tenantNameArrayType:'---请选择---', |
| | | tenantNameArrayType:'--- 请选择 ---', |
| | | typeArray:["学校","医院","小区"], |
| | | typeArrayIndex:0, |
| | | typeArrayType:'---请选择---', |
| | | typeArrayType:'--- 请选择 ---', |
| | | pathUrl:"https://web.byisf.com/api/blade-system", |
| | | // pathUrl: "http://localhost:8106" |
| | | } |
| | |
| | | that.type = that.tenantArr[i].type; |
| | | if(that.tenantArr[i].type=="1"){ |
| | | that.typeArrayType = '学校'; |
| | | this.typeArrayTypeColor = "#000000"; |
| | | } |
| | | if(that.tenantArr[i].type=="2"){ |
| | | that.typeArrayType = '医院'; |
| | | this.typeArrayTypeColor = "#000000"; |
| | | } |
| | | if(that.tenantArr[i].type=="3"){ |
| | | that.typeArrayType = '小区'; |
| | | this.typeArrayTypeColor = "#000000"; |
| | | } |
| | | that.domain = that.tenantArr[i].domain; |
| | | } |
| | | } |
| | | |
| | | //修改样式 |
| | | this.tenantNameColor = "#000000"; |
| | | |
| | | }, |
| | | |
| | |
| | | if(that.typeArrayType =='小区'){ |
| | | that.type = 3; |
| | | } |
| | | //修改样式 |
| | | this.typeArrayTypeColor = "#000000"; |
| | | }, |
| | | |
| | | //提交修改 |
| | |
| | | height: 100rpx; |
| | | position: relative; |
| | | left: 20rpx; |
| | | border-bottom: 0.05px solid #B4BCCC; |
| | | border-bottom: 1px solid rgba(128,128,128,0.1); |
| | | } |
| | | |
| | | .regis-info-desc { |
| | |
| | | height: 100rpx; |
| | | position: relative; |
| | | left: 20rpx; |
| | | border-bottom: 0.05px solid #B4BCCC; |
| | | border-bottom: 1px solid rgba(128,128,128,0.1); |
| | | } |
| | | |
| | | .regis-info-linkman input{ |
| | |
| | | |
| | | .tenant-select{ |
| | | position: relative; |
| | | left: 35rpx; |
| | | left: 45rpx; |
| | | top: 28rpx; |
| | | } |
| | | |