Compare commits
2 Commits
5c040e3f55
...
25a230ece7
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
25a230ece7 | ||
|
|
3360f731eb |
@ -19,13 +19,26 @@
|
|||||||
</text>
|
</text>
|
||||||
<text v-else class="user-name text-black text-lg font-semibold" @click="editProfile()">请完善信息</text>
|
<text v-else class="user-name text-black text-lg font-semibold" @click="editProfile()">请完善信息</text>
|
||||||
<view class="flex items-center mt-5">
|
<view class="flex items-center mt-5">
|
||||||
<view v-if="!doctorInfo || !doctorInfo.anotherName" class="status-tag tag-orange mr-10"
|
<view v-if="!doctorInfo || !doctorInfo.anotherName"
|
||||||
|
class="mr-10 flex items-center bg-warning text-white text-center px-10 rounded-full"
|
||||||
@click="editProfile()">
|
@click="editProfile()">
|
||||||
<text class="tag-text text-white">信息待完善</text>
|
<view class="mr-5 pb-2 text-sm leading-normal text-white">信息待完善</view>
|
||||||
|
<view class="translate-y--1">
|
||||||
|
<uni-icons type="right" size="12" color="#fff" />
|
||||||
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view v-if="certStatus" class="px-10 py-3 text-sm rounded-full" :class="certStatus.classnames"
|
<view v-if="certStatus" class="flex items-center px-10 rounded-full" :class="certStatus.classnames"
|
||||||
@click.stop="handleCert()">
|
@click.stop="handleCert()">
|
||||||
{{ certStatus.text }}
|
<view class="text-sm leading-normal">{{ certStatus.text }}</view>
|
||||||
|
<template v-if="doctorInfo">
|
||||||
|
<view v-if="doctorInfo.certStatus === 'unverified'" class="translate-y--1">
|
||||||
|
<uni-icons type="right" size="12" color="#999" />
|
||||||
|
</view>
|
||||||
|
<view v-if="doctorInfo.certStatus === 'failed'" class="translate-y--1">
|
||||||
|
<uni-icons type="right" size="12" color="#fff" />
|
||||||
|
</view>
|
||||||
|
</template>
|
||||||
|
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
@ -382,4 +395,12 @@ useShow(async () => {
|
|||||||
padding-top: 6rpx;
|
padding-top: 6rpx;
|
||||||
padding-bottom: 6rpx;
|
padding-bottom: 6rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.pb-2 {
|
||||||
|
padding-bottom: 4rpx;
|
||||||
|
}
|
||||||
|
|
||||||
|
.translate-y--1 {
|
||||||
|
transform: translateY(-2rpx);
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
@ -181,7 +181,7 @@ import { ref, onUnmounted, nextTick, watch, computed } from "vue";
|
|||||||
import { onLoad, onShow, onHide } from "@dcloudio/uni-app";
|
import { onLoad, onShow, onHide } from "@dcloudio/uni-app";
|
||||||
import { storeToRefs } from "pinia";
|
import { storeToRefs } from "pinia";
|
||||||
import useAccountStore from "@/store/account.js";
|
import useAccountStore from "@/store/account.js";
|
||||||
import { globalTimChatManager, TIM } from "@/utils/tim-chat.js";
|
import { globalTimChatManager } from "@/utils/tim-chat.js";
|
||||||
import {
|
import {
|
||||||
startIMMonitoring,
|
startIMMonitoring,
|
||||||
stopIMMonitoring,
|
stopIMMonitoring,
|
||||||
|
|||||||
@ -111,11 +111,11 @@ const rule = computed(() => {
|
|||||||
data.job.name = "岗位 (不可修改)";
|
data.job.name = "岗位 (不可修改)";
|
||||||
data.job.disabled = true;
|
data.job.disabled = true;
|
||||||
|
|
||||||
data.title.name = doctorInfo.value.verifyStatus === 'verified' ? "职称 (不可修改)" : "职称";
|
// data.title.name = doctorInfo.value.verifyStatus === 'verified' ? "职称 (不可修改)" : "职称";
|
||||||
data.title.disabled = doctorInfo.value.verifyStatus === 'verified';
|
// data.title.disabled = doctorInfo.value.verifyStatus === 'verified';
|
||||||
|
|
||||||
data.dept.name = doctorInfo.value.verifyStatus === 'verified' ? "科室 (不可修改)" : "科室";
|
// data.dept.name = doctorInfo.value.verifyStatus === 'verified' ? "科室 (不可修改)" : "科室";
|
||||||
data.dept.disabled = doctorInfo.value.verifyStatus === 'verified';
|
// data.dept.disabled = doctorInfo.value.verifyStatus === 'verified';
|
||||||
}
|
}
|
||||||
return data
|
return data
|
||||||
});
|
});
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user