南昌市物联网技防平台-小程序
pages/infoRegistration/infoCheck.vue
@@ -3,7 +3,7 @@
           <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>
@@ -22,7 +22,7 @@
         <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>
@@ -40,6 +40,8 @@
   export default{
      data () {
         return {
            typeArrayTypeColor:"#808080",
            tenantNameColor:"#808080",
            id:"",
            tenantName:"",
            linkman:"",
@@ -54,10 +56,10 @@
            tenantArr:[],
            tenantNameArray:[],
            tenantNameArrayIndex:0,
            tenantNameArrayType:'---请选择---',
            tenantNameArrayType:'--- 请选择 ---',
            typeArray:["学校","医院","小区"],
            typeArrayIndex:0,
            typeArrayType:'---请选择---',
            typeArrayType:'--- 请选择 ---',
            pathUrl:"https://web.byisf.com/api/blade-system",
            // pathUrl: "http://localhost:8106"
         }
@@ -105,16 +107,22 @@
                  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";
            
         },
         
@@ -132,6 +140,8 @@
            if(that.typeArrayType =='小区'){
               that.type = 3;
            }
            //修改样式
            this.typeArrayTypeColor = "#000000";
         },
         
         //提交修改
@@ -169,7 +179,7 @@
      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 {
@@ -191,7 +201,7 @@
      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{
@@ -229,7 +239,7 @@
   
   .tenant-select{
      position: relative;
      left: 35rpx;
      left: 45rpx;
      top: 28rpx;
   }