diff --git a/pages/NursingNew/component/api.js b/pages/NursingNew/component/api.js
index b53ad20..5df1a04 100644
--- a/pages/NursingNew/component/api.js
+++ b/pages/NursingNew/component/api.js
@@ -9,9 +9,9 @@ export const electricityMeterlist = () => {
})
}
// 获得护理单元主页大图
-export const queryWorkCareList = (data) => {
+export const queryWorkOrderList = (data) => {
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'
})
}
diff --git a/pages/NursingNew/component/doctorask/api/api.js b/pages/NursingNew/component/doctorask/api/api.js
index ecf6f1f..6460976 100644
--- a/pages/NursingNew/component/doctorask/api/api.js
+++ b/pages/NursingNew/component/doctorask/api/api.js
@@ -1,16 +1,16 @@
// 引入 request 文件
import request from '@/request/index.js'
-export const queryCareList = (params) => {
+export const queryOrderList = (params) => {
return request({
- url: `${uni.getStorageSync('serverUrl')}/api/pad/care/queryCareList`,
+ url: `${uni.getStorageSync('serverUrl')}/api/pad/serviceorder/queryOrderList`,
method: 'get',
data: params,
})
}
-export const queryCareInfoList = (params) => {
+export const queryOrderInfoList = (params) => {
return request({
- url: `${uni.getStorageSync('serverUrl')}/api/pad/care/queryCareInfoList`,
+ url: `${uni.getStorageSync('serverUrl')}/api/pad/serviceorder/queryOrderInfoList`,
method: 'get',
data: params,
})
@@ -18,28 +18,28 @@ export const queryCareInfoList = (params) => {
export const startOrder = (params) => {
return request({
- url: `${uni.getStorageSync('serverUrl')}/api/pad/care/startOrder`,
+ url: `${uni.getStorageSync('serverUrl')}/api/pad/serviceorder/startOrder`,
method: 'post',
data: params,
})
}
export const endOrder = (params) => {
return request({
- url: `${uni.getStorageSync('serverUrl')}/api/pad/care/endOrder`,
+ url: `${uni.getStorageSync('serverUrl')}/api/pad/serviceorder/endOrder`,
method: 'post',
data: params,
})
}
export const editSubMp4 = (params) => {
return request({
- url: `${uni.getStorageSync('serverUrl')}/api/pad/care/editSubMp4`,
+ url: `${uni.getStorageSync('serverUrl')}/api/pad/serviceorder/editSubMp4`,
method: 'post',
data: params,
})
}
export const editSubPicPath = (params) => {
return request({
- url: `${uni.getStorageSync('serverUrl')}/api/pad/care/editSubPicPath`,
+ url: `${uni.getStorageSync('serverUrl')}/api/pad/serviceorder/editSubPicPath`,
method: 'post',
data: params,
})
diff --git a/pages/NursingNew/component/doctorask/doctorask.vue b/pages/NursingNew/component/doctorask/doctorask.vue
index 223323d..c40f822 100644
--- a/pages/NursingNew/component/doctorask/doctorask.vue
+++ b/pages/NursingNew/component/doctorask/doctorask.vue
@@ -191,10 +191,9 @@
\ No newline at end of file
diff --git a/pages/NursingNew/component/leftcontent/leftcontent.vue b/pages/NursingNew/component/leftcontent/leftcontent.vue
index d502dc9..db4bab5 100644
--- a/pages/NursingNew/component/leftcontent/leftcontent.vue
+++ b/pages/NursingNew/component/leftcontent/leftcontent.vue
@@ -4,7 +4,7 @@
-
+
@@ -12,7 +12,7 @@
-
+
diff --git a/pages/NursingNew/index.vue b/pages/NursingNew/index.vue
index 9fc557a..496e103 100644
--- a/pages/NursingNew/index.vue
+++ b/pages/NursingNew/index.vue
@@ -8,13 +8,12 @@
-
-
-
+
+
@@ -40,9 +39,7 @@
const listarr = ref([]);
onMounted(() => {
menuIndex.value = 0;
- swipedex.value = 0;
- nextTick(() => swipedex.value = 0)
-
+ swipedex.value = 0;
getServiceTree().then((res : any) => {
//缓存护嘱菜单
uni.setStorageSync("saveTree", res)
@@ -52,7 +49,8 @@
uni.setStorageSync("Packagelist", res.result)
})
getPermissionList({employessId:uni.getStorageSync('userInfo').employessId}).then(res=>{
- listarr.value = res.result;
+ console.log(res)
+ listarr.value = res.result ;
})
})
@@ -66,10 +64,10 @@
})
}
const tabbrarr = ref([
- { name: '护理矩阵', url: '/static/shouye/sy/n0.png', urls: '/static/shouye/sy/n1.png' ,type:'hldy_hljz'},
- { name: '医疗矩阵', url: '/static/shouye/sy/y0.png', urls: '/static/shouye/sy/y1.png' ,type:'hldy_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:'hldy_ql'},
+ { 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:'kzgn_yljz'},
+ { 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:'kzgn_kfjz'},
])
const navurl = (e,v) => {
swipedex.value = -1;
@@ -81,28 +79,32 @@
},100)
console.log('护理单元')
break;
- case 'hldy_hljz':
+ case 'kzgn_hljz':
swipedex.value = 1;
setTimeout(()=>{
menuIndex.value =1;
},100)
console.log('护理矩阵')
break;
- case 'hldy_yljz':
+ case 'kzgn_yljz':
swipedex.value = 2;
setTimeout(()=>{
menuIndex.value = 2;
},100)
console.log('医疗矩阵')
break;
- case 'hldy_xzjz':
+ case 'kzgn_hqjz':
swipedex.value = 3;
setTimeout(()=>{
menuIndex.value = 3;
},100)
- console.log('行政矩阵')
+ console.log('后勤矩阵')
break;
- case 'kf':
+ case 'kzgn_kfjz':
+ swipedex.value = 3;
+ setTimeout(()=>{
+ menuIndex.value = 3;
+ },100)
console.log('库房')
break;
case 'kf_cg':
@@ -149,15 +151,22 @@
{ name: '首页', url: '/static/shouye/sy/h0.png', urls: '/static/shouye/sy/h1.png' ,type:'hldy'}
])
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')
+
queryPadPageList({'pageNo':-1,'nuName':nuName}).then((res => {
- console.log(res.result.records)
let arr = res.result.records[0].permissionList;
arrlist.value = [{ name: '首页', url: '/static/shouye/sy/h0.png', urls: '/static/shouye/sy/h1.png' ,type:'hldy'}];
let tbr = [];
if(arr){
arr.forEach((v,i)=>{
- let obj = listarr.value.find(item=>
+ let obj = arrs.find(item=>
item.menuCode == v.menuCode
);
if(obj){
@@ -170,17 +179,17 @@
);
if(obj){
arrlist.value.push(obj);
- console.log(arrlist.value)
}
})
}
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/f0.png', urls: '/static/shouye/sy/f1.png' ,type:'back'}
]
arrlist.value.push(...back);
- navurl(0,arrlist.value[0])
+ // navurl(0,arrlist.value[0])
}))
}
// 当前选中的菜单索引
diff --git a/pages/Warehouse/index/component/index.vue b/pages/Warehouse/index/component/index.vue
index 87d7131..b4f1793 100644
--- a/pages/Warehouse/index/component/index.vue
+++ b/pages/Warehouse/index/component/index.vue
@@ -267,6 +267,7 @@
uni.setStorageSync('nuId', data.nuId);
uni.setStorageSync('nuName', data.nuName);
uni.setStorageSync('elderId', data.elderInfo ? data.elderInfo?.id : null);
+ console.log(uni.getStorageSync('elderId'),uni.getStorageSync('nuId'),data.elderInfo)
uni.setStorageSync('NUall', data);
emit('swip')
}
diff --git a/pages/Warehouse/index/index.vue b/pages/Warehouse/index/index.vue
index 5a97699..327a5ce 100644
--- a/pages/Warehouse/index/index.vue
+++ b/pages/Warehouse/index/index.vue
@@ -12,6 +12,9 @@
+
+
+
@@ -31,14 +34,16 @@
import outbound from "@/pages/procurement/outbound.vue";
import inventory from "@/pages/procurement/inventory.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([
- { 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'},
+ { 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:'kzgn_yljz'},
+ { 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:'kzgn_kfjz'},
])
const menuop = ref(0)
const swipdex = ref(0)
@@ -98,6 +103,34 @@
menuop.value = 6
},100)
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':
uni.navigateBack()
break;
@@ -107,18 +140,31 @@
}
},10)
}
- const arrlist = ref([
- { name: '首页', url: '/static/shouye/ck/h0.png', urls: '/static/shouye/ck/h1.png' ,type:'sy'}
- ])
+ const arrlist = ref([ ])
const listarr = ref([])
const swip = ()=>{
+ let nuId = uni.getStorageSync('nuId');
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')
queryPadPageList({'pageNo':-1,'nuName':nuName}).then((res => {
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 = [];
if(arr){
arr.forEach((v,i)=>{
diff --git a/pages/procurement/outbound.vue b/pages/procurement/outbound.vue
index 06fdb5e..b933885 100644
--- a/pages/procurement/outbound.vue
+++ b/pages/procurement/outbound.vue
@@ -42,7 +42,7 @@
-->
-
+