jeecgBootUniapp/src/pages-politics/healthfollow/sendmessage.vue

79 lines
1.5 KiB
Vue
Raw Normal View History

2025-06-24 08:51:53 +00:00
<route lang="json5" type="page">
{
layout: 'default',
style: {
navigationStyle: 'custom',
navigationBarTitleText: '健康随访',
},
}
</route>
<template>
<PageLayout navTitle="健康随访">
<view style="margin: 0 10px;">
<uni-segmented-control style="margin-top: 10px;margin-bottom: 10px" :current="current" :values="items"
@clickItem="onClickItem" styleType="button"></uni-segmented-control>
</view>
<view class="content">
<view v-if="current === 0">
<send></send>
</view>
<view v-if="current === 1">
</view>
</view>
</PageLayout>
</template>
<script setup>
import {
useMessage,
useToast
} from 'wot-design-uni'
import {
useAppStore
} from '@/store';
import {
useUserStore
} from '@/store/user';
import {
addApi,
queryIf3rdGxyApi
} from '@/api/politics/health'
import {
getEnvBaseUrl
} from '@/utils/index'
import send from './send'
const items = ref(['发送随访信息', '查看随访信息'])
const userStore = useUserStore(); //登录人信息
const current = ref(0)
function onClickItem(e) {
if (current.value != e.currentIndex) {
current.value = e.currentIndex;
}
}
onLoad(() => {
// if3rdGxy()
})
</script>
<style lang="scss" scoped>
.form-container {
padding: 20rpx;
background-color: #f5f7fa;
min-height: 100vh;
}
.card {
background: #ffffff;
border-radius: 16rpx;
box-shadow: 0 4rpx 12rpx rgba(0, 0, 0, 0.05);
margin-bottom: 30rpx;
overflow: hidden;
}
.footer {
padding: 40rpx 0;
}
</style>