| | |
| | | <template> |
| | | <view > |
| | | <scroll-view scroll-y catch:touchmove="touchmove"> |
| | | <view class="square-2"> |
| | | <!-- <view class="square-2"> |
| | | <view class="square-title"> |
| | | <view class="title-sign"><view class="sign"></view></view> |
| | | <view class="title-text"><text>用户码</text></view> |
| | | <view class="title-text"><text>通道</text></view> |
| | | </view> |
| | | <view> |
| | | <view style="width: 96%;margin-left: 2%;"> |
| | | <uni-combox emptyTips="暂无数据" :candidates="staNoList" v-model="staNo" placeholder="用户编号"></uni-combox> |
| | | <uni-combox emptyTips="暂无数据" :candidates="staNoList" v-model="staNo" placeholder="通道"></uni-combox> |
| | | </view> |
| | | </view> |
| | | </view> |
| | | </view> --> |
| | | <view class="square-2"> |
| | | <view class="square-title"> |
| | | <view class="title-sign"><view class="sign"></view></view> |
| | |
| | | </view> |
| | | </view> |
| | | </view> |
| | | <!-- <view class="square-2"> |
| | | <view class="square-2"> |
| | | <view class="square-title"> |
| | | <view class="title-sign"><view class="sign"></view></view> |
| | | <view class="title-text"><text>用户码</text></view> |
| | |
| | | <uni-icons type="closeempty" size="20" color="#dadada" @click="remove('userId')"></uni-icons> |
| | | </view> |
| | | </view> |
| | | </view> --> |
| | | </view> |
| | | <view class="square-2"> |
| | | <view class="square-title"> |
| | | <view class="title-sign"><view class="sign"></view></view> |
| | |
| | | type: 'center', |
| | | msgType: 'success', |
| | | messageText: '这是一条成功提示', |
| | | staNoList:[1,2,3,4,5,6,7,8,9,10], |
| | | staNoList:[1,2,3,4,5,6,7,8], |
| | | staNo:'', |
| | | locNoFocus:true, |
| | | userIdFocus:false, |
| | |
| | | that.locNoFocus = true; |
| | | }, 100); |
| | | }, |
| | | // userIdFocuss() { |
| | | // let that = this; |
| | | // that.userIdFocus = false; |
| | | // setTimeout(()=>{ |
| | | // that.userIdFocus = true; |
| | | // }, 100); |
| | | // }, |
| | | userIdFocuss() { |
| | | let that = this; |
| | | that.userIdFocus = false; |
| | | setTimeout(()=>{ |
| | | that.userIdFocus = true; |
| | | }, 100); |
| | | }, |
| | | barcodeFocuss() { |
| | | let that = this; |
| | | that.barcodeFocus = false; |
| | |
| | | resst() { |
| | | this.staNo = '' |
| | | this.locNo = '' |
| | | // this.userId = '' |
| | | this.userId = '' |
| | | this.barcode = '' |
| | | this.locNoFocuss() |
| | | }, |
| | |
| | | uni.request({ |
| | | url: that.commonUrl + '/mobile/test/startUp/auth', |
| | | data: { |
| | | channel:that.staNo, |
| | | // channel:that.staNo, |
| | | locNo:that.locNo, |
| | | userId:that.userId, |
| | | barcode:that.barcode |
| | | }, |
| | | header: { |