兼容小程序逻辑调整

test
zhangdi 1 year ago
parent e0ea2095b2
commit 14f63f5b29
  1. 7
      pages/login/login.vue
  2. 2
      pages/my/records.vue
  3. 4
      pages/submission/recordsdetails.vue

@ -3,10 +3,10 @@
<view class="container">
<view class="title">科研医疗建筑运维平台</view>
<view class="sp-login-form">
<betone-new-input v-model="userInfo.username" placeholder="请输入用户名" icon="account-fill"
style="margin-bottom: 32rpx" />
<betone-new-input :value="userInfo.username" placeholder="请输入用户名" icon="account-fill"
style="margin-bottom: 32rpx" @changevalue="userInfo.username=$event" />
<betone-new-input style="margin-bottom: 32rpx" v-model="userInfo.pwd" placeholder="请输入密码" :type="'password'"
icon="lock-fill" />
icon="lock-fill" @changevalue="userInfo.pwd=$event" />
<u-checkbox-group>
<u-checkbox @change="rememberPwdChange" v-model="rememberPwd" key="index" name="记住密码">记住密码</u-checkbox>
</u-checkbox-group>
@ -42,6 +42,7 @@ export default {
},
computed: {
disabled() {
console.log(11111111111,this.userInfo)
return !this.userInfo.username || !this.userInfo.pwd;
},
},

@ -112,7 +112,7 @@ export default {
this.$refs.BetLoading.show()
let query_ = {
logType: 2, //1 2
userId: this.searchInfo.name
userId: this.searchInfo.id
}
this.$u.api.getLoginRecords(query_).then((res) => {
if (res.code == 200) {

@ -9,9 +9,9 @@
detailForm.status == 2 ? '待维修' : detailForm.status == 3 ? '维修中' : (detailForm.status == 4 ||
detailForm.status == 5) ? '维修完成' : '维修完成' }}</text>
<view class="load_more">
<text class="load_more_txt">查看更多</text>
<!-- <text class="load_more_txt">查看更多</text>
<image style="transform: rotate(90deg);width: 40rpx;height: 40rpx;"
:src="require('@/static/images/loadmore.png')" alt="" />
:src="require('@/static/images/loadmore.png')" alt="" /> -->
</view>
</view>
<view class="status_bottom">

Loading…
Cancel
Save