feat: 新增账号安全模块及资质校验功能
- 新增账号安全页面及支付密码验证组件 - 新增用户类型选择流程及商家资质管理 - 新增订单资质校验逻辑,师傅需满足订单证书要求 - 新增企业资质认证相关数据库表及接口 - 优化用户列表展示,区分个人与商家用户类型
这个提交包含在:
@@ -213,6 +213,11 @@
|
||||
</view>
|
||||
|
||||
<!-- 客户工单特别要求 -->
|
||||
<view class="qualification-row" v-if="o.qual_req">
|
||||
<text>资质要求:{{ o.qual_req }}</text>
|
||||
<text v-if="!o.qualification_allowed" class="qualification-warning">暂无有效认证证书</text>
|
||||
<text v-if="!o.qualification_allowed" class="qualification-link" @tap.stop="goCerts">去上传证书</text>
|
||||
</view>
|
||||
<view class="remark-row" v-if="o.remark">
|
||||
<text class="remark-tag">工单要求</text>
|
||||
<text class="remark-txt">{{ o.remark }}</text>
|
||||
@@ -238,9 +243,10 @@
|
||||
</view>
|
||||
|
||||
<view class="ft-btns">
|
||||
<view v-if="!o.qualification_allowed" class="qualification-disabled"><text class="btn-txt">{{ o.price_type === 'quote' ? '暂不可报价' : '暂不可接单' }}</text></view>
|
||||
<view
|
||||
class="quote-btn clickable-hover"
|
||||
v-if="o.price_type === 'quote'"
|
||||
v-else-if="o.price_type === 'quote'"
|
||||
@tap="goDetail(o)"
|
||||
>
|
||||
<text class="btn-txt">立即报价</text>
|
||||
@@ -570,6 +576,9 @@
|
||||
function goSkills() {
|
||||
uni.navigateTo({ url: '/pages/master/skills' });
|
||||
}
|
||||
function goCerts() {
|
||||
uni.navigateTo({ url: '/pages/master/certs' });
|
||||
}
|
||||
|
||||
function openGrabConfirm(o) {
|
||||
if (info.value && info.value.work_status === 'off') {
|
||||
@@ -889,6 +898,10 @@
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.qualification-row { display: flex; flex-wrap: wrap; gap: 12rpx; margin-top: 16rpx; color: $yjyf-text-regular; font-size: $yjyf-font-sub; }
|
||||
.qualification-warning { color: $yjyf-danger; }
|
||||
.qualification-link { color: $yjyf-primary; }
|
||||
.qualification-disabled { padding: 14rpx 24rpx; border-radius: $yjyf-radius-pill; background: $yjyf-text-disabled; }
|
||||
@import '@/uni.scss';
|
||||
|
||||
.hall-view {
|
||||
|
||||
在新工单中引用
屏蔽一个用户