|
|
@@ -32,13 +32,16 @@
|
|
|
<view class="changeloc" @tap="changeloc">切换科室</view>
|
|
|
</span>
|
|
|
</view>
|
|
|
+ <progress :percent="percent" activeColor="#D52424" stroke-width="1"></progress>
|
|
|
</view>
|
|
|
</view>
|
|
|
- <progress :percent="percent" activeColor="#D52424" stroke-width="1"></progress>
|
|
|
</view>
|
|
|
-
|
|
|
+
|
|
|
+ <view class="activeButView">
|
|
|
+ <button class="activeBut" type="primary" @click="gotoAddVisitat">快捷巡视单</button>
|
|
|
+ </view>
|
|
|
+
|
|
|
<view class="wardtitle">
|
|
|
- <!-- <text style="padding-left: 3px">在院患者 ({{ userData.locDesc }})</text> -->
|
|
|
<view @click="togglePatientType">
|
|
|
<text style="padding-left: 3px">{{ currentType }}</text>
|
|
|
<text class="refresh-icon"> ↺切换</text>
|
|
|
@@ -157,25 +160,6 @@ import { $http } from '../../config/https';
|
|
|
import navBar from '@/pages/components/navbar/index';
|
|
|
import PaymentDetailPopup from '@/pages/components/PaymentDetailPopup.vue'
|
|
|
|
|
|
-// // 工具函数(替代原wxs模块)
|
|
|
-// const getspan = (widh) => {
|
|
|
-// return widh.replace("px", "");
|
|
|
-// };
|
|
|
-
|
|
|
-// const findPat = (patinfo, searchData) => {
|
|
|
-// if (!searchData) return 1;
|
|
|
-// const searchStr = searchData.toUpperCase();
|
|
|
-// return (
|
|
|
-// patinfo.patName.includes(searchData) ||
|
|
|
-// patinfo.admBedCode.includes(searchData) ||
|
|
|
-// patinfo.patID.includes(searchData) ||
|
|
|
-// patinfo.patNameSpell.includes(searchStr) ||
|
|
|
-// patinfo.patNo.includes(searchStr) ||
|
|
|
-// patinfo.patMedicalNo.includes(searchStr) ||
|
|
|
-// patinfo.admID === searchData
|
|
|
-// ) ? 1 : 0;
|
|
|
-// };
|
|
|
-
|
|
|
const getposition = (iconitem) => {
|
|
|
return `-${(iconitem.position % 10 - 1) * 18}px -${Math.floor(iconitem.position / 10) * 18}px`;
|
|
|
};
|
|
|
@@ -204,7 +188,6 @@ const locList = ref([]);
|
|
|
const curLoc = ref(-1);
|
|
|
const wardPatList = ref('');
|
|
|
const percent = ref(0);
|
|
|
-const downLineShow = ref(true);
|
|
|
// 控制弹框显示/隐藏
|
|
|
const showPopup = ref(false);
|
|
|
// 患者信息(响应式对象)
|
|
|
@@ -229,6 +212,11 @@ const togglePatientType = () => {
|
|
|
const currentType = computed(() => {
|
|
|
return patientTypes[currentTypeIndex.value].label;
|
|
|
});
|
|
|
+//跳转到添加巡视单快捷页面
|
|
|
+const gotoAddVisitat = () => {
|
|
|
+ // 新巡视单模板id: 306
|
|
|
+ Common.getToAddVisitatRecordPage('306', 0, '快捷巡视单记录', 'E');
|
|
|
+}
|
|
|
|
|
|
onShow(() => {
|
|
|
try {
|
|
|
@@ -408,7 +396,11 @@ const getWardPatList = () => {
|
|
|
$http.post('urlDeault',this, {
|
|
|
code: '04020025',
|
|
|
data: {
|
|
|
- params: [{ wardID: userData.locID, patMessage: searchData.value || '' }]
|
|
|
+ params: [{
|
|
|
+ wardID: userData.locID,
|
|
|
+ patMessage: searchData.value || '',
|
|
|
+ deviceType:'PDA'
|
|
|
+ }]
|
|
|
},
|
|
|
success: (res) => {
|
|
|
uni.hideLoading();
|
|
|
@@ -620,7 +612,6 @@ const changeToLoc = (loc) => {
|
|
|
|
|
|
.userbg {
|
|
|
width: 100%;
|
|
|
- height: 340rpx;
|
|
|
background-size: 100% auto;
|
|
|
background-repeat: no-repeat;
|
|
|
}
|
|
|
@@ -661,7 +652,7 @@ const changeToLoc = (loc) => {
|
|
|
|
|
|
.user {
|
|
|
width: calc(100% - 30rpx);
|
|
|
- height: 200rpx;
|
|
|
+ height: 160rpx;
|
|
|
background-size: 100% auto;
|
|
|
background-repeat: no-repeat;
|
|
|
padding: 0 18rpx 20rpx;
|
|
|
@@ -672,10 +663,10 @@ const changeToLoc = (loc) => {
|
|
|
border-radius: 50%;
|
|
|
margin-left: 12rpx;
|
|
|
background: #e3e4fc;
|
|
|
- height: 120rpx;
|
|
|
+ height: 100rpx;
|
|
|
width: 120rpx;
|
|
|
text-align: center;
|
|
|
- line-height: 120rpx;
|
|
|
+ line-height: 100rpx;
|
|
|
float: left;
|
|
|
margin: 40rpx 20rpx;
|
|
|
}
|
|
|
@@ -683,7 +674,7 @@ const changeToLoc = (loc) => {
|
|
|
.userinfo {
|
|
|
float: left;
|
|
|
width: calc(100% - 190rpx);
|
|
|
- height: 120rpx;
|
|
|
+ height: 100rpx;
|
|
|
margin: 40rpx 0;
|
|
|
line-height: 60rpx;
|
|
|
padding-right: 30rpx;
|
|
|
@@ -700,7 +691,17 @@ const changeToLoc = (loc) => {
|
|
|
width: 120rpx;
|
|
|
border-radius: 50%;
|
|
|
}
|
|
|
-
|
|
|
+.progressView{
|
|
|
+ width: 100%;
|
|
|
+}
|
|
|
+.activeButView{
|
|
|
+ padding: 0 30rpx 30rpx 30rpx;
|
|
|
+}
|
|
|
+.activeBut{
|
|
|
+ height: 70rpx;
|
|
|
+ line-height: 70rpx;
|
|
|
+ padding-top: 4rpx;
|
|
|
+}
|
|
|
.wardtitle {
|
|
|
width: calc(100% - 56px);
|
|
|
margin: 0 28rpx;
|
|
|
@@ -768,7 +769,7 @@ const changeToLoc = (loc) => {
|
|
|
|
|
|
.patcontent {
|
|
|
overflow: auto;
|
|
|
- height: calc(100% - 500rpx);
|
|
|
+ height: calc(100% - 560rpx);
|
|
|
}
|
|
|
|
|
|
.patlist .van-cell,
|