This commit is contained in:
parent
5287763e0e
commit
cbf0dbba8e
|
|
@ -9,9 +9,9 @@ export const electricityMeterlist = () => {
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
// 获得护理单元主页大图
|
// 获得护理单元主页大图
|
||||||
export const queryWorkCareList = (data) => {
|
export const queryWorkOrderList = (data) => {
|
||||||
return request({
|
return request({
|
||||||
url: `${uni.getStorageSync('serverUrl')}/api/pad/care/queryWorkCareList?workType=${data.workType}&employeeId=${data.employeeId}&nuId=${data.nuId}`,
|
url: `${uni.getStorageSync('serverUrl')}/api/pad/serviceorder/queryWorkOrderList?workType=${data.workType}&employeeId=${data.employeeId}&nuId=${data.nuId}`,
|
||||||
method: 'get'
|
method: 'get'
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,16 +1,16 @@
|
||||||
// 引入 request 文件
|
// 引入 request 文件
|
||||||
import request from '@/request/index.js'
|
import request from '@/request/index.js'
|
||||||
|
|
||||||
export const queryCareList = (params) => {
|
export const queryOrderList = (params) => {
|
||||||
return request({
|
return request({
|
||||||
url: `${uni.getStorageSync('serverUrl')}/api/pad/care/queryCareList`,
|
url: `${uni.getStorageSync('serverUrl')}/api/pad/serviceorder/queryOrderList`,
|
||||||
method: 'get',
|
method: 'get',
|
||||||
data: params,
|
data: params,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
export const queryCareInfoList = (params) => {
|
export const queryOrderInfoList = (params) => {
|
||||||
return request({
|
return request({
|
||||||
url: `${uni.getStorageSync('serverUrl')}/api/pad/care/queryCareInfoList`,
|
url: `${uni.getStorageSync('serverUrl')}/api/pad/serviceorder/queryOrderInfoList`,
|
||||||
method: 'get',
|
method: 'get',
|
||||||
data: params,
|
data: params,
|
||||||
})
|
})
|
||||||
|
|
@ -18,28 +18,28 @@ export const queryCareInfoList = (params) => {
|
||||||
|
|
||||||
export const startOrder = (params) => {
|
export const startOrder = (params) => {
|
||||||
return request({
|
return request({
|
||||||
url: `${uni.getStorageSync('serverUrl')}/api/pad/care/startOrder`,
|
url: `${uni.getStorageSync('serverUrl')}/api/pad/serviceorder/startOrder`,
|
||||||
method: 'post',
|
method: 'post',
|
||||||
data: params,
|
data: params,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
export const endOrder = (params) => {
|
export const endOrder = (params) => {
|
||||||
return request({
|
return request({
|
||||||
url: `${uni.getStorageSync('serverUrl')}/api/pad/care/endOrder`,
|
url: `${uni.getStorageSync('serverUrl')}/api/pad/serviceorder/endOrder`,
|
||||||
method: 'post',
|
method: 'post',
|
||||||
data: params,
|
data: params,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
export const editSubMp4 = (params) => {
|
export const editSubMp4 = (params) => {
|
||||||
return request({
|
return request({
|
||||||
url: `${uni.getStorageSync('serverUrl')}/api/pad/care/editSubMp4`,
|
url: `${uni.getStorageSync('serverUrl')}/api/pad/serviceorder/editSubMp4`,
|
||||||
method: 'post',
|
method: 'post',
|
||||||
data: params,
|
data: params,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
export const editSubPicPath = (params) => {
|
export const editSubPicPath = (params) => {
|
||||||
return request({
|
return request({
|
||||||
url: `${uni.getStorageSync('serverUrl')}/api/pad/care/editSubPicPath`,
|
url: `${uni.getStorageSync('serverUrl')}/api/pad/serviceorder/editSubPicPath`,
|
||||||
method: 'post',
|
method: 'post',
|
||||||
data: params,
|
data: params,
|
||||||
})
|
})
|
||||||
|
|
|
||||||
|
|
@ -191,10 +191,9 @@
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { ref, onMounted, reactive, onBeforeUnmount, computed, nextTick, defineComponent } from 'vue';
|
import { ref, onMounted, reactive, onBeforeUnmount, computed, nextTick, defineComponent } from 'vue';
|
||||||
import { onShow, onLoad, onHide, onPageScroll } from "@dcloudio/uni-app"
|
import { onShow, onLoad, onHide, onPageScroll } from "@dcloudio/uni-app"
|
||||||
import {queryCareList,queryCareInfoList,startOrder,endOrder,editSubPicPath,editSubMp4} from './api/api.js'
|
import {queryOrderList,queryOrderInfoList,startOrder,endOrder,editSubPicPath,editSubMp4} from './api/api.js'
|
||||||
const serverUrl = ref(uni.getStorageSync('serverUrl') + '/sys/common/static/')
|
const serverUrl = ref(uni.getStorageSync('serverUrl') + '/sys/common/static/')
|
||||||
const servervideoUrl = ref(uni.getStorageSync('serverUrl') + '/sys/commonVideo/staticVideo/')
|
const servervideoUrl = ref(uni.getStorageSync('serverUrl') + '/sys/commonVideo/staticVideo/')
|
||||||
|
|
||||||
const form = reactive({
|
const form = reactive({
|
||||||
pageNo: 1,
|
pageNo: 1,
|
||||||
pageSize: 10,
|
pageSize: 10,
|
||||||
|
|
@ -219,7 +218,7 @@
|
||||||
firstgetqueryCgdList();
|
firstgetqueryCgdList();
|
||||||
}
|
}
|
||||||
const firstgetqueryCgdList = () => {
|
const firstgetqueryCgdList = () => {
|
||||||
queryCareList(form).then(res => {
|
queryOrderList(form).then(res => {
|
||||||
console.log(res)
|
console.log(res)
|
||||||
plsbuy.value.push(...res.result.records);
|
plsbuy.value.push(...res.result.records);
|
||||||
status.value = res.result.total == plsbuy.value.length ? 'nomore' : 'loadmore';
|
status.value = res.result.total == plsbuy.value.length ? 'nomore' : 'loadmore';
|
||||||
|
|
@ -243,7 +242,7 @@
|
||||||
let num = Math.ceil((index + 1))
|
let num = Math.ceil((index + 1))
|
||||||
leftscrolltop.value = (num - 2) * 186;
|
leftscrolltop.value = (num - 2) * 186;
|
||||||
lefttarget.value = index;
|
lefttarget.value = index;
|
||||||
queryCareInfoList({ mainId: item.id }).then(res => {
|
queryOrderInfoList({ mainId: item.id }).then(res => {
|
||||||
console.log(res)
|
console.log(res)
|
||||||
cardarr.value = res.result
|
cardarr.value = res.result
|
||||||
})
|
})
|
||||||
|
|
|
||||||
|
|
@ -473,9 +473,9 @@
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { ref, onMounted, onBeforeUnmount, computed, nextTick, watch ,reactive} from 'vue';
|
import { ref, onMounted, onBeforeUnmount, computed, nextTick, watch ,reactive} from 'vue';
|
||||||
import { queryPadPageList } from '@/pages/watch/api/lunpan.js'
|
import { queryPadPageList } from '@/pages/watch/api/lunpan.js'
|
||||||
import { queryWorkCareList } from './api.js'
|
import { queryWorkOrderList } from './api.js'
|
||||||
// import {startOrder,endOrder} from './doctorask/api/api.js'
|
// import {startOrder,endOrder} from './doctorask/api/api.js'
|
||||||
import {queryCareList,queryCareInfoList,startOrder,endOrder,editSubPicPath,editSubMp4} from '../component/doctorask/api/api.js'
|
import {queryOrderList,queryOrderInfoList,startOrder,endOrder,editSubPicPath,editSubMp4} from '../component/doctorask/api/api.js'
|
||||||
import { getNclist } from "./nurse/api.js";
|
import { getNclist } from "./nurse/api.js";
|
||||||
|
|
||||||
const form = reactive({
|
const form = reactive({
|
||||||
|
|
@ -486,7 +486,7 @@
|
||||||
})
|
})
|
||||||
const plsbuy = ref([])
|
const plsbuy = ref([])
|
||||||
const firstgetqueryCgdList = () => {
|
const firstgetqueryCgdList = () => {
|
||||||
queryCareList(form).then(res => {
|
queryOrderList(form).then(res => {
|
||||||
plsbuy.value.push(...res.result.records);
|
plsbuy.value.push(...res.result.records);
|
||||||
if(form.pageNo==1){
|
if(form.pageNo==1){
|
||||||
clickLeftMenu(0,plsbuy.value[0])
|
clickLeftMenu(0,plsbuy.value[0])
|
||||||
|
|
@ -494,7 +494,7 @@
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
const clickLeftMenu = (index : any, item : object) => {
|
const clickLeftMenu = (index : any, item : object) => {
|
||||||
queryCareInfoList({ mainId: item.id }).then(res => {
|
queryOrderInfoList({ mainId: item.id }).then(res => {
|
||||||
indexmessage.value = res.result[0]
|
indexmessage.value = res.result[0]
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
@ -897,7 +897,8 @@
|
||||||
employeeId: uni.getStorageSync('userInfo').employessId,
|
employeeId: uni.getStorageSync('userInfo').employessId,
|
||||||
workType: 5
|
workType: 5
|
||||||
}
|
}
|
||||||
queryWorkCareList(data).then((res : any) => {
|
console.log("看看图",data)
|
||||||
|
queryWorkOrderList(data).then((res : any) => {
|
||||||
console.log("看看图",res)
|
console.log("看看图",res)
|
||||||
indexmessage.value = res.result.records[0];
|
indexmessage.value = res.result.records[0];
|
||||||
console.log("看看图",'https://www.focusnu.com/media/upFiles/'+indexmessage.value.previewFile)
|
console.log("看看图",'https://www.focusnu.com/media/upFiles/'+indexmessage.value.previewFile)
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
<view class="logomain tp">
|
<view class="logomain tp">
|
||||||
<image src="/static/shouye/logo2.png" mode="aspectFill"></image>
|
<image src="/static/shouye/logo2.png" mode="aspectFill"></image>
|
||||||
</view>
|
</view>
|
||||||
<view class="cont">
|
<scroll-view class="cont" :scroll-y="true">
|
||||||
<view class="items" v-for="(v,i) in list" :key='i' :class="{'act':i==dexleft}" @click="dexleft = i;emit('navurl',i,v)">
|
<view class="items" v-for="(v,i) in list" :key='i' :class="{'act':i==dexleft}" @click="dexleft = i;emit('navurl',i,v)">
|
||||||
<view class="tm guodu">
|
<view class="tm guodu">
|
||||||
<image :src="i==dexleft?v.urls:v.url" mode="aspectFill" class="guodu"></image>
|
<image :src="i==dexleft?v.urls:v.url" mode="aspectFill" class="guodu"></image>
|
||||||
|
|
@ -12,7 +12,7 @@
|
||||||
</view>
|
</view>
|
||||||
<!-- <view class="heng guodu" :style="i!=dexleft&&i!=list.length-1?'opacity: 1':'opacity: 0'"></view> -->
|
<!-- <view class="heng guodu" :style="i!=dexleft&&i!=list.length-1?'opacity: 1':'opacity: 0'"></view> -->
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</scroll-view>
|
||||||
<view class="logo">
|
<view class="logo">
|
||||||
<view class="tp">
|
<view class="tp">
|
||||||
<image src="/static/shouye/xd.png" mode="aspectFill"></image>
|
<image src="/static/shouye/xd.png" mode="aspectFill"></image>
|
||||||
|
|
|
||||||
|
|
@ -8,13 +8,12 @@
|
||||||
<nurse :isshow="menuIndex==1" v-if="swipedex==1&&uni.getStorageSync('elderId')&&uni.getStorageSync('nuId')" />
|
<nurse :isshow="menuIndex==1" v-if="swipedex==1&&uni.getStorageSync('elderId')&&uni.getStorageSync('nuId')" />
|
||||||
<!-- 医嘱 -->
|
<!-- 医嘱 -->
|
||||||
<doctorask v-if="swipedex==2&&uni.getStorageSync('elderId')&&uni.getStorageSync('nuId')" />
|
<doctorask v-if="swipedex==2&&uni.getStorageSync('elderId')&&uni.getStorageSync('nuId')" />
|
||||||
<!-- 设备页 -->
|
|
||||||
<logistics :isshow="menuIndex==3" v-if="swipedex==3&&uni.getStorageSync('elderId')&&uni.getStorageSync('nuId')" />
|
<logistics :isshow="menuIndex==3" v-if="swipedex==3&&uni.getStorageSync('elderId')&&uni.getStorageSync('nuId')" />
|
||||||
<equipment :isShow="menuIndex==5" v-if="swipedex==5" />
|
|
||||||
<!-- 医嘱页 -->
|
<!-- 医嘱页 -->
|
||||||
<!-- <logistics :isShow="menuIndexshowfourth" v-if="menuIndex==3" /> -->
|
<!-- <logistics :isShow="menuIndexshowfourth" v-if="menuIndex==3" /> -->
|
||||||
<requestform :isShow="menuIndex==4" v-if="swipedex==4" />
|
<requestform :isShow="menuIndex==4" v-if="swipedex==4" />
|
||||||
|
<!-- 设备页 -->
|
||||||
|
<equipment :isShow="menuIndex==5" v-if="swipedex==5" />
|
||||||
<!-- 没有数据 -->
|
<!-- 没有数据 -->
|
||||||
<view class="nomessageclass" :style="messageopit?{opacity: `1`}:{opacity: `0`}"
|
<view class="nomessageclass" :style="messageopit?{opacity: `1`}:{opacity: `0`}"
|
||||||
v-if="(menuIndex == 1 || menuIndex == 2) && (!uni.getStorageSync('elderId') ||!uni.getStorageSync('nuId'))">
|
v-if="(menuIndex == 1 || menuIndex == 2) && (!uni.getStorageSync('elderId') ||!uni.getStorageSync('nuId'))">
|
||||||
|
|
@ -50,7 +49,8 @@
|
||||||
uni.setStorageSync("Packagelist", res.result)
|
uni.setStorageSync("Packagelist", res.result)
|
||||||
})
|
})
|
||||||
getPermissionList({employessId:uni.getStorageSync('userInfo').employessId}).then(res=>{
|
getPermissionList({employessId:uni.getStorageSync('userInfo').employessId}).then(res=>{
|
||||||
listarr.value = res.result;
|
console.log(res)
|
||||||
|
listarr.value = res.result ;
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
@ -64,10 +64,10 @@
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
const tabbrarr = ref([
|
const tabbrarr = ref([
|
||||||
{ name: '护理矩阵', url: '/static/shouye/sy/n0.png', urls: '/static/shouye/sy/n1.png' ,type:'hldy_hljz'},
|
{ name: '护理矩阵', url: '/static/shouye/sy/n0.png', urls: '/static/shouye/sy/n1.png' ,type:'kzgn_hljz'},
|
||||||
{ name: '医疗矩阵', url: '/static/shouye/sy/y0.png', urls: '/static/shouye/sy/y1.png' ,type:'hldy_yljz'},
|
{ name: '医疗矩阵', url: '/static/shouye/sy/y0.png', urls: '/static/shouye/sy/y1.png' ,type:'kzgn_yljz'},
|
||||||
{ name: '后勤矩阵', url: '/static/shouye/sy/l0.png', urls: '/static/shouye/sy/l1.png' ,type:'hldy_xzjz'},
|
{ name: '后勤矩阵', url: '/static/shouye/sy/l0.png', urls: '/static/shouye/sy/l1.png' ,type:'kzgn_hqjz'},
|
||||||
{ name: '请领', url: '/static/shouye/sy/l0.png', urls: '/static/shouye/sy/l1.png' ,type:'hldy_ql'},
|
{ name: '库房矩阵', url: '/static/shouye/sy/l0.png', urls: '/static/shouye/sy/l1.png' ,type:'kzgn_kfjz'},
|
||||||
])
|
])
|
||||||
const navurl = (e,v) => {
|
const navurl = (e,v) => {
|
||||||
swipedex.value = -1;
|
swipedex.value = -1;
|
||||||
|
|
@ -79,28 +79,32 @@
|
||||||
},100)
|
},100)
|
||||||
console.log('护理单元')
|
console.log('护理单元')
|
||||||
break;
|
break;
|
||||||
case 'hldy_hljz':
|
case 'kzgn_hljz':
|
||||||
swipedex.value = 1;
|
swipedex.value = 1;
|
||||||
setTimeout(()=>{
|
setTimeout(()=>{
|
||||||
menuIndex.value =1;
|
menuIndex.value =1;
|
||||||
},100)
|
},100)
|
||||||
console.log('护理矩阵')
|
console.log('护理矩阵')
|
||||||
break;
|
break;
|
||||||
case 'hldy_yljz':
|
case 'kzgn_yljz':
|
||||||
swipedex.value = 2;
|
swipedex.value = 2;
|
||||||
setTimeout(()=>{
|
setTimeout(()=>{
|
||||||
menuIndex.value = 2;
|
menuIndex.value = 2;
|
||||||
},100)
|
},100)
|
||||||
console.log('医疗矩阵')
|
console.log('医疗矩阵')
|
||||||
break;
|
break;
|
||||||
case 'hldy_xzjz':
|
case 'kzgn_hqjz':
|
||||||
swipedex.value = 3;
|
swipedex.value = 3;
|
||||||
setTimeout(()=>{
|
setTimeout(()=>{
|
||||||
menuIndex.value = 3;
|
menuIndex.value = 3;
|
||||||
},100)
|
},100)
|
||||||
console.log('行政矩阵')
|
console.log('后勤矩阵')
|
||||||
break;
|
break;
|
||||||
case 'kf':
|
case 'kzgn_kfjz':
|
||||||
|
swipedex.value = 3;
|
||||||
|
setTimeout(()=>{
|
||||||
|
menuIndex.value = 3;
|
||||||
|
},100)
|
||||||
console.log('库房')
|
console.log('库房')
|
||||||
break;
|
break;
|
||||||
case 'kf_cg':
|
case 'kf_cg':
|
||||||
|
|
@ -147,15 +151,22 @@
|
||||||
{ name: '首页', url: '/static/shouye/sy/h0.png', urls: '/static/shouye/sy/h1.png' ,type:'hldy'}
|
{ name: '首页', url: '/static/shouye/sy/h0.png', urls: '/static/shouye/sy/h1.png' ,type:'hldy'}
|
||||||
])
|
])
|
||||||
const swip = ()=>{
|
const swip = ()=>{
|
||||||
|
let nuId = uni.getStorageSync('nuId');
|
||||||
|
let arrs = [];
|
||||||
|
listarr.value.forEach(item=>{
|
||||||
|
if(item.nuId == nuId){
|
||||||
|
arrs = item.dataList
|
||||||
|
}
|
||||||
|
})
|
||||||
let nuName = uni.getStorageSync('nuName')
|
let nuName = uni.getStorageSync('nuName')
|
||||||
|
|
||||||
queryPadPageList({'pageNo':-1,'nuName':nuName}).then((res => {
|
queryPadPageList({'pageNo':-1,'nuName':nuName}).then((res => {
|
||||||
console.log(res.result.records)
|
|
||||||
let arr = res.result.records[0].permissionList;
|
let arr = res.result.records[0].permissionList;
|
||||||
arrlist.value = [{ name: '首页', url: '/static/shouye/sy/h0.png', urls: '/static/shouye/sy/h1.png' ,type:'hldy'}];
|
arrlist.value = [{ name: '首页', url: '/static/shouye/sy/h0.png', urls: '/static/shouye/sy/h1.png' ,type:'hldy'}];
|
||||||
let tbr = [];
|
let tbr = [];
|
||||||
if(arr){
|
if(arr){
|
||||||
arr.forEach((v,i)=>{
|
arr.forEach((v,i)=>{
|
||||||
let obj = listarr.value.find(item=>
|
let obj = arrs.find(item=>
|
||||||
item.menuCode == v.menuCode
|
item.menuCode == v.menuCode
|
||||||
);
|
);
|
||||||
if(obj){
|
if(obj){
|
||||||
|
|
@ -168,12 +179,12 @@
|
||||||
);
|
);
|
||||||
if(obj){
|
if(obj){
|
||||||
arrlist.value.push(obj);
|
arrlist.value.push(obj);
|
||||||
console.log(arrlist.value)
|
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
let back =[
|
let back =[
|
||||||
|
{ name: '请领', url: '/static/shouye/sy/l0.png', urls: '/static/shouye/sy/l1.png' ,type:'hldy_ql'},
|
||||||
{ name: '智慧物联', url: '/static/shouye/sy/g0.png', urls: '/static/shouye/sy/g1.png' ,type:'wl'},
|
{ name: '智慧物联', url: '/static/shouye/sy/g0.png', urls: '/static/shouye/sy/g1.png' ,type:'wl'},
|
||||||
{ name: '返回', url: '/static/shouye/sy/f0.png', urls: '/static/shouye/sy/f1.png' ,type:'back'}
|
{ name: '返回', url: '/static/shouye/sy/f0.png', urls: '/static/shouye/sy/f1.png' ,type:'back'}
|
||||||
]
|
]
|
||||||
|
|
|
||||||
|
|
@ -271,6 +271,7 @@
|
||||||
uni.setStorageSync('nuId', data.nuId);
|
uni.setStorageSync('nuId', data.nuId);
|
||||||
uni.setStorageSync('nuName', data.nuName);
|
uni.setStorageSync('nuName', data.nuName);
|
||||||
uni.setStorageSync('elderId', data.elderInfo ? data.elderInfo?.id : null);
|
uni.setStorageSync('elderId', data.elderInfo ? data.elderInfo?.id : null);
|
||||||
|
console.log(uni.getStorageSync('elderId'),uni.getStorageSync('nuId'),data.elderInfo)
|
||||||
uni.setStorageSync('NUall', data);
|
uni.setStorageSync('NUall', data);
|
||||||
emit('swip')
|
emit('swip')
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -12,6 +12,9 @@
|
||||||
<outbound :isShow="menuop == 4" v-if="swipdex == 4"></outbound>
|
<outbound :isShow="menuop == 4" v-if="swipdex == 4"></outbound>
|
||||||
<retstock :isShow="menuop == 5" v-if="swipdex == 5"></retstock>
|
<retstock :isShow="menuop == 5" v-if="swipdex == 5"></retstock>
|
||||||
<inventory :isShow="menuop == 6" v-if="swipdex == 6"></inventory>
|
<inventory :isShow="menuop == 6" v-if="swipdex == 6"></inventory>
|
||||||
|
<nurse :isshow="menuop == 7" v-if="swipdex==7&&uni.getStorageSync('nuId')" />
|
||||||
|
<doctorask :isshow="menuop == 8" v-if="swipdex==8&&uni.getStorageSync('nuId')" />
|
||||||
|
<logistics :isshow="menuop == 9" v-if="swipdex==9&&uni.getStorageSync('nuId')" />
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
@ -32,13 +35,15 @@
|
||||||
import inventory from "@/pages/procurement/inventory.vue";
|
import inventory from "@/pages/procurement/inventory.vue";
|
||||||
import retstock from "@/pages/procurement/retstock.vue";
|
import retstock from "@/pages/procurement/retstock.vue";
|
||||||
|
|
||||||
|
import logistics from "@/pages/NursingNew/component/nurse/logistics.vue"
|
||||||
|
import doctorask from "@/pages/NursingNew/component/doctorask/doctorask.vue"
|
||||||
|
import nurse from "@/pages/NursingNew/component/nurse/index.vue"
|
||||||
|
|
||||||
const tabbrarr = ref([
|
const tabbrarr = ref([
|
||||||
{ name: '采购', url: '/static/shouye/ck/c0.png', urls: '/static/shouye/ck/c1.png' ,type:'kf_cg'},
|
{ name: '护理矩阵', url: '/static/shouye/sy/n0.png', urls: '/static/shouye/sy/n1.png' ,type:'kzgn_hljz'},
|
||||||
{ name: '拣货', url: '/static/shouye/ck/j0.png', urls: '/static/shouye/ck/j1.png' ,type:'kf_jh'},
|
{ name: '医疗矩阵', url: '/static/shouye/sy/y0.png', urls: '/static/shouye/sy/y1.png' ,type:'kzgn_yljz'},
|
||||||
{ name: '完结', url: '/static/shouye/ck/w0.png', urls: '/static/shouye/ck/w1.png' ,type:'kf_wj'},
|
{ name: '后勤矩阵', url: '/static/shouye/sy/l0.png', urls: '/static/shouye/sy/l1.png' ,type:'kzgn_hqjz'},
|
||||||
{ name: '请领出库', url: '/static/shouye/ck/q0.png', urls: '/static/shouye/ck/q1.png' ,type:'kf_ql'},
|
{ name: '库房矩阵', url: '/static/shouye/sy/l0.png', urls: '/static/shouye/sy/l1.png' ,type:'kzgn_kfjz'},
|
||||||
{ name: '退货入库', url: '/static/shouye/ck/t0.png', urls: '/static/shouye/ck/t1.png' ,type:'kf_th'},
|
|
||||||
{ name: '库存盘点', url: '/static/shouye/ck/p0.png', urls: '/static/shouye/ck/p1.png' ,type:'kf_pd'},
|
|
||||||
])
|
])
|
||||||
const menuop = ref(0)
|
const menuop = ref(0)
|
||||||
const swipdex = ref(0)
|
const swipdex = ref(0)
|
||||||
|
|
@ -98,6 +103,34 @@
|
||||||
menuop.value = 6
|
menuop.value = 6
|
||||||
},100)
|
},100)
|
||||||
break;
|
break;
|
||||||
|
case 'kzgn_hljz':
|
||||||
|
swipdex.value = 7;
|
||||||
|
setTimeout(()=>{
|
||||||
|
menuop.value =7;
|
||||||
|
},100)
|
||||||
|
console.log('护理矩阵')
|
||||||
|
break;
|
||||||
|
case 'kzgn_yljz':
|
||||||
|
swipdex.value = 8;
|
||||||
|
setTimeout(()=>{
|
||||||
|
menuop.value = 8;
|
||||||
|
},100)
|
||||||
|
console.log('医疗矩阵')
|
||||||
|
break;
|
||||||
|
case 'kzgn_hqjz':
|
||||||
|
swipdex.value = 9;
|
||||||
|
setTimeout(()=>{
|
||||||
|
menuop.value = 9;
|
||||||
|
},100)
|
||||||
|
console.log('后勤矩阵')
|
||||||
|
break;
|
||||||
|
case 'kzgn_kfjz':
|
||||||
|
swipdex.value = 7;
|
||||||
|
setTimeout(()=>{
|
||||||
|
menuop.value =7;
|
||||||
|
},100)
|
||||||
|
console.log('库房')
|
||||||
|
break;
|
||||||
case 'back':
|
case 'back':
|
||||||
uni.navigateBack()
|
uni.navigateBack()
|
||||||
break;
|
break;
|
||||||
|
|
@ -107,18 +140,31 @@
|
||||||
}
|
}
|
||||||
},10)
|
},10)
|
||||||
}
|
}
|
||||||
const arrlist = ref([
|
const arrlist = ref([ ])
|
||||||
{ name: '首页', url: '/static/shouye/ck/h0.png', urls: '/static/shouye/ck/h1.png' ,type:'sy'}
|
|
||||||
])
|
|
||||||
const listarr = ref([])
|
const listarr = ref([])
|
||||||
const swip = ()=>{
|
const swip = ()=>{
|
||||||
|
let nuId = uni.getStorageSync('nuId');
|
||||||
getPermissionList({employessId:uni.getStorageSync('userInfo').employessId}).then(res=>{
|
getPermissionList({employessId:uni.getStorageSync('userInfo').employessId}).then(res=>{
|
||||||
listarr.value = res.result;
|
console.log(res)
|
||||||
|
console.log(nuId)
|
||||||
|
res.result.forEach(item=>{
|
||||||
|
if(item.nuId == nuId){
|
||||||
|
listarr.value = item.dataList
|
||||||
|
}
|
||||||
|
})
|
||||||
})
|
})
|
||||||
let nuName = uni.getStorageSync('nuName')
|
let nuName = uni.getStorageSync('nuName')
|
||||||
queryPadPageList({'pageNo':-1,'nuName':nuName}).then((res => {
|
queryPadPageList({'pageNo':-1,'nuName':nuName}).then((res => {
|
||||||
let arr = res.result.records[0].permissionList;
|
let arr = res.result.records[0].permissionList;
|
||||||
arrlist.value = [{ name: '首页', url: '/static/shouye/ck/h0.png', urls: '/static/shouye/ck/h1.png' ,type:'sy'}];
|
arrlist.value = [
|
||||||
|
{ name: '首页', url: '/static/shouye/ck/h0.png', urls: '/static/shouye/ck/h1.png' ,type:'sy'},
|
||||||
|
{ name: '采购', url: '/static/shouye/ck/c0.png', urls: '/static/shouye/ck/c1.png' ,type:'kf_cg'},
|
||||||
|
{ name: '拣货', url: '/static/shouye/ck/j0.png', urls: '/static/shouye/ck/j1.png' ,type:'kf_jh'},
|
||||||
|
{ name: '完结', url: '/static/shouye/ck/w0.png', urls: '/static/shouye/ck/w1.png' ,type:'kf_wj'},
|
||||||
|
{ name: '请领出库', url: '/static/shouye/ck/q0.png', urls: '/static/shouye/ck/q1.png' ,type:'kf_ql'},
|
||||||
|
{ name: '退货入库', url: '/static/shouye/ck/t0.png', urls: '/static/shouye/ck/t1.png' ,type:'kf_th'},
|
||||||
|
{ name: '库存盘点', url: '/static/shouye/ck/p0.png', urls: '/static/shouye/ck/p1.png' ,type:'kf_pd'},
|
||||||
|
];
|
||||||
let tbr = [];
|
let tbr = [];
|
||||||
if(arr){
|
if(arr){
|
||||||
arr.forEach((v,i)=>{
|
arr.forEach((v,i)=>{
|
||||||
|
|
|
||||||
|
|
@ -574,7 +574,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||||
)
|
)
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
const camera = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["styles", [_style_0]], ["__file", "D:/hldy_app_mini/pages/camera.nvue"]]);
|
const camera = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["styles", [_style_0]], ["__file", "D:/项目/hldy_app_mini/pages/camera.nvue"]]);
|
||||||
export {
|
export {
|
||||||
camera as default
|
camera as default
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -578,7 +578,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||||
)
|
)
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
const fullcamera = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["styles", [_style_0]], ["__file", "D:/hldy_app_mini/pages/fullcamera.nvue"]]);
|
const fullcamera = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["styles", [_style_0]], ["__file", "D:/项目/hldy_app_mini/pages/fullcamera.nvue"]]);
|
||||||
export {
|
export {
|
||||||
fullcamera as default
|
fullcamera as default
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue