3.18提交
This commit is contained in:
@@ -15,7 +15,8 @@
|
||||
>
|
||||
<template #right>
|
||||
<view class="nav-right">
|
||||
<up-icon name="share" color="#8B2316" size="24" @click="shareToggle"></up-icon>
|
||||
<up-image :src="shareIcon" width="36rpx" height="36rpx" @click="shareToggle"></up-image>
|
||||
<!-- <up-icon name="share" color="#8B2316" size="24" @click="shareToggle"></up-icon> -->
|
||||
<up-image :src="siteImg" width="36rpx" height="36rpx" @click="goSite"></up-image>
|
||||
</view>
|
||||
</template>
|
||||
@@ -199,6 +200,7 @@ import empty from '@/components/empty/empty.vue'
|
||||
import sendImg from '@/static/send_feed.png'
|
||||
import dateBg from '@/static/data_sign.png'
|
||||
import editImg from '@/static/edit_icon.png'
|
||||
import shareIcon from '@/static/icon_share.png'
|
||||
import unidialog from '@/components/dialog/dialog.vue'
|
||||
import deleteImg from '@/static/delete_icon.png'
|
||||
import sinaImg from "@/static/share_sina.png"
|
||||
@@ -218,32 +220,45 @@ const addressList = ref([]);
|
||||
const shareRef = ref()
|
||||
const shareLink = ref('')
|
||||
const patient_user_uuid = ref('');
|
||||
const isLock=ref(true)
|
||||
// 响应式数据
|
||||
const from = ref('');
|
||||
const currentTab = ref('suspension')
|
||||
const remarks = ref('')
|
||||
|
||||
const note = ref('')
|
||||
|
||||
const patientList = ref([]);
|
||||
const outpatientSchedules = ref([])
|
||||
const outPatientList = ref([]);
|
||||
const patientListByGBK=()=>{
|
||||
api.patientListByGBK().then(res=>{
|
||||
if(res.code==1){
|
||||
isLock.value = false;
|
||||
patientList.value = res.data;
|
||||
console.log(res.data)
|
||||
for(let i=0;i<res.data.length;i++){
|
||||
if(patient_user_uuid.value){
|
||||
patient_user_uuid.value += res.data[i].uuid+',';
|
||||
}else{
|
||||
patient_user_uuid.value += res.data[i].uuid;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
})
|
||||
}
|
||||
const noticeConfirm = () => {
|
||||
noticeVisible.value = false;
|
||||
publishOutPatient();
|
||||
if(patientList.value.length >= 200 || isLock.value){
|
||||
uni.sendNativeEvent(
|
||||
"goGroupMessagePage",
|
||||
{
|
||||
msg: "goGroupMessagePage",
|
||||
},
|
||||
(ret) => {
|
||||
console.log(ret);
|
||||
}
|
||||
);
|
||||
// navTo({
|
||||
// url:'/pages_chat/groupMessage/groupMessage?from=outPatient'
|
||||
// })
|
||||
}else{
|
||||
publishOutPatient();
|
||||
}
|
||||
|
||||
}
|
||||
const noticeCancel=()=>{
|
||||
noticeVisible.value = false;
|
||||
@@ -344,10 +359,18 @@ const goSite = () => {
|
||||
})
|
||||
}
|
||||
const publishOutPatient = async (uuid) => {
|
||||
let uuids='';
|
||||
for(let i=0;i<patientList.value.length;i++){
|
||||
if(uuids){
|
||||
uuids+=','+patientList.value[i].uuid;
|
||||
}else{
|
||||
uuids += patientList.value[i].uuid;
|
||||
}
|
||||
}
|
||||
const res = await api.publishOutPatient({
|
||||
msg_type:'5',
|
||||
msg_content:'',
|
||||
patient_user_uuid:patient_user_uuid.value
|
||||
patient_user_uuid:uuids
|
||||
})
|
||||
if(!from.value){
|
||||
plus.runtime.quit();
|
||||
@@ -1029,8 +1052,9 @@ bottom: 152rpx;
|
||||
align-items: flex-start;
|
||||
}
|
||||
.schedule-left {
|
||||
height: 200rpx;
|
||||
border-right: 2rpx solid #f0f0f0;
|
||||
min-height: 200rpx;
|
||||
padding:20rpx 0;
|
||||
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
@@ -1050,8 +1074,10 @@ bottom: 152rpx;
|
||||
}
|
||||
|
||||
.schedule-right {
|
||||
border-left: 2rpx solid #f0f0f0;
|
||||
flex: 1;
|
||||
height: 200rpx;
|
||||
min-height: 200rpx;
|
||||
padding:20rpx 0;
|
||||
margin-left: 30prx;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
@@ -1077,13 +1103,10 @@ bottom: 152rpx;
|
||||
color: #333;
|
||||
}
|
||||
|
||||
.location-info {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 15rpx;
|
||||
}
|
||||
|
||||
|
||||
.location {
|
||||
display: inline-block;
|
||||
font-size: 28rpx;
|
||||
color: #666;
|
||||
}
|
||||
@@ -1106,9 +1129,10 @@ bottom: 152rpx;
|
||||
border: 2rpx solid #8B2316;
|
||||
border-radius: 20rpx;
|
||||
padding:2rpx 16rpx;
|
||||
white-space: nowrap;
|
||||
font-size: 20rpx;
|
||||
color: #8B2316;
|
||||
display: flex;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user