|
@@ -8,12 +8,15 @@
|
|
<text class="necessary">*</text>
|
|
<text class="necessary">*</text>
|
|
联系方式:
|
|
联系方式:
|
|
</view>
|
|
</view>
|
|
- <select name="" id="" v-model="phone" clearable>
|
|
|
|
|
|
+ <!-- <select name="" id="" v-model="phone" clearable>
|
|
<option value="0">请选择</option>
|
|
<option value="0">请选择</option>
|
|
<option :value="item.phone" v-for="(item,index) in phoneListData" :key="index">{{item.phone}}
|
|
<option :value="item.phone" v-for="(item,index) in phoneListData" :key="index">{{item.phone}}
|
|
</option>
|
|
</option>
|
|
</select>
|
|
</select>
|
|
- <text class="icon iconfont margin-right-sm margin-left"></text>
|
|
|
|
|
|
+ <text class="icon iconfont margin-right-sm margin-left"></text> -->
|
|
|
|
+ <view class="example-body">
|
|
|
|
+ <uni-combox :candidates="candidates" placeholder="请选择" v-model="phone"></uni-combox>
|
|
|
|
+ </view>
|
|
|
|
|
|
</view>
|
|
</view>
|
|
<view class="form-item">
|
|
<view class="form-item">
|
|
@@ -49,6 +52,10 @@
|
|
<view class="btn-area submitBottomBtn padding-lr-sm">
|
|
<view class="btn-area submitBottomBtn padding-lr-sm">
|
|
<button class="bg-blue round margin-top" @click="$noMultipleClicks(submit)">提 交 </button>
|
|
<button class="bg-blue round margin-top" @click="$noMultipleClicks(submit)">提 交 </button>
|
|
</view>
|
|
</view>
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
</form>
|
|
</form>
|
|
|
|
|
|
|
|
|
|
@@ -62,11 +69,14 @@
|
|
noClick:true,
|
|
noClick:true,
|
|
companyListData: [],
|
|
companyListData: [],
|
|
phoneListData: [],
|
|
phoneListData: [],
|
|
- "phone": 0,
|
|
|
|
|
|
+ "phone": '',
|
|
"company_code": 0,
|
|
"company_code": 0,
|
|
"radioOne": "1",
|
|
"radioOne": "1",
|
|
"power": "",
|
|
"power": "",
|
|
- "name":""
|
|
|
|
|
|
+ "name":"",
|
|
|
|
+ "candidates": [],
|
|
|
|
+ city:''
|
|
|
|
+
|
|
|
|
|
|
|
|
|
|
}
|
|
}
|
|
@@ -131,6 +141,11 @@
|
|
url: 'PermissionBinding/getphoneList',
|
|
url: 'PermissionBinding/getphoneList',
|
|
})
|
|
})
|
|
this.phoneListData = res.data.data;
|
|
this.phoneListData = res.data.data;
|
|
|
|
+
|
|
|
|
+ this.phoneListData.forEach(e => {
|
|
|
|
+ this.candidates.push(e.phone)
|
|
|
|
+ })
|
|
|
|
+ console.log(this.candidates)
|
|
},
|
|
},
|
|
//单位下拉请求数据
|
|
//单位下拉请求数据
|
|
async getSiteList() {
|
|
async getSiteList() {
|
|
@@ -165,9 +180,14 @@
|
|
}
|
|
}
|
|
</script>
|
|
</script>
|
|
|
|
|
|
-
|
|
|
|
-
|
|
|
|
-
|
|
|
|
<style lang="scss">
|
|
<style lang="scss">
|
|
|
|
+ .example-body{
|
|
|
|
+ margin:0!important;
|
|
|
|
+ width: calc(100% - 104px);
|
|
|
|
+ z-index:10000
|
|
|
|
+ }
|
|
|
|
+ .uni-combox{
|
|
|
|
+ padding:0 10px 0 0!important
|
|
|
|
+ }
|
|
|
|
|
|
</style>
|
|
</style>
|