正在显示
49 个修改的文件
包含
169 行增加
和
243 行删除
| @@ -7,7 +7,7 @@ | @@ -7,7 +7,7 @@ | ||
| 7 | </template> | 7 | </template> |
| 8 | 8 | ||
| 9 | <script setup> | 9 | <script setup> |
| 10 | -defineProps({ | 10 | +const props = defineProps({ |
| 11 | phone: { | 11 | phone: { |
| 12 | type: String, | 12 | type: String, |
| 13 | default: '' | 13 | default: '' |
| @@ -21,6 +21,8 @@ defineProps({ | @@ -21,6 +21,8 @@ defineProps({ | ||
| 21 | default: '' | 21 | default: '' |
| 22 | } | 22 | } |
| 23 | }) | 23 | }) |
| 24 | + | ||
| 25 | +console.log(props.phone, props.userName) | ||
| 24 | </script> | 26 | </script> |
| 25 | 27 | ||
| 26 | <style lang="scss" scoped> | 28 | <style lang="scss" scoped> |
| @@ -31,7 +31,7 @@ | @@ -31,7 +31,7 @@ | ||
| 31 | <navTop :carNum="carItem.licensePlateNumber" /> | 31 | <navTop :carNum="carItem.licensePlateNumber" /> |
| 32 | </template> | 32 | </template> |
| 33 | <template #center> | 33 | <template #center> |
| 34 | - <wordInfo :phone="carItem.phone" :userName="carItem.name" :company="carItem.sysDeptName" /> | 34 | + <wordInfo :phone="carItem.phone == '' || carItem.phone == null ? carItem.businessPhone : carItem.phone" :userName="carItem.name == '' || carItem.name == null ? carItem.businessName : carItem.name" :company="carItem.sysDeptName" /> |
| 35 | </template> | 35 | </template> |
| 36 | <template #footer> | 36 | <template #footer> |
| 37 | <centerLine v-if="carItem.orderProgress === '已承接'" leftContent="承接回馈" rightContent="问题件" @leftComfirn="handleFeedback(carItem.taskId)" @rightComfirn="handleTroubleshooting(carItem.taskId)"></centerLine> | 37 | <centerLine v-if="carItem.orderProgress === '已承接'" leftContent="承接回馈" rightContent="问题件" @leftComfirn="handleFeedback(carItem.taskId)" @rightComfirn="handleTroubleshooting(carItem.taskId)"></centerLine> |
| @@ -60,7 +60,7 @@ | @@ -60,7 +60,7 @@ | ||
| 60 | <navTop :carNum="carItem.licensePlateNumber" /> | 60 | <navTop :carNum="carItem.licensePlateNumber" /> |
| 61 | </template> | 61 | </template> |
| 62 | <template #center> | 62 | <template #center> |
| 63 | - <wordInfo :phone="carItem.phone" :userName="carItem.name" :company="carItem.sysDeptName" /> | 63 | + <wordInfo :phone="carItem.phone == '' || carItem.phone == null ? carItem.businessPhone : carItem.phone" :userName="carItem.name == '' || carItem.name == null ? carItem.businessName : carItem.name" :company="carItem.sysDeptName" /> |
| 64 | </template> | 64 | </template> |
| 65 | <template #footer> | 65 | <template #footer> |
| 66 | <centerLine leftContent="承接回馈" rightContent="问题件" @leftComfirn="handleFeedback(carItem.taskId)" @rightComfirn="handleTroubleshooting(carItem.taskId)"></centerLine> | 66 | <centerLine leftContent="承接回馈" rightContent="问题件" @leftComfirn="handleFeedback(carItem.taskId)" @rightComfirn="handleTroubleshooting(carItem.taskId)"></centerLine> |
| @@ -88,7 +88,7 @@ | @@ -88,7 +88,7 @@ | ||
| 88 | <navTop :carNum="carItem.licensePlateNumber" /> | 88 | <navTop :carNum="carItem.licensePlateNumber" /> |
| 89 | </template> | 89 | </template> |
| 90 | <template #center> | 90 | <template #center> |
| 91 | - <wordInfo :phone="carItem.phone" :userName="carItem.name" :company="carItem.sysDeptName" /> | 91 | + <wordInfo :phone="carItem.phone == '' || carItem.phone == null ? carItem.businessPhone : carItem.phone" :userName="carItem.name == '' || carItem.name == null ? carItem.businessName : carItem.name" :company="carItem.sysDeptName" /> |
| 92 | </template> | 92 | </template> |
| 93 | <template #footer> | 93 | <template #footer> |
| 94 | <view class="delInfo"> | 94 | <view class="delInfo"> |
| @@ -23,13 +23,10 @@ | @@ -23,13 +23,10 @@ | ||
| 23 | </up-input> | 23 | </up-input> |
| 24 | </up-form-item> | 24 | </up-form-item> |
| 25 | <up-form-item prop="phonenumber"> | 25 | <up-form-item prop="phonenumber"> |
| 26 | - <up-input v-model="userInfo.phonenumber" disabled shape="circle" border="none" fontSize="28rpx" color="#bbb" :placeholderStyle="placeholderStyle" :customStyle="customStyle" placeholder="请输入手机号码"> | 26 | + <up-input v-model="userInfo.phonenumber" shape="circle" border="none" fontSize="28rpx" color="#bbb" :placeholderStyle="placeholderStyle" :customStyle="customStyle" placeholder="请输入手机号码"> |
| 27 | <template #prefix> | 27 | <template #prefix> |
| 28 | <image style="width: 32rpx;height:32rpx;margin-right: 18rpx;margin-top: 10rpx;" src="@/static/commonImage/phone.png" mode="widthFix"></image> | 28 | <image style="width: 32rpx;height:32rpx;margin-right: 18rpx;margin-top: 10rpx;" src="@/static/commonImage/phone.png" mode="widthFix"></image> |
| 29 | </template> | 29 | </template> |
| 30 | - <template #suffix> | ||
| 31 | - <button class="authBtn" open-type="getPhoneNumber" @getphonenumber="onGetNumber">已废弃,重新绑定</button> | ||
| 32 | - </template> | ||
| 33 | </up-input> | 30 | </up-input> |
| 34 | </up-form-item> | 31 | </up-form-item> |
| 35 | </up-form> | 32 | </up-form> |
| @@ -108,16 +105,6 @@ const rules = { | @@ -108,16 +105,6 @@ const rules = { | ||
| 108 | } | 105 | } |
| 109 | ] | 106 | ] |
| 110 | } | 107 | } |
| 111 | -// 授权获取手机号 | ||
| 112 | -const onGetNumber = (e) => { | ||
| 113 | - if(e.detail.code){ | ||
| 114 | - getPhome(e.detail.code).then(res => { | ||
| 115 | - userInfo.phonenumber = res.msg | ||
| 116 | - }) | ||
| 117 | - } else { | ||
| 118 | - uni.$u.toast('已取消授权,不能进行操作') | ||
| 119 | - } | ||
| 120 | -} | ||
| 121 | // 微信小程序需要在此注册校验规则 | 108 | // 微信小程序需要在此注册校验规则 |
| 122 | onReady(() => { | 109 | onReady(() => { |
| 123 | userFormRef.value.setRules(rules) | 110 | userFormRef.value.setRules(rules) |
| @@ -19,13 +19,10 @@ | @@ -19,13 +19,10 @@ | ||
| 19 | </up-input> | 19 | </up-input> |
| 20 | </up-form-item> | 20 | </up-form-item> |
| 21 | <up-form-item prop="phonenumber"> | 21 | <up-form-item prop="phonenumber"> |
| 22 | - <up-input v-model="userInfo.phonenumber" disabled shape="circle" border="none" fontSize="28rpx" color="#bbb" :placeholderStyle="placeholderStyle" :customStyle="customStyle" placeholder="请输入手机号码"> | 22 | + <up-input v-model="userInfo.phonenumber" shape="circle" border="none" fontSize="28rpx" color="#bbb" :placeholderStyle="placeholderStyle" :customStyle="customStyle" placeholder="请输入手机号码"> |
| 23 | <template #prefix> | 23 | <template #prefix> |
| 24 | <image style="width: 32rpx;height:32rpx;margin-right: 18rpx;margin-top: 10rpx;" src="@/static/commonImage/phone.png" mode="widthFix"></image> | 24 | <image style="width: 32rpx;height:32rpx;margin-right: 18rpx;margin-top: 10rpx;" src="@/static/commonImage/phone.png" mode="widthFix"></image> |
| 25 | </template> | 25 | </template> |
| 26 | - <template #suffix> | ||
| 27 | - <button class="authBtn" open-type="getPhoneNumber" @getphonenumber="onGetNumber">获取手机号</button> | ||
| 28 | - </template> | ||
| 29 | </up-input> | 26 | </up-input> |
| 30 | </up-form-item> | 27 | </up-form-item> |
| 31 | </up-form> | 28 | </up-form> |
| @@ -100,21 +97,8 @@ const goPrivacy = () => { | @@ -100,21 +97,8 @@ const goPrivacy = () => { | ||
| 100 | url: '/pages/privacy/privacy' | 97 | url: '/pages/privacy/privacy' |
| 101 | }) | 98 | }) |
| 102 | } | 99 | } |
| 103 | - | ||
| 104 | -const onGetNumber = (e) => { | ||
| 105 | - if(e.detail.code){ | ||
| 106 | - getPhome(e.detail.code).then(res => { | ||
| 107 | - userInfo.phonenumber = res.msg | ||
| 108 | - }) | ||
| 109 | - } else { | ||
| 110 | - uni.$u.toast('已取消授权,不能进行操作') | ||
| 111 | - } | ||
| 112 | -} | ||
| 113 | // 提交方法 | 100 | // 提交方法 |
| 114 | const submit = () => { | 101 | const submit = () => { |
| 115 | - if(!userInfo.phonenumber) { | ||
| 116 | - return uni.$u.toast('请授权获取手机号进行实名') | ||
| 117 | - } | ||
| 118 | logFormRef.value.validate().then(async valid => { | 102 | logFormRef.value.validate().then(async valid => { |
| 119 | if (valid) { | 103 | if (valid) { |
| 120 | await updateUserInfo(userInfo) | 104 | await updateUserInfo(userInfo) |
| @@ -30,13 +30,10 @@ | @@ -30,13 +30,10 @@ | ||
| 30 | </up-input> | 30 | </up-input> |
| 31 | </up-form-item> | 31 | </up-form-item> |
| 32 | <up-form-item prop="phonenumber"> | 32 | <up-form-item prop="phonenumber"> |
| 33 | - <up-input v-model="userInfo.phonenumber" disabled shape="circle" border="none" fontSize="28rpx" color="#bbb" :placeholderStyle="placeholderStyle" :customStyle="customStyle" placeholder="请输入手机号码"> | 33 | + <up-input v-model="userInfo.phonenumber" shape="circle" border="none" fontSize="28rpx" color="#bbb" :placeholderStyle="placeholderStyle" :customStyle="customStyle" placeholder="请输入手机号码"> |
| 34 | <template #prefix> | 34 | <template #prefix> |
| 35 | <image style="width: 32rpx;height:32rpx;margin-right: 18rpx;margin-top: 10rpx;" src="@/static/commonImage/phone.png" mode="widthFix"></image> | 35 | <image style="width: 32rpx;height:32rpx;margin-right: 18rpx;margin-top: 10rpx;" src="@/static/commonImage/phone.png" mode="widthFix"></image> |
| 36 | </template> | 36 | </template> |
| 37 | - <template #suffix> | ||
| 38 | - <button class="authBtn" open-type="getPhoneNumber" @getphonenumber="onGetNumber">已废弃,重新绑定</button> | ||
| 39 | - </template> | ||
| 40 | </up-input> | 37 | </up-input> |
| 41 | </up-form-item> | 38 | </up-form-item> |
| 42 | </up-form> | 39 | </up-form> |
| @@ -174,16 +171,6 @@ const updateCarInfo = (id, taskId) => { | @@ -174,16 +171,6 @@ const updateCarInfo = (id, taskId) => { | ||
| 174 | url: `/pages/carDetail/carDetail?carInfoId=${id}&taskId=${taskId}` | 171 | url: `/pages/carDetail/carDetail?carInfoId=${id}&taskId=${taskId}` |
| 175 | }) | 172 | }) |
| 176 | } | 173 | } |
| 177 | -// 授权获取手机号 | ||
| 178 | -const onGetNumber = (e) => { | ||
| 179 | - if(e.detail.code){ | ||
| 180 | - getPhome(e.detail.code).then(res => { | ||
| 181 | - userInfo.phonenumber = res.msg | ||
| 182 | - }) | ||
| 183 | - } else { | ||
| 184 | - uni.$u.toast('已取消授权,不能进行操作') | ||
| 185 | - } | ||
| 186 | -} | ||
| 187 | // 查看退回原因 | 174 | // 查看退回原因 |
| 188 | const lookReason = async (processInstanceId) => { | 175 | const lookReason = async (processInstanceId) => { |
| 189 | const { data } = await queryDefeatContent({ | 176 | const { data } = await queryDefeatContent({ |
| @@ -27,19 +27,25 @@ | @@ -27,19 +27,25 @@ | ||
| 27 | </up-input> | 27 | </up-input> |
| 28 | </up-form-item> | 28 | </up-form-item> |
| 29 | <up-form-item prop="phonenumber"> | 29 | <up-form-item prop="phonenumber"> |
| 30 | - <up-input v-model="userInfo.phonenumber" disabled shape="circle" border="none" fontSize="28rpx" color="#333" :placeholderStyle="placeholderStyle" :customStyle="customStyle" placeholder="请输入手机号码"> | 30 | + <up-input v-model="userInfo.phonenumber" shape="circle" border="none" fontSize="28rpx" color="#333" :placeholderStyle="placeholderStyle" :customStyle="customStyle" placeholder="请输入手机号码"> |
| 31 | <template #prefix> | 31 | <template #prefix> |
| 32 | <image style="width: 32rpx;height:32rpx;margin-right: 18rpx;margin-top: 10rpx;" src="@/static/commonImage/phone.png" mode="widthFix"></image> | 32 | <image style="width: 32rpx;height:32rpx;margin-right: 18rpx;margin-top: 10rpx;" src="@/static/commonImage/phone.png" mode="widthFix"></image> |
| 33 | </template> | 33 | </template> |
| 34 | - <template #suffix> | ||
| 35 | - <button class="authBtn" open-type="getPhoneNumber" @getphonenumber="onGetNumber">获取手机号</button> | ||
| 36 | - </template> | ||
| 37 | </up-input> | 34 | </up-input> |
| 38 | </up-form-item> | 35 | </up-form-item> |
| 39 | </up-form> | 36 | </up-form> |
| 40 | </view> | 37 | </view> |
| 41 | <view class="tip"> | 38 | <view class="tip"> |
| 42 | - 未注册或绑定该平台的身份证号,将帮你注册新账号,点击提交即代表你同意<text style="color: #3680FE;" @click="goPrivacy">《隐私政策》</text> | 39 | + <text>未注册或绑定该平台的身份证号,将帮你注册新账号,请阅读<text style="color: #3680FE;" @click="goPrivacy">《隐私政策》</text>并勾选后进行登录</text> |
| 40 | + <up-checkbox | ||
| 41 | + :customStyle="{marginBottom: '8px'}" | ||
| 42 | + label="同意《隐私政策》" | ||
| 43 | + name="agree" | ||
| 44 | + label-color="#666" | ||
| 45 | + labelSize="24rpx" | ||
| 46 | + usedAlone | ||
| 47 | + v-model:checked="aloneChecked" | ||
| 48 | + /> | ||
| 43 | </view> | 49 | </view> |
| 44 | <view class="log-btn" @click="submit">提交</view> | 50 | <view class="log-btn" @click="submit">提交</view> |
| 45 | </view> | 51 | </view> |
| @@ -55,6 +61,7 @@ import { test } from '@/uni_modules/uview-plus'; | @@ -55,6 +61,7 @@ import { test } from '@/uni_modules/uview-plus'; | ||
| 55 | const { userInfo, login, getUser } = useUserStore() | 61 | const { userInfo, login, getUser } = useUserStore() |
| 56 | // 表单引用 | 62 | // 表单引用 |
| 57 | const logFormRef = ref(null) | 63 | const logFormRef = ref(null) |
| 64 | +const aloneChecked = ref(false) | ||
| 58 | // 校验规则 | 65 | // 校验规则 |
| 59 | const rules = { | 66 | const rules = { |
| 60 | nickName: [ | 67 | nickName: [ |
| @@ -123,18 +130,12 @@ const goPrivacy = () => { | @@ -123,18 +130,12 @@ const goPrivacy = () => { | ||
| 123 | } | 130 | } |
| 124 | 131 | ||
| 125 | const onGetNumber = (e) => { | 132 | const onGetNumber = (e) => { |
| 126 | - if(e.detail.code){ | ||
| 127 | - getPhome(e.detail.code).then(res => { | ||
| 128 | - userInfo.phonenumber = res.msg | ||
| 129 | - }) | ||
| 130 | - } else { | ||
| 131 | - uni.$u.toast('已取消授权,不能进行操作') | ||
| 132 | - } | 133 | + console.log(e) |
| 133 | } | 134 | } |
| 134 | // 提交方法 | 135 | // 提交方法 |
| 135 | const submit = () => { | 136 | const submit = () => { |
| 136 | - if(!userInfo.phonenumber) { | ||
| 137 | - return uni.$u.toast('请授权获取手机号进行实名') | 137 | + if(!aloneChecked.value){ |
| 138 | + return uni.$u.toast('请勾选同意隐私政策') | ||
| 138 | } | 139 | } |
| 139 | logFormRef.value.validate().then(async valid => { | 140 | logFormRef.value.validate().then(async valid => { |
| 140 | if (valid) { | 141 | if (valid) { |
| @@ -23,13 +23,10 @@ | @@ -23,13 +23,10 @@ | ||
| 23 | </up-input> | 23 | </up-input> |
| 24 | </up-form-item> | 24 | </up-form-item> |
| 25 | <up-form-item prop="phonenumber"> | 25 | <up-form-item prop="phonenumber"> |
| 26 | - <up-input v-model="userInfo.phonenumber" disabled shape="circle" border="none" fontSize="28rpx" color="#bbb" :placeholderStyle="placeholderStyle" :customStyle="customStyle" placeholder="请输入手机号码"> | 26 | + <up-input v-model="userInfo.phonenumber" shape="circle" border="none" fontSize="28rpx" color="#bbb" :placeholderStyle="placeholderStyle" :customStyle="customStyle" placeholder="请输入手机号码"> |
| 27 | <template #prefix> | 27 | <template #prefix> |
| 28 | <image style="width: 32rpx;height:32rpx;margin-right: 18rpx;margin-top: 10rpx;" src="@/static/commonImage/phone.png" mode="widthFix"></image> | 28 | <image style="width: 32rpx;height:32rpx;margin-right: 18rpx;margin-top: 10rpx;" src="@/static/commonImage/phone.png" mode="widthFix"></image> |
| 29 | </template> | 29 | </template> |
| 30 | - <template #suffix> | ||
| 31 | - <button class="authBtn" open-type="getPhoneNumber" @getphonenumber="onGetNumber">已废弃,重新绑定</button> | ||
| 32 | - </template> | ||
| 33 | </up-input> | 30 | </up-input> |
| 34 | </up-form-item> | 31 | </up-form-item> |
| 35 | </up-form> | 32 | </up-form> |
| @@ -139,17 +136,6 @@ onReady(() => { | @@ -139,17 +136,6 @@ onReady(() => { | ||
| 139 | userFormRef.value.setRules(rules) | 136 | userFormRef.value.setRules(rules) |
| 140 | }) | 137 | }) |
| 141 | 138 | ||
| 142 | -// 授权获取手机号 | ||
| 143 | -const onGetNumber = (e) => { | ||
| 144 | - if(e.detail.code){ | ||
| 145 | - getPhome(e.detail.code).then(res => { | ||
| 146 | - userInfo.phonenumber = res.msg | ||
| 147 | - }) | ||
| 148 | - } else { | ||
| 149 | - uni.$u.toast('已取消授权,不能进行操作') | ||
| 150 | - } | ||
| 151 | -} | ||
| 152 | - | ||
| 153 | const loginOut = () => { | 139 | const loginOut = () => { |
| 154 | uni.showModal({ | 140 | uni.showModal({ |
| 155 | title: '提示', | 141 | title: '提示', |
| 1 | -"use strict";const t=require("../uni_modules/uview-plus/index.js");exports.carInfoAdd=e=>t.http.post("/registration/add",e,{custom:{auth:!0}}),exports.carInfoEdit=e=>t.http.post("/registration/edit",e,{custom:{auth:!0}}),exports.getAdverList=e=>t.http.get("/system/notice/list",{params:e,custom:{auth:!0}}),exports.getCodeImg=e=>t.http.get("/captchaImage"),exports.getPhome=e=>t.http.post("/wechat/getUserPhoneNumber",e,{custom:{auth:!0}}),exports.getUserCarInfo=e=>t.http.get("/registration/listRegistration",{params:e,custom:{auth:!0}}),exports.getUserInfo=e=>t.http.get("/system/user/profile",{custom:{auth:!0}}),exports.updateUserInfo=e=>t.http.put("/system/user/profile",e,{custom:{auth:!0}}),exports.userCancel=()=>t.http.get("/system/user/deRegistration",{custom:{auth:!0}}),exports.userLogin=e=>t.http.post("/login",e),exports.userWxLogin=(e,s={})=>t.http.post("/wechat/login",e,s); | 1 | +"use strict";const t=require("../uni_modules/uview-plus/index.js");exports.carInfoAdd=e=>t.http.post("/registration/add",e,{custom:{auth:!0}}),exports.carInfoEdit=e=>t.http.post("/registration/edit",e,{custom:{auth:!0}}),exports.getAdverList=e=>t.http.get("/system/notice/list",{params:e,custom:{auth:!0}}),exports.getCodeImg=e=>t.http.get("/captchaImage"),exports.getUserCarInfo=e=>t.http.get("/registration/listRegistration",{params:e,custom:{auth:!0}}),exports.getUserInfo=e=>t.http.get("/system/user/profile",{custom:{auth:!0}}),exports.updateUserInfo=e=>t.http.put("/system/user/profile",e,{custom:{auth:!0}}),exports.userCancel=()=>t.http.get("/system/user/deRegistration",{custom:{auth:!0}}),exports.userLogin=e=>t.http.post("/login",e),exports.userWxLogin=(e,s={})=>t.http.post("/wechat/login",e,s); |
| 1 | -"use strict";const e=require("../common/vendor.js"),t={__name:"wordInfo",props:{phone:{type:String,default:""},userName:{type:String,default:""},company:{type:String,default:""}},setup:t=>(o,n)=>({a:e.t(t.userName),b:e.t(t.phone),c:e.t(t.company)})},o=e._export_sfc(t,[["__scopeId","data-v-3007df0a"]]);wx.createComponent(o); | 1 | +"use strict";const e=require("../common/vendor.js"),t={__name:"wordInfo",props:{phone:{type:String,default:""},userName:{type:String,default:""},company:{type:String,default:""}},setup(t){const o=t;return console.log(o.phone,o.userName),(o,n)=>({a:e.t(t.userName),b:e.t(t.phone),c:e.t(t.company)})}},o=e._export_sfc(t,[["__scopeId","data-v-b7988d80"]]);wx.createComponent(o); |
| 1 | -<view class="wordInfo u-line-1 data-v-3007df0a"><text class="data-v-3007df0a" style="min-width:140rpx;margin-right:20rpx">车主:{{a}}</text><text class="data-v-3007df0a" style="min-width:160rpx;margin-right:20rpx">联系电话:{{b}}</text><text class="data-v-3007df0a">上年承保公司:{{c}}</text></view> | ||
| 1 | +<view class="wordInfo u-line-1 data-v-b7988d80"><text class="data-v-b7988d80" style="min-width:140rpx;margin-right:20rpx">车主:{{a}}</text><text class="data-v-b7988d80" style="min-width:160rpx;margin-right:20rpx">联系电话:{{b}}</text><text class="data-v-b7988d80">上年承保公司:{{c}}</text></view> |
| 1 | -.wordInfo.data-v-3007df0a{position:relative;display:flex;align-items:center;line-height:26rpx;color:#999;font-size:20rpx}.wordInfo .applyTime.data-v-3007df0a{position:absolute;top:-20rpx;right:0} | 1 | +.wordInfo.data-v-b7988d80{position:relative;display:flex;align-items:center;line-height:26rpx;color:#999;font-size:20rpx}.wordInfo .applyTime.data-v-b7988d80{position:absolute;top:-20rpx;right:0} |
| 1 | -"use strict";const e=require("../../common/vendor.js"),a=require("../../common/assets.js"),o=require("../../api/work.js"),u=require("../../store/modules/tabbar.js");if(!Array){(e.resolveComponent("up-navbar")+e.resolveComponent("up-icon")+e.resolveComponent("up-empty")+e.resolveComponent("uni-pagination")+e.resolveComponent("up-input")+e.resolveComponent("up-form-item")+e.resolveComponent("up-textarea")+e.resolveComponent("up-form")+e.resolveComponent("up-modal")+e.resolveComponent("up-parse")+e.resolveComponent("up-radio")+e.resolveComponent("up-radio-group")+e.resolveComponent("up-tabbar-item")+e.resolveComponent("up-tabbar"))()}Math||((()=>"../../uni_modules/uview-plus/components/u-navbar/u-navbar.js")+(()=>"../../uni_modules/uview-plus/components/u-icon/u-icon.js")+t+s+l+n+(()=>"../../uni_modules/uview-plus/components/u-empty/u-empty.js")+(()=>"../../uni_modules/uni-pagination/components/uni-pagination/uni-pagination.js")+(()=>"../../uni_modules/uview-plus/components/u-input/u-input.js")+(()=>"../../uni_modules/uview-plus/components/u-form-item/u-form-item.js")+(()=>"../../uni_modules/uview-plus/components/u-textarea/u-textarea.js")+(()=>"../../uni_modules/uview-plus/components/u-form/u-form.js")+(()=>"../../uni_modules/uview-plus/components/u-modal/u-modal.js")+(()=>"../../uni_modules/uview-plus/components/u-parse/u-parse.js")+(()=>"../../uni_modules/uview-plus/components/u-radio/u-radio.js")+(()=>"../../uni_modules/uview-plus/components/u-radio-group/u-radio-group.js")+(()=>"../../uni_modules/uview-plus/components/u-tabbar-item/u-tabbar-item.js")+(()=>"../../uni_modules/uview-plus/components/u-tabbar/u-tabbar.js"))();const n=()=>"../../components/carCard.js",l=()=>"../../components/centerLine.js",s=()=>"../../components/wordInfo.js",t=()=>"../../components/navTop.js",r={__name:"companyHome",setup(n){const l=u.useTabbarStore(),s=e.ref([]),t=e.ref([]),r=e.ref([]),p=e.ref(0),m=e.ref(0),i=e.ref(!1),c=e.ref({username:"",taskId:""}),v=e.ref([]),d=e.ref(!1),b=e.ref({}),g=e.ref(!1),y=e.ref(!1),f=e.ref(!1),I=e.ref({message:"",commercialInsurancePolicyNumber:"",strongInsurancePolicyNumber:""}),h=e.ref({policystatus:"2",message:"",commercialInsurancePolicyNumber:"",strongInsurancePolicyNumber:""}),N=e.reactive({pageNum:1,pageSize:10,type:0});e.reactive({pageNum:1,pageSize:10,orderprogress:1,policystatus:0});const w=e=>{var a,o,u;p.value=null==(a=e.detail)?void 0:a.current,0===(null==(o=e.detail)?void 0:o.current)?P():1===(null==(u=e.detail)?void 0:u.current)?j():_()},C=e=>{N.type=e,i.value=!1,p.value=0,P()},P=async()=>{const{data:e}=await o.queryMyList(N);s.value=e.rows||[],m.value=e.total,l.companyTotal=e.total},j=async()=>{const{rows:e,total:a}=await o.queryOngoingList(N);t.value=e||[],m.value=a,l.companyTotal=a},_=async()=>{const{rows:e,total:a}=await o.queryEndedList(N);r.value=e||[],m.value=a,l.companyTotal=a},k=e=>{h.value.taskId=e,g.value=!0},x=e=>{b.value.taskId=e,d.value=!0},S=()=>{const e={policystatus:"2",message:h.value.message,policynumber:h.value.policynumber};o.disposeUser(e,h.value.taskId).then((e=>{g.value=!1,P(),proxy.$modal.msgSuccess("回馈成功")}))},z=()=>{const e={policystatus:"1",comment:b.value.message};o.disposeUser(e,b.value.taskId).then((e=>{d.value=!1,P()}))};e.onPullDownRefresh((async()=>{N.pageNum=1,s.value=[],t.value=[],r.value=[],await P(),e.index.stopPullDownRefresh()}));const V=()=>{const e={username:c.value.username},a=c.value.taskId;o.transfer(e,a).then((e=>{y.value=!1,P(),proxy.$modal.msgSuccess("保单已分配成功")}))},q=a=>{l.employeeCurrent=a,e.index.redirectTo({url:"/pages/companyMy/companyMy"})};return P(),(u,n)=>({a:e.p({placeholder:!0,leftIconSize:0,bgColor:"transparent"}),b:0===p.value?1:"",c:e.o((e=>p.value=0)),d:1===p.value?1:"",e:e.o((e=>p.value=1)),f:2===p.value?1:"",g:e.o((e=>p.value=2)),h:e.o((e=>i.value=!i.value)),i:e.p({name:"list",color:"#333",size:"28"}),j:0===N.type?1:"",k:e.o((e=>C(0))),l:1===N.type?1:"",m:e.o((e=>C(1))),n:i.value,o:e.f(s.value,((a,u,n)=>e.e({a:"817e8b45-3-"+n+",817e8b45-2-"+n,b:e.p({carNum:a.licensePlateNumber}),c:"817e8b45-4-"+n+",817e8b45-2-"+n,d:e.p({phone:a.phone,userName:a.name,company:a.sysDeptName}),e:"已承接"===a.orderProgress},"已承接"===a.orderProgress?{f:e.o((e=>k(a.taskId)),a.taskId),g:e.o((e=>x(a.taskId)),a.taskId),h:"817e8b45-5-"+n+",817e8b45-2-"+n,i:e.p({leftContent:"承接回馈",rightContent:"问题件"})}:{j:e.o((u=>{return n=a.taskId,void e.index.showModal({content:"是否要承接该保单",success:function(a){a.confirm?o.disposeUser({},n).then((a=>{e.index.$u.toast("承接成功"),P()})):a.cancel&&e.index.$u.toast("已取消")}});var n}),a.taskId),k:e.o((e=>(async e=>{const{data:a}=await o.getUserList();c.value.taskId=e,v.value=a,y.value=!0})(a.taskId)),a.taskId),l:"817e8b45-6-"+n+",817e8b45-2-"+n,m:e.p({leftContent:"承接",rightContent:"转办"})},{n:a.taskId,o:"817e8b45-2-"+n,p:e.p({tipContent:a.orderProgress,carInfo:a})}))),p:e.p({show:0==s.value.length,mode:"list",text:"暂无待办事项"}),q:e.o(P),r:e.o((e=>N.pageNum=e)),s:e.p({total:m.value,pageSize:N.pageSize,modelValue:N.pageNum}),t:s.value.length>0,v:e.f(t.value,((a,o,u)=>({a:"817e8b45-10-"+u+",817e8b45-9-"+u,b:e.p({carNum:a.licensePlateNumber}),c:"817e8b45-11-"+u+",817e8b45-9-"+u,d:e.p({phone:a.phone,userName:a.name,company:a.sysDeptName}),e:e.o((e=>k(a.taskId)),o),f:e.o((e=>x(a.taskId)),o),g:"817e8b45-12-"+u+",817e8b45-9-"+u,h:o,i:"817e8b45-9-"+u,j:e.p({tipContent:"查看详情",carInfo:a})}))),w:e.p({leftContent:"承接回馈",rightContent:"问题件"}),x:e.p({show:0==t.value.length,mode:"list",text:"暂无数据"}),y:e.o(j),z:e.o((e=>N.pageNum=e)),A:e.p({total:m.value,pageSize:N.pageSize,modelValue:N.pageNum}),B:t.value.length>0,C:e.f(r.value,((a,u,n)=>({a:"817e8b45-16-"+n+",817e8b45-15-"+n,b:e.p({carNum:a.licensePlateNumber}),c:"817e8b45-17-"+n+",817e8b45-15-"+n,d:e.p({phone:a.phone,userName:a.name,company:a.sysDeptName}),e:e.o((e=>{return u=a.processInstanceId,void o.queryResult({processInstanceId:u}).then((e=>{var a,o,u;I.value.strongInsurancePolicyNumber=null==(a=null==e?void 0:e.data)?void 0:a.strongInsurancePolicyNumber,I.value.commercialInsurancePolicyNumber=null==(o=null==e?void 0:e.data)?void 0:o.commercialInsurancePolicyNumber,I.value.message=null==(u=null==e?void 0:e.data)?void 0:u.message,f.value=!0}));var u}),u),f:u,g:"817e8b45-15-"+n,h:e.p({tipContent:a.policyStatus,carInfo:a})}))),D:e.p({show:0==r.value.length,mode:"list",text:"暂无数据"}),E:e.o(_),F:e.o((e=>N.pageNum=e)),G:e.p({total:m.value,pageSize:N.pageSize,modelValue:N.pageNum}),H:r.value.length>0,I:p.value,J:e.o(w),K:e.o((e=>h.value.commercialInsurancePolicyNumber=e)),L:e.p({modelValue:h.value.commercialInsurancePolicyNumber}),M:e.p({label:"商险单号",prop:"commercialInsurancePolicyNumber"}),N:e.o((e=>h.value.strongInsurancePolicyNumber=e)),O:e.p({modelValue:h.value.strongInsurancePolicyNumber}),P:e.p({label:"强险单号",prop:"strongInsurancePolicyNumber"}),Q:e.o((e=>h.value.message=e)),R:e.p({placeholder:"请输入内容",modelValue:h.value.message}),S:e.p({label:"回馈内容",prop:"name"}),T:e.p({model:h.value,labelWidth:"80"}),U:e.o(S),V:e.o((e=>g.value=!1)),W:e.p({show:g.value,showCancelButton:!0,title:"填写回馈及单号"}),X:e.o((e=>b.value.message=e)),Y:e.p({placeholder:"请输入内容",modelValue:b.value.message}),Z:e.o(z),aa:e.o((e=>d.value=!1)),ab:e.p({show:d.value,showCancelButton:!0,title:"问题件回馈"}),ac:e.o((e=>I.value.commercialInsurancePolicyNumber=e)),ad:e.p({border:"none",disabled:!0,disabledColor:"#fff",modelValue:I.value.commercialInsurancePolicyNumber}),ae:e.p({label:"商险单号",prop:"commercialInsurancePolicyNumber"}),af:e.o((e=>I.value.strongInsurancePolicyNumber=e)),ag:e.p({border:"none",disabled:!0,disabledColor:"#fff",modelValue:I.value.strongInsurancePolicyNumber}),ah:e.p({label:"强险单号",prop:"strongInsurancePolicyNumber"}),ai:e.p({content:I.value.message}),aj:e.p({label:"回馈内容",prop:"name"}),ak:e.p({model:I.value,labelWidth:"80"}),al:e.o((e=>f.value=!1)),am:e.p({show:f.value,title:"回馈内容"}),an:e.f(v.value,((a,o,u)=>({a:o,b:"817e8b45-40-"+u+",817e8b45-39",c:e.p({label:a.nickName,name:a.userName})}))),ao:e.o((e=>c.value.username=e)),ap:e.p({modelValue:c.value.username}),aq:e.o(V),ar:e.o((e=>y.value=!1)),as:e.p({show:y.value,showCancelButton:!0,title:"选择转办人员"}),at:e.p({text:"主页",icon:"home",badge:e.unref(l).companyTotal}),av:a._imports_0$4,aw:a._imports_1$2,ax:e.o(q),ay:e.p({text:"我的",icon:"account"}),az:e.p({value:e.unref(l).employeeCurrent,activeColor:"#3680FE",inactiveColor:"#707070"})})}},p=e._export_sfc(r,[["__scopeId","data-v-817e8b45"]]);wx.createPage(p); | 1 | +"use strict";const e=require("../../common/vendor.js"),a=require("../../common/assets.js"),o=require("../../api/work.js"),n=require("../../store/modules/tabbar.js");if(!Array){(e.resolveComponent("up-navbar")+e.resolveComponent("up-icon")+e.resolveComponent("up-empty")+e.resolveComponent("uni-pagination")+e.resolveComponent("up-input")+e.resolveComponent("up-form-item")+e.resolveComponent("up-textarea")+e.resolveComponent("up-form")+e.resolveComponent("up-modal")+e.resolveComponent("up-parse")+e.resolveComponent("up-radio")+e.resolveComponent("up-radio-group")+e.resolveComponent("up-tabbar-item")+e.resolveComponent("up-tabbar"))()}Math||((()=>"../../uni_modules/uview-plus/components/u-navbar/u-navbar.js")+(()=>"../../uni_modules/uview-plus/components/u-icon/u-icon.js")+t+s+l+u+(()=>"../../uni_modules/uview-plus/components/u-empty/u-empty.js")+(()=>"../../uni_modules/uni-pagination/components/uni-pagination/uni-pagination.js")+(()=>"../../uni_modules/uview-plus/components/u-input/u-input.js")+(()=>"../../uni_modules/uview-plus/components/u-form-item/u-form-item.js")+(()=>"../../uni_modules/uview-plus/components/u-textarea/u-textarea.js")+(()=>"../../uni_modules/uview-plus/components/u-form/u-form.js")+(()=>"../../uni_modules/uview-plus/components/u-modal/u-modal.js")+(()=>"../../uni_modules/uview-plus/components/u-parse/u-parse.js")+(()=>"../../uni_modules/uview-plus/components/u-radio/u-radio.js")+(()=>"../../uni_modules/uview-plus/components/u-radio-group/u-radio-group.js")+(()=>"../../uni_modules/uview-plus/components/u-tabbar-item/u-tabbar-item.js")+(()=>"../../uni_modules/uview-plus/components/u-tabbar/u-tabbar.js"))();const u=()=>"../../components/carCard.js",l=()=>"../../components/centerLine.js",s=()=>"../../components/wordInfo.js",t=()=>"../../components/navTop.js",r={__name:"companyHome",setup(u){const l=n.useTabbarStore(),s=e.ref([]),t=e.ref([]),r=e.ref([]),p=e.ref(0),m=e.ref(0),c=e.ref(!1),i=e.ref({username:"",taskId:""}),v=e.ref([]),d=e.ref(!1),b=e.ref({}),g=e.ref(!1),y=e.ref(!1),h=e.ref(!1),f=e.ref({message:"",commercialInsurancePolicyNumber:"",strongInsurancePolicyNumber:""}),I=e.ref({policystatus:"2",message:"",commercialInsurancePolicyNumber:"",strongInsurancePolicyNumber:""}),N=e.reactive({pageNum:1,pageSize:10,type:0});e.reactive({pageNum:1,pageSize:10,orderprogress:1,policystatus:0});const w=e=>{var a,o,n;p.value=null==(a=e.detail)?void 0:a.current,0===(null==(o=e.detail)?void 0:o.current)?P():1===(null==(n=e.detail)?void 0:n.current)?j():_()},C=e=>{N.type=e,c.value=!1,p.value=0,P()},P=async()=>{const{data:e}=await o.queryMyList(N);s.value=e.rows||[],m.value=e.total,l.companyTotal=e.total},j=async()=>{const{rows:e,total:a}=await o.queryOngoingList(N);t.value=e||[],m.value=a,l.companyTotal=a},_=async()=>{const{rows:e,total:a}=await o.queryEndedList(N);r.value=e||[],m.value=a,l.companyTotal=a},k=e=>{I.value.taskId=e,g.value=!0},x=e=>{b.value.taskId=e,d.value=!0},S=()=>{const e={policystatus:"2",message:I.value.message,policynumber:I.value.policynumber};o.disposeUser(e,I.value.taskId).then((e=>{g.value=!1,P(),proxy.$modal.msgSuccess("回馈成功")}))},z=()=>{const e={policystatus:"1",comment:b.value.message};o.disposeUser(e,b.value.taskId).then((e=>{d.value=!1,P()}))};e.onPullDownRefresh((async()=>{N.pageNum=1,s.value=[],t.value=[],r.value=[],await P(),e.index.stopPullDownRefresh()}));const V=()=>{const e={username:i.value.username},a=i.value.taskId;o.transfer(e,a).then((e=>{y.value=!1,P(),proxy.$modal.msgSuccess("保单已分配成功")}))},q=a=>{l.employeeCurrent=a,e.index.redirectTo({url:"/pages/companyMy/companyMy"})};return P(),(n,u)=>({a:e.p({placeholder:!0,leftIconSize:0,bgColor:"transparent"}),b:0===p.value?1:"",c:e.o((e=>p.value=0)),d:1===p.value?1:"",e:e.o((e=>p.value=1)),f:2===p.value?1:"",g:e.o((e=>p.value=2)),h:e.o((e=>c.value=!c.value)),i:e.p({name:"list",color:"#333",size:"28"}),j:0===N.type?1:"",k:e.o((e=>C(0))),l:1===N.type?1:"",m:e.o((e=>C(1))),n:c.value,o:e.f(s.value,((a,n,u)=>e.e({a:"36c2b759-3-"+u+",36c2b759-2-"+u,b:e.p({carNum:a.licensePlateNumber}),c:"36c2b759-4-"+u+",36c2b759-2-"+u,d:e.p({phone:""==a.phone||null==a.phone?a.businessPhone:a.phone,userName:""==a.name||null==a.name?a.businessName:a.name,company:a.sysDeptName}),e:"已承接"===a.orderProgress},"已承接"===a.orderProgress?{f:e.o((e=>k(a.taskId)),a.taskId),g:e.o((e=>x(a.taskId)),a.taskId),h:"36c2b759-5-"+u+",36c2b759-2-"+u,i:e.p({leftContent:"承接回馈",rightContent:"问题件"})}:{j:e.o((n=>{return u=a.taskId,void e.index.showModal({content:"是否要承接该保单",success:function(a){a.confirm?o.disposeUser({},u).then((a=>{e.index.$u.toast("承接成功"),P()})):a.cancel&&e.index.$u.toast("已取消")}});var u}),a.taskId),k:e.o((e=>(async e=>{const{data:a}=await o.getUserList();i.value.taskId=e,v.value=a,y.value=!0})(a.taskId)),a.taskId),l:"36c2b759-6-"+u+",36c2b759-2-"+u,m:e.p({leftContent:"承接",rightContent:"转办"})},{n:a.taskId,o:"36c2b759-2-"+u,p:e.p({tipContent:a.orderProgress,carInfo:a})}))),p:e.p({show:0==s.value.length,mode:"list",text:"暂无待办事项"}),q:e.o(P),r:e.o((e=>N.pageNum=e)),s:e.p({total:m.value,pageSize:N.pageSize,modelValue:N.pageNum}),t:s.value.length>0,v:e.f(t.value,((a,o,n)=>({a:"36c2b759-10-"+n+",36c2b759-9-"+n,b:e.p({carNum:a.licensePlateNumber}),c:"36c2b759-11-"+n+",36c2b759-9-"+n,d:e.p({phone:""==a.phone||null==a.phone?a.businessPhone:a.phone,userName:""==a.name||null==a.name?a.businessName:a.name,company:a.sysDeptName}),e:e.o((e=>k(a.taskId)),o),f:e.o((e=>x(a.taskId)),o),g:"36c2b759-12-"+n+",36c2b759-9-"+n,h:o,i:"36c2b759-9-"+n,j:e.p({tipContent:"查看详情",carInfo:a})}))),w:e.p({leftContent:"承接回馈",rightContent:"问题件"}),x:e.p({show:0==t.value.length,mode:"list",text:"暂无数据"}),y:e.o(j),z:e.o((e=>N.pageNum=e)),A:e.p({total:m.value,pageSize:N.pageSize,modelValue:N.pageNum}),B:t.value.length>0,C:e.f(r.value,((a,n,u)=>({a:"36c2b759-16-"+u+",36c2b759-15-"+u,b:e.p({carNum:a.licensePlateNumber}),c:"36c2b759-17-"+u+",36c2b759-15-"+u,d:e.p({phone:""==a.phone||null==a.phone?a.businessPhone:a.phone,userName:""==a.name||null==a.name?a.businessName:a.name,company:a.sysDeptName}),e:e.o((e=>{return n=a.processInstanceId,void o.queryResult({processInstanceId:n}).then((e=>{var a,o,n;f.value.strongInsurancePolicyNumber=null==(a=null==e?void 0:e.data)?void 0:a.strongInsurancePolicyNumber,f.value.commercialInsurancePolicyNumber=null==(o=null==e?void 0:e.data)?void 0:o.commercialInsurancePolicyNumber,f.value.message=null==(n=null==e?void 0:e.data)?void 0:n.message,h.value=!0}));var n}),n),f:n,g:"36c2b759-15-"+u,h:e.p({tipContent:a.policyStatus,carInfo:a})}))),D:e.p({show:0==r.value.length,mode:"list",text:"暂无数据"}),E:e.o(_),F:e.o((e=>N.pageNum=e)),G:e.p({total:m.value,pageSize:N.pageSize,modelValue:N.pageNum}),H:r.value.length>0,I:p.value,J:e.o(w),K:e.o((e=>I.value.commercialInsurancePolicyNumber=e)),L:e.p({modelValue:I.value.commercialInsurancePolicyNumber}),M:e.p({label:"商险单号",prop:"commercialInsurancePolicyNumber"}),N:e.o((e=>I.value.strongInsurancePolicyNumber=e)),O:e.p({modelValue:I.value.strongInsurancePolicyNumber}),P:e.p({label:"强险单号",prop:"strongInsurancePolicyNumber"}),Q:e.o((e=>I.value.message=e)),R:e.p({placeholder:"请输入内容",modelValue:I.value.message}),S:e.p({label:"回馈内容",prop:"name"}),T:e.p({model:I.value,labelWidth:"80"}),U:e.o(S),V:e.o((e=>g.value=!1)),W:e.p({show:g.value,showCancelButton:!0,title:"填写回馈及单号"}),X:e.o((e=>b.value.message=e)),Y:e.p({placeholder:"请输入内容",modelValue:b.value.message}),Z:e.o(z),aa:e.o((e=>d.value=!1)),ab:e.p({show:d.value,showCancelButton:!0,title:"问题件回馈"}),ac:e.o((e=>f.value.commercialInsurancePolicyNumber=e)),ad:e.p({border:"none",disabled:!0,disabledColor:"#fff",modelValue:f.value.commercialInsurancePolicyNumber}),ae:e.p({label:"商险单号",prop:"commercialInsurancePolicyNumber"}),af:e.o((e=>f.value.strongInsurancePolicyNumber=e)),ag:e.p({border:"none",disabled:!0,disabledColor:"#fff",modelValue:f.value.strongInsurancePolicyNumber}),ah:e.p({label:"强险单号",prop:"strongInsurancePolicyNumber"}),ai:e.p({content:f.value.message}),aj:e.p({label:"回馈内容",prop:"name"}),ak:e.p({model:f.value,labelWidth:"80"}),al:e.o((e=>h.value=!1)),am:e.p({show:h.value,title:"回馈内容"}),an:e.f(v.value,((a,o,n)=>({a:o,b:"36c2b759-40-"+n+",36c2b759-39",c:e.p({label:a.nickName,name:a.userName})}))),ao:e.o((e=>i.value.username=e)),ap:e.p({modelValue:i.value.username}),aq:e.o(V),ar:e.o((e=>y.value=!1)),as:e.p({show:y.value,showCancelButton:!0,title:"选择转办人员"}),at:e.p({text:"主页",icon:"home",badge:e.unref(l).companyTotal}),av:a._imports_0$4,aw:a._imports_1$2,ax:e.o(q),ay:e.p({text:"我的",icon:"account"}),az:e.p({value:e.unref(l).employeeCurrent,activeColor:"#3680FE",inactiveColor:"#707070"})})}},p=e._export_sfc(r,[["__scopeId","data-v-36c2b759"]]);wx.createPage(p); |
| 1 | -<view class="company_container data-v-817e8b45"><up-navbar wx:if="{{a}}" class="data-v-817e8b45" u-i="817e8b45-0" bind:__l="__l" u-p="{{a}}"/><view class="work_box data-v-817e8b45"><view class="nav_box data-v-817e8b45"><view class="nav_header data-v-817e8b45"><view class="{{['nav_item', 'data-v-817e8b45', b && 'active']}}" bindtap="{{c}}">待处理保单</view><view class="colLine data-v-817e8b45"></view><view class="{{['nav_item', 'data-v-817e8b45', d && 'active']}}" bindtap="{{e}}">进行中保单</view><view class="colLine data-v-817e8b45"></view><view class="{{['nav_item', 'data-v-817e8b45', f && 'active']}}" bindtap="{{g}}">已完结保单</view></view><view class="right_box data-v-817e8b45"><up-icon wx:if="{{i}}" class="data-v-817e8b45" bindclick="{{h}}" u-i="817e8b45-1" bind:__l="__l" u-p="{{i}}"></up-icon><view hidden="{{!n}}" class="select_nav data-v-817e8b45"><view class="{{['select_item', 'data-v-817e8b45', j && 'active']}}" bindtap="{{k}}">个人</view><view class="{{['select_item', 'data-v-817e8b45', l && 'active']}}" bindtap="{{m}}">企业</view></view></view></view><view class="expert_content data-v-817e8b45"><swiper class="swiper data-v-817e8b45" circular current="{{I}}" bindanimationfinish="{{J}}"><swiper-item class="data-v-817e8b45"><view class="swiper-item data-v-817e8b45"><scroll-view scroll-y="true" class="scroll-history data-v-817e8b45"><view class="work_list data-v-817e8b45"><car-card wx:for="{{o}}" wx:for-item="carItem" wx:key="n" class="data-v-817e8b45" u-s="{{['header','center','footer']}}" u-i="{{carItem.o}}" bind:__l="__l" u-p="{{carItem.p}}"><nav-top class="data-v-817e8b45" u-i="{{carItem.a}}" bind:__l="__l" u-p="{{carItem.b}}" slot="header"/><word-info class="data-v-817e8b45" u-i="{{carItem.c}}" bind:__l="__l" u-p="{{carItem.d}}" slot="center"/><view slot="footer"><center-line wx:if="{{carItem.e}}" class="data-v-817e8b45" bindleftComfirn="{{carItem.f}}" bindrightComfirn="{{carItem.g}}" u-i="{{carItem.h}}" bind:__l="__l" u-p="{{carItem.i}}"></center-line><center-line wx:else class="data-v-817e8b45" bindleftComfirn="{{carItem.j}}" bindrightComfirn="{{carItem.k}}" u-i="{{carItem.l}}" bind:__l="__l" u-p="{{carItem.m||''}}"></center-line></view></car-card><up-empty wx:if="{{p}}" class="data-v-817e8b45" u-i="817e8b45-7" bind:__l="__l" u-p="{{p}}"/><view class="data-v-817e8b45" hidden="{{!t}}"><uni-pagination wx:if="{{s}}" class="data-v-817e8b45" bindchange="{{q}}" u-i="817e8b45-8" bind:__l="__l" bindupdateModelValue="{{r}}" u-p="{{s}}"/></view></view></scroll-view></view></swiper-item><swiper-item class="data-v-817e8b45"><view class="swiper-item data-v-817e8b45"><scroll-view scroll-y="true" class="scroll-history data-v-817e8b45"><view class="work_list data-v-817e8b45"><car-card wx:for="{{v}}" wx:for-item="carItem" wx:key="h" class="data-v-817e8b45" u-s="{{['header','center','footer']}}" u-i="{{carItem.i}}" bind:__l="__l" u-p="{{carItem.j}}"><nav-top class="data-v-817e8b45" u-i="{{carItem.a}}" bind:__l="__l" u-p="{{carItem.b}}" slot="header"/><word-info class="data-v-817e8b45" u-i="{{carItem.c}}" bind:__l="__l" u-p="{{carItem.d}}" slot="center"/><center-line class="data-v-817e8b45" bindleftComfirn="{{carItem.e}}" bindrightComfirn="{{carItem.f}}" u-i="{{carItem.g}}" bind:__l="__l" u-p="{{w}}" slot="footer"></center-line></car-card><up-empty wx:if="{{x}}" class="data-v-817e8b45" u-i="817e8b45-13" bind:__l="__l" u-p="{{x}}"/><view class="data-v-817e8b45" hidden="{{!B}}"><uni-pagination wx:if="{{A}}" class="data-v-817e8b45" bindchange="{{y}}" u-i="817e8b45-14" bind:__l="__l" bindupdateModelValue="{{z}}" u-p="{{A}}"/></view></view></scroll-view></view></swiper-item><swiper-item class="data-v-817e8b45"><view class="swiper-item data-v-817e8b45"><scroll-view scroll-y="true" class="scroll-history data-v-817e8b45"><view class="work_list data-v-817e8b45"><car-card wx:for="{{C}}" wx:for-item="carItem" wx:key="f" class="data-v-817e8b45" u-s="{{['header','center','footer']}}" u-i="{{carItem.g}}" bind:__l="__l" u-p="{{carItem.h}}"><nav-top class="data-v-817e8b45" u-i="{{carItem.a}}" bind:__l="__l" u-p="{{carItem.b}}" slot="header"/><word-info class="data-v-817e8b45" u-i="{{carItem.c}}" bind:__l="__l" u-p="{{carItem.d}}" slot="center"/><view class="delInfo data-v-817e8b45" slot="footer"><text class="data-v-817e8b45" bindtap="{{carItem.e}}">查看回馈</text></view></car-card><up-empty wx:if="{{D}}" class="data-v-817e8b45" u-i="817e8b45-18" bind:__l="__l" u-p="{{D}}"/><view class="data-v-817e8b45" hidden="{{!H}}"><uni-pagination wx:if="{{G}}" class="data-v-817e8b45" bindchange="{{E}}" u-i="817e8b45-19" bind:__l="__l" bindupdateModelValue="{{F}}" u-p="{{G}}"/></view></view></scroll-view></view></swiper-item></swiper></view></view><up-modal wx:if="{{W}}" class="data-v-817e8b45" u-s="{{['d']}}" bindconfirm="{{U}}" bindcancel="{{V}}" u-i="817e8b45-20" bind:__l="__l" u-p="{{W}}"><up-form wx:if="{{T}}" class="data-v-817e8b45" u-s="{{['d']}}" u-i="817e8b45-21,817e8b45-20" bind:__l="__l" u-p="{{T}}"><up-form-item wx:if="{{M}}" class="data-v-817e8b45" u-s="{{['d']}}" u-i="817e8b45-22,817e8b45-21" bind:__l="__l" u-p="{{M}}"><up-input wx:if="{{L}}" class="data-v-817e8b45" u-i="817e8b45-23,817e8b45-22" bind:__l="__l" bindupdateModelValue="{{K}}" u-p="{{L}}"/></up-form-item><up-form-item wx:if="{{P}}" class="data-v-817e8b45" u-s="{{['d']}}" u-i="817e8b45-24,817e8b45-21" bind:__l="__l" u-p="{{P}}"><up-input wx:if="{{O}}" class="data-v-817e8b45" u-i="817e8b45-25,817e8b45-24" bind:__l="__l" bindupdateModelValue="{{N}}" u-p="{{O}}"/></up-form-item><up-form-item wx:if="{{S}}" class="data-v-817e8b45" u-s="{{['d']}}" u-i="817e8b45-26,817e8b45-21" bind:__l="__l" u-p="{{S}}"><up-textarea wx:if="{{R}}" class="data-v-817e8b45" u-i="817e8b45-27,817e8b45-26" bind:__l="__l" bindupdateModelValue="{{Q}}" u-p="{{R}}"></up-textarea></up-form-item></up-form></up-modal><up-modal wx:if="{{ab}}" class="data-v-817e8b45" u-s="{{['d']}}" bindconfirm="{{Z}}" bindcancel="{{aa}}" u-i="817e8b45-28" bind:__l="__l" u-p="{{ab}}"><view class="data-v-817e8b45" style="width:100%"><up-textarea wx:if="{{Y}}" class="data-v-817e8b45" u-i="817e8b45-29,817e8b45-28" bind:__l="__l" bindupdateModelValue="{{X}}" u-p="{{Y}}"></up-textarea></view></up-modal><up-modal wx:if="{{am}}" class="data-v-817e8b45" u-s="{{['d']}}" bindconfirm="{{al}}" u-i="817e8b45-30" bind:__l="__l" u-p="{{am}}"><up-form wx:if="{{ak}}" class="data-v-817e8b45" u-s="{{['d']}}" u-i="817e8b45-31,817e8b45-30" bind:__l="__l" u-p="{{ak}}"><up-form-item wx:if="{{ae}}" class="data-v-817e8b45" u-s="{{['d']}}" u-i="817e8b45-32,817e8b45-31" bind:__l="__l" u-p="{{ae}}"><up-input wx:if="{{ad}}" class="data-v-817e8b45" u-i="817e8b45-33,817e8b45-32" bind:__l="__l" bindupdateModelValue="{{ac}}" u-p="{{ad}}"/></up-form-item><up-form-item wx:if="{{ah}}" class="data-v-817e8b45" u-s="{{['d']}}" u-i="817e8b45-34,817e8b45-31" bind:__l="__l" u-p="{{ah}}"><up-input wx:if="{{ag}}" class="data-v-817e8b45" u-i="817e8b45-35,817e8b45-34" bind:__l="__l" bindupdateModelValue="{{af}}" u-p="{{ag}}"/></up-form-item><up-form-item wx:if="{{aj}}" class="data-v-817e8b45" u-s="{{['d']}}" u-i="817e8b45-36,817e8b45-31" bind:__l="__l" u-p="{{aj}}"><up-parse wx:if="{{ai}}" class="data-v-817e8b45" u-i="817e8b45-37,817e8b45-36" bind:__l="__l" u-p="{{ai}}"></up-parse></up-form-item></up-form></up-modal><up-modal wx:if="{{as}}" class="data-v-817e8b45" u-s="{{['d']}}" bindconfirm="{{aq}}" bindcancel="{{ar}}" u-i="817e8b45-38" bind:__l="__l" u-p="{{as}}"><up-radio-group wx:if="{{ap}}" class="data-v-817e8b45" u-s="{{['d']}}" u-i="817e8b45-39,817e8b45-38" bind:__l="__l" bindupdateModelValue="{{ao}}" u-p="{{ap}}"><up-radio wx:for="{{an}}" wx:for-item="item" wx:key="a" class="data-v-817e8b45" u-i="{{item.b}}" bind:__l="__l" u-p="{{item.c}}"/></up-radio-group></up-modal><up-tabbar wx:if="{{az}}" class="data-v-817e8b45" u-s="{{['d']}}" u-i="817e8b45-41" bind:__l="__l" u-p="{{az}}"><up-tabbar-item wx:if="{{at}}" class="data-v-817e8b45" u-i="817e8b45-42,817e8b45-41" bind:__l="__l" u-p="{{at}}"></up-tabbar-item><up-tabbar-item wx:if="{{ay}}" class="data-v-817e8b45" u-s="{{['active-icon','inactive-icon']}}" bindclick="{{ax}}" u-i="817e8b45-43,817e8b45-41" bind:__l="__l" u-p="{{ay}}"><image style="width:48rpx" class="u-page__item__slot-icon data-v-817e8b45" src="{{av}}" mode="widthFix" slot="active-icon"></image><image style="width:48rpx" class="u-page__item__slot-icon data-v-817e8b45" src="{{aw}}" mode="widthFix" slot="inactive-icon"></image></up-tabbar-item></up-tabbar></view> | ||
| 1 | +<view class="company_container data-v-36c2b759"><up-navbar wx:if="{{a}}" class="data-v-36c2b759" u-i="36c2b759-0" bind:__l="__l" u-p="{{a}}"/><view class="work_box data-v-36c2b759"><view class="nav_box data-v-36c2b759"><view class="nav_header data-v-36c2b759"><view class="{{['nav_item', 'data-v-36c2b759', b && 'active']}}" bindtap="{{c}}">待处理保单</view><view class="colLine data-v-36c2b759"></view><view class="{{['nav_item', 'data-v-36c2b759', d && 'active']}}" bindtap="{{e}}">进行中保单</view><view class="colLine data-v-36c2b759"></view><view class="{{['nav_item', 'data-v-36c2b759', f && 'active']}}" bindtap="{{g}}">已完结保单</view></view><view class="right_box data-v-36c2b759"><up-icon wx:if="{{i}}" class="data-v-36c2b759" bindclick="{{h}}" u-i="36c2b759-1" bind:__l="__l" u-p="{{i}}"></up-icon><view hidden="{{!n}}" class="select_nav data-v-36c2b759"><view class="{{['select_item', 'data-v-36c2b759', j && 'active']}}" bindtap="{{k}}">个人</view><view class="{{['select_item', 'data-v-36c2b759', l && 'active']}}" bindtap="{{m}}">企业</view></view></view></view><view class="expert_content data-v-36c2b759"><swiper class="swiper data-v-36c2b759" circular current="{{I}}" bindanimationfinish="{{J}}"><swiper-item class="data-v-36c2b759"><view class="swiper-item data-v-36c2b759"><scroll-view scroll-y="true" class="scroll-history data-v-36c2b759"><view class="work_list data-v-36c2b759"><car-card wx:for="{{o}}" wx:for-item="carItem" wx:key="n" class="data-v-36c2b759" u-s="{{['header','center','footer']}}" u-i="{{carItem.o}}" bind:__l="__l" u-p="{{carItem.p}}"><nav-top class="data-v-36c2b759" u-i="{{carItem.a}}" bind:__l="__l" u-p="{{carItem.b}}" slot="header"/><word-info class="data-v-36c2b759" u-i="{{carItem.c}}" bind:__l="__l" u-p="{{carItem.d}}" slot="center"/><view slot="footer"><center-line wx:if="{{carItem.e}}" class="data-v-36c2b759" bindleftComfirn="{{carItem.f}}" bindrightComfirn="{{carItem.g}}" u-i="{{carItem.h}}" bind:__l="__l" u-p="{{carItem.i}}"></center-line><center-line wx:else class="data-v-36c2b759" bindleftComfirn="{{carItem.j}}" bindrightComfirn="{{carItem.k}}" u-i="{{carItem.l}}" bind:__l="__l" u-p="{{carItem.m||''}}"></center-line></view></car-card><up-empty wx:if="{{p}}" class="data-v-36c2b759" u-i="36c2b759-7" bind:__l="__l" u-p="{{p}}"/><view class="data-v-36c2b759" hidden="{{!t}}"><uni-pagination wx:if="{{s}}" class="data-v-36c2b759" bindchange="{{q}}" u-i="36c2b759-8" bind:__l="__l" bindupdateModelValue="{{r}}" u-p="{{s}}"/></view></view></scroll-view></view></swiper-item><swiper-item class="data-v-36c2b759"><view class="swiper-item data-v-36c2b759"><scroll-view scroll-y="true" class="scroll-history data-v-36c2b759"><view class="work_list data-v-36c2b759"><car-card wx:for="{{v}}" wx:for-item="carItem" wx:key="h" class="data-v-36c2b759" u-s="{{['header','center','footer']}}" u-i="{{carItem.i}}" bind:__l="__l" u-p="{{carItem.j}}"><nav-top class="data-v-36c2b759" u-i="{{carItem.a}}" bind:__l="__l" u-p="{{carItem.b}}" slot="header"/><word-info class="data-v-36c2b759" u-i="{{carItem.c}}" bind:__l="__l" u-p="{{carItem.d}}" slot="center"/><center-line class="data-v-36c2b759" bindleftComfirn="{{carItem.e}}" bindrightComfirn="{{carItem.f}}" u-i="{{carItem.g}}" bind:__l="__l" u-p="{{w}}" slot="footer"></center-line></car-card><up-empty wx:if="{{x}}" class="data-v-36c2b759" u-i="36c2b759-13" bind:__l="__l" u-p="{{x}}"/><view class="data-v-36c2b759" hidden="{{!B}}"><uni-pagination wx:if="{{A}}" class="data-v-36c2b759" bindchange="{{y}}" u-i="36c2b759-14" bind:__l="__l" bindupdateModelValue="{{z}}" u-p="{{A}}"/></view></view></scroll-view></view></swiper-item><swiper-item class="data-v-36c2b759"><view class="swiper-item data-v-36c2b759"><scroll-view scroll-y="true" class="scroll-history data-v-36c2b759"><view class="work_list data-v-36c2b759"><car-card wx:for="{{C}}" wx:for-item="carItem" wx:key="f" class="data-v-36c2b759" u-s="{{['header','center','footer']}}" u-i="{{carItem.g}}" bind:__l="__l" u-p="{{carItem.h}}"><nav-top class="data-v-36c2b759" u-i="{{carItem.a}}" bind:__l="__l" u-p="{{carItem.b}}" slot="header"/><word-info class="data-v-36c2b759" u-i="{{carItem.c}}" bind:__l="__l" u-p="{{carItem.d}}" slot="center"/><view class="delInfo data-v-36c2b759" slot="footer"><text class="data-v-36c2b759" bindtap="{{carItem.e}}">查看回馈</text></view></car-card><up-empty wx:if="{{D}}" class="data-v-36c2b759" u-i="36c2b759-18" bind:__l="__l" u-p="{{D}}"/><view class="data-v-36c2b759" hidden="{{!H}}"><uni-pagination wx:if="{{G}}" class="data-v-36c2b759" bindchange="{{E}}" u-i="36c2b759-19" bind:__l="__l" bindupdateModelValue="{{F}}" u-p="{{G}}"/></view></view></scroll-view></view></swiper-item></swiper></view></view><up-modal wx:if="{{W}}" class="data-v-36c2b759" u-s="{{['d']}}" bindconfirm="{{U}}" bindcancel="{{V}}" u-i="36c2b759-20" bind:__l="__l" u-p="{{W}}"><up-form wx:if="{{T}}" class="data-v-36c2b759" u-s="{{['d']}}" u-i="36c2b759-21,36c2b759-20" bind:__l="__l" u-p="{{T}}"><up-form-item wx:if="{{M}}" class="data-v-36c2b759" u-s="{{['d']}}" u-i="36c2b759-22,36c2b759-21" bind:__l="__l" u-p="{{M}}"><up-input wx:if="{{L}}" class="data-v-36c2b759" u-i="36c2b759-23,36c2b759-22" bind:__l="__l" bindupdateModelValue="{{K}}" u-p="{{L}}"/></up-form-item><up-form-item wx:if="{{P}}" class="data-v-36c2b759" u-s="{{['d']}}" u-i="36c2b759-24,36c2b759-21" bind:__l="__l" u-p="{{P}}"><up-input wx:if="{{O}}" class="data-v-36c2b759" u-i="36c2b759-25,36c2b759-24" bind:__l="__l" bindupdateModelValue="{{N}}" u-p="{{O}}"/></up-form-item><up-form-item wx:if="{{S}}" class="data-v-36c2b759" u-s="{{['d']}}" u-i="36c2b759-26,36c2b759-21" bind:__l="__l" u-p="{{S}}"><up-textarea wx:if="{{R}}" class="data-v-36c2b759" u-i="36c2b759-27,36c2b759-26" bind:__l="__l" bindupdateModelValue="{{Q}}" u-p="{{R}}"></up-textarea></up-form-item></up-form></up-modal><up-modal wx:if="{{ab}}" class="data-v-36c2b759" u-s="{{['d']}}" bindconfirm="{{Z}}" bindcancel="{{aa}}" u-i="36c2b759-28" bind:__l="__l" u-p="{{ab}}"><view class="data-v-36c2b759" style="width:100%"><up-textarea wx:if="{{Y}}" class="data-v-36c2b759" u-i="36c2b759-29,36c2b759-28" bind:__l="__l" bindupdateModelValue="{{X}}" u-p="{{Y}}"></up-textarea></view></up-modal><up-modal wx:if="{{am}}" class="data-v-36c2b759" u-s="{{['d']}}" bindconfirm="{{al}}" u-i="36c2b759-30" bind:__l="__l" u-p="{{am}}"><up-form wx:if="{{ak}}" class="data-v-36c2b759" u-s="{{['d']}}" u-i="36c2b759-31,36c2b759-30" bind:__l="__l" u-p="{{ak}}"><up-form-item wx:if="{{ae}}" class="data-v-36c2b759" u-s="{{['d']}}" u-i="36c2b759-32,36c2b759-31" bind:__l="__l" u-p="{{ae}}"><up-input wx:if="{{ad}}" class="data-v-36c2b759" u-i="36c2b759-33,36c2b759-32" bind:__l="__l" bindupdateModelValue="{{ac}}" u-p="{{ad}}"/></up-form-item><up-form-item wx:if="{{ah}}" class="data-v-36c2b759" u-s="{{['d']}}" u-i="36c2b759-34,36c2b759-31" bind:__l="__l" u-p="{{ah}}"><up-input wx:if="{{ag}}" class="data-v-36c2b759" u-i="36c2b759-35,36c2b759-34" bind:__l="__l" bindupdateModelValue="{{af}}" u-p="{{ag}}"/></up-form-item><up-form-item wx:if="{{aj}}" class="data-v-36c2b759" u-s="{{['d']}}" u-i="36c2b759-36,36c2b759-31" bind:__l="__l" u-p="{{aj}}"><up-parse wx:if="{{ai}}" class="data-v-36c2b759" u-i="36c2b759-37,36c2b759-36" bind:__l="__l" u-p="{{ai}}"></up-parse></up-form-item></up-form></up-modal><up-modal wx:if="{{as}}" class="data-v-36c2b759" u-s="{{['d']}}" bindconfirm="{{aq}}" bindcancel="{{ar}}" u-i="36c2b759-38" bind:__l="__l" u-p="{{as}}"><up-radio-group wx:if="{{ap}}" class="data-v-36c2b759" u-s="{{['d']}}" u-i="36c2b759-39,36c2b759-38" bind:__l="__l" bindupdateModelValue="{{ao}}" u-p="{{ap}}"><up-radio wx:for="{{an}}" wx:for-item="item" wx:key="a" class="data-v-36c2b759" u-i="{{item.b}}" bind:__l="__l" u-p="{{item.c}}"/></up-radio-group></up-modal><up-tabbar wx:if="{{az}}" class="data-v-36c2b759" u-s="{{['d']}}" u-i="36c2b759-41" bind:__l="__l" u-p="{{az}}"><up-tabbar-item wx:if="{{at}}" class="data-v-36c2b759" u-i="36c2b759-42,36c2b759-41" bind:__l="__l" u-p="{{at}}"></up-tabbar-item><up-tabbar-item wx:if="{{ay}}" class="data-v-36c2b759" u-s="{{['active-icon','inactive-icon']}}" bindclick="{{ax}}" u-i="36c2b759-43,36c2b759-41" bind:__l="__l" u-p="{{ay}}"><image style="width:48rpx" class="u-page__item__slot-icon data-v-36c2b759" src="{{av}}" mode="widthFix" slot="active-icon"></image><image style="width:48rpx" class="u-page__item__slot-icon data-v-36c2b759" src="{{aw}}" mode="widthFix" slot="inactive-icon"></image></up-tabbar-item></up-tabbar></view> |
| 1 | -.company_container.data-v-817e8b45{width:100%;height:100vh;background:url(http://bxhd.crgx.net/profile/avatar/2024/09/25/bg-index_20240925113012A004.png) no-repeat;background-size:100% 100%;overflow:hidden}.company_container .work_box.data-v-817e8b45{height:calc(100vh - 88rpx);background-color:#f8f9ff}.company_container .work_box .nav_header.data-v-817e8b45{display:flex;flex:1;align-items:center;width:100%;height:80rpx;background:#fff}.company_container .work_box .nav_header .nav_item.data-v-817e8b45{flex:1;text-align:center;height:80rpx;line-height:80rpx;font-size:28rpx;color:#999}.company_container .work_box .nav_header .nav_item.active.data-v-817e8b45{font-weight:500;color:#333}.company_container .work_box .nav_header .colLine.data-v-817e8b45{width:2rpx;height:40rpx;background:#d8d8d8}.company_container .work_box .work_list.data-v-817e8b45{padding:20rpx 30rpx 200rpx;display:flex;flex-direction:column;gap:20rpx}.delInfo.data-v-817e8b45{font-size:20rpx;line-height:26rpx;color:#3680fe}.scroll-history.data-v-817e8b45,.swiper.data-v-817e8b45{height:calc(100vh - 256rpx)}.nav_box.data-v-817e8b45{display:flex;align-items:center}.nav_box .right_box.data-v-817e8b45{position:relative;width:100rpx;height:80rpx;display:flex;align-items:center;justify-content:center;background:#fff}.nav_box .right_box .select_nav.data-v-817e8b45{z-index:99;position:absolute;bottom:-188rpx;background-color:#fff;left:-30rpx}.nav_box .right_box .select_nav .select_item.data-v-817e8b45{height:90rpx;width:120rpx;text-align:center;line-height:90rpx;border-bottom:2rpx solid #eee}.nav_box .right_box .select_nav .select_item.data-v-817e8b45:last-child{border-bottom:0}.nav_box .right_box .select_nav .select_item.active.data-v-817e8b45{color:#3680fe} | 1 | +.company_container.data-v-36c2b759{width:100%;height:100vh;background:url(http://bxhd.crgx.net/profile/avatar/2024/09/25/bg-index_20240925113012A004.png) no-repeat;background-size:100% 100%;overflow:hidden}.company_container .work_box.data-v-36c2b759{height:calc(100vh - 88rpx);background-color:#f8f9ff}.company_container .work_box .nav_header.data-v-36c2b759{display:flex;flex:1;align-items:center;width:100%;height:80rpx;background:#fff}.company_container .work_box .nav_header .nav_item.data-v-36c2b759{flex:1;text-align:center;height:80rpx;line-height:80rpx;font-size:28rpx;color:#999}.company_container .work_box .nav_header .nav_item.active.data-v-36c2b759{font-weight:500;color:#333}.company_container .work_box .nav_header .colLine.data-v-36c2b759{width:2rpx;height:40rpx;background:#d8d8d8}.company_container .work_box .work_list.data-v-36c2b759{padding:20rpx 30rpx 200rpx;display:flex;flex-direction:column;gap:20rpx}.delInfo.data-v-36c2b759{font-size:20rpx;line-height:26rpx;color:#3680fe}.scroll-history.data-v-36c2b759,.swiper.data-v-36c2b759{height:calc(100vh - 256rpx)}.nav_box.data-v-36c2b759{display:flex;align-items:center}.nav_box .right_box.data-v-36c2b759{position:relative;width:100rpx;height:80rpx;display:flex;align-items:center;justify-content:center;background:#fff}.nav_box .right_box .select_nav.data-v-36c2b759{z-index:99;position:absolute;bottom:-188rpx;background-color:#fff;left:-30rpx}.nav_box .right_box .select_nav .select_item.data-v-36c2b759{height:90rpx;width:120rpx;text-align:center;line-height:90rpx;border-bottom:2rpx solid #eee}.nav_box .right_box .select_nav .select_item.data-v-36c2b759:last-child{border-bottom:0}.nav_box .right_box .select_nav .select_item.active.data-v-36c2b759{color:#3680fe} |
| 1 | -"use strict";const e=require("../../common/vendor.js"),o=require("../../common/assets.js"),r=require("../../api/user.js"),n=require("../../store/modules/tabbar.js"),t=require("../../store/modules/user.js");if(!Array){(e.resolveComponent("up-navbar")+e.resolveComponent("up-input")+e.resolveComponent("up-form-item")+e.resolveComponent("up-form")+e.resolveComponent("up-tabbar-item")+e.resolveComponent("up-tabbar"))()}Math||((()=>"../../uni_modules/uview-plus/components/u-navbar/u-navbar.js")+(()=>"../../uni_modules/uview-plus/components/u-input/u-input.js")+(()=>"../../uni_modules/uview-plus/components/u-form-item/u-form-item.js")+(()=>"../../uni_modules/uview-plus/components/u-form/u-form.js")+(()=>"../../uni_modules/uview-plus/components/u-tabbar-item/u-tabbar-item.js")+(()=>"../../uni_modules/uview-plus/components/u-tabbar/u-tabbar.js"))();const a={__name:"companyMy",setup(a){const{userInfo:u,Logout:s,getUser:i}=t.useUserStore(),l=n.useTabbarStore();e.ref(!0);const p={height:"80rpx",backgroundColor:"#F9F9F9",paddingLeft:"40rpx"},m={color:"#bbb",fontSize:"28rpx"},c=e.ref(null),d={nickName:[{required:!0,message:"请输入姓名",trigger:["blur","change"]},{min:2,max:6,message:"名字应在2到6个字",trigger:["blur","change"]},{validator:(o,r,n)=>e.index.$u.test.chinese(r),message:"请输入中文",trigger:["change","blur"]}],identificationNumber:[{required:!0,message:"请输入身份证号",trigger:["blur","change"]},{validator:(o,r,n)=>e.index.$u.test.idCard(r),message:"身份证号码不正确",trigger:["change","blur"]}],phonenumber:[{required:!0,message:"请输入手机号",trigger:["blur","change"]},{validator:(o,r,n)=>e.index.$u.test.mobile(r),message:"手机号码不正确",trigger:["change","blur"]}]},b=o=>{o.detail.code?r.getPhome(o.detail.code).then((e=>{u.phonenumber=e.msg})):e.index.$u.toast("已取消授权,不能进行操作")};e.onReady((()=>{c.value.setRules(d)}));const g=()=>{e.index.showModal({title:"提示",content:"是否退出登录",success:async o=>{o.confirm?(await s(),e.index.$u.toast("退出成功"),e.index.redirectTo({url:"/pages/login/login"})):o.cancel&&console.log("用户点击取消")}})},f=o=>{l.employeeCurrent=o,e.index.redirectTo({url:"/pages/companyHome/companyHome"})},h=async o=>{u.jobStatus=o,await r.updateUserInfo(u),await i(),e.index.$u.toast("更新成功")},v=()=>{c.value.validate().then((async o=>{o?(await r.updateUserInfo(u),await i(),e.index.$u.toast("更新成功")):e.index.$u.toast("校验失败")})).catch((()=>{e.index.$u.toast("校验失败")}))};return(r,n)=>({a:e.p({placeholder:!0,leftIconSize:0,bgColor:"transparent"}),b:e.o(v),c:o._imports_0$1,d:e.o((o=>e.unref(u).nickName=o)),e:e.p({shape:"circle",border:"none",fontSize:"28rpx",color:"#bbb",placeholderStyle:m,customStyle:p,placeholder:"请输入真实姓名",modelValue:e.unref(u).nickName}),f:e.p({prop:"nickName"}),g:o._imports_1$1,h:e.o((o=>e.unref(u).identificationNumber=o)),i:e.p({shape:"circle",border:"none",fontSize:"28rpx",color:"#bbb",placeholderStyle:m,customStyle:p,placeholder:"请输入身份证号",modelValue:e.unref(u).identificationNumber}),j:e.p({prop:"identificationNumber"}),k:o._imports_2,l:e.o(b),m:e.o((o=>e.unref(u).phonenumber=o)),n:e.p({disabled:!0,shape:"circle",border:"none",fontSize:"28rpx",color:"#bbb",placeholderStyle:m,customStyle:p,placeholder:"请输入手机号码",modelValue:e.unref(u).phonenumber}),o:e.p({prop:"phonenumber"}),p:e.sr(c,"57745963-1",{k:"userFormRef"}),q:e.p({model:e.unref(u)}),r:"0"===e.unref(u).jobStatus?1:"",s:e.o((e=>h("0"))),t:"1"===e.unref(u).jobStatus?1:"",v:e.o((e=>h("1"))),w:e.o(g),x:e.o(f),y:e.p({text:"主页",icon:"home",badge:e.unref(l).companyTotal}),z:e.p({text:"我的",icon:"account"}),A:e.p({value:e.unref(l).employeeCurrent,activeColor:"#3680FE",inactiveColor:"#707070"})})}},u=e._export_sfc(a,[["__scopeId","data-v-57745963"]]);wx.createPage(u); | 1 | +"use strict";const e=require("../../common/vendor.js"),o=require("../../common/assets.js"),r=require("../../api/user.js"),n=require("../../store/modules/tabbar.js"),t=require("../../store/modules/user.js");if(!Array){(e.resolveComponent("up-navbar")+e.resolveComponent("up-input")+e.resolveComponent("up-form-item")+e.resolveComponent("up-form")+e.resolveComponent("up-tabbar-item")+e.resolveComponent("up-tabbar"))()}Math||((()=>"../../uni_modules/uview-plus/components/u-navbar/u-navbar.js")+(()=>"../../uni_modules/uview-plus/components/u-input/u-input.js")+(()=>"../../uni_modules/uview-plus/components/u-form-item/u-form-item.js")+(()=>"../../uni_modules/uview-plus/components/u-form/u-form.js")+(()=>"../../uni_modules/uview-plus/components/u-tabbar-item/u-tabbar-item.js")+(()=>"../../uni_modules/uview-plus/components/u-tabbar/u-tabbar.js"))();const a={__name:"companyMy",setup(a){const{userInfo:u,Logout:s,getUser:i}=t.useUserStore(),l=n.useTabbarStore();e.ref(!0);const p={height:"80rpx",backgroundColor:"#F9F9F9",paddingLeft:"40rpx"},m={color:"#bbb",fontSize:"28rpx"},c=e.ref(null),d={nickName:[{required:!0,message:"请输入姓名",trigger:["blur","change"]},{min:2,max:6,message:"名字应在2到6个字",trigger:["blur","change"]},{validator:(o,r,n)=>e.index.$u.test.chinese(r),message:"请输入中文",trigger:["change","blur"]}],identificationNumber:[{required:!0,message:"请输入身份证号",trigger:["blur","change"]},{validator:(o,r,n)=>e.index.$u.test.idCard(r),message:"身份证号码不正确",trigger:["change","blur"]}],phonenumber:[{required:!0,message:"请输入手机号",trigger:["blur","change"]},{validator:(o,r,n)=>e.index.$u.test.mobile(r),message:"手机号码不正确",trigger:["change","blur"]}]};e.onReady((()=>{c.value.setRules(d)}));const b=()=>{e.index.showModal({title:"提示",content:"是否退出登录",success:async o=>{o.confirm?(await s(),e.index.$u.toast("退出成功"),e.index.redirectTo({url:"/pages/login/login"})):o.cancel&&console.log("用户点击取消")}})},g=o=>{l.employeeCurrent=o,e.index.redirectTo({url:"/pages/companyHome/companyHome"})},f=async o=>{u.jobStatus=o,await r.updateUserInfo(u),await i(),e.index.$u.toast("更新成功")},h=()=>{c.value.validate().then((async o=>{o?(await r.updateUserInfo(u),await i(),e.index.$u.toast("更新成功")):e.index.$u.toast("校验失败")})).catch((()=>{e.index.$u.toast("校验失败")}))};return(r,n)=>({a:e.p({placeholder:!0,leftIconSize:0,bgColor:"transparent"}),b:e.o(h),c:o._imports_0$1,d:e.o((o=>e.unref(u).nickName=o)),e:e.p({shape:"circle",border:"none",fontSize:"28rpx",color:"#bbb",placeholderStyle:m,customStyle:p,placeholder:"请输入真实姓名",modelValue:e.unref(u).nickName}),f:e.p({prop:"nickName"}),g:o._imports_1$1,h:e.o((o=>e.unref(u).identificationNumber=o)),i:e.p({shape:"circle",border:"none",fontSize:"28rpx",color:"#bbb",placeholderStyle:m,customStyle:p,placeholder:"请输入身份证号",modelValue:e.unref(u).identificationNumber}),j:e.p({prop:"identificationNumber"}),k:o._imports_2,l:e.o((o=>e.unref(u).phonenumber=o)),m:e.p({shape:"circle",border:"none",fontSize:"28rpx",color:"#bbb",placeholderStyle:m,customStyle:p,placeholder:"请输入手机号码",modelValue:e.unref(u).phonenumber}),n:e.p({prop:"phonenumber"}),o:e.sr(c,"63944d24-1",{k:"userFormRef"}),p:e.p({model:e.unref(u)}),q:"0"===e.unref(u).jobStatus?1:"",r:e.o((e=>f("0"))),s:"1"===e.unref(u).jobStatus?1:"",t:e.o((e=>f("1"))),v:e.o(b),w:e.o(g),x:e.p({text:"主页",icon:"home",badge:e.unref(l).companyTotal}),y:e.p({text:"我的",icon:"account"}),z:e.p({value:e.unref(l).employeeCurrent,activeColor:"#3680FE",inactiveColor:"#707070"})})}},u=e._export_sfc(a,[["__scopeId","data-v-63944d24"]]);wx.createPage(u); |
| 1 | -<view class="app-container data-v-57745963"><up-navbar wx:if="{{a}}" class="data-v-57745963" u-i="57745963-0" bind:__l="__l" u-p="{{a}}"/><view class="car_list data-v-57745963"><view class="line_title data-v-57745963"><text class="left_title data-v-57745963" style="color:#fff">我的信息</text><text class="data-v-57745963" style="color:#fff" bindtap="{{b}}">更新实名信息</text></view><view class="user-box data-v-57745963"><up-form wx:if="{{q}}" class="r data-v-57745963" u-s="{{['d']}}" u-r="userFormRef" u-i="57745963-1" bind:__l="__l" u-p="{{q}}"><up-form-item wx:if="{{f}}" class="data-v-57745963" u-s="{{['d']}}" u-i="57745963-2,57745963-1" bind:__l="__l" u-p="{{f}}"><up-input wx:if="{{e}}" class="data-v-57745963" u-s="{{['prefix']}}" u-i="57745963-3,57745963-2" bind:__l="__l" bindupdateModelValue="{{d}}" u-p="{{e}}"><image class="data-v-57745963" style="width:32rpx;height:32rpx;margin-right:18rpx;margin-top:10rpx" src="{{c}}" mode="widthFix" slot="prefix"></image></up-input></up-form-item><up-form-item wx:if="{{j}}" class="data-v-57745963" u-s="{{['d']}}" u-i="57745963-4,57745963-1" bind:__l="__l" u-p="{{j}}"><up-input wx:if="{{i}}" class="data-v-57745963" u-s="{{['prefix']}}" u-i="57745963-5,57745963-4" bind:__l="__l" bindupdateModelValue="{{h}}" u-p="{{i}}"><image class="data-v-57745963" style="width:32rpx;height:32rpx;margin-right:18rpx;margin-top:10rpx" src="{{g}}" mode="widthFix" slot="prefix"></image></up-input></up-form-item><up-form-item wx:if="{{o}}" class="data-v-57745963" u-s="{{['d']}}" u-i="57745963-6,57745963-1" bind:__l="__l" u-p="{{o}}"><up-input wx:if="{{n}}" class="data-v-57745963" u-s="{{['prefix','suffix']}}" u-i="57745963-7,57745963-6" bind:__l="__l" bindupdateModelValue="{{m}}" u-p="{{n}}"><image class="data-v-57745963" style="width:32rpx;height:32rpx;margin-right:18rpx;margin-top:10rpx" src="{{k}}" mode="widthFix" slot="prefix"></image><button class="authBtn data-v-57745963" open-type="getPhoneNumber" bindgetphonenumber="{{l}}" slot="suffix">已废弃,重新绑定</button></up-input></up-form-item></up-form><view class="status data-v-57745963"><view class="{{['statusBtn', 'data-v-57745963', r && 'active']}}" bindtap="{{s}}">在岗</view><view class="{{['statusBtn', 'data-v-57745963', t && 'active']}}" bindtap="{{v}}">离岗</view></view></view><view class="loginBtn data-v-57745963" bindtap="{{w}}">退出登录</view></view><up-tabbar wx:if="{{A}}" class="data-v-57745963" u-s="{{['d']}}" u-i="57745963-8" bind:__l="__l" u-p="{{A}}"><up-tabbar-item wx:if="{{y}}" class="data-v-57745963" bindclick="{{x}}" u-i="57745963-9,57745963-8" bind:__l="__l" u-p="{{y}}"></up-tabbar-item><up-tabbar-item wx:if="{{z}}" class="data-v-57745963" u-i="57745963-10,57745963-8" bind:__l="__l" u-p="{{z}}"></up-tabbar-item></up-tabbar></view> | ||
| 1 | +<view class="app-container data-v-63944d24"><up-navbar wx:if="{{a}}" class="data-v-63944d24" u-i="63944d24-0" bind:__l="__l" u-p="{{a}}"/><view class="car_list data-v-63944d24"><view class="line_title data-v-63944d24"><text class="left_title data-v-63944d24" style="color:#fff">我的信息</text><text class="data-v-63944d24" style="color:#fff" bindtap="{{b}}">更新实名信息</text></view><view class="user-box data-v-63944d24"><up-form wx:if="{{p}}" class="r data-v-63944d24" u-s="{{['d']}}" u-r="userFormRef" u-i="63944d24-1" bind:__l="__l" u-p="{{p}}"><up-form-item wx:if="{{f}}" class="data-v-63944d24" u-s="{{['d']}}" u-i="63944d24-2,63944d24-1" bind:__l="__l" u-p="{{f}}"><up-input wx:if="{{e}}" class="data-v-63944d24" u-s="{{['prefix']}}" u-i="63944d24-3,63944d24-2" bind:__l="__l" bindupdateModelValue="{{d}}" u-p="{{e}}"><image class="data-v-63944d24" style="width:32rpx;height:32rpx;margin-right:18rpx;margin-top:10rpx" src="{{c}}" mode="widthFix" slot="prefix"></image></up-input></up-form-item><up-form-item wx:if="{{j}}" class="data-v-63944d24" u-s="{{['d']}}" u-i="63944d24-4,63944d24-1" bind:__l="__l" u-p="{{j}}"><up-input wx:if="{{i}}" class="data-v-63944d24" u-s="{{['prefix']}}" u-i="63944d24-5,63944d24-4" bind:__l="__l" bindupdateModelValue="{{h}}" u-p="{{i}}"><image class="data-v-63944d24" style="width:32rpx;height:32rpx;margin-right:18rpx;margin-top:10rpx" src="{{g}}" mode="widthFix" slot="prefix"></image></up-input></up-form-item><up-form-item wx:if="{{n}}" class="data-v-63944d24" u-s="{{['d']}}" u-i="63944d24-6,63944d24-1" bind:__l="__l" u-p="{{n}}"><up-input wx:if="{{m}}" class="data-v-63944d24" u-s="{{['prefix']}}" u-i="63944d24-7,63944d24-6" bind:__l="__l" bindupdateModelValue="{{l}}" u-p="{{m}}"><image class="data-v-63944d24" style="width:32rpx;height:32rpx;margin-right:18rpx;margin-top:10rpx" src="{{k}}" mode="widthFix" slot="prefix"></image></up-input></up-form-item></up-form><view class="status data-v-63944d24"><view class="{{['statusBtn', 'data-v-63944d24', q && 'active']}}" bindtap="{{r}}">在岗</view><view class="{{['statusBtn', 'data-v-63944d24', s && 'active']}}" bindtap="{{t}}">离岗</view></view></view><view class="loginBtn data-v-63944d24" bindtap="{{v}}">退出登录</view></view><up-tabbar wx:if="{{z}}" class="data-v-63944d24" u-s="{{['d']}}" u-i="63944d24-8" bind:__l="__l" u-p="{{z}}"><up-tabbar-item wx:if="{{x}}" class="data-v-63944d24" bindclick="{{w}}" u-i="63944d24-9,63944d24-8" bind:__l="__l" u-p="{{x}}"></up-tabbar-item><up-tabbar-item wx:if="{{y}}" class="data-v-63944d24" u-i="63944d24-10,63944d24-8" bind:__l="__l" u-p="{{y}}"></up-tabbar-item></up-tabbar></view> |
| 1 | -.app-container.data-v-57745963{width:100%;height:100vh;padding:0 30rpx;background:url(http://bxhd.crgx.net/profile/avatar/2024/09/25/bg-index_20240925113012A004.png) no-repeat;background-size:100% 100%;overflow:hidden}.app-container .user-box.data-v-57745963{width:690rpx;padding:40rpx 44rpx;background-color:#fff;z-index:10;margin:0 auto 40rpx;box-shadow:0 8rpx 40rpx rgba(10,22,44,.06);border-radius:40rpx}.app-container .car_list.data-v-57745963{display:flex;flex-direction:column;gap:20rpx}.app-container .car_list .line_title.data-v-57745963{display:flex;justify-content:space-between;font-size:24rpx;color:#999;line-height:32rpx}.app-container .car_list .line_title .left_title.data-v-57745963{font-size:32rpx;line-height:42rpx;color:#333}.app-container .car_list .car_data.data-v-57745963{padding:0 30rpx;background:#fff;box-shadow:0 8rpx 40rpx rgba(10,22,44,.06);border-radius:40rpx;margin-bottom:60rpx}.app-container .car_list .car_data .car_item.data-v-57745963{padding:30rpx 0;border-bottom:2rpx solid #eee}.app-container .car_list .car_data .car_item.data-v-57745963:last-child{border-bottom:0}.app-container .car_list .loginBtn.data-v-57745963{width:100%;height:80rpx;line-height:80rpx;text-align:center;font-size:28rpx;color:#fff;font-weight:500;background:#3680fe;box-shadow:0 8rpx 40rpx rgba(10,22,44,.06);border-radius:40rpx;margin-top:40rpx}.authBtn.data-v-57745963{width:210rpx;font-size:20rpx;margin-right:30rpx}.status.data-v-57745963{display:flex;align-items:center;justify-content:space-between;margin-top:20rpx}.status .statusBtn.data-v-57745963{width:280rpx;height:80rpx;text-align:center;line-height:80rpx;color:#999;background:#fff;border-radius:200rpx;border:2rpx solid #BBBBBB}.status .statusBtn.active.data-v-57745963{color:#fff;background:#3680fe} | 1 | +.app-container.data-v-63944d24{width:100%;height:100vh;padding:0 30rpx;background:url(http://bxhd.crgx.net/profile/avatar/2024/09/25/bg-index_20240925113012A004.png) no-repeat;background-size:100% 100%;overflow:hidden}.app-container .user-box.data-v-63944d24{width:690rpx;padding:40rpx 44rpx;background-color:#fff;z-index:10;margin:0 auto 40rpx;box-shadow:0 8rpx 40rpx rgba(10,22,44,.06);border-radius:40rpx}.app-container .car_list.data-v-63944d24{display:flex;flex-direction:column;gap:20rpx}.app-container .car_list .line_title.data-v-63944d24{display:flex;justify-content:space-between;font-size:24rpx;color:#999;line-height:32rpx}.app-container .car_list .line_title .left_title.data-v-63944d24{font-size:32rpx;line-height:42rpx;color:#333}.app-container .car_list .car_data.data-v-63944d24{padding:0 30rpx;background:#fff;box-shadow:0 8rpx 40rpx rgba(10,22,44,.06);border-radius:40rpx;margin-bottom:60rpx}.app-container .car_list .car_data .car_item.data-v-63944d24{padding:30rpx 0;border-bottom:2rpx solid #eee}.app-container .car_list .car_data .car_item.data-v-63944d24:last-child{border-bottom:0}.app-container .car_list .loginBtn.data-v-63944d24{width:100%;height:80rpx;line-height:80rpx;text-align:center;font-size:28rpx;color:#fff;font-weight:500;background:#3680fe;box-shadow:0 8rpx 40rpx rgba(10,22,44,.06);border-radius:40rpx;margin-top:40rpx}.authBtn.data-v-63944d24{width:210rpx;font-size:20rpx;margin-right:30rpx}.status.data-v-63944d24{display:flex;align-items:center;justify-content:space-between;margin-top:20rpx}.status .statusBtn.data-v-63944d24{width:280rpx;height:80rpx;text-align:center;line-height:80rpx;color:#999;background:#fff;border-radius:200rpx;border:2rpx solid #BBBBBB}.status .statusBtn.active.data-v-63944d24{color:#fff;background:#3680fe} |
| 1 | -"use strict";const e=require("../../common/vendor.js"),r=require("../../common/assets.js"),o=require("../../api/user.js"),i=require("../../store/modules/user.js");require("../../uni_modules/uview-plus/index.js");const t=require("../../uni_modules/uview-plus/libs/function/test.js");if(!Array){(e.resolveComponent("up-input")+e.resolveComponent("up-form-item")+e.resolveComponent("up-form"))()}Math||((()=>"../../uni_modules/uview-plus/components/u-input/u-input.js")+(()=>"../../uni_modules/uview-plus/components/u-form-item/u-form-item.js")+(()=>"../../uni_modules/uview-plus/components/u-form/u-form.js"))();const n={__name:"employeeRealName",setup(n){const{userInfo:u,login:s,getUser:a}=i.useUserStore(),l=e.ref(null),m={nickName:[{required:!0,message:"请输入姓名",trigger:["blur"]},{min:2,max:6,message:"名字应在2到6个字",trigger:["blur"]},{validator:(e,r,o)=>t.test.chinese(r),message:"请输入中文",trigger:["blur"]}],identificationNumber:[{required:!0,message:"请输入身份证号",trigger:["blur"]},{validator:(e,r,o)=>t.test.idCard(r),message:"身份证号码不正确",trigger:["blur"]}],phonenumber:[{required:!0,message:"请输入手机号",trigger:["blur"]},{validator:(e,r,o)=>t.test.mobile(r),message:"手机号码不正确",trigger:["blur"]}]},p={height:"80rpx",backgroundColor:"#F9F9F9",paddingLeft:"40rpx"},c={color:"#bbb",fontSize:"28rpx"};e.onReady((()=>{l.value.setRules(m)}));const d=()=>{e.index.navigateTo({url:"/pages/privacy/privacy"})},b=r=>{r.detail.code?o.getPhome(r.detail.code).then((e=>{u.phonenumber=e.msg})):e.index.$u.toast("已取消授权,不能进行操作")},g=()=>{if(!u.phonenumber)return e.index.$u.toast("请授权获取手机号进行实名");l.value.validate().then((async r=>{if(r){await o.updateUserInfo(u),e.index.$u.toast("实名成功");const{roleGroup:r}=await a();"公司员工"===r?e.index.redirectTo({url:"/pages/companyHome/companyHome"}):e.index.redirectTo({url:"/pages/societyHome/societyHome"})}else e.index.$u.toast("校验失败")})).catch((()=>{e.index.$u.toast("校验失败")}))};return(o,i)=>({a:r._imports_0$1,b:e.o((r=>e.unref(u).nickName=r)),c:e.p({shape:"circle",border:"none",fontSize:"28rpx",color:"#bbb",placeholderStyle:c,customStyle:p,placeholder:"请输入真实姓名",modelValue:e.unref(u).nickName}),d:e.p({prop:"nickName"}),e:r._imports_1$1,f:e.o((r=>e.unref(u).identificationNumber=r)),g:e.p({shape:"circle",border:"none",fontSize:"28rpx",color:"#bbb",placeholderStyle:c,customStyle:p,placeholder:"请输入身份证号",modelValue:e.unref(u).identificationNumber}),h:e.p({prop:"identificationNumber"}),i:r._imports_2,j:e.o(b),k:e.o((r=>e.unref(u).phonenumber=r)),l:e.p({disabled:!0,shape:"circle",border:"none",fontSize:"28rpx",color:"#bbb",placeholderStyle:c,customStyle:p,placeholder:"请输入手机号码",modelValue:e.unref(u).phonenumber}),m:e.p({prop:"phonenumber"}),n:e.sr(l,"bb754475-0",{k:"logFormRef"}),o:e.p({model:e.unref(u)}),p:e.o(d),q:e.o(g)})}},u=e._export_sfc(n,[["__scopeId","data-v-bb754475"]]);wx.createPage(u); | 1 | +"use strict";const e=require("../../common/vendor.js"),r=require("../../common/assets.js"),o=require("../../api/user.js"),i=require("../../store/modules/user.js");require("../../uni_modules/uview-plus/index.js");const t=require("../../uni_modules/uview-plus/libs/function/test.js");if(!Array){(e.resolveComponent("up-input")+e.resolveComponent("up-form-item")+e.resolveComponent("up-form"))()}Math||((()=>"../../uni_modules/uview-plus/components/u-input/u-input.js")+(()=>"../../uni_modules/uview-plus/components/u-form-item/u-form-item.js")+(()=>"../../uni_modules/uview-plus/components/u-form/u-form.js"))();const n={__name:"employeeRealName",setup(n){const{userInfo:u,login:s,getUser:l}=i.useUserStore(),a=e.ref(null),m={nickName:[{required:!0,message:"请输入姓名",trigger:["blur"]},{min:2,max:6,message:"名字应在2到6个字",trigger:["blur"]},{validator:(e,r,o)=>t.test.chinese(r),message:"请输入中文",trigger:["blur"]}],identificationNumber:[{required:!0,message:"请输入身份证号",trigger:["blur"]},{validator:(e,r,o)=>t.test.idCard(r),message:"身份证号码不正确",trigger:["blur"]}],phonenumber:[{required:!0,message:"请输入手机号",trigger:["blur"]},{validator:(e,r,o)=>t.test.mobile(r),message:"手机号码不正确",trigger:["blur"]}]},p={height:"80rpx",backgroundColor:"#F9F9F9",paddingLeft:"40rpx"},c={color:"#bbb",fontSize:"28rpx"};e.onReady((()=>{a.value.setRules(m)}));const d=()=>{e.index.navigateTo({url:"/pages/privacy/privacy"})},b=()=>{a.value.validate().then((async r=>{if(r){await o.updateUserInfo(u),e.index.$u.toast("实名成功");const{roleGroup:r}=await l();"公司员工"===r?e.index.redirectTo({url:"/pages/companyHome/companyHome"}):e.index.redirectTo({url:"/pages/societyHome/societyHome"})}else e.index.$u.toast("校验失败")})).catch((()=>{e.index.$u.toast("校验失败")}))};return(o,i)=>({a:r._imports_0$1,b:e.o((r=>e.unref(u).nickName=r)),c:e.p({shape:"circle",border:"none",fontSize:"28rpx",color:"#bbb",placeholderStyle:c,customStyle:p,placeholder:"请输入真实姓名",modelValue:e.unref(u).nickName}),d:e.p({prop:"nickName"}),e:r._imports_1$1,f:e.o((r=>e.unref(u).identificationNumber=r)),g:e.p({shape:"circle",border:"none",fontSize:"28rpx",color:"#bbb",placeholderStyle:c,customStyle:p,placeholder:"请输入身份证号",modelValue:e.unref(u).identificationNumber}),h:e.p({prop:"identificationNumber"}),i:r._imports_2,j:e.o((r=>e.unref(u).phonenumber=r)),k:e.p({shape:"circle",border:"none",fontSize:"28rpx",color:"#bbb",placeholderStyle:c,customStyle:p,placeholder:"请输入手机号码",modelValue:e.unref(u).phonenumber}),l:e.p({prop:"phonenumber"}),m:e.sr(a,"dd28cd12-0",{k:"logFormRef"}),n:e.p({model:e.unref(u)}),o:e.o(d),p:e.o(b)})}},u=e._export_sfc(n,[["__scopeId","data-v-dd28cd12"]]);wx.createPage(u); |
| 1 | -<view class="login-container data-v-bb754475"><view class="title data-v-bb754475">实名认证</view><view class="line data-v-bb754475"></view><view class="login-box data-v-bb754475"><up-form wx:if="{{o}}" class="r data-v-bb754475" u-s="{{['d']}}" u-r="logFormRef" u-i="bb754475-0" bind:__l="__l" u-p="{{o}}"><up-form-item wx:if="{{d}}" class="data-v-bb754475" u-s="{{['d']}}" u-i="bb754475-1,bb754475-0" bind:__l="__l" u-p="{{d}}"><up-input wx:if="{{c}}" class="data-v-bb754475" u-s="{{['prefix']}}" u-i="bb754475-2,bb754475-1" bind:__l="__l" bindupdateModelValue="{{b}}" u-p="{{c}}"><image class="data-v-bb754475" style="width:32rpx;height:32rpx;margin-right:18rpx;margin-top:10rpx" src="{{a}}" mode="widthFix" slot="prefix"></image></up-input></up-form-item><up-form-item wx:if="{{h}}" class="data-v-bb754475" u-s="{{['d']}}" u-i="bb754475-3,bb754475-0" bind:__l="__l" u-p="{{h}}"><up-input wx:if="{{g}}" class="data-v-bb754475" u-s="{{['prefix']}}" u-i="bb754475-4,bb754475-3" bind:__l="__l" bindupdateModelValue="{{f}}" u-p="{{g}}"><image class="data-v-bb754475" style="width:32rpx;height:32rpx;margin-right:18rpx;margin-top:10rpx" src="{{e}}" mode="widthFix" slot="prefix"></image></up-input></up-form-item><up-form-item wx:if="{{m}}" class="data-v-bb754475" u-s="{{['d']}}" u-i="bb754475-5,bb754475-0" bind:__l="__l" u-p="{{m}}"><up-input wx:if="{{l}}" class="data-v-bb754475" u-s="{{['prefix','suffix']}}" u-i="bb754475-6,bb754475-5" bind:__l="__l" bindupdateModelValue="{{k}}" u-p="{{l}}"><image class="data-v-bb754475" style="width:32rpx;height:32rpx;margin-right:18rpx;margin-top:10rpx" src="{{i}}" mode="widthFix" slot="prefix"></image><button class="authBtn data-v-bb754475" open-type="getPhoneNumber" bindgetphonenumber="{{j}}" slot="suffix">获取手机号</button></up-input></up-form-item></up-form></view><view class="tip data-v-bb754475"> 未注册或绑定该平台的身份证号,将帮你注册新账号,点击提交即代表你同意<text class="data-v-bb754475" style="color:#3680FE" bindtap="{{p}}">《隐私政策》</text></view><view class="log-btn data-v-bb754475" bindtap="{{q}}">提交</view></view> | ||
| 1 | +<view class="login-container data-v-dd28cd12"><view class="title data-v-dd28cd12">实名认证</view><view class="line data-v-dd28cd12"></view><view class="login-box data-v-dd28cd12"><up-form wx:if="{{n}}" class="r data-v-dd28cd12" u-s="{{['d']}}" u-r="logFormRef" u-i="dd28cd12-0" bind:__l="__l" u-p="{{n}}"><up-form-item wx:if="{{d}}" class="data-v-dd28cd12" u-s="{{['d']}}" u-i="dd28cd12-1,dd28cd12-0" bind:__l="__l" u-p="{{d}}"><up-input wx:if="{{c}}" class="data-v-dd28cd12" u-s="{{['prefix']}}" u-i="dd28cd12-2,dd28cd12-1" bind:__l="__l" bindupdateModelValue="{{b}}" u-p="{{c}}"><image class="data-v-dd28cd12" style="width:32rpx;height:32rpx;margin-right:18rpx;margin-top:10rpx" src="{{a}}" mode="widthFix" slot="prefix"></image></up-input></up-form-item><up-form-item wx:if="{{h}}" class="data-v-dd28cd12" u-s="{{['d']}}" u-i="dd28cd12-3,dd28cd12-0" bind:__l="__l" u-p="{{h}}"><up-input wx:if="{{g}}" class="data-v-dd28cd12" u-s="{{['prefix']}}" u-i="dd28cd12-4,dd28cd12-3" bind:__l="__l" bindupdateModelValue="{{f}}" u-p="{{g}}"><image class="data-v-dd28cd12" style="width:32rpx;height:32rpx;margin-right:18rpx;margin-top:10rpx" src="{{e}}" mode="widthFix" slot="prefix"></image></up-input></up-form-item><up-form-item wx:if="{{l}}" class="data-v-dd28cd12" u-s="{{['d']}}" u-i="dd28cd12-5,dd28cd12-0" bind:__l="__l" u-p="{{l}}"><up-input wx:if="{{k}}" class="data-v-dd28cd12" u-s="{{['prefix']}}" u-i="dd28cd12-6,dd28cd12-5" bind:__l="__l" bindupdateModelValue="{{j}}" u-p="{{k}}"><image class="data-v-dd28cd12" style="width:32rpx;height:32rpx;margin-right:18rpx;margin-top:10rpx" src="{{i}}" mode="widthFix" slot="prefix"></image></up-input></up-form-item></up-form></view><view class="tip data-v-dd28cd12"> 未注册或绑定该平台的身份证号,将帮你注册新账号,点击提交即代表你同意<text class="data-v-dd28cd12" style="color:#3680FE" bindtap="{{o}}">《隐私政策》</text></view><view class="log-btn data-v-dd28cd12" bindtap="{{p}}">提交</view></view> |
| 1 | -.login-container.data-v-bb754475{position:relative;width:100%;height:100vh;background:url(http://bxhd.crgx.net/profile/avatar/2024/09/25/bg-login_20240925112841A003.png) no-repeat;background-size:100% 100%;overflow:hidden}.login-container .title.data-v-bb754475{position:absolute;top:232rpx;left:30rpx;font-size:48rpx;line-height:64rpx;color:#fff;font-weight:500}.login-container .line.data-v-bb754475{position:absolute;top:326rpx;left:30rpx;width:40rpx;height:6rpx;background:#fff}.login-container .login-box.data-v-bb754475{width:690rpx;padding:40rpx 44rpx;background-color:#fff;z-index:10;margin:442rpx auto 40rpx;box-shadow:0 8rpx 40rpx rgba(10,22,44,.06);border-radius:40rpx}.login-container .login-box .employeeStatus.data-v-bb754475{display:flex;align-items:center;gap:40rpx;margin-top:30rpx}.login-container .login-box .employeeStatus .btn.data-v-bb754475{flex:1;height:80rpx;background:#fff;border-radius:200rpx;border:2rpx solid #BBBBBB;font-size:28rpx;text-align:center;line-height:80rpx;color:#999}.login-container .login-box .employeeStatus .btn.active.data-v-bb754475{background:#75a8ff;color:#fff}.login-container .tip.data-v-bb754475{color:#666;font-size:24rpx;line-height:28rpx;padding:0 40rpx;margin-bottom:20rpx}.login-container .log-btn.data-v-bb754475{width:690rpx;height:80rpx;line-height:80rpx;text-align:center;background:#3680fe;font-size:28rpx;margin:0 auto;color:#fff;box-shadow:0 8rpx 40rpx rgba(10,22,44,.06);border-radius:200rpx}.authBtn.data-v-bb754475{width:180rpx;font-size:20rpx;margin-right:30rpx} | 1 | +.login-container.data-v-dd28cd12{position:relative;width:100%;height:100vh;background:url(http://bxhd.crgx.net/profile/avatar/2024/09/25/bg-login_20240925112841A003.png) no-repeat;background-size:100% 100%;overflow:hidden}.login-container .title.data-v-dd28cd12{position:absolute;top:232rpx;left:30rpx;font-size:48rpx;line-height:64rpx;color:#fff;font-weight:500}.login-container .line.data-v-dd28cd12{position:absolute;top:326rpx;left:30rpx;width:40rpx;height:6rpx;background:#fff}.login-container .login-box.data-v-dd28cd12{width:690rpx;padding:40rpx 44rpx;background-color:#fff;z-index:10;margin:442rpx auto 40rpx;box-shadow:0 8rpx 40rpx rgba(10,22,44,.06);border-radius:40rpx}.login-container .login-box .employeeStatus.data-v-dd28cd12{display:flex;align-items:center;gap:40rpx;margin-top:30rpx}.login-container .login-box .employeeStatus .btn.data-v-dd28cd12{flex:1;height:80rpx;background:#fff;border-radius:200rpx;border:2rpx solid #BBBBBB;font-size:28rpx;text-align:center;line-height:80rpx;color:#999}.login-container .login-box .employeeStatus .btn.active.data-v-dd28cd12{background:#75a8ff;color:#fff}.login-container .tip.data-v-dd28cd12{color:#666;font-size:24rpx;line-height:28rpx;padding:0 40rpx;margin-bottom:20rpx}.login-container .log-btn.data-v-dd28cd12{width:690rpx;height:80rpx;line-height:80rpx;text-align:center;background:#3680fe;font-size:28rpx;margin:0 auto;color:#fff;box-shadow:0 8rpx 40rpx rgba(10,22,44,.06);border-radius:200rpx}.authBtn.data-v-dd28cd12{width:180rpx;font-size:20rpx;margin-right:30rpx} |
| 1 | -"use strict";const e=require("../../common/vendor.js"),o=require("../../common/assets.js"),r=require("../../api/user.js"),t=require("../../api/work.js"),n=require("../../store/modules/user.js"),a=require("../../utils/storage.js");if(!Array){(e.resolveComponent("up-navbar")+e.resolveComponent("u-icon")+e.resolveComponent("up-input")+e.resolveComponent("up-form-item")+e.resolveComponent("up-form")+e.resolveComponent("up-empty")+e.resolveComponent("up-parse")+e.resolveComponent("up-popup")+e.resolveComponent("up-modal"))()}Math||((()=>"../../uni_modules/uview-plus/components/u-navbar/u-navbar.js")+(()=>"../../uni_modules/uview-plus/components/u-icon/u-icon.js")+(()=>"../../uni_modules/uview-plus/components/u-input/u-input.js")+(()=>"../../uni_modules/uview-plus/components/u-form-item/u-form-item.js")+(()=>"../../uni_modules/uview-plus/components/u-form/u-form.js")+i+u+s+(()=>"../../uni_modules/uview-plus/components/u-empty/u-empty.js")+(()=>"../../uni_modules/uview-plus/components/u-parse/u-parse.js")+(()=>"../../uni_modules/uview-plus/components/u-popup/u-popup.js")+(()=>"../../uni_modules/uview-plus/components/u-modal/u-modal.js"))();const s=()=>"../../components/carCard.js",u=()=>"../../components/centerLine.js",i=()=>"../../components/navTop.js",l={__name:"my",setup(s){const{userInfo:u,Logout:i,getUser:l}=n.useUserStore(),p=e.ref([]),c=e.ref(!1),m=e.ref({color:"#fff",fontWeight:500}),d=e.ref(!1),g=e.ref(""),f=e.ref("0"),v=e.reactive({pageNum:1,pageSize:20,type:1}),b={height:"80rpx",backgroundColor:"#F9F9F9",paddingLeft:"40rpx"},h={color:"#bbb",fontSize:"28rpx"},x=e.ref(null),y={nickName:[{required:!0,message:"请输入姓名",trigger:["blur","change"]},{min:2,max:6,message:"名字应在2到6个字",trigger:["blur","change"]},{validator:(o,r,t)=>e.index.$u.test.chinese(r),message:"请输入中文",trigger:["change","blur"]}],identificationNumber:[{required:!0,message:"请输入身份证号",trigger:["blur","change"]},{validator:(o,r,t)=>e.index.$u.test.idCard(r),message:"身份证号码不正确",trigger:["change","blur"]}],phonenumber:[{required:!0,message:"请输入手机号",trigger:["blur","change"]},{validator:(o,r,t)=>e.index.$u.test.mobile(r),message:"手机号码不正确",trigger:["change","blur"]}]},w=o=>{o.detail.code?r.getPhome(o.detail.code).then((e=>{u.phonenumber=e.msg})):e.index.$u.toast("已取消授权,不能进行操作")};e.onReady((()=>{x.value.setRules(y)}));const _=async()=>{await r.userCancel(),a.storage.remove("crgx_token"),a.storage.remove("crgx_userInfo"),await l(),e.index.$u.toast("注销成功"),e.index.redirectTo({url:"/pages/realName/realName"})},C=async()=>{const{data:o}=await t.queryMyList({pageNum:1,pageSize:20,type:0}),{data:r}=await t.queryMyList(v);p.value=[...o.rows,...r.rows],f.value=(o.total+r.total).toString(),"0"!==f.value?e.index.setTabBarBadge({index:1,text:f.value}):e.index.removeTabBarBadge({index:1})},j=()=>{x.value.validate().then((async o=>{o?(await r.updateUserInfo(u),await l(),e.index.$u.toast("更新成功")):e.index.$u.toast("校验失败")})).catch((()=>{e.index.$u.toast("校验失败")}))};return e.onShow((()=>{C()})),(r,n)=>({a:e.p({placeholder:!0,leftIconSize:0,title:"我的",titleStyle:m.value,bgColor:"transparent"}),b:o._imports_0$3,c:e.p({name:"checkmark-circle",size:"16",color:"#fff"}),d:e.o(j),e:o._imports_0$1,f:e.o((o=>e.unref(u).nickName=o)),g:e.p({shape:"circle",border:"none",fontSize:"28rpx",color:"#bbb",placeholderStyle:h,customStyle:b,placeholder:"请输入真实姓名",modelValue:e.unref(u).nickName}),h:e.p({prop:"nickName"}),i:o._imports_1$1,j:e.o((o=>e.unref(u).identificationNumber=o)),k:e.p({type:"idcard",shape:"circle",border:"none",fontSize:"28rpx",color:"#bbb",placeholderStyle:h,customStyle:b,placeholder:"请输入身份证号",modelValue:e.unref(u).identificationNumber}),l:e.p({prop:"identificationNumber"}),m:o._imports_2,n:e.o(w),o:e.o((o=>e.unref(u).phonenumber=o)),p:e.p({disabled:!0,shape:"circle",border:"none",fontSize:"28rpx",color:"#bbb",placeholderStyle:h,customStyle:b,placeholder:"请输入手机号码",modelValue:e.unref(u).phonenumber}),q:e.p({prop:"phonenumber"}),r:e.sr(x,"1ede688c-2",{k:"userFormRef"}),s:e.p({model:e.unref(u)}),t:e.f(p.value,((o,r,n)=>({a:"1ede688c-10-"+n+",1ede688c-9-"+n,b:e.p({carNum:o.licensePlateNumber}),c:"1ede688c-11-"+n+",1ede688c-9-"+n,d:e.p({leftContent:o.frameNumber,fontColor:"#999",rightContent:o.engineNumber}),e:e.o((r=>{return t=o.businessKey,n=o.taskId,void e.index.navigateTo({url:`/pages/carDetail/carDetail?carInfoId=${t}&taskId=${n}`});var t,n}),o.taskId),f:e.o((r=>(async o=>{await t.disposeUser({reregistration:"false"},o),e.index.$u.toast("已放弃修改"),C()})(o.taskId)),o.taskId),g:e.o((e=>(async e=>{const{data:o}=await t.queryDefeatContent({processInstanceId:e,type:1});g.value=o.message,d.value=!0})(o.processInstanceId)),o.taskId),h:o.taskId,i:"1ede688c-9-"+n,j:e.p({tipContent:"等待修改",carInfo:o})}))),v:e.p({show:0==p.value.length,mode:"list",text:"暂无待办事项"}),w:e.o((e=>c.value=!0)),x:e.p({content:g.value}),y:e.o((e=>d.value=!1)),z:e.o((e=>d.value=!1)),A:e.p({show:d.value,mode:"center",safeAreaInsetBottom:!1,round:"20"}),B:o._imports_4,C:e.o(_),D:e.o((e=>c.value=!1)),E:e.p({show:c.value,title:"注销提示",showCancelButton:!0})})}},p=e._export_sfc(l,[["__scopeId","data-v-1ede688c"]]);wx.createPage(p); | 1 | +"use strict";const e=require("../../common/vendor.js"),o=require("../../common/assets.js"),r=require("../../api/user.js"),t=require("../../api/work.js"),n=require("../../store/modules/user.js"),a=require("../../utils/storage.js");if(!Array){(e.resolveComponent("up-navbar")+e.resolveComponent("u-icon")+e.resolveComponent("up-input")+e.resolveComponent("up-form-item")+e.resolveComponent("up-form")+e.resolveComponent("up-empty")+e.resolveComponent("up-parse")+e.resolveComponent("up-popup")+e.resolveComponent("up-modal"))()}Math||((()=>"../../uni_modules/uview-plus/components/u-navbar/u-navbar.js")+(()=>"../../uni_modules/uview-plus/components/u-icon/u-icon.js")+(()=>"../../uni_modules/uview-plus/components/u-input/u-input.js")+(()=>"../../uni_modules/uview-plus/components/u-form-item/u-form-item.js")+(()=>"../../uni_modules/uview-plus/components/u-form/u-form.js")+i+u+s+(()=>"../../uni_modules/uview-plus/components/u-empty/u-empty.js")+(()=>"../../uni_modules/uview-plus/components/u-parse/u-parse.js")+(()=>"../../uni_modules/uview-plus/components/u-popup/u-popup.js")+(()=>"../../uni_modules/uview-plus/components/u-modal/u-modal.js"))();const s=()=>"../../components/carCard.js",u=()=>"../../components/centerLine.js",i=()=>"../../components/navTop.js",l={__name:"my",setup(s){const{userInfo:u,Logout:i,getUser:l}=n.useUserStore(),p=e.ref([]),m=e.ref(!1),c=e.ref({color:"#fff",fontWeight:500}),d=e.ref(!1),g=e.ref(""),f=e.ref("0"),v=e.reactive({pageNum:1,pageSize:20,type:1}),b={height:"80rpx",backgroundColor:"#F9F9F9",paddingLeft:"40rpx"},h={color:"#bbb",fontSize:"28rpx"},y=e.ref(null),x={nickName:[{required:!0,message:"请输入姓名",trigger:["blur","change"]},{min:2,max:6,message:"名字应在2到6个字",trigger:["blur","change"]},{validator:(o,r,t)=>e.index.$u.test.chinese(r),message:"请输入中文",trigger:["change","blur"]}],identificationNumber:[{required:!0,message:"请输入身份证号",trigger:["blur","change"]},{validator:(o,r,t)=>e.index.$u.test.idCard(r),message:"身份证号码不正确",trigger:["change","blur"]}],phonenumber:[{required:!0,message:"请输入手机号",trigger:["blur","change"]},{validator:(o,r,t)=>e.index.$u.test.mobile(r),message:"手机号码不正确",trigger:["change","blur"]}]};e.onReady((()=>{y.value.setRules(x)}));const w=async()=>{await r.userCancel(),a.storage.remove("crgx_token"),a.storage.remove("crgx_userInfo"),await l(),e.index.$u.toast("注销成功"),e.index.redirectTo({url:"/pages/realName/realName"})},_=async()=>{const{data:o}=await t.queryMyList({pageNum:1,pageSize:20,type:0}),{data:r}=await t.queryMyList(v);p.value=[...o.rows,...r.rows],f.value=(o.total+r.total).toString(),"0"!==f.value?e.index.setTabBarBadge({index:1,text:f.value}):e.index.removeTabBarBadge({index:1})},C=()=>{y.value.validate().then((async o=>{o?(await r.updateUserInfo(u),await l(),e.index.$u.toast("更新成功")):e.index.$u.toast("校验失败")})).catch((()=>{e.index.$u.toast("校验失败")}))};return e.onShow((()=>{_()})),(r,n)=>({a:e.p({placeholder:!0,leftIconSize:0,title:"我的",titleStyle:c.value,bgColor:"transparent"}),b:o._imports_0$3,c:e.p({name:"checkmark-circle",size:"16",color:"#fff"}),d:e.o(C),e:o._imports_0$1,f:e.o((o=>e.unref(u).nickName=o)),g:e.p({shape:"circle",border:"none",fontSize:"28rpx",color:"#bbb",placeholderStyle:h,customStyle:b,placeholder:"请输入真实姓名",modelValue:e.unref(u).nickName}),h:e.p({prop:"nickName"}),i:o._imports_1$1,j:e.o((o=>e.unref(u).identificationNumber=o)),k:e.p({type:"idcard",shape:"circle",border:"none",fontSize:"28rpx",color:"#bbb",placeholderStyle:h,customStyle:b,placeholder:"请输入身份证号",modelValue:e.unref(u).identificationNumber}),l:e.p({prop:"identificationNumber"}),m:o._imports_2,n:e.o((o=>e.unref(u).phonenumber=o)),o:e.p({shape:"circle",border:"none",fontSize:"28rpx",color:"#bbb",placeholderStyle:h,customStyle:b,placeholder:"请输入手机号码",modelValue:e.unref(u).phonenumber}),p:e.p({prop:"phonenumber"}),q:e.sr(y,"38594849-2",{k:"userFormRef"}),r:e.p({model:e.unref(u)}),s:e.f(p.value,((o,r,n)=>({a:"38594849-10-"+n+",38594849-9-"+n,b:e.p({carNum:o.licensePlateNumber}),c:"38594849-11-"+n+",38594849-9-"+n,d:e.p({leftContent:o.frameNumber,fontColor:"#999",rightContent:o.engineNumber}),e:e.o((r=>{return t=o.businessKey,n=o.taskId,void e.index.navigateTo({url:`/pages/carDetail/carDetail?carInfoId=${t}&taskId=${n}`});var t,n}),o.taskId),f:e.o((r=>(async o=>{await t.disposeUser({reregistration:"false"},o),e.index.$u.toast("已放弃修改"),_()})(o.taskId)),o.taskId),g:e.o((e=>(async e=>{const{data:o}=await t.queryDefeatContent({processInstanceId:e,type:1});g.value=o.message,d.value=!0})(o.processInstanceId)),o.taskId),h:o.taskId,i:"38594849-9-"+n,j:e.p({tipContent:"等待修改",carInfo:o})}))),t:e.p({show:0==p.value.length,mode:"list",text:"暂无待办事项"}),v:e.o((e=>m.value=!0)),w:e.p({content:g.value}),x:e.o((e=>d.value=!1)),y:e.o((e=>d.value=!1)),z:e.p({show:d.value,mode:"center",safeAreaInsetBottom:!1,round:"20"}),A:o._imports_4,B:e.o(w),C:e.o((e=>m.value=!1)),D:e.p({show:m.value,title:"注销提示",showCancelButton:!0})})}},p=e._export_sfc(l,[["__scopeId","data-v-38594849"]]);wx.createPage(p); |
| 1 | -<view class="app-container data-v-1ede688c"><up-navbar wx:if="{{a}}" class="data-v-1ede688c" u-i="1ede688c-0" bind:__l="__l" u-p="{{a}}"/><view class="bg_1_bx data-v-1ede688c"><image class="bg_2 data-v-1ede688c" src="{{b}}" mode="widthFix"></image></view><view class="car_list data-v-1ede688c"><view class="line_title data-v-1ede688c"><text class="left_title data-v-1ede688c" style="color:#fff"></text><view class="data-v-1ede688c" style="display:flex;align-items:center"><u-icon wx:if="{{c}}" class="data-v-1ede688c" u-i="1ede688c-1" bind:__l="__l" u-p="{{c}}"></u-icon><text class="data-v-1ede688c" style="color:#fff;margin-left:10rpx" bindtap="{{d}}">更新实名信息</text></view></view><view class="user-box data-v-1ede688c"><up-form wx:if="{{s}}" class="r data-v-1ede688c" u-s="{{['d']}}" u-r="userFormRef" u-i="1ede688c-2" bind:__l="__l" u-p="{{s}}"><up-form-item wx:if="{{h}}" class="data-v-1ede688c" u-s="{{['d']}}" u-i="1ede688c-3,1ede688c-2" bind:__l="__l" u-p="{{h}}"><up-input wx:if="{{g}}" class="data-v-1ede688c" u-s="{{['prefix']}}" u-i="1ede688c-4,1ede688c-3" bind:__l="__l" bindupdateModelValue="{{f}}" u-p="{{g}}"><image class="data-v-1ede688c" style="width:32rpx;height:32rpx;margin-right:18rpx;margin-top:10rpx" src="{{e}}" mode="widthFix" slot="prefix"></image></up-input></up-form-item><up-form-item wx:if="{{l}}" class="data-v-1ede688c" u-s="{{['d']}}" u-i="1ede688c-5,1ede688c-2" bind:__l="__l" u-p="{{l}}"><up-input wx:if="{{k}}" class="data-v-1ede688c" u-s="{{['prefix']}}" u-i="1ede688c-6,1ede688c-5" bind:__l="__l" bindupdateModelValue="{{j}}" u-p="{{k}}"><image class="data-v-1ede688c" style="width:32rpx;height:32rpx;margin-right:18rpx;margin-top:10rpx" src="{{i}}" mode="widthFix" slot="prefix"></image></up-input></up-form-item><up-form-item wx:if="{{q}}" class="data-v-1ede688c" u-s="{{['d']}}" u-i="1ede688c-7,1ede688c-2" bind:__l="__l" u-p="{{q}}"><up-input wx:if="{{p}}" class="data-v-1ede688c" u-s="{{['prefix','suffix']}}" u-i="1ede688c-8,1ede688c-7" bind:__l="__l" bindupdateModelValue="{{o}}" u-p="{{p}}"><image class="data-v-1ede688c" style="width:32rpx;height:32rpx;margin-right:18rpx;margin-top:10rpx" src="{{m}}" mode="widthFix" slot="prefix"></image><button class="authBtn data-v-1ede688c" open-type="getPhoneNumber" bindgetphonenumber="{{n}}" slot="suffix">已废弃,重新绑定</button></up-input></up-form-item></up-form></view><view class="line_title data-v-1ede688c"><text class="left_title data-v-1ede688c">我的待办</text><text class="data-v-1ede688c">去修改车辆信息</text></view><view class="car_box data-v-1ede688c"><car-card wx:for="{{t}}" wx:for-item="carItem" wx:key="h" class="data-v-1ede688c" u-s="{{['header','center','footer']}}" u-i="{{carItem.i}}" bind:__l="__l" u-p="{{carItem.j}}"><nav-top class="data-v-1ede688c" u-i="{{carItem.a}}" bind:__l="__l" u-p="{{carItem.b}}" slot="header"/><center-line class="data-v-1ede688c" u-i="{{carItem.c}}" bind:__l="__l" u-p="{{carItem.d}}" slot="center"></center-line><view class="data-v-1ede688c" style="display:flex;gap:30rpx" slot="footer"><view class="data-v-1ede688c" style="color:#3680FE;font-size:24rpx" bindtap="{{carItem.e}}">修改提交</view><view class="data-v-1ede688c" style="color:#3680FE;font-size:24rpx" bindtap="{{carItem.f}}">放弃修改</view><view class="data-v-1ede688c" style="color:#3680FE;font-size:24rpx" bindtap="{{carItem.g}}">查看退回原因</view></view></car-card><up-empty wx:if="{{v}}" class="data-v-1ede688c" u-i="1ede688c-12" bind:__l="__l" u-p="{{v}}"/></view><view class="loginBtn data-v-1ede688c" bindtap="{{w}}">注销信息</view></view><up-popup wx:if="{{A}}" class="data-v-1ede688c" u-s="{{['d']}}" bindclose="{{z}}" u-i="1ede688c-13" bind:__l="__l" u-p="{{A}}"><view class="notice data-v-1ede688c"><view class="notice_title data-v-1ede688c">退回原因</view><view class="notice_content data-v-1ede688c"><up-parse wx:if="{{x}}" class="data-v-1ede688c" u-i="1ede688c-14,1ede688c-13" bind:__l="__l" u-p="{{x}}"></up-parse></view><view class="btn data-v-1ede688c" bindtap="{{y}}">确认</view></view></up-popup><view class="bg_bx data-v-1ede688c"><image class="bgImg data-v-1ede688c" src="{{B}}" mode="widthFix"></image></view><up-modal wx:if="{{E}}" class="data-v-1ede688c" u-s="{{['d']}}" bindconfirm="{{C}}" bindcancel="{{D}}" u-i="1ede688c-15" bind:__l="__l" u-p="{{E}}"><view class="signOut data-v-1ede688c"><text class="data-v-1ede688c">1、注销帐号是不可恢复的操作,你应自行备份本平台帐号相关的信息和数据。操作之前,请确认与本平台帐号相关的所有服务均已进行妥善处理。</text><text class="data-v-1ede688c">2、注销帐号,你将无法再使用本平台帐号或找回你添加或绑定的任何内容或信息(即使你使用相同的手机号码再次注册并使用本平台)</text><text class="data-v-1ede688c">3、注销后将删除你在该平台的所有信息,本平台不会帮你备份数据,是否确认注销</text></view></up-modal></view> | ||
| 1 | +<view class="app-container data-v-38594849"><up-navbar wx:if="{{a}}" class="data-v-38594849" u-i="38594849-0" bind:__l="__l" u-p="{{a}}"/><view class="bg_1_bx data-v-38594849"><image class="bg_2 data-v-38594849" src="{{b}}" mode="widthFix"></image></view><view class="car_list data-v-38594849"><view class="line_title data-v-38594849"><text class="left_title data-v-38594849" style="color:#fff"></text><view class="data-v-38594849" style="display:flex;align-items:center"><u-icon wx:if="{{c}}" class="data-v-38594849" u-i="38594849-1" bind:__l="__l" u-p="{{c}}"></u-icon><text class="data-v-38594849" style="color:#fff;margin-left:10rpx" bindtap="{{d}}">更新实名信息</text></view></view><view class="user-box data-v-38594849"><up-form wx:if="{{r}}" class="r data-v-38594849" u-s="{{['d']}}" u-r="userFormRef" u-i="38594849-2" bind:__l="__l" u-p="{{r}}"><up-form-item wx:if="{{h}}" class="data-v-38594849" u-s="{{['d']}}" u-i="38594849-3,38594849-2" bind:__l="__l" u-p="{{h}}"><up-input wx:if="{{g}}" class="data-v-38594849" u-s="{{['prefix']}}" u-i="38594849-4,38594849-3" bind:__l="__l" bindupdateModelValue="{{f}}" u-p="{{g}}"><image class="data-v-38594849" style="width:32rpx;height:32rpx;margin-right:18rpx;margin-top:10rpx" src="{{e}}" mode="widthFix" slot="prefix"></image></up-input></up-form-item><up-form-item wx:if="{{l}}" class="data-v-38594849" u-s="{{['d']}}" u-i="38594849-5,38594849-2" bind:__l="__l" u-p="{{l}}"><up-input wx:if="{{k}}" class="data-v-38594849" u-s="{{['prefix']}}" u-i="38594849-6,38594849-5" bind:__l="__l" bindupdateModelValue="{{j}}" u-p="{{k}}"><image class="data-v-38594849" style="width:32rpx;height:32rpx;margin-right:18rpx;margin-top:10rpx" src="{{i}}" mode="widthFix" slot="prefix"></image></up-input></up-form-item><up-form-item wx:if="{{p}}" class="data-v-38594849" u-s="{{['d']}}" u-i="38594849-7,38594849-2" bind:__l="__l" u-p="{{p}}"><up-input wx:if="{{o}}" class="data-v-38594849" u-s="{{['prefix']}}" u-i="38594849-8,38594849-7" bind:__l="__l" bindupdateModelValue="{{n}}" u-p="{{o}}"><image class="data-v-38594849" style="width:32rpx;height:32rpx;margin-right:18rpx;margin-top:10rpx" src="{{m}}" mode="widthFix" slot="prefix"></image></up-input></up-form-item></up-form></view><view class="line_title data-v-38594849"><text class="left_title data-v-38594849">我的待办</text><text class="data-v-38594849">去修改车辆信息</text></view><view class="car_box data-v-38594849"><car-card wx:for="{{s}}" wx:for-item="carItem" wx:key="h" class="data-v-38594849" u-s="{{['header','center','footer']}}" u-i="{{carItem.i}}" bind:__l="__l" u-p="{{carItem.j}}"><nav-top class="data-v-38594849" u-i="{{carItem.a}}" bind:__l="__l" u-p="{{carItem.b}}" slot="header"/><center-line class="data-v-38594849" u-i="{{carItem.c}}" bind:__l="__l" u-p="{{carItem.d}}" slot="center"></center-line><view class="data-v-38594849" style="display:flex;gap:30rpx" slot="footer"><view class="data-v-38594849" style="color:#3680FE;font-size:24rpx" bindtap="{{carItem.e}}">修改提交</view><view class="data-v-38594849" style="color:#3680FE;font-size:24rpx" bindtap="{{carItem.f}}">放弃修改</view><view class="data-v-38594849" style="color:#3680FE;font-size:24rpx" bindtap="{{carItem.g}}">查看退回原因</view></view></car-card><up-empty wx:if="{{t}}" class="data-v-38594849" u-i="38594849-12" bind:__l="__l" u-p="{{t}}"/></view><view class="loginBtn data-v-38594849" bindtap="{{v}}">注销信息</view></view><up-popup wx:if="{{z}}" class="data-v-38594849" u-s="{{['d']}}" bindclose="{{y}}" u-i="38594849-13" bind:__l="__l" u-p="{{z}}"><view class="notice data-v-38594849"><view class="notice_title data-v-38594849">退回原因</view><view class="notice_content data-v-38594849"><up-parse wx:if="{{w}}" class="data-v-38594849" u-i="38594849-14,38594849-13" bind:__l="__l" u-p="{{w}}"></up-parse></view><view class="btn data-v-38594849" bindtap="{{x}}">确认</view></view></up-popup><view class="bg_bx data-v-38594849"><image class="bgImg data-v-38594849" src="{{A}}" mode="widthFix"></image></view><up-modal wx:if="{{D}}" class="data-v-38594849" u-s="{{['d']}}" bindconfirm="{{B}}" bindcancel="{{C}}" u-i="38594849-15" bind:__l="__l" u-p="{{D}}"><view class="signOut data-v-38594849"><text class="data-v-38594849">1、注销帐号是不可恢复的操作,你应自行备份本平台帐号相关的信息和数据。操作之前,请确认与本平台帐号相关的所有服务均已进行妥善处理。</text><text class="data-v-38594849">2、注销帐号,你将无法再使用本平台帐号或找回你添加或绑定的任何内容或信息(即使你使用相同的手机号码再次注册并使用本平台)</text><text class="data-v-38594849">3、注销后将删除你在该平台的所有信息,本平台不会帮你备份数据,是否确认注销</text></view></up-modal></view> |
| 1 | -.app-container.data-v-1ede688c{position:relative;width:100%;min-height:100vh;padding:0 30rpx;background:url(http://bxhd.crgx.net/profile/avatar/2024/09/25/bg-index_20240925113012A004.png) no-repeat;background-size:100% 100%;overflow:hidden;background-attachment:fixed}.app-container .user-box.data-v-1ede688c{width:690rpx;padding:40rpx 44rpx;background-color:#fff;z-index:10;margin:0 auto 40rpx;box-shadow:0 8rpx 40rpx rgba(10,22,44,.06);border-radius:40rpx}.app-container .car_list.data-v-1ede688c{position:relative;display:flex;flex-direction:column;z-index:10;gap:20rpx}.app-container .car_list .line_title.data-v-1ede688c{display:flex;justify-content:space-between;font-size:24rpx;color:#999;line-height:32rpx}.app-container .car_list .line_title .left_title.data-v-1ede688c{font-size:32rpx;line-height:42rpx;color:#333}.app-container .car_list .car_data.data-v-1ede688c{padding:0 30rpx;background:#fff;box-shadow:0 8rpx 40rpx rgba(10,22,44,.06);border-radius:40rpx;margin-bottom:60rpx}.app-container .car_list .car_data .car_item.data-v-1ede688c{padding:30rpx 0;border-bottom:2rpx solid #eee}.app-container .car_list .car_data .car_item.data-v-1ede688c:last-child{border-bottom:0}.app-container .car_list .loginBtn.data-v-1ede688c{width:100%;height:80rpx;line-height:80rpx;text-align:center;font-size:28rpx;color:#fff;font-weight:500;background:#3680fe;box-shadow:0 8rpx 40rpx rgba(10,22,44,.06);border-radius:40rpx}.signOut.data-v-1ede688c{display:flex;flex-direction:column;text-indent:2em;font-size:28rpx;line-height:32rpx;color:#333}.authBtn.data-v-1ede688c{width:210rpx;font-size:20rpx;margin-right:30rpx}.notice.data-v-1ede688c{position:relative;width:690rpx;height:auto;max-height:600rpx;min-height:200rpx;background:#fff;padding:40rpx 30rpx 0;border-radius:20rpx;overflow:hidden}.notice .notice_title.data-v-1ede688c{text-align:center;font-size:36rpx;line-height:48rpx;color:#3d3d3d;margin-bottom:40rpx}.notice .notice_content.data-v-1ede688c{font-size:28rpx;line-height:38rpx;height:auto;min-height:200rpx;max-height:375rpx;color:#999;overflow-y:scroll;padding-bottom:100rpx}.notice .notice_content image.data-v-1ede688c{width:100%}.notice .btn.data-v-1ede688c{position:absolute;bottom:0;left:0;width:100%;line-height:100rpx;text-align:center;height:100rpx;color:#3680fe;font-size:28rpx;background-color:#fff;border-top:2rpx solid #eee}.bg_bx.data-v-1ede688c{position:fixed;bottom:100rpx;left:50%;transform:translate(-50%)}.bg_bx .bgImg.data-v-1ede688c{width:400rpx}.bg_1_bx.data-v-1ede688c{position:absolute;left:30rpx;top:90rpx}.bg_1_bx .bg_2.data-v-1ede688c{width:120rpx}.car_box.data-v-1ede688c{display:flex;flex-direction:column;height:300rpx;gap:20rpx;overflow-y:scroll} | 1 | +.app-container.data-v-38594849{position:relative;width:100%;min-height:100vh;padding:0 30rpx;background:url(http://bxhd.crgx.net/profile/avatar/2024/09/25/bg-index_20240925113012A004.png) no-repeat;background-size:100% 100%;overflow:hidden;background-attachment:fixed}.app-container .user-box.data-v-38594849{width:690rpx;padding:40rpx 44rpx;background-color:#fff;z-index:10;margin:0 auto 40rpx;box-shadow:0 8rpx 40rpx rgba(10,22,44,.06);border-radius:40rpx}.app-container .car_list.data-v-38594849{position:relative;display:flex;flex-direction:column;z-index:10;gap:20rpx}.app-container .car_list .line_title.data-v-38594849{display:flex;justify-content:space-between;font-size:24rpx;color:#999;line-height:32rpx}.app-container .car_list .line_title .left_title.data-v-38594849{font-size:32rpx;line-height:42rpx;color:#333}.app-container .car_list .car_data.data-v-38594849{padding:0 30rpx;background:#fff;box-shadow:0 8rpx 40rpx rgba(10,22,44,.06);border-radius:40rpx;margin-bottom:60rpx}.app-container .car_list .car_data .car_item.data-v-38594849{padding:30rpx 0;border-bottom:2rpx solid #eee}.app-container .car_list .car_data .car_item.data-v-38594849:last-child{border-bottom:0}.app-container .car_list .loginBtn.data-v-38594849{width:100%;height:80rpx;line-height:80rpx;text-align:center;font-size:28rpx;color:#fff;font-weight:500;background:#3680fe;box-shadow:0 8rpx 40rpx rgba(10,22,44,.06);border-radius:40rpx}.signOut.data-v-38594849{display:flex;flex-direction:column;text-indent:2em;font-size:28rpx;line-height:32rpx;color:#333}.authBtn.data-v-38594849{width:210rpx;font-size:20rpx;margin-right:30rpx}.notice.data-v-38594849{position:relative;width:690rpx;height:auto;max-height:600rpx;min-height:200rpx;background:#fff;padding:40rpx 30rpx 0;border-radius:20rpx;overflow:hidden}.notice .notice_title.data-v-38594849{text-align:center;font-size:36rpx;line-height:48rpx;color:#3d3d3d;margin-bottom:40rpx}.notice .notice_content.data-v-38594849{font-size:28rpx;line-height:38rpx;height:auto;min-height:200rpx;max-height:375rpx;color:#999;overflow-y:scroll;padding-bottom:100rpx}.notice .notice_content image.data-v-38594849{width:100%}.notice .btn.data-v-38594849{position:absolute;bottom:0;left:0;width:100%;line-height:100rpx;text-align:center;height:100rpx;color:#3680fe;font-size:28rpx;background-color:#fff;border-top:2rpx solid #eee}.bg_bx.data-v-38594849{position:fixed;bottom:100rpx;left:50%;transform:translate(-50%)}.bg_bx .bgImg.data-v-38594849{width:400rpx}.bg_1_bx.data-v-38594849{position:absolute;left:30rpx;top:90rpx}.bg_1_bx .bg_2.data-v-38594849{width:120rpx}.car_box.data-v-38594849{display:flex;flex-direction:column;height:300rpx;gap:20rpx;overflow-y:scroll} |
| 1 | -"use strict";const e=require("../../common/vendor.js"),r=require("../../common/assets.js"),o=require("../../api/user.js"),i=require("../../store/modules/user.js"),t=require("../../utils/storage.js");require("../../uni_modules/uview-plus/index.js");const n=require("../../uni_modules/uview-plus/libs/function/test.js");if(!Array){(e.resolveComponent("up-input")+e.resolveComponent("up-form-item")+e.resolveComponent("up-form"))()}Math||((()=>"../../uni_modules/uview-plus/components/u-input/u-input.js")+(()=>"../../uni_modules/uview-plus/components/u-form-item/u-form-item.js")+(()=>"../../uni_modules/uview-plus/components/u-form/u-form.js"))();const s={__name:"realName",setup(s){const{userInfo:u,login:a,getUser:l}=i.useUserStore(),p=e.ref(null),m={nickName:[{required:!0,message:"请输入姓名",trigger:["blur"]},{min:2,max:6,message:"名字应在2到6个字",trigger:["blur"]},{validator:(e,r,o)=>n.test.chinese(r),message:"请输入中文",trigger:["blur"]}],identificationNumber:[{required:!0,message:"请输入身份证号",trigger:["blur"]},{validator:(e,r,o)=>n.test.idCard(r),message:"身份证号码不正确",trigger:["blur"]}],phonenumber:[{required:!0,message:"请输入手机号",trigger:["blur"]},{validator:(e,r,o)=>n.test.mobile(r),message:"手机号码不正确",trigger:["blur"]}]},d={height:"80rpx",backgroundColor:"#F9F9F9",paddingLeft:"40rpx"},c={color:"#bbb",fontSize:"28rpx"};e.onReady((()=>{p.value.setRules(m)})),e.onLoad((r=>{e.index.login({success:async r=>{await a({code:r.code,type:0});const{data:o,roleGroup:i}=await l();t.storage.set("crgx_roleGroup",i),null!==o.identificationNumber&&e.index.switchTab({url:"/pages/index/index"})}})}));const g=()=>{e.index.navigateTo({url:"/pages/privacy/privacy"})},f=r=>{r.detail.code?o.getPhome(r.detail.code).then((e=>{u.phonenumber=e.msg})):e.index.$u.toast("已取消授权,不能进行操作")},b=()=>{if(!u.phonenumber)return e.index.$u.toast("请授权获取手机号进行实名");p.value.validate().then((async r=>{r?(await o.updateUserInfo(u),await l(),e.index.switchTab({url:"/pages/index/index"})):e.index.$u.toast("校验失败")})).catch((()=>{e.index.$u.toast("校验失败")}))};return(o,i)=>({a:r._imports_0,b:r._imports_1,c:r._imports_0$1,d:e.o((r=>e.unref(u).nickName=r)),e:e.p({shape:"circle",border:"none",fontSize:"28rpx",color:"#333",placeholderStyle:c,customStyle:d,placeholder:"请输入真实姓名",modelValue:e.unref(u).nickName}),f:e.p({prop:"nickName"}),g:r._imports_1$1,h:e.o((r=>e.unref(u).identificationNumber=r)),i:e.p({shape:"circle",border:"none",fontSize:"28rpx",color:"#333",placeholderStyle:c,customStyle:d,placeholder:"请输入身份证号",modelValue:e.unref(u).identificationNumber}),j:e.p({prop:"identificationNumber"}),k:r._imports_2,l:e.o(f),m:e.o((r=>e.unref(u).phonenumber=r)),n:e.p({disabled:!0,shape:"circle",border:"none",fontSize:"28rpx",color:"#333",placeholderStyle:c,customStyle:d,placeholder:"请输入手机号码",modelValue:e.unref(u).phonenumber}),o:e.p({prop:"phonenumber"}),p:e.sr(p,"c4c34d91-0",{k:"logFormRef"}),q:e.p({model:e.unref(u)}),r:e.o(g),s:e.o(b)})}},u=e._export_sfc(s,[["__scopeId","data-v-c4c34d91"]]);wx.createPage(u); | 1 | +"use strict";const e=require("../../common/vendor.js"),r=require("../../common/assets.js"),o=require("../../api/user.js"),i=require("../../store/modules/user.js"),t=require("../../utils/storage.js");require("../../uni_modules/uview-plus/index.js");const n=require("../../uni_modules/uview-plus/libs/function/test.js");if(!Array){(e.resolveComponent("up-input")+e.resolveComponent("up-form-item")+e.resolveComponent("up-form")+e.resolveComponent("up-checkbox"))()}Math||((()=>"../../uni_modules/uview-plus/components/u-input/u-input.js")+(()=>"../../uni_modules/uview-plus/components/u-form-item/u-form-item.js")+(()=>"../../uni_modules/uview-plus/components/u-form/u-form.js")+(()=>"../../uni_modules/uview-plus/components/u-checkbox/u-checkbox.js"))();const u={__name:"realName",setup(u){const{userInfo:s,login:a,getUser:l}=i.useUserStore(),p=e.ref(null),c=e.ref(!1),m={nickName:[{required:!0,message:"请输入姓名",trigger:["blur"]},{min:2,max:6,message:"名字应在2到6个字",trigger:["blur"]},{validator:(e,r,o)=>n.test.chinese(r),message:"请输入中文",trigger:["blur"]}],identificationNumber:[{required:!0,message:"请输入身份证号",trigger:["blur"]},{validator:(e,r,o)=>n.test.idCard(r),message:"身份证号码不正确",trigger:["blur"]}],phonenumber:[{required:!0,message:"请输入手机号",trigger:["blur"]},{validator:(e,r,o)=>n.test.mobile(r),message:"手机号码不正确",trigger:["blur"]}]},d={height:"80rpx",backgroundColor:"#F9F9F9",paddingLeft:"40rpx"},g={color:"#bbb",fontSize:"28rpx"};e.onReady((()=>{p.value.setRules(m)})),e.onLoad((r=>{e.index.login({success:async r=>{await a({code:r.code,type:0});const{data:o,roleGroup:i}=await l();t.storage.set("crgx_roleGroup",i),null!==o.identificationNumber&&e.index.switchTab({url:"/pages/index/index"})}})}));const b=()=>{e.index.navigateTo({url:"/pages/privacy/privacy"})},f=()=>{if(!c.value)return e.index.$u.toast("请勾选同意隐私政策");p.value.validate().then((async r=>{r?(await o.updateUserInfo(s),await l(),e.index.switchTab({url:"/pages/index/index"})):e.index.$u.toast("校验失败")})).catch((()=>{e.index.$u.toast("校验失败")}))};return(o,i)=>({a:r._imports_0,b:r._imports_1,c:r._imports_0$1,d:e.o((r=>e.unref(s).nickName=r)),e:e.p({shape:"circle",border:"none",fontSize:"28rpx",color:"#333",placeholderStyle:g,customStyle:d,placeholder:"请输入真实姓名",modelValue:e.unref(s).nickName}),f:e.p({prop:"nickName"}),g:r._imports_1$1,h:e.o((r=>e.unref(s).identificationNumber=r)),i:e.p({shape:"circle",border:"none",fontSize:"28rpx",color:"#333",placeholderStyle:g,customStyle:d,placeholder:"请输入身份证号",modelValue:e.unref(s).identificationNumber}),j:e.p({prop:"identificationNumber"}),k:r._imports_2,l:e.o((r=>e.unref(s).phonenumber=r)),m:e.p({shape:"circle",border:"none",fontSize:"28rpx",color:"#333",placeholderStyle:g,customStyle:d,placeholder:"请输入手机号码",modelValue:e.unref(s).phonenumber}),n:e.p({prop:"phonenumber"}),o:e.sr(p,"b1248b8e-0",{k:"logFormRef"}),p:e.p({model:e.unref(s)}),q:e.o(b),r:e.o((e=>c.value=e)),s:e.p({customStyle:{marginBottom:"8px"},label:"同意《隐私政策》",name:"agree","label-color":"#666",labelSize:"24rpx",usedAlone:!0,checked:c.value}),t:e.o(f)})}},s=e._export_sfc(u,[["__scopeId","data-v-b1248b8e"]]);wx.createPage(s); |
| @@ -4,6 +4,7 @@ | @@ -4,6 +4,7 @@ | ||
| 4 | "usingComponents": { | 4 | "usingComponents": { |
| 5 | "up-input": "../../uni_modules/uview-plus/components/u-input/u-input", | 5 | "up-input": "../../uni_modules/uview-plus/components/u-input/u-input", |
| 6 | "up-form-item": "../../uni_modules/uview-plus/components/u-form-item/u-form-item", | 6 | "up-form-item": "../../uni_modules/uview-plus/components/u-form-item/u-form-item", |
| 7 | - "up-form": "../../uni_modules/uview-plus/components/u-form/u-form" | 7 | + "up-form": "../../uni_modules/uview-plus/components/u-form/u-form", |
| 8 | + "up-checkbox": "../../uni_modules/uview-plus/components/u-checkbox/u-checkbox" | ||
| 8 | } | 9 | } |
| 9 | } | 10 | } |
| 1 | -<view class="login-container data-v-c4c34d91"><view class="title data-v-c4c34d91">实名认证</view><view class="line data-v-c4c34d91"></view><view class="bg_1_bx data-v-c4c34d91"><image class="bg_2 data-v-c4c34d91" src="{{a}}" mode="widthFix"></image></view><view class="login-box data-v-c4c34d91"><view class="logo_nav data-v-c4c34d91"><image class="data-v-c4c34d91" style="width:75rpx" src="{{b}}" mode="widthFix"></image><text class="data-v-c4c34d91">广西车险投保登记平台</text></view><up-form wx:if="{{q}}" class="r data-v-c4c34d91" u-s="{{['d']}}" u-r="logFormRef" u-i="c4c34d91-0" bind:__l="__l" u-p="{{q}}"><up-form-item wx:if="{{f}}" class="data-v-c4c34d91" u-s="{{['d']}}" u-i="c4c34d91-1,c4c34d91-0" bind:__l="__l" u-p="{{f}}"><up-input wx:if="{{e}}" class="data-v-c4c34d91" u-s="{{['prefix']}}" u-i="c4c34d91-2,c4c34d91-1" bind:__l="__l" bindupdateModelValue="{{d}}" u-p="{{e}}"><image class="data-v-c4c34d91" style="width:32rpx;margin-right:18rpx;margin-top:10rpx" src="{{c}}" mode="widthFix" slot="prefix"></image></up-input></up-form-item><up-form-item wx:if="{{j}}" class="data-v-c4c34d91" u-s="{{['d']}}" u-i="c4c34d91-3,c4c34d91-0" bind:__l="__l" u-p="{{j}}"><up-input wx:if="{{i}}" class="data-v-c4c34d91" u-s="{{['prefix']}}" u-i="c4c34d91-4,c4c34d91-3" bind:__l="__l" bindupdateModelValue="{{h}}" u-p="{{i}}"><image class="data-v-c4c34d91" style="width:32rpx;margin-right:18rpx;margin-top:10rpx" src="{{g}}" mode="widthFix" slot="prefix"></image></up-input></up-form-item><up-form-item wx:if="{{o}}" class="data-v-c4c34d91" u-s="{{['d']}}" u-i="c4c34d91-5,c4c34d91-0" bind:__l="__l" u-p="{{o}}"><up-input wx:if="{{n}}" class="data-v-c4c34d91" u-s="{{['prefix','suffix']}}" u-i="c4c34d91-6,c4c34d91-5" bind:__l="__l" bindupdateModelValue="{{m}}" u-p="{{n}}"><image class="data-v-c4c34d91" style="width:32rpx;height:32rpx;margin-right:18rpx;margin-top:10rpx" src="{{k}}" mode="widthFix" slot="prefix"></image><button class="authBtn data-v-c4c34d91" open-type="getPhoneNumber" bindgetphonenumber="{{l}}" slot="suffix">获取手机号</button></up-input></up-form-item></up-form></view><view class="tip data-v-c4c34d91"> 未注册或绑定该平台的身份证号,将帮你注册新账号,点击提交即代表你同意<text class="data-v-c4c34d91" style="color:#3680FE" bindtap="{{r}}">《隐私政策》</text></view><view class="log-btn data-v-c4c34d91" bindtap="{{s}}">提交</view></view> | ||
| 1 | +<view class="login-container data-v-b1248b8e"><view class="title data-v-b1248b8e">实名认证</view><view class="line data-v-b1248b8e"></view><view class="bg_1_bx data-v-b1248b8e"><image class="bg_2 data-v-b1248b8e" src="{{a}}" mode="widthFix"></image></view><view class="login-box data-v-b1248b8e"><view class="logo_nav data-v-b1248b8e"><image class="data-v-b1248b8e" style="width:75rpx" src="{{b}}" mode="widthFix"></image><text class="data-v-b1248b8e">广西车险投保登记平台</text></view><up-form wx:if="{{p}}" class="r data-v-b1248b8e" u-s="{{['d']}}" u-r="logFormRef" u-i="b1248b8e-0" bind:__l="__l" u-p="{{p}}"><up-form-item wx:if="{{f}}" class="data-v-b1248b8e" u-s="{{['d']}}" u-i="b1248b8e-1,b1248b8e-0" bind:__l="__l" u-p="{{f}}"><up-input wx:if="{{e}}" class="data-v-b1248b8e" u-s="{{['prefix']}}" u-i="b1248b8e-2,b1248b8e-1" bind:__l="__l" bindupdateModelValue="{{d}}" u-p="{{e}}"><image class="data-v-b1248b8e" style="width:32rpx;margin-right:18rpx;margin-top:10rpx" src="{{c}}" mode="widthFix" slot="prefix"></image></up-input></up-form-item><up-form-item wx:if="{{j}}" class="data-v-b1248b8e" u-s="{{['d']}}" u-i="b1248b8e-3,b1248b8e-0" bind:__l="__l" u-p="{{j}}"><up-input wx:if="{{i}}" class="data-v-b1248b8e" u-s="{{['prefix']}}" u-i="b1248b8e-4,b1248b8e-3" bind:__l="__l" bindupdateModelValue="{{h}}" u-p="{{i}}"><image class="data-v-b1248b8e" style="width:32rpx;margin-right:18rpx;margin-top:10rpx" src="{{g}}" mode="widthFix" slot="prefix"></image></up-input></up-form-item><up-form-item wx:if="{{n}}" class="data-v-b1248b8e" u-s="{{['d']}}" u-i="b1248b8e-5,b1248b8e-0" bind:__l="__l" u-p="{{n}}"><up-input wx:if="{{m}}" class="data-v-b1248b8e" u-s="{{['prefix']}}" u-i="b1248b8e-6,b1248b8e-5" bind:__l="__l" bindupdateModelValue="{{l}}" u-p="{{m}}"><image class="data-v-b1248b8e" style="width:32rpx;height:32rpx;margin-right:18rpx;margin-top:10rpx" src="{{k}}" mode="widthFix" slot="prefix"></image></up-input></up-form-item></up-form></view><view class="tip data-v-b1248b8e"><text class="data-v-b1248b8e">未注册或绑定该平台的身份证号,将帮你注册新账号,请阅读<text class="data-v-b1248b8e" style="color:#3680FE" bindtap="{{q}}">《隐私政策》</text>并勾选后进行登录</text><up-checkbox wx:if="{{s}}" class="data-v-b1248b8e" u-i="b1248b8e-7" bind:__l="__l" bindupdateChecked="{{r}}" u-p="{{s}}"/></view><view class="log-btn data-v-b1248b8e" bindtap="{{t}}">提交</view></view> |
| 1 | -.login-container.data-v-c4c34d91{position:relative;width:100%;height:100vh;background:url(http://bxhd.crgx.net/profile/avatar/2024/09/25/bg-index_20240925113012A004.png) no-repeat;background-size:100% 100%;overflow:hidden}.login-container .title.data-v-c4c34d91{position:absolute;top:232rpx;left:30rpx;font-size:48rpx;line-height:64rpx;color:#fff;font-weight:500}.login-container .line.data-v-c4c34d91{position:absolute;top:326rpx;left:30rpx;width:40rpx;height:6rpx;background:#fff}.login-container .login-box.data-v-c4c34d91{position:relative;width:690rpx;padding:40rpx 44rpx;background-color:#fff;z-index:10;margin:442rpx auto 40rpx;box-shadow:0 8rpx 40rpx rgba(10,22,44,.06);border-radius:40rpx}.login-container .login-box .logo_nav.data-v-c4c34d91{width:100%;display:flex;align-items:center;justify-content:center;gap:20rpx;font-size:36rpx;color:#333;font-weight:500}.login-container .login-box .employeeStatus.data-v-c4c34d91{display:flex;align-items:center;gap:40rpx;margin-top:30rpx}.login-container .login-box .employeeStatus .btn.data-v-c4c34d91{flex:1;height:80rpx;background:#fff;border-radius:200rpx;border:2rpx solid #BBBBBB;font-size:28rpx;text-align:center;line-height:80rpx;color:#999}.login-container .login-box .employeeStatus .btn.active.data-v-c4c34d91{background:#75a8ff;color:#fff}.login-container .tip.data-v-c4c34d91{color:#666;font-size:24rpx;line-height:28rpx;padding:0 40rpx;margin-bottom:20rpx}.login-container .log-btn.data-v-c4c34d91{width:690rpx;height:80rpx;line-height:80rpx;text-align:center;background:#3680fe;font-size:28rpx;margin:0 auto;color:#fff;box-shadow:0 8rpx 40rpx rgba(10,22,44,.06);border-radius:200rpx}.authBtn.data-v-c4c34d91{width:180rpx;font-size:20rpx;margin-right:30rpx}.bg_1_bx.data-v-c4c34d91{position:absolute;right:52rpx;top:210rpx}.bg_1_bx .bg_2.data-v-c4c34d91{width:200rpx} | 1 | +.login-container.data-v-b1248b8e{position:relative;width:100%;height:100vh;background:url(http://bxhd.crgx.net/profile/avatar/2024/09/25/bg-index_20240925113012A004.png) no-repeat;background-size:100% 100%;overflow:hidden}.login-container .title.data-v-b1248b8e{position:absolute;top:232rpx;left:30rpx;font-size:48rpx;line-height:64rpx;color:#fff;font-weight:500}.login-container .line.data-v-b1248b8e{position:absolute;top:326rpx;left:30rpx;width:40rpx;height:6rpx;background:#fff}.login-container .login-box.data-v-b1248b8e{position:relative;width:690rpx;padding:40rpx 44rpx;background-color:#fff;z-index:10;margin:442rpx auto 40rpx;box-shadow:0 8rpx 40rpx rgba(10,22,44,.06);border-radius:40rpx}.login-container .login-box .logo_nav.data-v-b1248b8e{width:100%;display:flex;align-items:center;justify-content:center;gap:20rpx;font-size:36rpx;color:#333;font-weight:500}.login-container .login-box .employeeStatus.data-v-b1248b8e{display:flex;align-items:center;gap:40rpx;margin-top:30rpx}.login-container .login-box .employeeStatus .btn.data-v-b1248b8e{flex:1;height:80rpx;background:#fff;border-radius:200rpx;border:2rpx solid #BBBBBB;font-size:28rpx;text-align:center;line-height:80rpx;color:#999}.login-container .login-box .employeeStatus .btn.active.data-v-b1248b8e{background:#75a8ff;color:#fff}.login-container .tip.data-v-b1248b8e{color:#666;font-size:24rpx;line-height:28rpx;padding:0 40rpx;margin-bottom:20rpx}.login-container .log-btn.data-v-b1248b8e{width:690rpx;height:80rpx;line-height:80rpx;text-align:center;background:#3680fe;font-size:28rpx;margin:0 auto;color:#fff;box-shadow:0 8rpx 40rpx rgba(10,22,44,.06);border-radius:200rpx}.authBtn.data-v-b1248b8e{width:180rpx;font-size:20rpx;margin-right:30rpx}.bg_1_bx.data-v-b1248b8e{position:absolute;right:52rpx;top:210rpx}.bg_1_bx .bg_2.data-v-b1248b8e{width:200rpx} |
| 1 | -"use strict";const e=require("../../common/vendor.js"),o=require("../../common/assets.js"),r=require("../../api/user.js"),t=require("../../store/modules/tabbar.js"),n=require("../../store/modules/user.js");if(!Array){(e.resolveComponent("up-navbar")+e.resolveComponent("up-input")+e.resolveComponent("up-form-item")+e.resolveComponent("up-form")+e.resolveComponent("up-tabbar-item")+e.resolveComponent("up-tabbar"))()}Math||((()=>"../../uni_modules/uview-plus/components/u-navbar/u-navbar.js")+(()=>"../../uni_modules/uview-plus/components/u-input/u-input.js")+(()=>"../../uni_modules/uview-plus/components/u-form-item/u-form-item.js")+(()=>"../../uni_modules/uview-plus/components/u-form/u-form.js")+(()=>"../../uni_modules/uview-plus/components/u-tabbar-item/u-tabbar-item.js")+(()=>"../../uni_modules/uview-plus/components/u-tabbar/u-tabbar.js"))();const u={__name:"societyMy",setup(u){const{userInfo:s,Logout:i,getUser:a}=n.useUserStore(),l=t.useTabbarStore();e.ref(!0);const c={height:"80rpx",backgroundColor:"#F9F9F9",paddingLeft:"40rpx"},p={color:"#bbb",fontSize:"28rpx"},m=e.ref(null),d={name:[{required:!0,message:"请输入姓名",trigger:["blur","change"]},{min:2,max:6,message:"名字应在2到6个字",trigger:["blur","change"]},{validator:(o,r,t)=>e.index.$u.test.chinese(r),message:"请输入中文",trigger:["change","blur"]}],identificationNumber:[{required:!0,message:"请输入身份证号",trigger:["blur","change"]},{validator:(o,r,t)=>e.index.$u.test.idCard(r),message:"身份证号码不正确",trigger:["change","blur"]}],phonenumber:[{required:!0,message:"请输入手机号",trigger:["blur","change"]},{validator:(o,r,t)=>e.index.$u.test.mobile(r),message:"手机号码不正确",trigger:["change","blur"]}]};e.onReady((()=>{m.value.setRules(d)}));const b=o=>{o.detail.code?r.getPhome(o.detail.code).then((e=>{s.phonenumber=e.msg})):e.index.$u.toast("已取消授权,不能进行操作")},g=()=>{e.index.showModal({title:"提示",content:"是否退出登录",success:async o=>{o.confirm?(await i(),e.index.$u.toast("退出成功"),e.index.redirectTo({url:"/pages/login/login"})):o.cancel&&console.log("用户点击取消")}})},f=o=>{e.index.navigateTo({url:"/pages/societyOrder/societyOrder?type="+o})},h=o=>{l.societyCurrent=o,e.index.redirectTo({url:"/pages/societyHome/societyHome"})},v=async o=>{s.jobStatus=o,await r.updateUserInfo(s),await a(),e.index.$u.toast("更新成功")};return(r,t)=>({a:e.p({placeholder:!0,leftIconSize:0,bgColor:"transparent"}),b:o._imports_0$1,c:e.o((o=>e.unref(s).nickName=o)),d:e.p({shape:"circle",border:"none",fontSize:"28rpx",color:"#bbb",placeholderStyle:p,customStyle:c,placeholder:"请输入真实姓名",modelValue:e.unref(s).nickName}),e:e.p({prop:"name"}),f:o._imports_1$1,g:e.o((o=>e.unref(s).identificationNumber=o)),h:e.p({shape:"circle",border:"none",fontSize:"28rpx",color:"#bbb",placeholderStyle:p,customStyle:c,placeholder:"请输入身份证号",modelValue:e.unref(s).identificationNumber}),i:e.p({prop:"identificationNumber"}),j:o._imports_2,k:e.o(b),l:e.o((o=>e.unref(s).phonenumber=o)),m:e.p({disabled:!0,shape:"circle",border:"none",fontSize:"28rpx",color:"#bbb",placeholderStyle:p,customStyle:c,placeholder:"请输入手机号码",modelValue:e.unref(s).phonenumber}),n:e.p({prop:"phonenumber"}),o:e.sr(m,"908267c3-1",{k:"userFormRef"}),p:e.p({model:e.unref(s)}),q:"0"===e.unref(s).jobStatus?1:"",r:e.o((e=>v("0"))),s:"1"===e.unref(s).jobStatus?1:"",t:e.o((e=>v("1"))),v:e.o((e=>f(0))),w:e.o((e=>f(1))),x:e.o((e=>f(2))),y:e.o((e=>f(4))),z:e.o((e=>f(3))),A:e.o(g),B:e.o(h),C:e.p({text:"主页",icon:"home",badge:e.unref(l).societyTotal}),D:e.p({text:"我的",icon:"account"}),E:e.p({value:e.unref(l).societyCurrent,activeColor:"#3680FE",inactiveColor:"#707070"})})}},s=e._export_sfc(u,[["__scopeId","data-v-908267c3"]]);wx.createPage(s); | 1 | +"use strict";const e=require("../../common/vendor.js"),o=require("../../common/assets.js"),r=require("../../api/user.js"),t=require("../../store/modules/tabbar.js"),n=require("../../store/modules/user.js");if(!Array){(e.resolveComponent("up-navbar")+e.resolveComponent("up-input")+e.resolveComponent("up-form-item")+e.resolveComponent("up-form")+e.resolveComponent("up-tabbar-item")+e.resolveComponent("up-tabbar"))()}Math||((()=>"../../uni_modules/uview-plus/components/u-navbar/u-navbar.js")+(()=>"../../uni_modules/uview-plus/components/u-input/u-input.js")+(()=>"../../uni_modules/uview-plus/components/u-form-item/u-form-item.js")+(()=>"../../uni_modules/uview-plus/components/u-form/u-form.js")+(()=>"../../uni_modules/uview-plus/components/u-tabbar-item/u-tabbar-item.js")+(()=>"../../uni_modules/uview-plus/components/u-tabbar/u-tabbar.js"))();const u={__name:"societyMy",setup(u){const{userInfo:s,Logout:a,getUser:i}=n.useUserStore(),l=t.useTabbarStore();e.ref(!0);const c={height:"80rpx",backgroundColor:"#F9F9F9",paddingLeft:"40rpx"},p={color:"#bbb",fontSize:"28rpx"},m=e.ref(null),d={name:[{required:!0,message:"请输入姓名",trigger:["blur","change"]},{min:2,max:6,message:"名字应在2到6个字",trigger:["blur","change"]},{validator:(o,r,t)=>e.index.$u.test.chinese(r),message:"请输入中文",trigger:["change","blur"]}],identificationNumber:[{required:!0,message:"请输入身份证号",trigger:["blur","change"]},{validator:(o,r,t)=>e.index.$u.test.idCard(r),message:"身份证号码不正确",trigger:["change","blur"]}],phonenumber:[{required:!0,message:"请输入手机号",trigger:["blur","change"]},{validator:(o,r,t)=>e.index.$u.test.mobile(r),message:"手机号码不正确",trigger:["change","blur"]}]};e.onReady((()=>{m.value.setRules(d)}));const b=()=>{e.index.showModal({title:"提示",content:"是否退出登录",success:async o=>{o.confirm?(await a(),e.index.$u.toast("退出成功"),e.index.redirectTo({url:"/pages/login/login"})):o.cancel&&console.log("用户点击取消")}})},g=o=>{e.index.navigateTo({url:"/pages/societyOrder/societyOrder?type="+o})},f=o=>{l.societyCurrent=o,e.index.redirectTo({url:"/pages/societyHome/societyHome"})},h=async o=>{s.jobStatus=o,await r.updateUserInfo(s),await i(),e.index.$u.toast("更新成功")};return(r,t)=>({a:e.p({placeholder:!0,leftIconSize:0,bgColor:"transparent"}),b:o._imports_0$1,c:e.o((o=>e.unref(s).nickName=o)),d:e.p({shape:"circle",border:"none",fontSize:"28rpx",color:"#bbb",placeholderStyle:p,customStyle:c,placeholder:"请输入真实姓名",modelValue:e.unref(s).nickName}),e:e.p({prop:"name"}),f:o._imports_1$1,g:e.o((o=>e.unref(s).identificationNumber=o)),h:e.p({shape:"circle",border:"none",fontSize:"28rpx",color:"#bbb",placeholderStyle:p,customStyle:c,placeholder:"请输入身份证号",modelValue:e.unref(s).identificationNumber}),i:e.p({prop:"identificationNumber"}),j:o._imports_2,k:e.o((o=>e.unref(s).phonenumber=o)),l:e.p({shape:"circle",border:"none",fontSize:"28rpx",color:"#bbb",placeholderStyle:p,customStyle:c,placeholder:"请输入手机号码",modelValue:e.unref(s).phonenumber}),m:e.p({prop:"phonenumber"}),n:e.sr(m,"f5af4f77-1",{k:"userFormRef"}),o:e.p({model:e.unref(s)}),p:"0"===e.unref(s).jobStatus?1:"",q:e.o((e=>h("0"))),r:"1"===e.unref(s).jobStatus?1:"",s:e.o((e=>h("1"))),t:e.o((e=>g(0))),v:e.o((e=>g(1))),w:e.o((e=>g(2))),x:e.o((e=>g(4))),y:e.o((e=>g(3))),z:e.o(b),A:e.o(f),B:e.p({text:"主页",icon:"home",badge:e.unref(l).societyTotal}),C:e.p({text:"我的",icon:"account"}),D:e.p({value:e.unref(l).societyCurrent,activeColor:"#3680FE",inactiveColor:"#707070"})})}},s=e._export_sfc(u,[["__scopeId","data-v-f5af4f77"]]);wx.createPage(s); |
| 1 | -<view class="app-container data-v-908267c3"><up-navbar wx:if="{{a}}" class="data-v-908267c3" u-i="908267c3-0" bind:__l="__l" u-p="{{a}}"/><view class="car_list data-v-908267c3"><view class="line_title data-v-908267c3"><text class="left_title data-v-908267c3" style="color:#fff">我的信息</text><text class="data-v-908267c3" style="color:#fff">更新实名信息</text></view><view class="user-box data-v-908267c3"><up-form wx:if="{{p}}" class="r data-v-908267c3" u-s="{{['d']}}" u-r="userFormRef" u-i="908267c3-1" bind:__l="__l" u-p="{{p}}"><up-form-item wx:if="{{e}}" class="data-v-908267c3" u-s="{{['d']}}" u-i="908267c3-2,908267c3-1" bind:__l="__l" u-p="{{e}}"><up-input wx:if="{{d}}" class="data-v-908267c3" u-s="{{['prefix']}}" u-i="908267c3-3,908267c3-2" bind:__l="__l" bindupdateModelValue="{{c}}" u-p="{{d}}"><image class="data-v-908267c3" style="width:32rpx;height:32rpx;margin-right:18rpx;margin-top:10rpx" src="{{b}}" mode="widthFix" slot="prefix"></image></up-input></up-form-item><up-form-item wx:if="{{i}}" class="data-v-908267c3" u-s="{{['d']}}" u-i="908267c3-4,908267c3-1" bind:__l="__l" u-p="{{i}}"><up-input wx:if="{{h}}" class="data-v-908267c3" u-s="{{['prefix']}}" u-i="908267c3-5,908267c3-4" bind:__l="__l" bindupdateModelValue="{{g}}" u-p="{{h}}"><image class="data-v-908267c3" style="width:32rpx;height:32rpx;margin-right:18rpx;margin-top:10rpx" src="{{f}}" mode="widthFix" slot="prefix"></image></up-input></up-form-item><up-form-item wx:if="{{n}}" class="data-v-908267c3" u-s="{{['d']}}" u-i="908267c3-6,908267c3-1" bind:__l="__l" u-p="{{n}}"><up-input wx:if="{{m}}" class="data-v-908267c3" u-s="{{['prefix','suffix']}}" u-i="908267c3-7,908267c3-6" bind:__l="__l" bindupdateModelValue="{{l}}" u-p="{{m}}"><image class="data-v-908267c3" style="width:32rpx;height:32rpx;margin-right:18rpx;margin-top:10rpx" src="{{j}}" mode="widthFix" slot="prefix"></image><button class="authBtn data-v-908267c3" open-type="getPhoneNumber" bindgetphonenumber="{{k}}" slot="suffix">已废弃,重新绑定</button></up-input></up-form-item></up-form><view class="status data-v-908267c3"><view class="{{['statusBtn', 'data-v-908267c3', q && 'active']}}" bindtap="{{r}}">在岗</view><view class="{{['statusBtn', 'data-v-908267c3', s && 'active']}}" bindtap="{{t}}">离岗</view></view></view><view class="navList data-v-908267c3"><view class="navItem data-v-908267c3"><image class="data-v-908267c3" style="width:48rpx;height:48rpx" src="http://bxhd.crgx.net/profile/avatar/2024/10/12/pending_20241012174056A003.png" mode="widthFix" bindtap="{{v}}"></image><text class="data-v-908267c3">待处理</text></view><view class="navItem data-v-908267c3"><image class="data-v-908267c3" style="width:48rpx;height:48rpx" src="http://bxhd.crgx.net/profile/avatar/2024/10/12/processed_20241012173936A002.png" mode="widthFix" bindtap="{{w}}"></image><text class="data-v-908267c3">已处理</text></view><view class="navItem data-v-908267c3"><image class="data-v-908267c3" style="width:48rpx;height:48rpx" src="http://bxhd.crgx.net/profile/avatar/2024/10/12/ongoing_20241012174132A004.png" mode="widthFix" bindtap="{{x}}"></image><text class="data-v-908267c3">进行中</text></view><view class="navItem data-v-908267c3"><image class="data-v-908267c3" style="width:48rpx;height:48rpx" src="http://bxhd.crgx.net/profile/avatar/2024/10/12/deprecated_20241012174204A005.png" mode="widthFix" bindtap="{{y}}"></image><text class="data-v-908267c3">已作废</text></view><view class="navItem data-v-908267c3"><image class="data-v-908267c3" style="width:48rpx;height:48rpx" src="http://bxhd.crgx.net/profile/avatar/2024/10/12/ended_20241012174234A006.png" mode="widthFix" bindtap="{{z}}"></image><text class="data-v-908267c3">已完结</text></view></view><view class="loginBtn data-v-908267c3" bindtap="{{A}}">退出登录</view></view><up-tabbar wx:if="{{E}}" class="data-v-908267c3" u-s="{{['d']}}" u-i="908267c3-8" bind:__l="__l" u-p="{{E}}"><up-tabbar-item wx:if="{{C}}" class="data-v-908267c3" bindclick="{{B}}" u-i="908267c3-9,908267c3-8" bind:__l="__l" u-p="{{C}}"></up-tabbar-item><up-tabbar-item wx:if="{{D}}" class="data-v-908267c3" u-i="908267c3-10,908267c3-8" bind:__l="__l" u-p="{{D}}"></up-tabbar-item></up-tabbar></view> | ||
| 1 | +<view class="app-container data-v-f5af4f77"><up-navbar wx:if="{{a}}" class="data-v-f5af4f77" u-i="f5af4f77-0" bind:__l="__l" u-p="{{a}}"/><view class="car_list data-v-f5af4f77"><view class="line_title data-v-f5af4f77"><text class="left_title data-v-f5af4f77" style="color:#fff">我的信息</text><text class="data-v-f5af4f77" style="color:#fff">更新实名信息</text></view><view class="user-box data-v-f5af4f77"><up-form wx:if="{{o}}" class="r data-v-f5af4f77" u-s="{{['d']}}" u-r="userFormRef" u-i="f5af4f77-1" bind:__l="__l" u-p="{{o}}"><up-form-item wx:if="{{e}}" class="data-v-f5af4f77" u-s="{{['d']}}" u-i="f5af4f77-2,f5af4f77-1" bind:__l="__l" u-p="{{e}}"><up-input wx:if="{{d}}" class="data-v-f5af4f77" u-s="{{['prefix']}}" u-i="f5af4f77-3,f5af4f77-2" bind:__l="__l" bindupdateModelValue="{{c}}" u-p="{{d}}"><image class="data-v-f5af4f77" style="width:32rpx;height:32rpx;margin-right:18rpx;margin-top:10rpx" src="{{b}}" mode="widthFix" slot="prefix"></image></up-input></up-form-item><up-form-item wx:if="{{i}}" class="data-v-f5af4f77" u-s="{{['d']}}" u-i="f5af4f77-4,f5af4f77-1" bind:__l="__l" u-p="{{i}}"><up-input wx:if="{{h}}" class="data-v-f5af4f77" u-s="{{['prefix']}}" u-i="f5af4f77-5,f5af4f77-4" bind:__l="__l" bindupdateModelValue="{{g}}" u-p="{{h}}"><image class="data-v-f5af4f77" style="width:32rpx;height:32rpx;margin-right:18rpx;margin-top:10rpx" src="{{f}}" mode="widthFix" slot="prefix"></image></up-input></up-form-item><up-form-item wx:if="{{m}}" class="data-v-f5af4f77" u-s="{{['d']}}" u-i="f5af4f77-6,f5af4f77-1" bind:__l="__l" u-p="{{m}}"><up-input wx:if="{{l}}" class="data-v-f5af4f77" u-s="{{['prefix']}}" u-i="f5af4f77-7,f5af4f77-6" bind:__l="__l" bindupdateModelValue="{{k}}" u-p="{{l}}"><image class="data-v-f5af4f77" style="width:32rpx;height:32rpx;margin-right:18rpx;margin-top:10rpx" src="{{j}}" mode="widthFix" slot="prefix"></image></up-input></up-form-item></up-form><view class="status data-v-f5af4f77"><view class="{{['statusBtn', 'data-v-f5af4f77', p && 'active']}}" bindtap="{{q}}">在岗</view><view class="{{['statusBtn', 'data-v-f5af4f77', r && 'active']}}" bindtap="{{s}}">离岗</view></view></view><view class="navList data-v-f5af4f77"><view class="navItem data-v-f5af4f77"><image class="data-v-f5af4f77" style="width:48rpx;height:48rpx" src="http://bxhd.crgx.net/profile/avatar/2024/10/12/pending_20241012174056A003.png" mode="widthFix" bindtap="{{t}}"></image><text class="data-v-f5af4f77">待处理</text></view><view class="navItem data-v-f5af4f77"><image class="data-v-f5af4f77" style="width:48rpx;height:48rpx" src="http://bxhd.crgx.net/profile/avatar/2024/10/12/processed_20241012173936A002.png" mode="widthFix" bindtap="{{v}}"></image><text class="data-v-f5af4f77">已处理</text></view><view class="navItem data-v-f5af4f77"><image class="data-v-f5af4f77" style="width:48rpx;height:48rpx" src="http://bxhd.crgx.net/profile/avatar/2024/10/12/ongoing_20241012174132A004.png" mode="widthFix" bindtap="{{w}}"></image><text class="data-v-f5af4f77">进行中</text></view><view class="navItem data-v-f5af4f77"><image class="data-v-f5af4f77" style="width:48rpx;height:48rpx" src="http://bxhd.crgx.net/profile/avatar/2024/10/12/deprecated_20241012174204A005.png" mode="widthFix" bindtap="{{x}}"></image><text class="data-v-f5af4f77">已作废</text></view><view class="navItem data-v-f5af4f77"><image class="data-v-f5af4f77" style="width:48rpx;height:48rpx" src="http://bxhd.crgx.net/profile/avatar/2024/10/12/ended_20241012174234A006.png" mode="widthFix" bindtap="{{y}}"></image><text class="data-v-f5af4f77">已完结</text></view></view><view class="loginBtn data-v-f5af4f77" bindtap="{{z}}">退出登录</view></view><up-tabbar wx:if="{{D}}" class="data-v-f5af4f77" u-s="{{['d']}}" u-i="f5af4f77-8" bind:__l="__l" u-p="{{D}}"><up-tabbar-item wx:if="{{B}}" class="data-v-f5af4f77" bindclick="{{A}}" u-i="f5af4f77-9,f5af4f77-8" bind:__l="__l" u-p="{{B}}"></up-tabbar-item><up-tabbar-item wx:if="{{C}}" class="data-v-f5af4f77" u-i="f5af4f77-10,f5af4f77-8" bind:__l="__l" u-p="{{C}}"></up-tabbar-item></up-tabbar></view> |
| 1 | -.app-container.data-v-908267c3{width:100%;height:100vh;padding:0 30rpx;background:url(http://bxhd.crgx.net/profile/avatar/2024/09/25/bg-index_20240925113012A004.png) no-repeat;background-size:100% 100%;overflow:hidden}.app-container .user-box.data-v-908267c3{width:690rpx;padding:40rpx 44rpx;background-color:#fff;z-index:10;margin:0 auto 40rpx;box-shadow:0 8rpx 40rpx rgba(10,22,44,.06);border-radius:40rpx}.app-container .car_list.data-v-908267c3{display:flex;flex-direction:column;gap:20rpx}.app-container .car_list .line_title.data-v-908267c3{display:flex;justify-content:space-between;font-size:24rpx;color:#999;line-height:32rpx}.app-container .car_list .line_title .left_title.data-v-908267c3{font-size:32rpx;line-height:42rpx;color:#333}.app-container .car_list .car_data.data-v-908267c3{padding:0 30rpx;background:#fff;box-shadow:0 8rpx 40rpx rgba(10,22,44,.06);border-radius:40rpx;margin-bottom:60rpx}.app-container .car_list .car_data .car_item.data-v-908267c3{padding:30rpx 0;border-bottom:2rpx solid #eee}.app-container .car_list .car_data .car_item.data-v-908267c3:last-child{border-bottom:0}.app-container .car_list .navList.data-v-908267c3{display:flex;align-items:center;justify-content:space-between;padding:25rpx 33rpx;background:#fff;box-shadow:0 8rpx 40rpx rgba(0,0,0,.06);border-radius:40rpx;margin-bottom:40rpx}.app-container .car_list .navList .navItem.data-v-908267c3{display:flex;flex-direction:column;align-items:center;gap:10rpx;font-size:24rpx;line-height:32rpx;color:#333}.app-container .car_list .loginBtn.data-v-908267c3{width:100%;height:80rpx;line-height:80rpx;text-align:center;font-size:28rpx;color:#fff;font-weight:500;background:#3680fe;box-shadow:0 8rpx 40rpx rgba(10,22,44,.06);border-radius:40rpx;margin-top:40rpx}.authBtn.data-v-908267c3{width:210rpx;font-size:20rpx;margin-right:30rpx}.status.data-v-908267c3{display:flex;align-items:center;justify-content:space-between;margin-top:20rpx}.status .statusBtn.data-v-908267c3{width:280rpx;height:80rpx;text-align:center;line-height:80rpx;color:#999;background:#fff;border-radius:200rpx;border:2rpx solid #BBBBBB}.status .statusBtn.active.data-v-908267c3{color:#fff;background:#3680fe} | 1 | +.app-container.data-v-f5af4f77{width:100%;height:100vh;padding:0 30rpx;background:url(http://bxhd.crgx.net/profile/avatar/2024/09/25/bg-index_20240925113012A004.png) no-repeat;background-size:100% 100%;overflow:hidden}.app-container .user-box.data-v-f5af4f77{width:690rpx;padding:40rpx 44rpx;background-color:#fff;z-index:10;margin:0 auto 40rpx;box-shadow:0 8rpx 40rpx rgba(10,22,44,.06);border-radius:40rpx}.app-container .car_list.data-v-f5af4f77{display:flex;flex-direction:column;gap:20rpx}.app-container .car_list .line_title.data-v-f5af4f77{display:flex;justify-content:space-between;font-size:24rpx;color:#999;line-height:32rpx}.app-container .car_list .line_title .left_title.data-v-f5af4f77{font-size:32rpx;line-height:42rpx;color:#333}.app-container .car_list .car_data.data-v-f5af4f77{padding:0 30rpx;background:#fff;box-shadow:0 8rpx 40rpx rgba(10,22,44,.06);border-radius:40rpx;margin-bottom:60rpx}.app-container .car_list .car_data .car_item.data-v-f5af4f77{padding:30rpx 0;border-bottom:2rpx solid #eee}.app-container .car_list .car_data .car_item.data-v-f5af4f77:last-child{border-bottom:0}.app-container .car_list .navList.data-v-f5af4f77{display:flex;align-items:center;justify-content:space-between;padding:25rpx 33rpx;background:#fff;box-shadow:0 8rpx 40rpx rgba(0,0,0,.06);border-radius:40rpx;margin-bottom:40rpx}.app-container .car_list .navList .navItem.data-v-f5af4f77{display:flex;flex-direction:column;align-items:center;gap:10rpx;font-size:24rpx;line-height:32rpx;color:#333}.app-container .car_list .loginBtn.data-v-f5af4f77{width:100%;height:80rpx;line-height:80rpx;text-align:center;font-size:28rpx;color:#fff;font-weight:500;background:#3680fe;box-shadow:0 8rpx 40rpx rgba(10,22,44,.06);border-radius:40rpx;margin-top:40rpx}.authBtn.data-v-f5af4f77{width:210rpx;font-size:20rpx;margin-right:30rpx}.status.data-v-f5af4f77{display:flex;align-items:center;justify-content:space-between;margin-top:20rpx}.status .statusBtn.data-v-f5af4f77{width:280rpx;height:80rpx;text-align:center;line-height:80rpx;color:#999;background:#fff;border-radius:200rpx;border:2rpx solid #BBBBBB}.status .statusBtn.active.data-v-f5af4f77{color:#fff;background:#3680fe} |
| 1 | -"use strict";const e=require("./interceptors.js"),t=require("../uni_modules/uview-plus/index.js");exports.initRequest=s=>{t.http.setConfig((e=>(e.baseURL="https://bxhd.crgx.net",e.timeout=6e4,e))),e.requestInterceptors(),e.responseInterceptors()}; | 1 | +"use strict";const e=require("./interceptors.js"),t=require("../uni_modules/uview-plus/index.js");exports.initRequest=s=>{t.http.setConfig((e=>(e.baseURL="https://bxcxhd.gxbx.com.cn",e.timeout=6e4,e))),e.requestInterceptors(),e.responseInterceptors()}; |
| @@ -10,12 +10,10 @@ const getUserInfo = (data) => uni_modules_uviewPlus_index.http.get("/system/user | @@ -10,12 +10,10 @@ const getUserInfo = (data) => uni_modules_uviewPlus_index.http.get("/system/user | ||
| 10 | const updateUserInfo = (data) => uni_modules_uviewPlus_index.http.put("/system/user/profile", data, { custom: { auth: true } }); | 10 | const updateUserInfo = (data) => uni_modules_uviewPlus_index.http.put("/system/user/profile", data, { custom: { auth: true } }); |
| 11 | const userCancel = () => uni_modules_uviewPlus_index.http.get("/system/user/deRegistration", { custom: { auth: true } }); | 11 | const userCancel = () => uni_modules_uviewPlus_index.http.get("/system/user/deRegistration", { custom: { auth: true } }); |
| 12 | const getCodeImg = (data) => uni_modules_uviewPlus_index.http.get("/captchaImage"); | 12 | const getCodeImg = (data) => uni_modules_uviewPlus_index.http.get("/captchaImage"); |
| 13 | -const getPhome = (data) => uni_modules_uviewPlus_index.http.post("/wechat/getUserPhoneNumber", data, { custom: { auth: true } }); | ||
| 14 | exports.carInfoAdd = carInfoAdd; | 13 | exports.carInfoAdd = carInfoAdd; |
| 15 | exports.carInfoEdit = carInfoEdit; | 14 | exports.carInfoEdit = carInfoEdit; |
| 16 | exports.getAdverList = getAdverList; | 15 | exports.getAdverList = getAdverList; |
| 17 | exports.getCodeImg = getCodeImg; | 16 | exports.getCodeImg = getCodeImg; |
| 18 | -exports.getPhome = getPhome; | ||
| 19 | exports.getUserCarInfo = getUserCarInfo; | 17 | exports.getUserCarInfo = getUserCarInfo; |
| 20 | exports.getUserInfo = getUserInfo; | 18 | exports.getUserInfo = getUserInfo; |
| 21 | exports.updateUserInfo = updateUserInfo; | 19 | exports.updateUserInfo = updateUserInfo; |
| @@ -17,6 +17,8 @@ const _sfc_main = { | @@ -17,6 +17,8 @@ const _sfc_main = { | ||
| 17 | } | 17 | } |
| 18 | }, | 18 | }, |
| 19 | setup(__props) { | 19 | setup(__props) { |
| 20 | + const props = __props; | ||
| 21 | + console.log(props.phone, props.userName); | ||
| 20 | return (_ctx, _cache) => { | 22 | return (_ctx, _cache) => { |
| 21 | return { | 23 | return { |
| 22 | a: common_vendor.t(__props.userName), | 24 | a: common_vendor.t(__props.userName), |
| @@ -236,8 +236,8 @@ const _sfc_main = { | @@ -236,8 +236,8 @@ const _sfc_main = { | ||
| 236 | }), | 236 | }), |
| 237 | c: "6dff5f6e-4-" + i0 + "," + ("6dff5f6e-2-" + i0), | 237 | c: "6dff5f6e-4-" + i0 + "," + ("6dff5f6e-2-" + i0), |
| 238 | d: common_vendor.p({ | 238 | d: common_vendor.p({ |
| 239 | - phone: carItem.phone, | ||
| 240 | - userName: carItem.name, | 239 | + phone: carItem.phone == "" || carItem.phone == null ? carItem.businessPhone : carItem.phone, |
| 240 | + userName: carItem.name == "" || carItem.name == null ? carItem.businessName : carItem.name, | ||
| 241 | company: carItem.sysDeptName | 241 | company: carItem.sysDeptName |
| 242 | }), | 242 | }), |
| 243 | e: carItem.orderProgress === "已承接" | 243 | e: carItem.orderProgress === "已承接" |
| @@ -287,8 +287,8 @@ const _sfc_main = { | @@ -287,8 +287,8 @@ const _sfc_main = { | ||
| 287 | }), | 287 | }), |
| 288 | c: "6dff5f6e-11-" + i0 + "," + ("6dff5f6e-9-" + i0), | 288 | c: "6dff5f6e-11-" + i0 + "," + ("6dff5f6e-9-" + i0), |
| 289 | d: common_vendor.p({ | 289 | d: common_vendor.p({ |
| 290 | - phone: carItem.phone, | ||
| 291 | - userName: carItem.name, | 290 | + phone: carItem.phone == "" || carItem.phone == null ? carItem.businessPhone : carItem.phone, |
| 291 | + userName: carItem.name == "" || carItem.name == null ? carItem.businessName : carItem.name, | ||
| 292 | company: carItem.sysDeptName | 292 | company: carItem.sysDeptName |
| 293 | }), | 293 | }), |
| 294 | e: common_vendor.o(($event) => handleFeedback(carItem.taskId), index), | 294 | e: common_vendor.o(($event) => handleFeedback(carItem.taskId), index), |
| @@ -327,8 +327,8 @@ const _sfc_main = { | @@ -327,8 +327,8 @@ const _sfc_main = { | ||
| 327 | }), | 327 | }), |
| 328 | c: "6dff5f6e-17-" + i0 + "," + ("6dff5f6e-15-" + i0), | 328 | c: "6dff5f6e-17-" + i0 + "," + ("6dff5f6e-15-" + i0), |
| 329 | d: common_vendor.p({ | 329 | d: common_vendor.p({ |
| 330 | - phone: carItem.phone, | ||
| 331 | - userName: carItem.name, | 330 | + phone: carItem.phone == "" || carItem.phone == null ? carItem.businessPhone : carItem.phone, |
| 331 | + userName: carItem.name == "" || carItem.name == null ? carItem.businessName : carItem.name, | ||
| 332 | company: carItem.sysDeptName | 332 | company: carItem.sysDeptName |
| 333 | }), | 333 | }), |
| 334 | e: common_vendor.o(($event) => lookRemark(carItem.processInstanceId), index), | 334 | e: common_vendor.o(($event) => lookRemark(carItem.processInstanceId), index), |
| @@ -74,15 +74,6 @@ const _sfc_main = { | @@ -74,15 +74,6 @@ const _sfc_main = { | ||
| 74 | } | 74 | } |
| 75 | ] | 75 | ] |
| 76 | }; | 76 | }; |
| 77 | - const onGetNumber = (e) => { | ||
| 78 | - if (e.detail.code) { | ||
| 79 | - api_user.getPhome(e.detail.code).then((res) => { | ||
| 80 | - userInfo.phonenumber = res.msg; | ||
| 81 | - }); | ||
| 82 | - } else { | ||
| 83 | - common_vendor.index.$u.toast("已取消授权,不能进行操作"); | ||
| 84 | - } | ||
| 85 | - }; | ||
| 86 | common_vendor.onReady(() => { | 77 | common_vendor.onReady(() => { |
| 87 | userFormRef.value.setRules(rules); | 78 | userFormRef.value.setRules(rules); |
| 88 | }); | 79 | }); |
| @@ -167,10 +158,8 @@ const _sfc_main = { | @@ -167,10 +158,8 @@ const _sfc_main = { | ||
| 167 | prop: "identificationNumber" | 158 | prop: "identificationNumber" |
| 168 | }), | 159 | }), |
| 169 | k: common_assets._imports_2, | 160 | k: common_assets._imports_2, |
| 170 | - l: common_vendor.o(onGetNumber), | ||
| 171 | - m: common_vendor.o(($event) => common_vendor.unref(userInfo).phonenumber = $event), | ||
| 172 | - n: common_vendor.p({ | ||
| 173 | - disabled: true, | 161 | + l: common_vendor.o(($event) => common_vendor.unref(userInfo).phonenumber = $event), |
| 162 | + m: common_vendor.p({ | ||
| 174 | shape: "circle", | 163 | shape: "circle", |
| 175 | border: "none", | 164 | border: "none", |
| 176 | fontSize: "28rpx", | 165 | fontSize: "28rpx", |
| @@ -180,31 +169,31 @@ const _sfc_main = { | @@ -180,31 +169,31 @@ const _sfc_main = { | ||
| 180 | placeholder: "请输入手机号码", | 169 | placeholder: "请输入手机号码", |
| 181 | modelValue: common_vendor.unref(userInfo).phonenumber | 170 | modelValue: common_vendor.unref(userInfo).phonenumber |
| 182 | }), | 171 | }), |
| 183 | - o: common_vendor.p({ | 172 | + n: common_vendor.p({ |
| 184 | prop: "phonenumber" | 173 | prop: "phonenumber" |
| 185 | }), | 174 | }), |
| 186 | - p: common_vendor.sr(userFormRef, "1ec66bc7-1", { | 175 | + o: common_vendor.sr(userFormRef, "1ec66bc7-1", { |
| 187 | "k": "userFormRef" | 176 | "k": "userFormRef" |
| 188 | }), | 177 | }), |
| 189 | - q: common_vendor.p({ | 178 | + p: common_vendor.p({ |
| 190 | model: common_vendor.unref(userInfo) | 179 | model: common_vendor.unref(userInfo) |
| 191 | }), | 180 | }), |
| 192 | - r: common_vendor.unref(userInfo).jobStatus === "0" ? 1 : "", | ||
| 193 | - s: common_vendor.o(($event) => changeStatus("0")), | ||
| 194 | - t: common_vendor.unref(userInfo).jobStatus === "1" ? 1 : "", | ||
| 195 | - v: common_vendor.o(($event) => changeStatus("1")), | ||
| 196 | - w: common_vendor.o(loginOut), | ||
| 197 | - x: common_vendor.o(goRouter), | ||
| 198 | - y: common_vendor.p({ | 181 | + q: common_vendor.unref(userInfo).jobStatus === "0" ? 1 : "", |
| 182 | + r: common_vendor.o(($event) => changeStatus("0")), | ||
| 183 | + s: common_vendor.unref(userInfo).jobStatus === "1" ? 1 : "", | ||
| 184 | + t: common_vendor.o(($event) => changeStatus("1")), | ||
| 185 | + v: common_vendor.o(loginOut), | ||
| 186 | + w: common_vendor.o(goRouter), | ||
| 187 | + x: common_vendor.p({ | ||
| 199 | text: "主页", | 188 | text: "主页", |
| 200 | icon: "home", | 189 | icon: "home", |
| 201 | badge: common_vendor.unref(useTabbar).companyTotal | 190 | badge: common_vendor.unref(useTabbar).companyTotal |
| 202 | }), | 191 | }), |
| 203 | - z: common_vendor.p({ | 192 | + y: common_vendor.p({ |
| 204 | text: "我的", | 193 | text: "我的", |
| 205 | icon: "account" | 194 | icon: "account" |
| 206 | }), | 195 | }), |
| 207 | - A: common_vendor.p({ | 196 | + z: common_vendor.p({ |
| 208 | value: common_vendor.unref(useTabbar).employeeCurrent, | 197 | value: common_vendor.unref(useTabbar).employeeCurrent, |
| 209 | activeColor: "#3680FE", | 198 | activeColor: "#3680FE", |
| 210 | inactiveColor: "#707070" | 199 | inactiveColor: "#707070" |
| 1 | -<view class="app-container data-v-1ec66bc7"><up-navbar wx:if="{{a}}" class="data-v-1ec66bc7" u-i="1ec66bc7-0" bind:__l="__l" u-p="{{a}}"/><view class="car_list data-v-1ec66bc7"><view class="line_title data-v-1ec66bc7"><text class="left_title data-v-1ec66bc7" style="color:#fff">我的信息</text><text class="data-v-1ec66bc7" style="color:#fff" bindtap="{{b}}">更新实名信息</text></view><view class="user-box data-v-1ec66bc7"><up-form wx:if="{{q}}" class="r data-v-1ec66bc7" u-s="{{['d']}}" u-r="userFormRef" u-i="1ec66bc7-1" bind:__l="__l" u-p="{{q}}"><up-form-item wx:if="{{f}}" class="data-v-1ec66bc7" u-s="{{['d']}}" u-i="1ec66bc7-2,1ec66bc7-1" bind:__l="__l" u-p="{{f}}"><up-input wx:if="{{e}}" class="data-v-1ec66bc7" u-s="{{['prefix']}}" u-i="1ec66bc7-3,1ec66bc7-2" bind:__l="__l" bindupdateModelValue="{{d}}" u-p="{{e}}"><image class="data-v-1ec66bc7" style="width:32rpx;height:32rpx;margin-right:18rpx;margin-top:10rpx" src="{{c}}" mode="widthFix" slot="prefix"></image></up-input></up-form-item><up-form-item wx:if="{{j}}" class="data-v-1ec66bc7" u-s="{{['d']}}" u-i="1ec66bc7-4,1ec66bc7-1" bind:__l="__l" u-p="{{j}}"><up-input wx:if="{{i}}" class="data-v-1ec66bc7" u-s="{{['prefix']}}" u-i="1ec66bc7-5,1ec66bc7-4" bind:__l="__l" bindupdateModelValue="{{h}}" u-p="{{i}}"><image class="data-v-1ec66bc7" style="width:32rpx;height:32rpx;margin-right:18rpx;margin-top:10rpx" src="{{g}}" mode="widthFix" slot="prefix"></image></up-input></up-form-item><up-form-item wx:if="{{o}}" class="data-v-1ec66bc7" u-s="{{['d']}}" u-i="1ec66bc7-6,1ec66bc7-1" bind:__l="__l" u-p="{{o}}"><up-input wx:if="{{n}}" class="data-v-1ec66bc7" u-s="{{['prefix','suffix']}}" u-i="1ec66bc7-7,1ec66bc7-6" bind:__l="__l" bindupdateModelValue="{{m}}" u-p="{{n}}"><image class="data-v-1ec66bc7" style="width:32rpx;height:32rpx;margin-right:18rpx;margin-top:10rpx" src="{{k}}" mode="widthFix" slot="prefix"></image><button class="authBtn data-v-1ec66bc7" open-type="getPhoneNumber" bindgetphonenumber="{{l}}" slot="suffix">已废弃,重新绑定</button></up-input></up-form-item></up-form><view class="status data-v-1ec66bc7"><view class="{{['statusBtn', 'data-v-1ec66bc7', r && 'active']}}" bindtap="{{s}}">在岗</view><view class="{{['statusBtn', 'data-v-1ec66bc7', t && 'active']}}" bindtap="{{v}}">离岗</view></view></view><view class="loginBtn data-v-1ec66bc7" bindtap="{{w}}">退出登录</view></view><up-tabbar wx:if="{{A}}" class="data-v-1ec66bc7" u-s="{{['d']}}" u-i="1ec66bc7-8" bind:__l="__l" u-p="{{A}}"><up-tabbar-item wx:if="{{y}}" class="data-v-1ec66bc7" bindclick="{{x}}" u-i="1ec66bc7-9,1ec66bc7-8" bind:__l="__l" u-p="{{y}}"></up-tabbar-item><up-tabbar-item wx:if="{{z}}" class="data-v-1ec66bc7" u-i="1ec66bc7-10,1ec66bc7-8" bind:__l="__l" u-p="{{z}}"></up-tabbar-item></up-tabbar></view> | ||
| 1 | +<view class="app-container data-v-1ec66bc7"><up-navbar wx:if="{{a}}" class="data-v-1ec66bc7" u-i="1ec66bc7-0" bind:__l="__l" u-p="{{a}}"/><view class="car_list data-v-1ec66bc7"><view class="line_title data-v-1ec66bc7"><text class="left_title data-v-1ec66bc7" style="color:#fff">我的信息</text><text class="data-v-1ec66bc7" style="color:#fff" bindtap="{{b}}">更新实名信息</text></view><view class="user-box data-v-1ec66bc7"><up-form wx:if="{{p}}" class="r data-v-1ec66bc7" u-s="{{['d']}}" u-r="userFormRef" u-i="1ec66bc7-1" bind:__l="__l" u-p="{{p}}"><up-form-item wx:if="{{f}}" class="data-v-1ec66bc7" u-s="{{['d']}}" u-i="1ec66bc7-2,1ec66bc7-1" bind:__l="__l" u-p="{{f}}"><up-input wx:if="{{e}}" class="data-v-1ec66bc7" u-s="{{['prefix']}}" u-i="1ec66bc7-3,1ec66bc7-2" bind:__l="__l" bindupdateModelValue="{{d}}" u-p="{{e}}"><image class="data-v-1ec66bc7" style="width:32rpx;height:32rpx;margin-right:18rpx;margin-top:10rpx" src="{{c}}" mode="widthFix" slot="prefix"></image></up-input></up-form-item><up-form-item wx:if="{{j}}" class="data-v-1ec66bc7" u-s="{{['d']}}" u-i="1ec66bc7-4,1ec66bc7-1" bind:__l="__l" u-p="{{j}}"><up-input wx:if="{{i}}" class="data-v-1ec66bc7" u-s="{{['prefix']}}" u-i="1ec66bc7-5,1ec66bc7-4" bind:__l="__l" bindupdateModelValue="{{h}}" u-p="{{i}}"><image class="data-v-1ec66bc7" style="width:32rpx;height:32rpx;margin-right:18rpx;margin-top:10rpx" src="{{g}}" mode="widthFix" slot="prefix"></image></up-input></up-form-item><up-form-item wx:if="{{n}}" class="data-v-1ec66bc7" u-s="{{['d']}}" u-i="1ec66bc7-6,1ec66bc7-1" bind:__l="__l" u-p="{{n}}"><up-input wx:if="{{m}}" class="data-v-1ec66bc7" u-s="{{['prefix']}}" u-i="1ec66bc7-7,1ec66bc7-6" bind:__l="__l" bindupdateModelValue="{{l}}" u-p="{{m}}"><image class="data-v-1ec66bc7" style="width:32rpx;height:32rpx;margin-right:18rpx;margin-top:10rpx" src="{{k}}" mode="widthFix" slot="prefix"></image></up-input></up-form-item></up-form><view class="status data-v-1ec66bc7"><view class="{{['statusBtn', 'data-v-1ec66bc7', q && 'active']}}" bindtap="{{r}}">在岗</view><view class="{{['statusBtn', 'data-v-1ec66bc7', s && 'active']}}" bindtap="{{t}}">离岗</view></view></view><view class="loginBtn data-v-1ec66bc7" bindtap="{{v}}">退出登录</view></view><up-tabbar wx:if="{{z}}" class="data-v-1ec66bc7" u-s="{{['d']}}" u-i="1ec66bc7-8" bind:__l="__l" u-p="{{z}}"><up-tabbar-item wx:if="{{x}}" class="data-v-1ec66bc7" bindclick="{{w}}" u-i="1ec66bc7-9,1ec66bc7-8" bind:__l="__l" u-p="{{x}}"></up-tabbar-item><up-tabbar-item wx:if="{{y}}" class="data-v-1ec66bc7" u-i="1ec66bc7-10,1ec66bc7-8" bind:__l="__l" u-p="{{y}}"></up-tabbar-item></up-tabbar></view> |
| @@ -75,19 +75,7 @@ const _sfc_main = { | @@ -75,19 +75,7 @@ const _sfc_main = { | ||
| 75 | url: "/pages/privacy/privacy" | 75 | url: "/pages/privacy/privacy" |
| 76 | }); | 76 | }); |
| 77 | }; | 77 | }; |
| 78 | - const onGetNumber = (e) => { | ||
| 79 | - if (e.detail.code) { | ||
| 80 | - api_user.getPhome(e.detail.code).then((res) => { | ||
| 81 | - userInfo.phonenumber = res.msg; | ||
| 82 | - }); | ||
| 83 | - } else { | ||
| 84 | - common_vendor.index.$u.toast("已取消授权,不能进行操作"); | ||
| 85 | - } | ||
| 86 | - }; | ||
| 87 | const submit = () => { | 78 | const submit = () => { |
| 88 | - if (!userInfo.phonenumber) { | ||
| 89 | - return common_vendor.index.$u.toast("请授权获取手机号进行实名"); | ||
| 90 | - } | ||
| 91 | logFormRef.value.validate().then(async (valid) => { | 79 | logFormRef.value.validate().then(async (valid) => { |
| 92 | if (valid) { | 80 | if (valid) { |
| 93 | await api_user.updateUserInfo(userInfo); | 81 | await api_user.updateUserInfo(userInfo); |
| @@ -142,10 +130,8 @@ const _sfc_main = { | @@ -142,10 +130,8 @@ const _sfc_main = { | ||
| 142 | prop: "identificationNumber" | 130 | prop: "identificationNumber" |
| 143 | }), | 131 | }), |
| 144 | i: common_assets._imports_2, | 132 | i: common_assets._imports_2, |
| 145 | - j: common_vendor.o(onGetNumber), | ||
| 146 | - k: common_vendor.o(($event) => common_vendor.unref(userInfo).phonenumber = $event), | ||
| 147 | - l: common_vendor.p({ | ||
| 148 | - disabled: true, | 133 | + j: common_vendor.o(($event) => common_vendor.unref(userInfo).phonenumber = $event), |
| 134 | + k: common_vendor.p({ | ||
| 149 | shape: "circle", | 135 | shape: "circle", |
| 150 | border: "none", | 136 | border: "none", |
| 151 | fontSize: "28rpx", | 137 | fontSize: "28rpx", |
| @@ -155,17 +141,17 @@ const _sfc_main = { | @@ -155,17 +141,17 @@ const _sfc_main = { | ||
| 155 | placeholder: "请输入手机号码", | 141 | placeholder: "请输入手机号码", |
| 156 | modelValue: common_vendor.unref(userInfo).phonenumber | 142 | modelValue: common_vendor.unref(userInfo).phonenumber |
| 157 | }), | 143 | }), |
| 158 | - m: common_vendor.p({ | 144 | + l: common_vendor.p({ |
| 159 | prop: "phonenumber" | 145 | prop: "phonenumber" |
| 160 | }), | 146 | }), |
| 161 | - n: common_vendor.sr(logFormRef, "1250a8b4-0", { | 147 | + m: common_vendor.sr(logFormRef, "1250a8b4-0", { |
| 162 | "k": "logFormRef" | 148 | "k": "logFormRef" |
| 163 | }), | 149 | }), |
| 164 | - o: common_vendor.p({ | 150 | + n: common_vendor.p({ |
| 165 | model: common_vendor.unref(userInfo) | 151 | model: common_vendor.unref(userInfo) |
| 166 | }), | 152 | }), |
| 167 | - p: common_vendor.o(goPrivacy), | ||
| 168 | - q: common_vendor.o(submit) | 153 | + o: common_vendor.o(goPrivacy), |
| 154 | + p: common_vendor.o(submit) | ||
| 169 | }; | 155 | }; |
| 170 | }; | 156 | }; |
| 171 | } | 157 | } |
| 1 | -<view class="login-container data-v-1250a8b4"><view class="title data-v-1250a8b4">实名认证</view><view class="line data-v-1250a8b4"></view><view class="login-box data-v-1250a8b4"><up-form wx:if="{{o}}" class="r data-v-1250a8b4" u-s="{{['d']}}" u-r="logFormRef" u-i="1250a8b4-0" bind:__l="__l" u-p="{{o}}"><up-form-item wx:if="{{d}}" class="data-v-1250a8b4" u-s="{{['d']}}" u-i="1250a8b4-1,1250a8b4-0" bind:__l="__l" u-p="{{d}}"><up-input wx:if="{{c}}" class="data-v-1250a8b4" u-s="{{['prefix']}}" u-i="1250a8b4-2,1250a8b4-1" bind:__l="__l" bindupdateModelValue="{{b}}" u-p="{{c}}"><image class="data-v-1250a8b4" style="width:32rpx;height:32rpx;margin-right:18rpx;margin-top:10rpx" src="{{a}}" mode="widthFix" slot="prefix"></image></up-input></up-form-item><up-form-item wx:if="{{h}}" class="data-v-1250a8b4" u-s="{{['d']}}" u-i="1250a8b4-3,1250a8b4-0" bind:__l="__l" u-p="{{h}}"><up-input wx:if="{{g}}" class="data-v-1250a8b4" u-s="{{['prefix']}}" u-i="1250a8b4-4,1250a8b4-3" bind:__l="__l" bindupdateModelValue="{{f}}" u-p="{{g}}"><image class="data-v-1250a8b4" style="width:32rpx;height:32rpx;margin-right:18rpx;margin-top:10rpx" src="{{e}}" mode="widthFix" slot="prefix"></image></up-input></up-form-item><up-form-item wx:if="{{m}}" class="data-v-1250a8b4" u-s="{{['d']}}" u-i="1250a8b4-5,1250a8b4-0" bind:__l="__l" u-p="{{m}}"><up-input wx:if="{{l}}" class="data-v-1250a8b4" u-s="{{['prefix','suffix']}}" u-i="1250a8b4-6,1250a8b4-5" bind:__l="__l" bindupdateModelValue="{{k}}" u-p="{{l}}"><image class="data-v-1250a8b4" style="width:32rpx;height:32rpx;margin-right:18rpx;margin-top:10rpx" src="{{i}}" mode="widthFix" slot="prefix"></image><button class="authBtn data-v-1250a8b4" open-type="getPhoneNumber" bindgetphonenumber="{{j}}" slot="suffix">获取手机号</button></up-input></up-form-item></up-form></view><view class="tip data-v-1250a8b4"> 未注册或绑定该平台的身份证号,将帮你注册新账号,点击提交即代表你同意<text class="data-v-1250a8b4" style="color:#3680FE" bindtap="{{p}}">《隐私政策》</text></view><view class="log-btn data-v-1250a8b4" bindtap="{{q}}">提交</view></view> | ||
| 1 | +<view class="login-container data-v-1250a8b4"><view class="title data-v-1250a8b4">实名认证</view><view class="line data-v-1250a8b4"></view><view class="login-box data-v-1250a8b4"><up-form wx:if="{{n}}" class="r data-v-1250a8b4" u-s="{{['d']}}" u-r="logFormRef" u-i="1250a8b4-0" bind:__l="__l" u-p="{{n}}"><up-form-item wx:if="{{d}}" class="data-v-1250a8b4" u-s="{{['d']}}" u-i="1250a8b4-1,1250a8b4-0" bind:__l="__l" u-p="{{d}}"><up-input wx:if="{{c}}" class="data-v-1250a8b4" u-s="{{['prefix']}}" u-i="1250a8b4-2,1250a8b4-1" bind:__l="__l" bindupdateModelValue="{{b}}" u-p="{{c}}"><image class="data-v-1250a8b4" style="width:32rpx;height:32rpx;margin-right:18rpx;margin-top:10rpx" src="{{a}}" mode="widthFix" slot="prefix"></image></up-input></up-form-item><up-form-item wx:if="{{h}}" class="data-v-1250a8b4" u-s="{{['d']}}" u-i="1250a8b4-3,1250a8b4-0" bind:__l="__l" u-p="{{h}}"><up-input wx:if="{{g}}" class="data-v-1250a8b4" u-s="{{['prefix']}}" u-i="1250a8b4-4,1250a8b4-3" bind:__l="__l" bindupdateModelValue="{{f}}" u-p="{{g}}"><image class="data-v-1250a8b4" style="width:32rpx;height:32rpx;margin-right:18rpx;margin-top:10rpx" src="{{e}}" mode="widthFix" slot="prefix"></image></up-input></up-form-item><up-form-item wx:if="{{l}}" class="data-v-1250a8b4" u-s="{{['d']}}" u-i="1250a8b4-5,1250a8b4-0" bind:__l="__l" u-p="{{l}}"><up-input wx:if="{{k}}" class="data-v-1250a8b4" u-s="{{['prefix']}}" u-i="1250a8b4-6,1250a8b4-5" bind:__l="__l" bindupdateModelValue="{{j}}" u-p="{{k}}"><image class="data-v-1250a8b4" style="width:32rpx;height:32rpx;margin-right:18rpx;margin-top:10rpx" src="{{i}}" mode="widthFix" slot="prefix"></image></up-input></up-form-item></up-form></view><view class="tip data-v-1250a8b4"> 未注册或绑定该平台的身份证号,将帮你注册新账号,点击提交即代表你同意<text class="data-v-1250a8b4" style="color:#3680FE" bindtap="{{o}}">《隐私政策》</text></view><view class="log-btn data-v-1250a8b4" bindtap="{{p}}">提交</view></view> |
| @@ -101,15 +101,6 @@ const _sfc_main = { | @@ -101,15 +101,6 @@ const _sfc_main = { | ||
| 101 | url: `/pages/carDetail/carDetail?carInfoId=${id}&taskId=${taskId}` | 101 | url: `/pages/carDetail/carDetail?carInfoId=${id}&taskId=${taskId}` |
| 102 | }); | 102 | }); |
| 103 | }; | 103 | }; |
| 104 | - const onGetNumber = (e) => { | ||
| 105 | - if (e.detail.code) { | ||
| 106 | - api_user.getPhome(e.detail.code).then((res) => { | ||
| 107 | - userInfo.phonenumber = res.msg; | ||
| 108 | - }); | ||
| 109 | - } else { | ||
| 110 | - common_vendor.index.$u.toast("已取消授权,不能进行操作"); | ||
| 111 | - } | ||
| 112 | - }; | ||
| 113 | const lookReason = async (processInstanceId) => { | 104 | const lookReason = async (processInstanceId) => { |
| 114 | const { data } = await api_work.queryDefeatContent({ | 105 | const { data } = await api_work.queryDefeatContent({ |
| 115 | processInstanceId, | 106 | processInstanceId, |
| @@ -220,10 +211,8 @@ const _sfc_main = { | @@ -220,10 +211,8 @@ const _sfc_main = { | ||
| 220 | prop: "identificationNumber" | 211 | prop: "identificationNumber" |
| 221 | }), | 212 | }), |
| 222 | m: common_assets._imports_2, | 213 | m: common_assets._imports_2, |
| 223 | - n: common_vendor.o(onGetNumber), | ||
| 224 | - o: common_vendor.o(($event) => common_vendor.unref(userInfo).phonenumber = $event), | ||
| 225 | - p: common_vendor.p({ | ||
| 226 | - disabled: true, | 214 | + n: common_vendor.o(($event) => common_vendor.unref(userInfo).phonenumber = $event), |
| 215 | + o: common_vendor.p({ | ||
| 227 | shape: "circle", | 216 | shape: "circle", |
| 228 | border: "none", | 217 | border: "none", |
| 229 | fontSize: "28rpx", | 218 | fontSize: "28rpx", |
| @@ -233,16 +222,16 @@ const _sfc_main = { | @@ -233,16 +222,16 @@ const _sfc_main = { | ||
| 233 | placeholder: "请输入手机号码", | 222 | placeholder: "请输入手机号码", |
| 234 | modelValue: common_vendor.unref(userInfo).phonenumber | 223 | modelValue: common_vendor.unref(userInfo).phonenumber |
| 235 | }), | 224 | }), |
| 236 | - q: common_vendor.p({ | 225 | + p: common_vendor.p({ |
| 237 | prop: "phonenumber" | 226 | prop: "phonenumber" |
| 238 | }), | 227 | }), |
| 239 | - r: common_vendor.sr(userFormRef, "2f1ef635-2", { | 228 | + q: common_vendor.sr(userFormRef, "2f1ef635-2", { |
| 240 | "k": "userFormRef" | 229 | "k": "userFormRef" |
| 241 | }), | 230 | }), |
| 242 | - s: common_vendor.p({ | 231 | + r: common_vendor.p({ |
| 243 | model: common_vendor.unref(userInfo) | 232 | model: common_vendor.unref(userInfo) |
| 244 | }), | 233 | }), |
| 245 | - t: common_vendor.f(carList.value, (carItem, k0, i0) => { | 234 | + s: common_vendor.f(carList.value, (carItem, k0, i0) => { |
| 246 | return { | 235 | return { |
| 247 | a: "2f1ef635-10-" + i0 + "," + ("2f1ef635-9-" + i0), | 236 | a: "2f1ef635-10-" + i0 + "," + ("2f1ef635-9-" + i0), |
| 248 | b: common_vendor.p({ | 237 | b: common_vendor.p({ |
| @@ -265,27 +254,27 @@ const _sfc_main = { | @@ -265,27 +254,27 @@ const _sfc_main = { | ||
| 265 | }) | 254 | }) |
| 266 | }; | 255 | }; |
| 267 | }), | 256 | }), |
| 268 | - v: common_vendor.p({ | 257 | + t: common_vendor.p({ |
| 269 | show: carList.value.length == 0, | 258 | show: carList.value.length == 0, |
| 270 | mode: "list", | 259 | mode: "list", |
| 271 | text: "暂无待办事项" | 260 | text: "暂无待办事项" |
| 272 | }), | 261 | }), |
| 273 | - w: common_vendor.o(($event) => singOutShow.value = true), | ||
| 274 | - x: common_vendor.p({ | 262 | + v: common_vendor.o(($event) => singOutShow.value = true), |
| 263 | + w: common_vendor.p({ | ||
| 275 | content: returnReason.value | 264 | content: returnReason.value |
| 276 | }), | 265 | }), |
| 266 | + x: common_vendor.o(($event) => showReturen.value = false), | ||
| 277 | y: common_vendor.o(($event) => showReturen.value = false), | 267 | y: common_vendor.o(($event) => showReturen.value = false), |
| 278 | - z: common_vendor.o(($event) => showReturen.value = false), | ||
| 279 | - A: common_vendor.p({ | 268 | + z: common_vendor.p({ |
| 280 | show: showReturen.value, | 269 | show: showReturen.value, |
| 281 | mode: "center", | 270 | mode: "center", |
| 282 | safeAreaInsetBottom: false, | 271 | safeAreaInsetBottom: false, |
| 283 | round: "20" | 272 | round: "20" |
| 284 | }), | 273 | }), |
| 285 | - B: common_assets._imports_4, | ||
| 286 | - C: common_vendor.o(loginOut), | ||
| 287 | - D: common_vendor.o(($event) => singOutShow.value = false), | ||
| 288 | - E: common_vendor.p({ | 274 | + A: common_assets._imports_4, |
| 275 | + B: common_vendor.o(loginOut), | ||
| 276 | + C: common_vendor.o(($event) => singOutShow.value = false), | ||
| 277 | + D: common_vendor.p({ | ||
| 289 | show: singOutShow.value, | 278 | show: singOutShow.value, |
| 290 | title: "注销提示", | 279 | title: "注销提示", |
| 291 | showCancelButton: true | 280 | showCancelButton: true |
| 1 | -<view class="app-container data-v-2f1ef635"><up-navbar wx:if="{{a}}" class="data-v-2f1ef635" u-i="2f1ef635-0" bind:__l="__l" u-p="{{a}}"/><view class="bg_1_bx data-v-2f1ef635"><image class="bg_2 data-v-2f1ef635" src="{{b}}" mode="widthFix"></image></view><view class="car_list data-v-2f1ef635"><view class="line_title data-v-2f1ef635"><text class="left_title data-v-2f1ef635" style="color:#fff"></text><view class="data-v-2f1ef635" style="display:flex;align-items:center"><u-icon wx:if="{{c}}" class="data-v-2f1ef635" u-i="2f1ef635-1" bind:__l="__l" u-p="{{c}}"></u-icon><text class="data-v-2f1ef635" style="color:#fff;margin-left:10rpx" bindtap="{{d}}">更新实名信息</text></view></view><view class="user-box data-v-2f1ef635"><up-form wx:if="{{s}}" class="r data-v-2f1ef635" u-s="{{['d']}}" u-r="userFormRef" u-i="2f1ef635-2" bind:__l="__l" u-p="{{s}}"><up-form-item wx:if="{{h}}" class="data-v-2f1ef635" u-s="{{['d']}}" u-i="2f1ef635-3,2f1ef635-2" bind:__l="__l" u-p="{{h}}"><up-input wx:if="{{g}}" class="data-v-2f1ef635" u-s="{{['prefix']}}" u-i="2f1ef635-4,2f1ef635-3" bind:__l="__l" bindupdateModelValue="{{f}}" u-p="{{g}}"><image class="data-v-2f1ef635" style="width:32rpx;height:32rpx;margin-right:18rpx;margin-top:10rpx" src="{{e}}" mode="widthFix" slot="prefix"></image></up-input></up-form-item><up-form-item wx:if="{{l}}" class="data-v-2f1ef635" u-s="{{['d']}}" u-i="2f1ef635-5,2f1ef635-2" bind:__l="__l" u-p="{{l}}"><up-input wx:if="{{k}}" class="data-v-2f1ef635" u-s="{{['prefix']}}" u-i="2f1ef635-6,2f1ef635-5" bind:__l="__l" bindupdateModelValue="{{j}}" u-p="{{k}}"><image class="data-v-2f1ef635" style="width:32rpx;height:32rpx;margin-right:18rpx;margin-top:10rpx" src="{{i}}" mode="widthFix" slot="prefix"></image></up-input></up-form-item><up-form-item wx:if="{{q}}" class="data-v-2f1ef635" u-s="{{['d']}}" u-i="2f1ef635-7,2f1ef635-2" bind:__l="__l" u-p="{{q}}"><up-input wx:if="{{p}}" class="data-v-2f1ef635" u-s="{{['prefix','suffix']}}" u-i="2f1ef635-8,2f1ef635-7" bind:__l="__l" bindupdateModelValue="{{o}}" u-p="{{p}}"><image class="data-v-2f1ef635" style="width:32rpx;height:32rpx;margin-right:18rpx;margin-top:10rpx" src="{{m}}" mode="widthFix" slot="prefix"></image><button class="authBtn data-v-2f1ef635" open-type="getPhoneNumber" bindgetphonenumber="{{n}}" slot="suffix">已废弃,重新绑定</button></up-input></up-form-item></up-form></view><view class="line_title data-v-2f1ef635"><text class="left_title data-v-2f1ef635">我的待办</text><text class="data-v-2f1ef635">去修改车辆信息</text></view><view class="car_box data-v-2f1ef635"><car-card wx:for="{{t}}" wx:for-item="carItem" wx:key="h" class="data-v-2f1ef635" u-s="{{['header','center','footer']}}" u-i="{{carItem.i}}" bind:__l="__l" u-p="{{carItem.j}}"><nav-top class="data-v-2f1ef635" u-i="{{carItem.a}}" bind:__l="__l" u-p="{{carItem.b}}" slot="header"/><center-line class="data-v-2f1ef635" u-i="{{carItem.c}}" bind:__l="__l" u-p="{{carItem.d}}" slot="center"></center-line><view class="data-v-2f1ef635" style="display:flex;gap:30rpx" slot="footer"><view class="data-v-2f1ef635" style="color:#3680FE;font-size:24rpx" bindtap="{{carItem.e}}">修改提交</view><view class="data-v-2f1ef635" style="color:#3680FE;font-size:24rpx" bindtap="{{carItem.f}}">放弃修改</view><view class="data-v-2f1ef635" style="color:#3680FE;font-size:24rpx" bindtap="{{carItem.g}}">查看退回原因</view></view></car-card><up-empty wx:if="{{v}}" class="data-v-2f1ef635" u-i="2f1ef635-12" bind:__l="__l" u-p="{{v}}"/></view><view class="loginBtn data-v-2f1ef635" bindtap="{{w}}">注销信息</view></view><up-popup wx:if="{{A}}" class="data-v-2f1ef635" u-s="{{['d']}}" bindclose="{{z}}" u-i="2f1ef635-13" bind:__l="__l" u-p="{{A}}"><view class="notice data-v-2f1ef635"><view class="notice_title data-v-2f1ef635">退回原因</view><view class="notice_content data-v-2f1ef635"><up-parse wx:if="{{x}}" class="data-v-2f1ef635" u-i="2f1ef635-14,2f1ef635-13" bind:__l="__l" u-p="{{x}}"></up-parse></view><view class="btn data-v-2f1ef635" bindtap="{{y}}">确认</view></view></up-popup><view class="bg_bx data-v-2f1ef635"><image class="bgImg data-v-2f1ef635" src="{{B}}" mode="widthFix"></image></view><up-modal wx:if="{{E}}" class="data-v-2f1ef635" u-s="{{['d']}}" bindconfirm="{{C}}" bindcancel="{{D}}" u-i="2f1ef635-15" bind:__l="__l" u-p="{{E}}"><view class="signOut data-v-2f1ef635"><text class="data-v-2f1ef635">1、注销帐号是不可恢复的操作,你应自行备份本平台帐号相关的信息和数据。操作之前,请确认与本平台帐号相关的所有服务均已进行妥善处理。</text><text class="data-v-2f1ef635">2、注销帐号,你将无法再使用本平台帐号或找回你添加或绑定的任何内容或信息(即使你使用相同的手机号码再次注册并使用本平台)</text><text class="data-v-2f1ef635">3、注销后将删除你在该平台的所有信息,本平台不会帮你备份数据,是否确认注销</text></view></up-modal></view> | ||
| 1 | +<view class="app-container data-v-2f1ef635"><up-navbar wx:if="{{a}}" class="data-v-2f1ef635" u-i="2f1ef635-0" bind:__l="__l" u-p="{{a}}"/><view class="bg_1_bx data-v-2f1ef635"><image class="bg_2 data-v-2f1ef635" src="{{b}}" mode="widthFix"></image></view><view class="car_list data-v-2f1ef635"><view class="line_title data-v-2f1ef635"><text class="left_title data-v-2f1ef635" style="color:#fff"></text><view class="data-v-2f1ef635" style="display:flex;align-items:center"><u-icon wx:if="{{c}}" class="data-v-2f1ef635" u-i="2f1ef635-1" bind:__l="__l" u-p="{{c}}"></u-icon><text class="data-v-2f1ef635" style="color:#fff;margin-left:10rpx" bindtap="{{d}}">更新实名信息</text></view></view><view class="user-box data-v-2f1ef635"><up-form wx:if="{{r}}" class="r data-v-2f1ef635" u-s="{{['d']}}" u-r="userFormRef" u-i="2f1ef635-2" bind:__l="__l" u-p="{{r}}"><up-form-item wx:if="{{h}}" class="data-v-2f1ef635" u-s="{{['d']}}" u-i="2f1ef635-3,2f1ef635-2" bind:__l="__l" u-p="{{h}}"><up-input wx:if="{{g}}" class="data-v-2f1ef635" u-s="{{['prefix']}}" u-i="2f1ef635-4,2f1ef635-3" bind:__l="__l" bindupdateModelValue="{{f}}" u-p="{{g}}"><image class="data-v-2f1ef635" style="width:32rpx;height:32rpx;margin-right:18rpx;margin-top:10rpx" src="{{e}}" mode="widthFix" slot="prefix"></image></up-input></up-form-item><up-form-item wx:if="{{l}}" class="data-v-2f1ef635" u-s="{{['d']}}" u-i="2f1ef635-5,2f1ef635-2" bind:__l="__l" u-p="{{l}}"><up-input wx:if="{{k}}" class="data-v-2f1ef635" u-s="{{['prefix']}}" u-i="2f1ef635-6,2f1ef635-5" bind:__l="__l" bindupdateModelValue="{{j}}" u-p="{{k}}"><image class="data-v-2f1ef635" style="width:32rpx;height:32rpx;margin-right:18rpx;margin-top:10rpx" src="{{i}}" mode="widthFix" slot="prefix"></image></up-input></up-form-item><up-form-item wx:if="{{p}}" class="data-v-2f1ef635" u-s="{{['d']}}" u-i="2f1ef635-7,2f1ef635-2" bind:__l="__l" u-p="{{p}}"><up-input wx:if="{{o}}" class="data-v-2f1ef635" u-s="{{['prefix']}}" u-i="2f1ef635-8,2f1ef635-7" bind:__l="__l" bindupdateModelValue="{{n}}" u-p="{{o}}"><image class="data-v-2f1ef635" style="width:32rpx;height:32rpx;margin-right:18rpx;margin-top:10rpx" src="{{m}}" mode="widthFix" slot="prefix"></image></up-input></up-form-item></up-form></view><view class="line_title data-v-2f1ef635"><text class="left_title data-v-2f1ef635">我的待办</text><text class="data-v-2f1ef635">去修改车辆信息</text></view><view class="car_box data-v-2f1ef635"><car-card wx:for="{{s}}" wx:for-item="carItem" wx:key="h" class="data-v-2f1ef635" u-s="{{['header','center','footer']}}" u-i="{{carItem.i}}" bind:__l="__l" u-p="{{carItem.j}}"><nav-top class="data-v-2f1ef635" u-i="{{carItem.a}}" bind:__l="__l" u-p="{{carItem.b}}" slot="header"/><center-line class="data-v-2f1ef635" u-i="{{carItem.c}}" bind:__l="__l" u-p="{{carItem.d}}" slot="center"></center-line><view class="data-v-2f1ef635" style="display:flex;gap:30rpx" slot="footer"><view class="data-v-2f1ef635" style="color:#3680FE;font-size:24rpx" bindtap="{{carItem.e}}">修改提交</view><view class="data-v-2f1ef635" style="color:#3680FE;font-size:24rpx" bindtap="{{carItem.f}}">放弃修改</view><view class="data-v-2f1ef635" style="color:#3680FE;font-size:24rpx" bindtap="{{carItem.g}}">查看退回原因</view></view></car-card><up-empty wx:if="{{t}}" class="data-v-2f1ef635" u-i="2f1ef635-12" bind:__l="__l" u-p="{{t}}"/></view><view class="loginBtn data-v-2f1ef635" bindtap="{{v}}">注销信息</view></view><up-popup wx:if="{{z}}" class="data-v-2f1ef635" u-s="{{['d']}}" bindclose="{{y}}" u-i="2f1ef635-13" bind:__l="__l" u-p="{{z}}"><view class="notice data-v-2f1ef635"><view class="notice_title data-v-2f1ef635">退回原因</view><view class="notice_content data-v-2f1ef635"><up-parse wx:if="{{w}}" class="data-v-2f1ef635" u-i="2f1ef635-14,2f1ef635-13" bind:__l="__l" u-p="{{w}}"></up-parse></view><view class="btn data-v-2f1ef635" bindtap="{{x}}">确认</view></view></up-popup><view class="bg_bx data-v-2f1ef635"><image class="bgImg data-v-2f1ef635" src="{{A}}" mode="widthFix"></image></view><up-modal wx:if="{{D}}" class="data-v-2f1ef635" u-s="{{['d']}}" bindconfirm="{{B}}" bindcancel="{{C}}" u-i="2f1ef635-15" bind:__l="__l" u-p="{{D}}"><view class="signOut data-v-2f1ef635"><text class="data-v-2f1ef635">1、注销帐号是不可恢复的操作,你应自行备份本平台帐号相关的信息和数据。操作之前,请确认与本平台帐号相关的所有服务均已进行妥善处理。</text><text class="data-v-2f1ef635">2、注销帐号,你将无法再使用本平台帐号或找回你添加或绑定的任何内容或信息(即使你使用相同的手机号码再次注册并使用本平台)</text><text class="data-v-2f1ef635">3、注销后将删除你在该平台的所有信息,本平台不会帮你备份数据,是否确认注销</text></view></up-modal></view> |
| @@ -10,19 +10,22 @@ if (!Array) { | @@ -10,19 +10,22 @@ if (!Array) { | ||
| 10 | const _easycom_up_input2 = common_vendor.resolveComponent("up-input"); | 10 | const _easycom_up_input2 = common_vendor.resolveComponent("up-input"); |
| 11 | const _easycom_up_form_item2 = common_vendor.resolveComponent("up-form-item"); | 11 | const _easycom_up_form_item2 = common_vendor.resolveComponent("up-form-item"); |
| 12 | const _easycom_up_form2 = common_vendor.resolveComponent("up-form"); | 12 | const _easycom_up_form2 = common_vendor.resolveComponent("up-form"); |
| 13 | - (_easycom_up_input2 + _easycom_up_form_item2 + _easycom_up_form2)(); | 13 | + const _easycom_up_checkbox2 = common_vendor.resolveComponent("up-checkbox"); |
| 14 | + (_easycom_up_input2 + _easycom_up_form_item2 + _easycom_up_form2 + _easycom_up_checkbox2)(); | ||
| 14 | } | 15 | } |
| 15 | const _easycom_up_input = () => "../../uni_modules/uview-plus/components/u-input/u-input.js"; | 16 | const _easycom_up_input = () => "../../uni_modules/uview-plus/components/u-input/u-input.js"; |
| 16 | const _easycom_up_form_item = () => "../../uni_modules/uview-plus/components/u-form-item/u-form-item.js"; | 17 | const _easycom_up_form_item = () => "../../uni_modules/uview-plus/components/u-form-item/u-form-item.js"; |
| 17 | const _easycom_up_form = () => "../../uni_modules/uview-plus/components/u-form/u-form.js"; | 18 | const _easycom_up_form = () => "../../uni_modules/uview-plus/components/u-form/u-form.js"; |
| 19 | +const _easycom_up_checkbox = () => "../../uni_modules/uview-plus/components/u-checkbox/u-checkbox.js"; | ||
| 18 | if (!Math) { | 20 | if (!Math) { |
| 19 | - (_easycom_up_input + _easycom_up_form_item + _easycom_up_form)(); | 21 | + (_easycom_up_input + _easycom_up_form_item + _easycom_up_form + _easycom_up_checkbox)(); |
| 20 | } | 22 | } |
| 21 | const _sfc_main = { | 23 | const _sfc_main = { |
| 22 | __name: "realName", | 24 | __name: "realName", |
| 23 | setup(__props) { | 25 | setup(__props) { |
| 24 | const { userInfo, login, getUser } = store_modules_user.useUserStore(); | 26 | const { userInfo, login, getUser } = store_modules_user.useUserStore(); |
| 25 | const logFormRef = common_vendor.ref(null); | 27 | const logFormRef = common_vendor.ref(null); |
| 28 | + const aloneChecked = common_vendor.ref(false); | ||
| 26 | const rules = { | 29 | const rules = { |
| 27 | nickName: [ | 30 | nickName: [ |
| 28 | { required: true, message: "请输入姓名", trigger: ["blur"] }, | 31 | { required: true, message: "请输入姓名", trigger: ["blur"] }, |
| @@ -90,18 +93,9 @@ const _sfc_main = { | @@ -90,18 +93,9 @@ const _sfc_main = { | ||
| 90 | url: "/pages/privacy/privacy" | 93 | url: "/pages/privacy/privacy" |
| 91 | }); | 94 | }); |
| 92 | }; | 95 | }; |
| 93 | - const onGetNumber = (e) => { | ||
| 94 | - if (e.detail.code) { | ||
| 95 | - api_user.getPhome(e.detail.code).then((res) => { | ||
| 96 | - userInfo.phonenumber = res.msg; | ||
| 97 | - }); | ||
| 98 | - } else { | ||
| 99 | - common_vendor.index.$u.toast("已取消授权,不能进行操作"); | ||
| 100 | - } | ||
| 101 | - }; | ||
| 102 | const submit = () => { | 96 | const submit = () => { |
| 103 | - if (!userInfo.phonenumber) { | ||
| 104 | - return common_vendor.index.$u.toast("请授权获取手机号进行实名"); | 97 | + if (!aloneChecked.value) { |
| 98 | + return common_vendor.index.$u.toast("请勾选同意隐私政策"); | ||
| 105 | } | 99 | } |
| 106 | logFormRef.value.validate().then(async (valid) => { | 100 | logFormRef.value.validate().then(async (valid) => { |
| 107 | if (valid) { | 101 | if (valid) { |
| @@ -152,10 +146,8 @@ const _sfc_main = { | @@ -152,10 +146,8 @@ const _sfc_main = { | ||
| 152 | prop: "identificationNumber" | 146 | prop: "identificationNumber" |
| 153 | }), | 147 | }), |
| 154 | k: common_assets._imports_2, | 148 | k: common_assets._imports_2, |
| 155 | - l: common_vendor.o(onGetNumber), | ||
| 156 | - m: common_vendor.o(($event) => common_vendor.unref(userInfo).phonenumber = $event), | ||
| 157 | - n: common_vendor.p({ | ||
| 158 | - disabled: true, | 149 | + l: common_vendor.o(($event) => common_vendor.unref(userInfo).phonenumber = $event), |
| 150 | + m: common_vendor.p({ | ||
| 159 | shape: "circle", | 151 | shape: "circle", |
| 160 | border: "none", | 152 | border: "none", |
| 161 | fontSize: "28rpx", | 153 | fontSize: "28rpx", |
| @@ -165,17 +157,29 @@ const _sfc_main = { | @@ -165,17 +157,29 @@ const _sfc_main = { | ||
| 165 | placeholder: "请输入手机号码", | 157 | placeholder: "请输入手机号码", |
| 166 | modelValue: common_vendor.unref(userInfo).phonenumber | 158 | modelValue: common_vendor.unref(userInfo).phonenumber |
| 167 | }), | 159 | }), |
| 168 | - o: common_vendor.p({ | 160 | + n: common_vendor.p({ |
| 169 | prop: "phonenumber" | 161 | prop: "phonenumber" |
| 170 | }), | 162 | }), |
| 171 | - p: common_vendor.sr(logFormRef, "f2ff8f80-0", { | 163 | + o: common_vendor.sr(logFormRef, "f2ff8f80-0", { |
| 172 | "k": "logFormRef" | 164 | "k": "logFormRef" |
| 173 | }), | 165 | }), |
| 174 | - q: common_vendor.p({ | 166 | + p: common_vendor.p({ |
| 175 | model: common_vendor.unref(userInfo) | 167 | model: common_vendor.unref(userInfo) |
| 176 | }), | 168 | }), |
| 177 | - r: common_vendor.o(goPrivacy), | ||
| 178 | - s: common_vendor.o(submit) | 169 | + q: common_vendor.o(goPrivacy), |
| 170 | + r: common_vendor.o(($event) => aloneChecked.value = $event), | ||
| 171 | + s: common_vendor.p({ | ||
| 172 | + customStyle: { | ||
| 173 | + marginBottom: "8px" | ||
| 174 | + }, | ||
| 175 | + label: "同意《隐私政策》", | ||
| 176 | + name: "agree", | ||
| 177 | + ["label-color"]: "#666", | ||
| 178 | + labelSize: "24rpx", | ||
| 179 | + usedAlone: true, | ||
| 180 | + checked: aloneChecked.value | ||
| 181 | + }), | ||
| 182 | + t: common_vendor.o(submit) | ||
| 179 | }; | 183 | }; |
| 180 | }; | 184 | }; |
| 181 | } | 185 | } |
| @@ -4,6 +4,7 @@ | @@ -4,6 +4,7 @@ | ||
| 4 | "usingComponents": { | 4 | "usingComponents": { |
| 5 | "up-input": "../../uni_modules/uview-plus/components/u-input/u-input", | 5 | "up-input": "../../uni_modules/uview-plus/components/u-input/u-input", |
| 6 | "up-form-item": "../../uni_modules/uview-plus/components/u-form-item/u-form-item", | 6 | "up-form-item": "../../uni_modules/uview-plus/components/u-form-item/u-form-item", |
| 7 | - "up-form": "../../uni_modules/uview-plus/components/u-form/u-form" | 7 | + "up-form": "../../uni_modules/uview-plus/components/u-form/u-form", |
| 8 | + "up-checkbox": "../../uni_modules/uview-plus/components/u-checkbox/u-checkbox" | ||
| 8 | } | 9 | } |
| 9 | } | 10 | } |
| 1 | -<view class="login-container data-v-f2ff8f80"><view class="title data-v-f2ff8f80">实名认证</view><view class="line data-v-f2ff8f80"></view><view class="bg_1_bx data-v-f2ff8f80"><image class="bg_2 data-v-f2ff8f80" src="{{a}}" mode="widthFix"></image></view><view class="login-box data-v-f2ff8f80"><view class="logo_nav data-v-f2ff8f80"><image class="data-v-f2ff8f80" style="width:75rpx" src="{{b}}" mode="widthFix"></image><text class="data-v-f2ff8f80">广西车险投保登记平台</text></view><up-form wx:if="{{q}}" class="r data-v-f2ff8f80" u-s="{{['d']}}" u-r="logFormRef" u-i="f2ff8f80-0" bind:__l="__l" u-p="{{q}}"><up-form-item wx:if="{{f}}" class="data-v-f2ff8f80" u-s="{{['d']}}" u-i="f2ff8f80-1,f2ff8f80-0" bind:__l="__l" u-p="{{f}}"><up-input wx:if="{{e}}" class="data-v-f2ff8f80" u-s="{{['prefix']}}" u-i="f2ff8f80-2,f2ff8f80-1" bind:__l="__l" bindupdateModelValue="{{d}}" u-p="{{e}}"><image class="data-v-f2ff8f80" style="width:32rpx;margin-right:18rpx;margin-top:10rpx" src="{{c}}" mode="widthFix" slot="prefix"></image></up-input></up-form-item><up-form-item wx:if="{{j}}" class="data-v-f2ff8f80" u-s="{{['d']}}" u-i="f2ff8f80-3,f2ff8f80-0" bind:__l="__l" u-p="{{j}}"><up-input wx:if="{{i}}" class="data-v-f2ff8f80" u-s="{{['prefix']}}" u-i="f2ff8f80-4,f2ff8f80-3" bind:__l="__l" bindupdateModelValue="{{h}}" u-p="{{i}}"><image class="data-v-f2ff8f80" style="width:32rpx;margin-right:18rpx;margin-top:10rpx" src="{{g}}" mode="widthFix" slot="prefix"></image></up-input></up-form-item><up-form-item wx:if="{{o}}" class="data-v-f2ff8f80" u-s="{{['d']}}" u-i="f2ff8f80-5,f2ff8f80-0" bind:__l="__l" u-p="{{o}}"><up-input wx:if="{{n}}" class="data-v-f2ff8f80" u-s="{{['prefix','suffix']}}" u-i="f2ff8f80-6,f2ff8f80-5" bind:__l="__l" bindupdateModelValue="{{m}}" u-p="{{n}}"><image class="data-v-f2ff8f80" style="width:32rpx;height:32rpx;margin-right:18rpx;margin-top:10rpx" src="{{k}}" mode="widthFix" slot="prefix"></image><button class="authBtn data-v-f2ff8f80" open-type="getPhoneNumber" bindgetphonenumber="{{l}}" slot="suffix">获取手机号</button></up-input></up-form-item></up-form></view><view class="tip data-v-f2ff8f80"> 未注册或绑定该平台的身份证号,将帮你注册新账号,点击提交即代表你同意<text class="data-v-f2ff8f80" style="color:#3680FE" bindtap="{{r}}">《隐私政策》</text></view><view class="log-btn data-v-f2ff8f80" bindtap="{{s}}">提交</view></view> | ||
| 1 | +<view class="login-container data-v-f2ff8f80"><view class="title data-v-f2ff8f80">实名认证</view><view class="line data-v-f2ff8f80"></view><view class="bg_1_bx data-v-f2ff8f80"><image class="bg_2 data-v-f2ff8f80" src="{{a}}" mode="widthFix"></image></view><view class="login-box data-v-f2ff8f80"><view class="logo_nav data-v-f2ff8f80"><image class="data-v-f2ff8f80" style="width:75rpx" src="{{b}}" mode="widthFix"></image><text class="data-v-f2ff8f80">广西车险投保登记平台</text></view><up-form wx:if="{{p}}" class="r data-v-f2ff8f80" u-s="{{['d']}}" u-r="logFormRef" u-i="f2ff8f80-0" bind:__l="__l" u-p="{{p}}"><up-form-item wx:if="{{f}}" class="data-v-f2ff8f80" u-s="{{['d']}}" u-i="f2ff8f80-1,f2ff8f80-0" bind:__l="__l" u-p="{{f}}"><up-input wx:if="{{e}}" class="data-v-f2ff8f80" u-s="{{['prefix']}}" u-i="f2ff8f80-2,f2ff8f80-1" bind:__l="__l" bindupdateModelValue="{{d}}" u-p="{{e}}"><image class="data-v-f2ff8f80" style="width:32rpx;margin-right:18rpx;margin-top:10rpx" src="{{c}}" mode="widthFix" slot="prefix"></image></up-input></up-form-item><up-form-item wx:if="{{j}}" class="data-v-f2ff8f80" u-s="{{['d']}}" u-i="f2ff8f80-3,f2ff8f80-0" bind:__l="__l" u-p="{{j}}"><up-input wx:if="{{i}}" class="data-v-f2ff8f80" u-s="{{['prefix']}}" u-i="f2ff8f80-4,f2ff8f80-3" bind:__l="__l" bindupdateModelValue="{{h}}" u-p="{{i}}"><image class="data-v-f2ff8f80" style="width:32rpx;margin-right:18rpx;margin-top:10rpx" src="{{g}}" mode="widthFix" slot="prefix"></image></up-input></up-form-item><up-form-item wx:if="{{n}}" class="data-v-f2ff8f80" u-s="{{['d']}}" u-i="f2ff8f80-5,f2ff8f80-0" bind:__l="__l" u-p="{{n}}"><up-input wx:if="{{m}}" class="data-v-f2ff8f80" u-s="{{['prefix']}}" u-i="f2ff8f80-6,f2ff8f80-5" bind:__l="__l" bindupdateModelValue="{{l}}" u-p="{{m}}"><image class="data-v-f2ff8f80" style="width:32rpx;height:32rpx;margin-right:18rpx;margin-top:10rpx" src="{{k}}" mode="widthFix" slot="prefix"></image></up-input></up-form-item></up-form></view><view class="tip data-v-f2ff8f80"><text class="data-v-f2ff8f80">未注册或绑定该平台的身份证号,将帮你注册新账号,请阅读<text class="data-v-f2ff8f80" style="color:#3680FE" bindtap="{{q}}">《隐私政策》</text>并勾选后进行登录</text><up-checkbox wx:if="{{s}}" class="data-v-f2ff8f80" u-i="f2ff8f80-7" bind:__l="__l" bindupdateChecked="{{r}}" u-p="{{s}}"/></view><view class="log-btn data-v-f2ff8f80" bindtap="{{t}}">提交</view></view> |
| @@ -77,15 +77,6 @@ const _sfc_main = { | @@ -77,15 +77,6 @@ const _sfc_main = { | ||
| 77 | common_vendor.onReady(() => { | 77 | common_vendor.onReady(() => { |
| 78 | userFormRef.value.setRules(rules); | 78 | userFormRef.value.setRules(rules); |
| 79 | }); | 79 | }); |
| 80 | - const onGetNumber = (e) => { | ||
| 81 | - if (e.detail.code) { | ||
| 82 | - api_user.getPhome(e.detail.code).then((res) => { | ||
| 83 | - userInfo.phonenumber = res.msg; | ||
| 84 | - }); | ||
| 85 | - } else { | ||
| 86 | - common_vendor.index.$u.toast("已取消授权,不能进行操作"); | ||
| 87 | - } | ||
| 88 | - }; | ||
| 89 | const loginOut = () => { | 80 | const loginOut = () => { |
| 90 | common_vendor.index.showModal({ | 81 | common_vendor.index.showModal({ |
| 91 | title: "提示", | 82 | title: "提示", |
| @@ -158,10 +149,8 @@ const _sfc_main = { | @@ -158,10 +149,8 @@ const _sfc_main = { | ||
| 158 | prop: "identificationNumber" | 149 | prop: "identificationNumber" |
| 159 | }), | 150 | }), |
| 160 | j: common_assets._imports_2, | 151 | j: common_assets._imports_2, |
| 161 | - k: common_vendor.o(onGetNumber), | ||
| 162 | - l: common_vendor.o(($event) => common_vendor.unref(userInfo).phonenumber = $event), | ||
| 163 | - m: common_vendor.p({ | ||
| 164 | - disabled: true, | 152 | + k: common_vendor.o(($event) => common_vendor.unref(userInfo).phonenumber = $event), |
| 153 | + l: common_vendor.p({ | ||
| 165 | shape: "circle", | 154 | shape: "circle", |
| 166 | border: "none", | 155 | border: "none", |
| 167 | fontSize: "28rpx", | 156 | fontSize: "28rpx", |
| @@ -171,36 +160,36 @@ const _sfc_main = { | @@ -171,36 +160,36 @@ const _sfc_main = { | ||
| 171 | placeholder: "请输入手机号码", | 160 | placeholder: "请输入手机号码", |
| 172 | modelValue: common_vendor.unref(userInfo).phonenumber | 161 | modelValue: common_vendor.unref(userInfo).phonenumber |
| 173 | }), | 162 | }), |
| 174 | - n: common_vendor.p({ | 163 | + m: common_vendor.p({ |
| 175 | prop: "phonenumber" | 164 | prop: "phonenumber" |
| 176 | }), | 165 | }), |
| 177 | - o: common_vendor.sr(userFormRef, "5648f2a8-1", { | 166 | + n: common_vendor.sr(userFormRef, "5648f2a8-1", { |
| 178 | "k": "userFormRef" | 167 | "k": "userFormRef" |
| 179 | }), | 168 | }), |
| 180 | - p: common_vendor.p({ | 169 | + o: common_vendor.p({ |
| 181 | model: common_vendor.unref(userInfo) | 170 | model: common_vendor.unref(userInfo) |
| 182 | }), | 171 | }), |
| 183 | - q: common_vendor.unref(userInfo).jobStatus === "0" ? 1 : "", | ||
| 184 | - r: common_vendor.o(($event) => changeStatus("0")), | ||
| 185 | - s: common_vendor.unref(userInfo).jobStatus === "1" ? 1 : "", | ||
| 186 | - t: common_vendor.o(($event) => changeStatus("1")), | ||
| 187 | - v: common_vendor.o(($event) => goOrder(0)), | ||
| 188 | - w: common_vendor.o(($event) => goOrder(1)), | ||
| 189 | - x: common_vendor.o(($event) => goOrder(2)), | ||
| 190 | - y: common_vendor.o(($event) => goOrder(4)), | ||
| 191 | - z: common_vendor.o(($event) => goOrder(3)), | ||
| 192 | - A: common_vendor.o(loginOut), | ||
| 193 | - B: common_vendor.o(goRouter), | ||
| 194 | - C: common_vendor.p({ | 172 | + p: common_vendor.unref(userInfo).jobStatus === "0" ? 1 : "", |
| 173 | + q: common_vendor.o(($event) => changeStatus("0")), | ||
| 174 | + r: common_vendor.unref(userInfo).jobStatus === "1" ? 1 : "", | ||
| 175 | + s: common_vendor.o(($event) => changeStatus("1")), | ||
| 176 | + t: common_vendor.o(($event) => goOrder(0)), | ||
| 177 | + v: common_vendor.o(($event) => goOrder(1)), | ||
| 178 | + w: common_vendor.o(($event) => goOrder(2)), | ||
| 179 | + x: common_vendor.o(($event) => goOrder(4)), | ||
| 180 | + y: common_vendor.o(($event) => goOrder(3)), | ||
| 181 | + z: common_vendor.o(loginOut), | ||
| 182 | + A: common_vendor.o(goRouter), | ||
| 183 | + B: common_vendor.p({ | ||
| 195 | text: "主页", | 184 | text: "主页", |
| 196 | icon: "home", | 185 | icon: "home", |
| 197 | badge: common_vendor.unref(useTabbar).societyTotal | 186 | badge: common_vendor.unref(useTabbar).societyTotal |
| 198 | }), | 187 | }), |
| 199 | - D: common_vendor.p({ | 188 | + C: common_vendor.p({ |
| 200 | text: "我的", | 189 | text: "我的", |
| 201 | icon: "account" | 190 | icon: "account" |
| 202 | }), | 191 | }), |
| 203 | - E: common_vendor.p({ | 192 | + D: common_vendor.p({ |
| 204 | value: common_vendor.unref(useTabbar).societyCurrent, | 193 | value: common_vendor.unref(useTabbar).societyCurrent, |
| 205 | activeColor: "#3680FE", | 194 | activeColor: "#3680FE", |
| 206 | inactiveColor: "#707070" | 195 | inactiveColor: "#707070" |
| 1 | -<view class="app-container data-v-5648f2a8"><up-navbar wx:if="{{a}}" class="data-v-5648f2a8" u-i="5648f2a8-0" bind:__l="__l" u-p="{{a}}"/><view class="car_list data-v-5648f2a8"><view class="line_title data-v-5648f2a8"><text class="left_title data-v-5648f2a8" style="color:#fff">我的信息</text><text class="data-v-5648f2a8" style="color:#fff">更新实名信息</text></view><view class="user-box data-v-5648f2a8"><up-form wx:if="{{p}}" class="r data-v-5648f2a8" u-s="{{['d']}}" u-r="userFormRef" u-i="5648f2a8-1" bind:__l="__l" u-p="{{p}}"><up-form-item wx:if="{{e}}" class="data-v-5648f2a8" u-s="{{['d']}}" u-i="5648f2a8-2,5648f2a8-1" bind:__l="__l" u-p="{{e}}"><up-input wx:if="{{d}}" class="data-v-5648f2a8" u-s="{{['prefix']}}" u-i="5648f2a8-3,5648f2a8-2" bind:__l="__l" bindupdateModelValue="{{c}}" u-p="{{d}}"><image class="data-v-5648f2a8" style="width:32rpx;height:32rpx;margin-right:18rpx;margin-top:10rpx" src="{{b}}" mode="widthFix" slot="prefix"></image></up-input></up-form-item><up-form-item wx:if="{{i}}" class="data-v-5648f2a8" u-s="{{['d']}}" u-i="5648f2a8-4,5648f2a8-1" bind:__l="__l" u-p="{{i}}"><up-input wx:if="{{h}}" class="data-v-5648f2a8" u-s="{{['prefix']}}" u-i="5648f2a8-5,5648f2a8-4" bind:__l="__l" bindupdateModelValue="{{g}}" u-p="{{h}}"><image class="data-v-5648f2a8" style="width:32rpx;height:32rpx;margin-right:18rpx;margin-top:10rpx" src="{{f}}" mode="widthFix" slot="prefix"></image></up-input></up-form-item><up-form-item wx:if="{{n}}" class="data-v-5648f2a8" u-s="{{['d']}}" u-i="5648f2a8-6,5648f2a8-1" bind:__l="__l" u-p="{{n}}"><up-input wx:if="{{m}}" class="data-v-5648f2a8" u-s="{{['prefix','suffix']}}" u-i="5648f2a8-7,5648f2a8-6" bind:__l="__l" bindupdateModelValue="{{l}}" u-p="{{m}}"><image class="data-v-5648f2a8" style="width:32rpx;height:32rpx;margin-right:18rpx;margin-top:10rpx" src="{{j}}" mode="widthFix" slot="prefix"></image><button class="authBtn data-v-5648f2a8" open-type="getPhoneNumber" bindgetphonenumber="{{k}}" slot="suffix">已废弃,重新绑定</button></up-input></up-form-item></up-form><view class="status data-v-5648f2a8"><view class="{{['statusBtn', 'data-v-5648f2a8', q && 'active']}}" bindtap="{{r}}">在岗</view><view class="{{['statusBtn', 'data-v-5648f2a8', s && 'active']}}" bindtap="{{t}}">离岗</view></view></view><view class="navList data-v-5648f2a8"><view class="navItem data-v-5648f2a8"><image class="data-v-5648f2a8" style="width:48rpx;height:48rpx" src="http://bxhd.crgx.net/profile/avatar/2024/10/12/pending_20241012174056A003.png" mode="widthFix" bindtap="{{v}}"></image><text class="data-v-5648f2a8">待处理</text></view><view class="navItem data-v-5648f2a8"><image class="data-v-5648f2a8" style="width:48rpx;height:48rpx" src="http://bxhd.crgx.net/profile/avatar/2024/10/12/processed_20241012173936A002.png" mode="widthFix" bindtap="{{w}}"></image><text class="data-v-5648f2a8">已处理</text></view><view class="navItem data-v-5648f2a8"><image class="data-v-5648f2a8" style="width:48rpx;height:48rpx" src="http://bxhd.crgx.net/profile/avatar/2024/10/12/ongoing_20241012174132A004.png" mode="widthFix" bindtap="{{x}}"></image><text class="data-v-5648f2a8">进行中</text></view><view class="navItem data-v-5648f2a8"><image class="data-v-5648f2a8" style="width:48rpx;height:48rpx" src="http://bxhd.crgx.net/profile/avatar/2024/10/12/deprecated_20241012174204A005.png" mode="widthFix" bindtap="{{y}}"></image><text class="data-v-5648f2a8">已作废</text></view><view class="navItem data-v-5648f2a8"><image class="data-v-5648f2a8" style="width:48rpx;height:48rpx" src="http://bxhd.crgx.net/profile/avatar/2024/10/12/ended_20241012174234A006.png" mode="widthFix" bindtap="{{z}}"></image><text class="data-v-5648f2a8">已完结</text></view></view><view class="loginBtn data-v-5648f2a8" bindtap="{{A}}">退出登录</view></view><up-tabbar wx:if="{{E}}" class="data-v-5648f2a8" u-s="{{['d']}}" u-i="5648f2a8-8" bind:__l="__l" u-p="{{E}}"><up-tabbar-item wx:if="{{C}}" class="data-v-5648f2a8" bindclick="{{B}}" u-i="5648f2a8-9,5648f2a8-8" bind:__l="__l" u-p="{{C}}"></up-tabbar-item><up-tabbar-item wx:if="{{D}}" class="data-v-5648f2a8" u-i="5648f2a8-10,5648f2a8-8" bind:__l="__l" u-p="{{D}}"></up-tabbar-item></up-tabbar></view> | ||
| 1 | +<view class="app-container data-v-5648f2a8"><up-navbar wx:if="{{a}}" class="data-v-5648f2a8" u-i="5648f2a8-0" bind:__l="__l" u-p="{{a}}"/><view class="car_list data-v-5648f2a8"><view class="line_title data-v-5648f2a8"><text class="left_title data-v-5648f2a8" style="color:#fff">我的信息</text><text class="data-v-5648f2a8" style="color:#fff">更新实名信息</text></view><view class="user-box data-v-5648f2a8"><up-form wx:if="{{o}}" class="r data-v-5648f2a8" u-s="{{['d']}}" u-r="userFormRef" u-i="5648f2a8-1" bind:__l="__l" u-p="{{o}}"><up-form-item wx:if="{{e}}" class="data-v-5648f2a8" u-s="{{['d']}}" u-i="5648f2a8-2,5648f2a8-1" bind:__l="__l" u-p="{{e}}"><up-input wx:if="{{d}}" class="data-v-5648f2a8" u-s="{{['prefix']}}" u-i="5648f2a8-3,5648f2a8-2" bind:__l="__l" bindupdateModelValue="{{c}}" u-p="{{d}}"><image class="data-v-5648f2a8" style="width:32rpx;height:32rpx;margin-right:18rpx;margin-top:10rpx" src="{{b}}" mode="widthFix" slot="prefix"></image></up-input></up-form-item><up-form-item wx:if="{{i}}" class="data-v-5648f2a8" u-s="{{['d']}}" u-i="5648f2a8-4,5648f2a8-1" bind:__l="__l" u-p="{{i}}"><up-input wx:if="{{h}}" class="data-v-5648f2a8" u-s="{{['prefix']}}" u-i="5648f2a8-5,5648f2a8-4" bind:__l="__l" bindupdateModelValue="{{g}}" u-p="{{h}}"><image class="data-v-5648f2a8" style="width:32rpx;height:32rpx;margin-right:18rpx;margin-top:10rpx" src="{{f}}" mode="widthFix" slot="prefix"></image></up-input></up-form-item><up-form-item wx:if="{{m}}" class="data-v-5648f2a8" u-s="{{['d']}}" u-i="5648f2a8-6,5648f2a8-1" bind:__l="__l" u-p="{{m}}"><up-input wx:if="{{l}}" class="data-v-5648f2a8" u-s="{{['prefix']}}" u-i="5648f2a8-7,5648f2a8-6" bind:__l="__l" bindupdateModelValue="{{k}}" u-p="{{l}}"><image class="data-v-5648f2a8" style="width:32rpx;height:32rpx;margin-right:18rpx;margin-top:10rpx" src="{{j}}" mode="widthFix" slot="prefix"></image></up-input></up-form-item></up-form><view class="status data-v-5648f2a8"><view class="{{['statusBtn', 'data-v-5648f2a8', p && 'active']}}" bindtap="{{q}}">在岗</view><view class="{{['statusBtn', 'data-v-5648f2a8', r && 'active']}}" bindtap="{{s}}">离岗</view></view></view><view class="navList data-v-5648f2a8"><view class="navItem data-v-5648f2a8"><image class="data-v-5648f2a8" style="width:48rpx;height:48rpx" src="http://bxhd.crgx.net/profile/avatar/2024/10/12/pending_20241012174056A003.png" mode="widthFix" bindtap="{{t}}"></image><text class="data-v-5648f2a8">待处理</text></view><view class="navItem data-v-5648f2a8"><image class="data-v-5648f2a8" style="width:48rpx;height:48rpx" src="http://bxhd.crgx.net/profile/avatar/2024/10/12/processed_20241012173936A002.png" mode="widthFix" bindtap="{{v}}"></image><text class="data-v-5648f2a8">已处理</text></view><view class="navItem data-v-5648f2a8"><image class="data-v-5648f2a8" style="width:48rpx;height:48rpx" src="http://bxhd.crgx.net/profile/avatar/2024/10/12/ongoing_20241012174132A004.png" mode="widthFix" bindtap="{{w}}"></image><text class="data-v-5648f2a8">进行中</text></view><view class="navItem data-v-5648f2a8"><image class="data-v-5648f2a8" style="width:48rpx;height:48rpx" src="http://bxhd.crgx.net/profile/avatar/2024/10/12/deprecated_20241012174204A005.png" mode="widthFix" bindtap="{{x}}"></image><text class="data-v-5648f2a8">已作废</text></view><view class="navItem data-v-5648f2a8"><image class="data-v-5648f2a8" style="width:48rpx;height:48rpx" src="http://bxhd.crgx.net/profile/avatar/2024/10/12/ended_20241012174234A006.png" mode="widthFix" bindtap="{{y}}"></image><text class="data-v-5648f2a8">已完结</text></view></view><view class="loginBtn data-v-5648f2a8" bindtap="{{z}}">退出登录</view></view><up-tabbar wx:if="{{D}}" class="data-v-5648f2a8" u-s="{{['d']}}" u-i="5648f2a8-8" bind:__l="__l" u-p="{{D}}"><up-tabbar-item wx:if="{{B}}" class="data-v-5648f2a8" bindclick="{{A}}" u-i="5648f2a8-9,5648f2a8-8" bind:__l="__l" u-p="{{B}}"></up-tabbar-item><up-tabbar-item wx:if="{{C}}" class="data-v-5648f2a8" u-i="5648f2a8-10,5648f2a8-8" bind:__l="__l" u-p="{{C}}"></up-tabbar-item></up-tabbar></view> |
| @@ -10,7 +10,7 @@ | @@ -10,7 +10,7 @@ | ||
| 10 | "list": [ | 10 | "list": [ |
| 11 | { | 11 | { |
| 12 | "name": "pages/login/login", | 12 | "name": "pages/login/login", |
| 13 | - "pathName": "pages/realName/realName", | 13 | + "pathName": "pages/companyHome/companyHome", |
| 14 | "query": "", | 14 | "query": "", |
| 15 | "launchMode": "default", | 15 | "launchMode": "default", |
| 16 | "scene": null | 16 | "scene": null |
| @@ -3,7 +3,7 @@ const utils_interceptors = require("./interceptors.js"); | @@ -3,7 +3,7 @@ const utils_interceptors = require("./interceptors.js"); | ||
| 3 | const uni_modules_uviewPlus_index = require("../uni_modules/uview-plus/index.js"); | 3 | const uni_modules_uviewPlus_index = require("../uni_modules/uview-plus/index.js"); |
| 4 | const initRequest = (vm) => { | 4 | const initRequest = (vm) => { |
| 5 | uni_modules_uviewPlus_index.http.setConfig((defaultConfig) => { | 5 | uni_modules_uviewPlus_index.http.setConfig((defaultConfig) => { |
| 6 | - defaultConfig.baseURL = "http://192.168.2.72:6512"; | 6 | + defaultConfig.baseURL = "https://bxcxhd.gxbx.com.cn"; |
| 7 | defaultConfig.timeout = 6e4; | 7 | defaultConfig.timeout = 6e4; |
| 8 | return defaultConfig; | 8 | return defaultConfig; |
| 9 | }); | 9 | }); |
utils/getDate.js
0 → 100644
| 1 | +/** | ||
| 2 | + * @param {String} str (y-m-d h:i:s) y:年 m:月 d:日 h:时 i:分 s:秒 | ||
| 3 | + */ | ||
| 4 | +export function dateTimeStr(str){ | ||
| 5 | + var date = new Date() | ||
| 6 | + year = date.getFullYear() //年 | ||
| 7 | + month = date.getMonth() + 1, //月 | ||
| 8 | + day = date.getDate() //日 | ||
| 9 | + | ||
| 10 | + if(str.indexOf('y') != -1){ | ||
| 11 | + str = str.replace('y', year) | ||
| 12 | + } | ||
| 13 | + if(str.indexOf('m') != -1){ | ||
| 14 | + str = str.replace('m', month) | ||
| 15 | + } | ||
| 16 | + if(str.indexOf('d') != -1){ | ||
| 17 | + str = str.replace('d', day) | ||
| 18 | + } | ||
| 19 | + return str; | ||
| 20 | +} |
| @@ -6,7 +6,7 @@ import { http } from '@/uni_modules/uview-plus' | @@ -6,7 +6,7 @@ import { http } from '@/uni_modules/uview-plus' | ||
| 6 | const initRequest=(vm)=>{ | 6 | const initRequest=(vm)=>{ |
| 7 | http.setConfig((defaultConfig) => { | 7 | http.setConfig((defaultConfig) => { |
| 8 | /* defaultConfig 为默认全局配置 */ | 8 | /* defaultConfig 为默认全局配置 */ |
| 9 | - defaultConfig.baseURL = 'https://bxhd.crgx.net' | 9 | + defaultConfig.baseURL = 'https://bxcxhd.gxbx.com.cn' |
| 10 | defaultConfig.timeout = 60000 | 10 | defaultConfig.timeout = 60000 |
| 11 | return defaultConfig | 11 | return defaultConfig |
| 12 | }) | 12 | }) |
-
请 注册 或 登录 后发表评论