护理流程表跟后端对接

This commit is contained in:
Teng 2025-10-15 16:52:17 +08:00
parent 2408a3ca94
commit 64b525c5f3
25 changed files with 718 additions and 449 deletions

View File

@ -24,12 +24,13 @@
</view> </view>
</view> </view>
<view style="display: flex;flex-wrap: wrap;"> <view style="display: flex;flex-wrap: wrap;">
<view v-for="(item,index) in nameArray.slice(0,5)" :key="index" @click="addbody(index)"> <view v-for="(item,index) in bodyTagList" :key="index" @click="addbody(index)">
<view class="tags-father" :class="bodystatustarget===index?'secondtarget':''"> <view class="tags-father" :class="bodystatustarget===index?'secondtarget':''">
<image class="tags-img" <image class="tags-img"
:src="bodytarget.includes(index)?`/static/index/tagNames/${index}1.png`: `/static/index/tagNames/${index}0.png`" /> :src="item.izSelected==`1`?item.netPicFocus: item.netPic" />
<view class="tags-font" <view class="tags-font"
:style="bodytarget.includes(index)?{color:`rgb(54, 159, 239)`}:{}">{{item}} :style="item.izSelected==`1`?{color:`rgb(54, 159, 239)`}:{}">
{{item.tagName}}
</view> </view>
</view> </view>
</view> </view>
@ -37,12 +38,12 @@
</view> </view>
</view> </view>
<view class="marknone" @click="openbody=!openbody;openface=false"> <view class="marknone" @click="openbody=!openbody;openface=false">
<view v-if="!bodytarget.length" style="margin-top: -3rpx;"> <view v-if="!bodyTagListLook.length" style="margin-top: -3rpx;">
未选择 未选择
</view> </view>
<view v-for="(item,index) in bodytarget" :key="index"> <view v-for="(item,index) in bodyTagListLook" :key="index">
<image class="tags-img" style="width: 40rpx;height: 40rpx;margin: 0 10rpx;" <image class="tags-img" style="width: 40rpx;height: 40rpx;margin: 0 10rpx;"
:src="`/static/index/tagNames/${item}0.png`" /> :src="item" />
</view> </view>
</view> </view>
<view class="tri-down" @click="openbody=!openbody;openface=false"></view> <view class="tri-down" @click="openbody=!openbody;openface=false"></view>
@ -58,13 +59,13 @@
</view> </view>
</view> </view>
<view style="display: flex;flex-wrap: wrap;"> <view style="display: flex;flex-wrap: wrap;">
<view v-for="(item,index) in nameArray.slice(5,12)" :key="index" <view v-for="(item,index) in emotionTagList" :key="index" @click="addface(index)">
@click="addface(index)">
<view class="tags-father" :class="facestatustarget===index?'secondtarget':''"> <view class="tags-father" :class="facestatustarget===index?'secondtarget':''">
<image class="tags-img" <image class="tags-img"
:src="facetarget.includes(index)?`/static/index/tagNames/${index+5}1.png`: `/static/index/tagNames/${index+5}0.png`" /> :src="item.izSelected==`1`?item.netPicFocus: item.netPic" />
<view class="tags-font" <view class="tags-font"
:style="facetarget.includes(index)?{color:`rgb(54, 159, 239)`}:{}">{{item}} :style="item.izSelected==`1`?{color:`rgb(54, 159, 239)`}:{}">
{{item.tagName}}
</view> </view>
</view> </view>
</view> </view>
@ -72,12 +73,12 @@
</view> </view>
</view> </view>
<view class="marknone" @click="openface=!openface;openbody=false"> <view class="marknone" @click="openface=!openface;openbody=false">
<view v-if="!facetarget.length" style="margin-top: -3rpx;"> <view v-if="!emotionTagListLook.length" style="margin-top: -3rpx;">
未选择 未选择
</view> </view>
<view v-for="(item,index) in facetarget" :key="index"> <view v-for="(item,index) in emotionTagListLook" :key="index">
<image class="tags-img" style="width: 40rpx;height: 40rpx;margin: 0 10rpx;" <image class="tags-img" style="width: 40rpx;height: 40rpx;margin: 0 10rpx;"
:src="`/static/index/tagNames/${item+5}0.png`" /> :src="item" />
</view> </view>
</view> </view>
@ -176,7 +177,7 @@
style="flex-direction: column;"> style="flex-direction: column;">
<image v-show="item1.startTime" <image v-show="item1.startTime"
style="width: 60rpx;height: 60rpx;margin: 0 auto;margin-top: 30rpx" style="width: 60rpx;height: 60rpx;margin: 0 auto;margin-top: 30rpx"
src="/static/index/tu.png" /> :src="item1.netImmediateFile" />
<view class="title-time-time" style="font-size: 30rpx;"> <view class="title-time-time" style="font-size: 30rpx;">
{{item1.startTime + `-` + item1.endTime}} {{item1.startTime + `-` + item1.endTime}}
</view> </view>
@ -226,11 +227,11 @@
:style="item.target?{background: item.target,transition:`all 1.5s ease-in-out`}:{transition:`all 1.5s ease-in-out`}"> :style="item.target?{background: item.target,transition:`all 1.5s ease-in-out`}:{transition:`all 1.5s ease-in-out`}">
<view :style="{ animationDelay:`-${index * 0.1}s` }" <view :style="{ animationDelay:`-${index * 0.1}s` }"
:class="bottomisShaking?`super-end-items-img-father-active`:`super-end-items-img-father`"> :class="bottomisShaking?`super-end-items-img-father-active`:`super-end-items-img-father`">
<image class="right-box-img" :src="item.url" /> <image class="right-box-img" :src="item.netImmediateFile" />
<view class="right-box-font">{{item.name}}</view> <view class="right-box-font">{{item.directiveName}}</view>
</view> </view>
<view class="super-end-items-father-close-father" v-show="bottomisShaking" <view class="super-end-items-father-close-father" v-show="bottomisShaking"
@click.stop="bottomItems.splice(index, 1)"> @click.stop="bottomItems.splice(index, 1);saveAll()">
- -
</view> </view>
</view> </view>
@ -711,88 +712,118 @@
const bodytarget = ref([]); const bodytarget = ref([]);
const facetarget = ref([]); const facetarget = ref([]);
const addbody = (index : number) => { const addbody = (index : number) => {
if (bodytarget.value.includes(index)) {
bodytarget.value = bodytarget.value.filter(item => item !== index) if (bodyTagList.value[index].izSelected == '1') {
bodyTagList.value[index].izSelected = '0'
} else { } else {
if (bodytarget.value.length > 1) { let targetNumber = 0;
bodyTagList.value.forEach((element : any) => {
if (element.izSelected == '1') {
targetNumber++
}
})
if (targetNumber > 1) {
uni.showToast({ uni.showToast({
title: "标签最多只能添加两个", title: "标签最多只能添加两个",
icon: 'none', icon: 'none',
duration: 2000 duration: 2000
}) })
return
} else { } else {
bodytarget.value.push(index) bodyTagList.value[index].izSelected = '1';
console.log("????", bodyTagList.value)
} }
} }
saveAll()
} }
const addface = (index : number) => { const addface = (index : number) => {
if (facetarget.value.includes(index)) { if (emotionTagList.value[index].izSelected == '1') {
facetarget.value = facetarget.value.filter(item => item !== index) emotionTagList.value[index].izSelected = '0'
} else { } else {
if (facetarget.value.length > 1) { let targetNumber = 0;
emotionTagList.value.forEach((element : any) => {
if (element.izSelected == '1') {
targetNumber++
}
})
if (targetNumber > 1) {
uni.showToast({ uni.showToast({
title: "标签最多只能添加两个", title: "标签最多只能添加两个",
icon: 'none', icon: 'none',
duration: 2000 duration: 2000
}) })
} else { } else {
facetarget.value.push(index) emotionTagList.value[index].izSelected = '1';
} }
} }
saveAll()
} }
const open = ref(false); const open = ref(false);
const getblue = ref(false); const getblue = ref(false);
const bottomItems = ref([ const bottomItems = ref([
{ // {
name: '纸尿裤', // // name: '尿',
url: "/static/index/niao.png", // // url: "/static/index/niao.png",
target: "#fff", // // target: "#fff",
id: -1 // // id: -1
}, // directiveId: "", // ID
{ // directiveName: "", //
name: '呕吐', // typeId: "", // ID
url: "/static/index/tu.png", // typeName: "", //
target: "#fff", // categoryId: "", // ID
id: -1 // categoryName: "", //
}, // izPackage: "", //
{ // previewFile: "", //
name: '吸痰', // previewFileSmall: "", //
url: "/static/index/ou.png", // immediateFile: "", //
target: "#fff", // immediateFileFocus: "" //
id: -1 // },
}, // {
{ // name: '',
name: '大便', // url: "/static/index/tu.png",
url: "/static/index/baba.png", // target: "#fff",
target: "#fff", // id: -1
id: -1 // },
}, // {
{ // name: '',
name: '纸尿裤', // url: "/static/index/ou.png",
url: "/static/index/niao.png", // target: "#fff",
target: "#fff", // id: -1
id: -1 // },
}, // {
{ // name: '便',
name: '呕吐', // url: "/static/index/baba.png",
url: "/static/index/tu.png", // target: "#fff",
target: "#fff", // id: -1
id: -1 // },
}, // {
{ // name: '尿',
name: '吸痰', // url: "/static/index/niao.png",
url: "/static/index/ou.png", // target: "#fff",
target: "#fff", // id: -1
id: -1 // },
}, // {
{ // name: '',
name: '大便', // url: "/static/index/tu.png",
url: "/static/index/baba.png", // target: "#fff",
target: "#fff", // id: -1
id: -1 // },
}, // {
// name: '',
// url: "/static/index/ou.png",
// target: "#fff",
// id: -1
// },
// {
// name: '便',
// url: "/static/index/baba.png",
// target: "#fff",
// id: -1
// },
]) ])
const nameArray = [ const nameArray = [
`标准`, `标准`,
@ -1616,8 +1647,9 @@
isMove.value = false; isMove.value = false;
let stopIt = false; let stopIt = false;
let allobject = bigArray.value[upmenuIndex.value].children[downmenuIndex.value].children[thirdmenuIndex.value] let allobject = bigArray.value[upmenuIndex.value].children[downmenuIndex.value].children[thirdmenuIndex.value]
// console.log("AAAAAA",allobject) // console.log("AAAAAA", allobject.cycleType)
if (allobject.cycleType === "即时护理") { if (allobject.cycleType === "即时护理") {
// console.log("zzzzz")
scrollLeft.value = 1; scrollLeft.value = 1;
bottomItems.value.forEach((element : any, index : number) => { bottomItems.value.forEach((element : any, index : number) => {
if (element.id === allobject.id) { if (element.id === allobject.id) {
@ -1631,13 +1663,12 @@
bottomItems.value[0].target = "#fff" bottomItems.value[0].target = "#fff"
clearTimeout(cleansettimeout.value); clearTimeout(cleansettimeout.value);
} }
let pushValue = allobject;
bottomItems.value.unshift({ pushValue.directiveId = allobject.id;
name: allobject.title, pushValue.directiveName = allobject.title;
url: "/static/index/ou.png", pushValue.target = `#03a4ff`
target: `#03a4ff`, bottomItems.value.unshift(pushValue)
id: allobject.id // console.log("??????",bottomItems.value)
})
// //
cleansettimeout.value = setTimeout(() => { cleansettimeout.value = setTimeout(() => {
bottomItems.value[0].target = `#fff`; bottomItems.value[0].target = `#fff`;
@ -1649,7 +1680,7 @@
isop.value = false; isop.value = false;
}, 1500) }, 1500)
} }
saveAll()
}) })
return return
} }
@ -1669,8 +1700,8 @@
if (weekIndex.value !== -1) { if (weekIndex.value !== -1) {
cycleType = weekValue.value cycleType = weekValue.value
let cycleTypeIndex = 0; let cycleTypeIndex = 0;
weekDays.forEach((element:any,index:any)=>{ weekDays.forEach((element : any, index : any) => {
if(element == weekValue.value){ if (element == weekValue.value) {
cycleTypeIndex = index cycleTypeIndex = index
} }
}) })
@ -1714,7 +1745,7 @@
// immediateFileFocus:"", // immediateFileFocus:"",
// tagName: "", // tagName: "",
// }) // })
// console.log("))))",allobject) console.log("))))",allobject.cycleTypeId)
let param = { let param = {
directiveId: allobject.id, directiveId: allobject.id,
directiveName: allobject.title, directiveName: allobject.title,
@ -1729,11 +1760,12 @@
endTime: formattedEnd, endTime: formattedEnd,
positioning: saveEditIndex.value.index0.toString(), positioning: saveEditIndex.value.index0.toString(),
positioningLong: saveEditIndex.value.index1.toString(), positioningLong: saveEditIndex.value.index1.toString(),
izPackage: false, izPackage: '0',
previewFile: allobject.previewFile, previewFile: allobject.previewFile,
previewFileSmall: allobject.previewFileSmall, previewFileSmall: allobject.previewFileSmall,
immediateFile: allobject.immediateFile, immediateFile: allobject.immediateFile,
immediateFileFocus: allobject.immediateFileFocus, immediateFileFocus: allobject.immediateFileFocus,
netImmediateFile: allobject.netImmediateFile,
tagName: timearr.value[saveEditIndex.value.index0].children[saveEditIndex.value.index1].tagName, tagName: timearr.value[saveEditIndex.value.index0].children[saveEditIndex.value.index1].tagName,
} }
// //
@ -1749,21 +1781,24 @@
const cleansettimeout = ref(null); const cleansettimeout = ref(null);
const cleansettimeoutrel = ref(null); const cleansettimeoutrel = ref(null);
const saveAll = () => { const saveAll = () => {
if(!cansumit.value){
return
}
// //
let postArray = []; let postArray = [];
timearr.value.forEach((element0, index0) => { timearr.value.forEach((element0, index0) => {
element0.children.forEach((element1, index1) => { element0.children.forEach((element1, index1) => {
let savetagName = "" let savetagName = ""
if (!element1.directiveName && !element1.id) { if (!element1.directiveName && !element1.id) {
let array = {}; // let array = {};
if (element1.tagName) { // if (element1.tagName) {
savetagName = element1.tagName // savetagName = element1.tagName
} // }
array = JSON.parse(JSON.stringify(moBan.value)) // array = JSON.parse(JSON.stringify(moBan.value))
savetagName ? array.tagName = savetagName : "" // savetagName ? array.tagName = savetagName : ""
array.positioning = index0 // array.positioning = index0
array.positioningLong = index1 // array.positioningLong = index1
postArray.push(array) // postArray.push(array)
} else { } else {
element1.positioning = index0; element1.positioning = index0;
element1.positioningLong = index1; element1.positioningLong = index1;
@ -1772,17 +1807,44 @@
}) })
}) })
console.log("00000", postArray) // console.log("00000", postArray);
// addBatch(postArray).then(() => { // console.log("111111",bottomItems.value)
let info = []
// getNclist(uni.getStorageSync('nuId'), uni.getStorageSync('customerId')).then((res : any) => { bodyTagList.value.forEach((element : any) => {
// if (res.success) { if (element.izSelected == '1') {
// console.log("new", res.result) info.push(element)
// timearr.value = res.result }
// } })
emotionTagList.value.forEach((element : any) => {
if (element.izSelected == '1') {
info.push(element)
}
})
// console.log("22222",info)
// console.log("cccc",uni.getStorageSync('NUall').elderInfo.name)
let allvalue = {
nuId: uni.getStorageSync('nuId'),
nuName: uni.getStorageSync('nuName'),
customerId: uni.getStorageSync('customerId'),
customerName: uni.getStorageSync('NUall').elderInfo.name,
serverList: postArray,
instantList: bottomItems.value,
tagList: info
}
// console.log("", allvalue)
addBatch(allvalue).then(() => {
geteverything()
// getNclist(uni.getStorageSync('nuId'), uni.getStorageSync('customerId')).then((res : any) => {
// if (res.success) {
// console.log("new", res.result)
// timearr.value = res.result
// }
// }) // })
// }) })
} }
const routerPush = () => { const routerPush = () => {
uni.setStorage({ uni.setStorage({
@ -1838,6 +1900,8 @@
})) }))
})) }))
) )
const emotionTagList = ref([]);
const bodyTagList = ref([]);
onShow(() => { onShow(() => {
getServiceTree().then((res : any) => { getServiceTree().then((res : any) => {
@ -1866,6 +1930,7 @@
}) })
}) })
bigArray.value = res.result; bigArray.value = res.result;
console.log("((((()))))", bigArray.value)
downList.value = bigArray.value[0].children downList.value = bigArray.value[0].children
upmenuIndex.value = -1; upmenuIndex.value = -1;
downdonghua.value = -1; downdonghua.value = -1;
@ -1873,18 +1938,64 @@
upmenuIndex.value = 0; upmenuIndex.value = 0;
downdonghua.value = 0; downdonghua.value = 0;
}, 50) }, 50)
geteverything()
}) })
if (uni.getStorageSync('nuId') && uni.getStorageSync('customerId')) {
getNclist(uni.getStorageSync('nuId'), uni.getStorageSync('customerId')).then((res : any) => {
if (res.success && res.result[0].children.length) {
timearr.value = res.result
}
})
}
uni.$on('where', findback); uni.$on('where', findback);
}) })
const bodyTagListLook = ref([]);
const emotionTagListLook = ref([]);
const cansumit = ref(false);
const geteverything = () => {
if (uni.getStorageSync('nuId') && uni.getStorageSync('customerId')) {
getNclist(uni.getStorageSync('nuId'), uni.getStorageSync('customerId')).then((res : any) => {
// console.log("",res.result)
res.result.serviceList.forEach((res:any)=>{
timearr.value[res.positioning].children[res.positioningLong] = res;
})
//
// if(cansumit.value){
// setTimeout(()=>{
// bottomItems.value = res.result.instantList
// },1500)
// }else{
// bottomItems.value = res.result.instantList
// }
bottomItems.value = res.result.instantList
cansumit.value = true;
emotionTagList.value = res.result.emotionTagList;
emotionTagListLook.value = []
bodyTagListLook.value = []
// console.log("@@@@@",res.result.emotionTagList)
res.result.emotionTagList.forEach((res:any)=>{
if(res.izSelected=='1'){
emotionTagListLook.value.push(res.netPic)
}
})
bodyTagList.value = res.result.bodyTagList
res.result.bodyTagList.forEach((res:any)=>{
if(res.izSelected=='1'){
bodyTagListLook.value.push(res.netPic)
}
})
// res.result.emotionTagList.forEach((element:any)=>{
// if(element.izSelected=='1'){
// bodyTagListLook.value.push(element.netPic)
// }
// })
// bodyTagList.value = res.result.bodyTagList
// res.result.emotionTagList.forEach((element:any)=>{
// if(element.izSelected=='1'){
// emotionTagListLook.value.push(element.netPic)
// }
// })
})
}
}
onHide(() => { onHide(() => {
uni.$off('where', findback); uni.$off('where', findback);
}); });
@ -1918,11 +2029,12 @@
endTime: "", endTime: "",
positioning: "", positioning: "",
positioningLong: "", positioningLong: "",
izPackage: false, izPackage: '0',
previewFile: "", previewFile: "",
previewFileSmall: "", previewFileSmall: "",
immediateFile: "", immediateFile: "",
immediateFileFocus: "", immediateFileFocus: "",
netImmediateFile: "",
tagName: "", tagName: "",
}) })
// bigArray // bigArray

View File

@ -1 +1 @@
{"version":3,"file":"api.js","sources":["pages/NursingNew/component/nurse/api.js"],"sourcesContent":["// 引入 request 文件\r\nimport request from '@/request/index.js'\r\n\r\n// 以下 api 为博主项目示例,实际与项目相匹配\r\n\r\n// 查询服务类型\r\nexport const getServiceTree = () => {\r\n\treturn request({\r\n\t\turl: `${uni.getStorageSync('serverUrl')}/nuIpadApi/nuConfigServiceCategory/getServiceTree`,\r\n\t\tmethod: 'get',\r\n\t})\r\n}\r\n// 查询表格\r\nexport const getNclist = (nuId,customerId) => {\r\n\treturn request({\r\n\t\turl: `${uni.getStorageSync('serverUrl')}/nuIpadApi/nuBizNuCustomerServer/getNclist?nuId=${nuId}&customerId=${customerId}`,\r\n\t\tmethod: 'get',\r\n\t})\r\n}\r\n// 保存表格\r\nexport const addBatch = (params) => {\r\n\treturn request({\r\n\t\turl: `${uni.getStorageSync('serverUrl')}/nuIpadApi/nuBizNuCustomerServer/addBatch`,\r\n\t\tmethod: 'post',\r\n\t\tdata: params,\r\n\t})\r\n}"],"names":["request","uni"],"mappings":";;;AAMY,MAAC,iBAAiB,MAAM;AACnC,SAAOA,sBAAQ;AAAA,IACd,KAAK,GAAGC,cAAG,MAAC,eAAe,WAAW,CAAC;AAAA,IACvC,QAAQ;AAAA,EACV,CAAE;AACF;AAEY,MAAC,YAAY,CAAC,MAAK,eAAe;AAC7C,SAAOD,sBAAQ;AAAA,IACd,KAAK,GAAGC,cAAG,MAAC,eAAe,WAAW,CAAC,mDAAmD,IAAI,eAAe,UAAU;AAAA,IACvH,QAAQ;AAAA,EACV,CAAE;AACF;;;"} {"version":3,"file":"api.js","sources":["pages/NursingNew/component/nurse/api.js"],"sourcesContent":["// 引入 request 文件\r\nimport request from '@/request/index.js'\r\n\r\n// 以下 api 为博主项目示例,实际与项目相匹配\r\n\r\n// 查询服务类型\r\nexport const getServiceTree = () => {\r\n\treturn request({\r\n\t\turl: `${uni.getStorageSync('serverUrl')}/nuIpadApi/nuConfigServiceCategory/getServiceTree`,\r\n\t\tmethod: 'get',\r\n\t})\r\n}\r\n// 查询表格\r\nexport const getNclist = (nuId,customerId) => {\r\n\treturn request({\r\n\t\turl: `${uni.getStorageSync('serverUrl')}/nuIpadApi/nuBizNuCustomerServer/getNclist?nuId=${nuId}&customerId=${customerId}`,\r\n\t\tmethod: 'get',\r\n\t})\r\n}\r\n// 保存表格\r\nexport const addBatch = (params) => {\r\n\treturn request({\r\n\t\turl: `${uni.getStorageSync('serverUrl')}/nuIpadApi/nuBizNuCustomerServer/addBatch`,\r\n\t\tmethod: 'post',\r\n\t\tdata: params,\r\n\t})\r\n}"],"names":["request","uni"],"mappings":";;;AAMY,MAAC,iBAAiB,MAAM;AACnC,SAAOA,sBAAQ;AAAA,IACd,KAAK,GAAGC,cAAG,MAAC,eAAe,WAAW,CAAC;AAAA,IACvC,QAAQ;AAAA,EACV,CAAE;AACF;AAEY,MAAC,YAAY,CAAC,MAAK,eAAe;AAC7C,SAAOD,sBAAQ;AAAA,IACd,KAAK,GAAGC,cAAG,MAAC,eAAe,WAAW,CAAC,mDAAmD,IAAI,eAAe,UAAU;AAAA,IACvH,QAAQ;AAAA,EACV,CAAE;AACF;AAEY,MAAC,WAAW,CAAC,WAAW;AACnC,SAAOD,sBAAQ;AAAA,IACd,KAAK,GAAGC,cAAG,MAAC,eAAe,WAAW,CAAC;AAAA,IACvC,QAAQ;AAAA,IACR,MAAM;AAAA,EACR,CAAE;AACF;;;;"}

File diff suppressed because one or more lines are too long

View File

@ -66,7 +66,7 @@ if (uni.restoreGlobal) {
/* HookFlags.PAGE */ /* HookFlags.PAGE */
); );
const _imports_0$o = "/static/index/update/fly.png"; const _imports_0$o = "/static/index/update/fly.png";
const _imports_1$k = "/static/index/update/bgc.png"; const _imports_1$l = "/static/index/update/bgc.png";
const _export_sfc = (sfc, props) => { const _export_sfc = (sfc, props) => {
const target = sfc.__vccOpts || sfc; const target = sfc.__vccOpts || sfc;
for (const [key, val] of props) { for (const [key, val] of props) {
@ -306,7 +306,7 @@ if (uni.restoreGlobal) {
vue.createElementVNode("view", { style: { "height": "400rpx", "width": "100%", "position": "relative" } }, [ vue.createElementVNode("view", { style: { "height": "400rpx", "width": "100%", "position": "relative" } }, [
vue.createElementVNode("image", { vue.createElementVNode("image", {
style: { "width": "1800rpx", "height": "1600rpx", "position": "absolute", "top": "-370rpx", "left": "-220rpx" }, style: { "width": "1800rpx", "height": "1600rpx", "position": "absolute", "top": "-370rpx", "left": "-220rpx" },
src: _imports_1$k src: _imports_1$l
}) })
]), ]),
vue.createElementVNode( vue.createElementVNode(
@ -2232,10 +2232,10 @@ if (uni.restoreGlobal) {
return __returned__; return __returned__;
} }
}); });
const _imports_3$b = "/static/index/teeth.png"; const _imports_3$a = "/static/index/teeth.png";
const _imports_1$j = "/static/index/helpdo/zero.png"; const _imports_1$k = "/static/index/helpdo/zero.png";
const _imports_2$f = "/static/index/helpdo/one.png"; const _imports_2$f = "/static/index/helpdo/one.png";
const _imports_3$a = "/static/index/helpdo/two.png"; const _imports_3$9 = "/static/index/helpdo/two.png";
const _imports_4$7 = "/static/index/helpdo/laba.png"; const _imports_4$7 = "/static/index/helpdo/laba.png";
const _imports_5$6 = "/static/index/helpdo/three.png"; const _imports_5$6 = "/static/index/helpdo/three.png";
const _imports_6$2 = "/static/index/helpdo/video.png"; const _imports_6$2 = "/static/index/helpdo/video.png";
@ -2254,12 +2254,12 @@ if (uni.restoreGlobal) {
vue.createElementVNode("view", { class: "downitems-left-mar" }, [ vue.createElementVNode("view", { class: "downitems-left-mar" }, [
vue.createElementVNode("image", { vue.createElementVNode("image", {
class: "downitems-left-img", class: "downitems-left-img",
src: _imports_3$b src: _imports_3$a
}), }),
vue.createElementVNode("view", { class: "downitems-left-father" }, [ vue.createElementVNode("view", { class: "downitems-left-father" }, [
vue.createElementVNode("image", { vue.createElementVNode("image", {
class: "downitems-father-img", class: "downitems-father-img",
src: _imports_1$j src: _imports_1$k
}), }),
vue.createElementVNode("view", { class: "downitems-father-font" }, "清洁照料") vue.createElementVNode("view", { class: "downitems-father-font" }, "清洁照料")
]), ]),
@ -2273,7 +2273,7 @@ if (uni.restoreGlobal) {
vue.createElementVNode("view", { class: "downitems-left-father" }, [ vue.createElementVNode("view", { class: "downitems-left-father" }, [
vue.createElementVNode("image", { vue.createElementVNode("image", {
class: "downitems-father-img", class: "downitems-father-img",
src: _imports_3$a src: _imports_3$9
}), }),
vue.createElementVNode("view", { class: "downitems-father-font-laba" }, "协助清洁(四肢)"), vue.createElementVNode("view", { class: "downitems-father-font-laba" }, "协助清洁(四肢)"),
vue.createElementVNode("image", { vue.createElementVNode("image", {
@ -2647,7 +2647,7 @@ if (uni.restoreGlobal) {
} }
}); });
const _imports_0$k = "/static/index/customer.png"; const _imports_0$k = "/static/index/customer.png";
const _imports_1$i = "/static/index/undericons/upguang.png"; const _imports_1$j = "/static/index/undericons/upguang.png";
function _sfc_render$V(_ctx, _cache, $props, $setup, $data, $options) { function _sfc_render$V(_ctx, _cache, $props, $setup, $data, $options) {
return vue.openBlock(), vue.createElementBlock( return vue.openBlock(), vue.createElementBlock(
"view", "view",
@ -3744,7 +3744,7 @@ if (uni.restoreGlobal) {
"image", "image",
{ {
class: "under-father-light", class: "under-father-light",
src: _imports_1$i src: _imports_1$j
}, },
null, null,
512 512
@ -6349,7 +6349,7 @@ if (uni.restoreGlobal) {
} }
}); });
const _imports_0$j = "/static/index/shexiang.png"; const _imports_0$j = "/static/index/shexiang.png";
const _imports_1$h = "/static/index/cheng.png"; const _imports_1$i = "/static/index/cheng.png";
const _imports_2$e = "/static/index/deleteicon.png"; const _imports_2$e = "/static/index/deleteicon.png";
const _imports_11$1 = "/static/index/NU.png"; const _imports_11$1 = "/static/index/NU.png";
function _sfc_render$U(_ctx, _cache, $props, $setup, $data, $options) { function _sfc_render$U(_ctx, _cache, $props, $setup, $data, $options) {
@ -6960,7 +6960,7 @@ if (uni.restoreGlobal) {
vue.createElementVNode("view", { class: "popup-song-father" }, [ vue.createElementVNode("view", { class: "popup-song-father" }, [
vue.createElementVNode("image", { vue.createElementVNode("image", {
class: "shu-up-img", class: "shu-up-img",
src: _imports_1$h src: _imports_1$i
}), }),
vue.createElementVNode("view", { class: "shu-up-font" }, [ vue.createElementVNode("view", { class: "shu-up-font" }, [
vue.createElementVNode( vue.createElementVNode(
@ -9180,9 +9180,9 @@ if (uni.restoreGlobal) {
} }
}); });
const _imports_0$i = "/static/index/camera/arrow1.png"; const _imports_0$i = "/static/index/camera/arrow1.png";
const _imports_1$g = "/static/index/camera/arrow3.png"; const _imports_1$h = "/static/index/camera/arrow3.png";
const _imports_2$d = "/static/index/camera/arrow5.png"; const _imports_2$d = "/static/index/camera/arrow5.png";
const _imports_3$9 = "/static/index/camera/arrow4.png"; const _imports_3$8 = "/static/index/camera/arrow4.png";
const _imports_4$6 = "/static/index/camera/arrow2.png"; const _imports_4$6 = "/static/index/camera/arrow2.png";
function _sfc_render$T(_ctx, _cache, $props, $setup, $data, $options) { function _sfc_render$T(_ctx, _cache, $props, $setup, $data, $options) {
return vue.openBlock(), vue.createElementBlock( return vue.openBlock(), vue.createElementBlock(
@ -9223,7 +9223,7 @@ if (uni.restoreGlobal) {
vue.withDirectives(vue.createElementVNode( vue.withDirectives(vue.createElementVNode(
"image", "image",
{ {
src: _imports_1$g, src: _imports_1$h,
class: "move-circle-all" class: "move-circle-all"
}, },
null, null,
@ -9247,7 +9247,7 @@ if (uni.restoreGlobal) {
vue.withDirectives(vue.createElementVNode( vue.withDirectives(vue.createElementVNode(
"image", "image",
{ {
src: _imports_3$9, src: _imports_3$8,
class: "move-circle-all" class: "move-circle-all"
}, },
null, null,
@ -10246,9 +10246,9 @@ if (uni.restoreGlobal) {
} }
}); });
const _imports_0$h = "/static/index/ku.png"; const _imports_0$h = "/static/index/ku.png";
const _imports_1$f = "/static/index/ren.png"; const _imports_1$g = "/static/index/ren.png";
const _imports_2$c = "/static/index/redbian.png"; const _imports_2$c = "/static/index/redbian.png";
const _imports_3$8 = "/static/index/ri.png"; const _imports_3$7 = "/static/index/ri.png";
const _imports_4$5 = "/static/index/zhou.png"; const _imports_4$5 = "/static/index/zhou.png";
const _imports_5$5 = "/static/index/ji.png"; const _imports_5$5 = "/static/index/ji.png";
const _imports_0$g = "/static/index/tu.png"; const _imports_0$g = "/static/index/tu.png";
@ -10562,7 +10562,7 @@ if (uni.restoreGlobal) {
}), }),
vue.createElementVNode("image", { vue.createElementVNode("image", {
class: "right-box-items-button", class: "right-box-items-button",
src: _imports_1$f src: _imports_1$g
}) })
])) : vue.createCommentVNode("v-if", true) ])) : vue.createCommentVNode("v-if", true)
], ],
@ -10643,7 +10643,7 @@ if (uni.restoreGlobal) {
}), }),
vue.createElementVNode("image", { vue.createElementVNode("image", {
class: "right-box-items-button", class: "right-box-items-button",
src: _imports_1$f src: _imports_1$g
}) })
]), ]),
vue.withDirectives(vue.createElementVNode("view", { vue.withDirectives(vue.createElementVNode("view", {
@ -10792,7 +10792,7 @@ if (uni.restoreGlobal) {
"image", "image",
{ {
class: "title-time-button", class: "title-time-button",
src: _imports_3$8 src: _imports_3$7
}, },
null, null,
512 512
@ -10845,7 +10845,7 @@ if (uni.restoreGlobal) {
}), }),
vue.createElementVNode("image", { vue.createElementVNode("image", {
class: "right-box-items-button", class: "right-box-items-button",
src: _imports_1$f src: _imports_1$g
}) })
]) ])
], ],
@ -12712,9 +12712,9 @@ if (uni.restoreGlobal) {
} }
}); });
const _imports_0$e = "/static/index/watch/uni.png"; const _imports_0$e = "/static/index/watch/uni.png";
const _imports_1$e = "/static/index/watch/more.png"; const _imports_1$f = "/static/index/watch/more.png";
const _imports_2$b = "/static/index/newindex/curve/shezhi.png"; const _imports_2$b = "/static/index/newindex/curve/shezhi.png";
const _imports_3$7 = "/static/nocamera.png"; const _imports_3$6 = "/static/nocamera.png";
const _imports_4$4 = "/static/index/watch/laotai.png"; const _imports_4$4 = "/static/index/watch/laotai.png";
const _imports_5$4 = "/static/index/watch/laotou.png"; const _imports_5$4 = "/static/index/watch/laotou.png";
const _imports_6$1 = "/static/index/watch/phonebgc.png"; const _imports_6$1 = "/static/index/watch/phonebgc.png";
@ -12829,7 +12829,7 @@ if (uni.restoreGlobal) {
!item.url ? (vue.openBlock(), vue.createElementBlock("view", { key: 2 }, [ !item.url ? (vue.openBlock(), vue.createElementBlock("view", { key: 2 }, [
vue.createElementVNode("image", { vue.createElementVNode("image", {
style: { "width": "50rpx", "height": "50rpx" }, style: { "width": "50rpx", "height": "50rpx" },
src: _imports_1$e src: _imports_1$f
}) })
])) : vue.createCommentVNode("v-if", true) ])) : vue.createCommentVNode("v-if", true)
], 14, ["onClick"]); ], 14, ["onClick"]);
@ -12893,7 +12893,7 @@ if (uni.restoreGlobal) {
vue.createElementVNode("view", { style: { "position": "relative" } }, [ vue.createElementVNode("view", { style: { "position": "relative" } }, [
vue.createElementVNode("image", { vue.createElementVNode("image", {
style: { "width": "600rpx", "height": "600rpx" }, style: { "width": "600rpx", "height": "600rpx" },
src: _imports_3$7 src: _imports_3$6
}), }),
vue.createElementVNode("view", { style: { "color": "#4D5561", "font-size": "32rpx", "position": "absolute", "left": "50%", "bottom": "100rpx", "transform": "translateX(-50%)" } }, " 暂无视频内容显示 ") vue.createElementVNode("view", { style: { "color": "#4D5561", "font-size": "32rpx", "position": "absolute", "left": "50%", "bottom": "100rpx", "transform": "translateX(-50%)" } }, " 暂无视频内容显示 ")
]) ])
@ -13797,9 +13797,9 @@ if (uni.restoreGlobal) {
} }
}); });
const _imports_0$d = "/static/click.png"; const _imports_0$d = "/static/click.png";
const _imports_1$d = "/static/x.png"; const _imports_1$e = "/static/x.png";
const _imports_2$a = "/static/bgc.png"; const _imports_2$a = "/static/bgc.png";
const _imports_3$6 = "/static/qiu.png"; const _imports_3$5 = "/static/qiu.png";
function _sfc_render$M(_ctx, _cache, $props, $setup, $data, $options) { function _sfc_render$M(_ctx, _cache, $props, $setup, $data, $options) {
return vue.openBlock(), vue.createElementBlock("view", { class: "index-content-other" }, [ return vue.openBlock(), vue.createElementBlock("view", { class: "index-content-other" }, [
vue.createElementVNode("view", { vue.createElementVNode("view", {
@ -13838,7 +13838,7 @@ if (uni.restoreGlobal) {
"image", "image",
{ {
class: "right-img", class: "right-img",
src: _imports_1$d, src: _imports_1$e,
onClick: _cache[1] || (_cache[1] = ($event) => $setup.uuid = "") onClick: _cache[1] || (_cache[1] = ($event) => $setup.uuid = "")
}, },
null, null,
@ -13855,7 +13855,7 @@ if (uni.restoreGlobal) {
}), }),
vue.createElementVNode("image", { vue.createElementVNode("image", {
class: "big-img", class: "big-img",
src: _imports_3$6 src: _imports_3$5
}), }),
vue.createElementVNode("view", { class: "index-content-down" }, " 长春市朝阳区久泰开运养老服务有限公司 ") vue.createElementVNode("view", { class: "index-content-down" }, " 长春市朝阳区久泰开运养老服务有限公司 ")
]); ]);
@ -13886,7 +13886,7 @@ if (uni.restoreGlobal) {
} }
}); });
const _imports_0$c = "/static/kuai.png"; const _imports_0$c = "/static/kuai.png";
const _imports_1$c = "/static/sao.png"; const _imports_1$d = "/static/sao.png";
const _imports_2$9 = "/static/qr.png"; const _imports_2$9 = "/static/qr.png";
function _sfc_render$L(_ctx, _cache, $props, $setup, $data, $options) { function _sfc_render$L(_ctx, _cache, $props, $setup, $data, $options) {
return vue.openBlock(), vue.createElementBlock("view", { class: "index-content-other" }, [ return vue.openBlock(), vue.createElementBlock("view", { class: "index-content-other" }, [
@ -13921,7 +13921,7 @@ if (uni.restoreGlobal) {
}, [ }, [
vue.createElementVNode("image", { vue.createElementVNode("image", {
style: { "width": "100%", "height": "100%" }, style: { "width": "100%", "height": "100%" },
src: _imports_1$c src: _imports_1$d
}), }),
vue.createElementVNode("view", { class: "big-font" }, " 点击扫描区域二维码 ") vue.createElementVNode("view", { class: "big-font" }, " 点击扫描区域二维码 ")
]), ]),
@ -14289,9 +14289,9 @@ if (uni.restoreGlobal) {
} }
}); });
const _imports_0$b = "/static/index/leida/leftbgc.png"; const _imports_0$b = "/static/index/leida/leftbgc.png";
const _imports_1$b = "/static/index/leida/bigball.png"; const _imports_1$c = "/static/index/leida/bigball.png";
const _imports_2$8 = "/static/index/leida/biao.png"; const _imports_2$8 = "/static/index/leida/biao.png";
const _imports_3$5 = "/static/index/leida/ball.png"; const _imports_3$4 = "/static/index/leida/ball.png";
const _imports_4$3 = "/static/index/leida/shallow.png"; const _imports_4$3 = "/static/index/leida/shallow.png";
const _imports_5$3 = "/static/index/leida/play.png"; const _imports_5$3 = "/static/index/leida/play.png";
const _imports_5$2 = "/static/index/quxiao.png"; const _imports_5$2 = "/static/index/quxiao.png";
@ -14317,7 +14317,7 @@ if (uni.restoreGlobal) {
vue.createElementVNode("image", { vue.createElementVNode("image", {
class: "all-img", class: "all-img",
style: { "width": "90%", "height": "90%", "margin-top": "5%", "margin-left": "5%" }, style: { "width": "90%", "height": "90%", "margin-top": "5%", "margin-left": "5%" },
src: _imports_1$b src: _imports_1$c
}), }),
vue.createCommentVNode(" 旋转雷达部分 "), vue.createCommentVNode(" 旋转雷达部分 "),
vue.createElementVNode( vue.createElementVNode(
@ -14335,7 +14335,7 @@ if (uni.restoreGlobal) {
vue.createElementVNode("image", { vue.createElementVNode("image", {
class: "all-img", class: "all-img",
style: { "z-index": "1" }, style: { "z-index": "1" },
src: _imports_3$5 src: _imports_3$4
}), }),
vue.createElementVNode("image", { vue.createElementVNode("image", {
class: "all-img", class: "all-img",
@ -14931,7 +14931,7 @@ if (uni.restoreGlobal) {
} }
}); });
const _imports_0$a = "/static/index/newindex/wendu/0.png"; const _imports_0$a = "/static/index/newindex/wendu/0.png";
const _imports_1$a = "/static/index/newindex/wendu/1.png"; const _imports_1$b = "/static/index/newindex/wendu/1.png";
function _sfc_render$J(_ctx, _cache, $props, $setup, $data, $options) { function _sfc_render$J(_ctx, _cache, $props, $setup, $data, $options) {
const _component_donghua = vue.resolveComponent("donghua"); const _component_donghua = vue.resolveComponent("donghua");
return vue.openBlock(), vue.createElementBlock( return vue.openBlock(), vue.createElementBlock(
@ -14965,7 +14965,7 @@ if (uni.restoreGlobal) {
vue.createElementVNode("text", { class: "right-container-tem-text" }, "23°C"), vue.createElementVNode("text", { class: "right-container-tem-text" }, "23°C"),
vue.createElementVNode("image", { vue.createElementVNode("image", {
class: "right-container-tem-img", class: "right-container-tem-img",
src: _imports_1$a src: _imports_1$b
}), }),
vue.createElementVNode("text", { class: "right-container-tem-text" }, "39%") vue.createElementVNode("text", { class: "right-container-tem-text" }, "39%")
]), ]),
@ -15258,6 +15258,13 @@ if (uni.restoreGlobal) {
method: "get" method: "get"
}); });
}; };
const addBatch = (params) => {
return request$1({
url: `${uni.getStorageSync("serverUrl")}/nuIpadApi/nuBizNuCustomerServer/addBatch`,
method: "post",
data: params
});
};
function genPaths(base, prefix, count, ext = "png", startIndex = 0, pad = false) { function genPaths(base, prefix, count, ext = "png", startIndex = 0, pad = false) {
return Array.from({ return Array.from({
length: count length: count
@ -17527,86 +17534,113 @@ if (uni.restoreGlobal) {
const bodytarget = vue.ref([]); const bodytarget = vue.ref([]);
const facetarget = vue.ref([]); const facetarget = vue.ref([]);
const addbody = (index2) => { const addbody = (index2) => {
if (bodytarget.value.includes(index2)) { if (bodyTagList.value[index2].izSelected == "1") {
bodytarget.value = bodytarget.value.filter((item) => item !== index2); bodyTagList.value[index2].izSelected = "0";
} else { } else {
if (bodytarget.value.length > 1) { let targetNumber = 0;
bodyTagList.value.forEach((element) => {
if (element.izSelected == "1") {
targetNumber++;
}
});
if (targetNumber > 1) {
uni.showToast({ uni.showToast({
title: "标签最多只能添加两个", title: "标签最多只能添加两个",
icon: "none", icon: "none",
duration: 2e3 duration: 2e3
}); });
return;
} else { } else {
bodytarget.value.push(index2); bodyTagList.value[index2].izSelected = "1";
formatAppLog("log", "at pages/NursingNew/component/nurse/index.vue:735", "????", bodyTagList.value);
} }
} }
saveAll();
}; };
const addface = (index2) => { const addface = (index2) => {
if (facetarget.value.includes(index2)) { if (emotionTagList.value[index2].izSelected == "1") {
facetarget.value = facetarget.value.filter((item) => item !== index2); emotionTagList.value[index2].izSelected = "0";
} else { } else {
if (facetarget.value.length > 1) { let targetNumber = 0;
emotionTagList.value.forEach((element) => {
if (element.izSelected == "1") {
targetNumber++;
}
});
if (targetNumber > 1) {
uni.showToast({ uni.showToast({
title: "标签最多只能添加两个", title: "标签最多只能添加两个",
icon: "none", icon: "none",
duration: 2e3 duration: 2e3
}); });
} else { } else {
facetarget.value.push(index2); emotionTagList.value[index2].izSelected = "1";
} }
} }
saveAll();
}; };
const open = vue.ref(false); const open = vue.ref(false);
const getblue = vue.ref(false); const getblue = vue.ref(false);
const bottomItems = vue.ref([ const bottomItems = vue.ref([
{ // {
name: "纸尿裤", // // name: '纸尿裤',
url: "/static/index/niao.png", // // url: "/static/index/niao.png",
target: "#fff", // // target: "#fff",
id: -1 // // id: -1
}, // directiveId: "", // 服务指令ID
{ // directiveName: "", // 服务指令名称
name: "呕吐", // typeId: "", // 类型ID
url: "/static/index/tu.png", // typeName: "", // 类型名称
target: "#fff", // categoryId: "", // 类别ID
id: -1 // categoryName: "", // 类别名称
}, // izPackage: "", // 是否是服务指令包
{ // previewFile: "", // 大图相对路径
name: "吸痰", // previewFileSmall: "", // 小图相对路径
url: "/static/index/ou.png", // immediateFile: "", // 图片相对路径
target: "#fff", // immediateFileFocus: "" // 图片焦点相对路径
id: -1 // },
}, // {
{ // name: '呕吐',
name: "大便", // url: "/static/index/tu.png",
url: "/static/index/baba.png", // target: "#fff",
target: "#fff", // id: -1
id: -1 // },
}, // {
{ // name: '吸痰',
name: "纸尿裤", // url: "/static/index/ou.png",
url: "/static/index/niao.png", // target: "#fff",
target: "#fff", // id: -1
id: -1 // },
}, // {
{ // name: '大便',
name: "呕吐", // url: "/static/index/baba.png",
url: "/static/index/tu.png", // target: "#fff",
target: "#fff", // id: -1
id: -1 // },
}, // {
{ // name: '纸尿裤',
name: "吸痰", // url: "/static/index/niao.png",
url: "/static/index/ou.png", // target: "#fff",
target: "#fff", // id: -1
id: -1 // },
}, // {
{ // name: '呕吐',
name: "大便", // url: "/static/index/tu.png",
url: "/static/index/baba.png", // target: "#fff",
target: "#fff", // id: -1
id: -1 // },
} // {
// name: '吸痰',
// url: "/static/index/ou.png",
// target: "#fff",
// id: -1
// },
// {
// name: '大便',
// url: "/static/index/baba.png",
// target: "#fff",
// id: -1
// },
]); ]);
const nameArray = [ const nameArray = [
`标准`, `标准`,
@ -18125,10 +18159,10 @@ if (uni.restoreGlobal) {
summary: "九泰护理日程测试", summary: "九泰护理日程测试",
imageUrl: "https://qiniu-web-assets.dcloud.net.cn/unidoc/zh/uni@2x.png", imageUrl: "https://qiniu-web-assets.dcloud.net.cn/unidoc/zh/uni@2x.png",
success: function(res) { success: function(res) {
formatAppLog("log", "at pages/NursingNew/component/nurse/index.vue:1357", "success:"); formatAppLog("log", "at pages/NursingNew/component/nurse/index.vue:1388", "success:");
}, },
fail: function(err) { fail: function(err) {
formatAppLog("log", "at pages/NursingNew/component/nurse/index.vue:1360", "fail:"); formatAppLog("log", "at pages/NursingNew/component/nurse/index.vue:1391", "fail:");
} }
}); });
}; };
@ -18357,12 +18391,11 @@ if (uni.restoreGlobal) {
bottomItems.value[0].target = "#fff"; bottomItems.value[0].target = "#fff";
clearTimeout(cleansettimeout.value); clearTimeout(cleansettimeout.value);
} }
bottomItems.value.unshift({ let pushValue = allobject;
name: allobject.title, pushValue.directiveId = allobject.id;
url: "/static/index/ou.png", pushValue.directiveName = allobject.title;
target: `#03a4ff`, pushValue.target = `#03a4ff`;
id: allobject.id bottomItems.value.unshift(pushValue);
});
cleansettimeout.value = setTimeout(() => { cleansettimeout.value = setTimeout(() => {
bottomItems.value[0].target = `#fff`; bottomItems.value[0].target = `#fff`;
}, 1500); }, 1500);
@ -18373,6 +18406,7 @@ if (uni.restoreGlobal) {
isop.value = false; isop.value = false;
}, 1500); }, 1500);
} }
saveAll();
}); });
return; return;
} }
@ -18414,6 +18448,7 @@ if (uni.restoreGlobal) {
const formattedEnd = `${String(endHour)}:${String(endMinute % 60).padStart(2, "0")}`; const formattedEnd = `${String(endHour)}:${String(endMinute % 60).padStart(2, "0")}`;
timearr.value[saveEditIndex.value.index0].children[saveEditIndex.value.index1].startTime = formattedStart; timearr.value[saveEditIndex.value.index0].children[saveEditIndex.value.index1].startTime = formattedStart;
timearr.value[saveEditIndex.value.index0].children[saveEditIndex.value.index1].endTime = formattedEnd; timearr.value[saveEditIndex.value.index0].children[saveEditIndex.value.index1].endTime = formattedEnd;
formatAppLog("log", "at pages/NursingNew/component/nurse/index.vue:1748", "))))", allobject.cycleTypeId);
let param = { let param = {
directiveId: allobject.id, directiveId: allobject.id,
directiveName: allobject.title, directiveName: allobject.title,
@ -18428,11 +18463,12 @@ if (uni.restoreGlobal) {
endTime: formattedEnd, endTime: formattedEnd,
positioning: saveEditIndex.value.index0.toString(), positioning: saveEditIndex.value.index0.toString(),
positioningLong: saveEditIndex.value.index1.toString(), positioningLong: saveEditIndex.value.index1.toString(),
izPackage: false, izPackage: "0",
previewFile: allobject.previewFile, previewFile: allobject.previewFile,
previewFileSmall: allobject.previewFileSmall, previewFileSmall: allobject.previewFileSmall,
immediateFile: allobject.immediateFile, immediateFile: allobject.immediateFile,
immediateFileFocus: allobject.immediateFileFocus, immediateFileFocus: allobject.immediateFileFocus,
netImmediateFile: allobject.netImmediateFile,
tagName: timearr.value[saveEditIndex.value.index0].children[saveEditIndex.value.index1].tagName tagName: timearr.value[saveEditIndex.value.index0].children[saveEditIndex.value.index1].tagName
}; };
timearr.value[saveEditIndex.value.index0].children[saveEditIndex.value.index1] = param; timearr.value[saveEditIndex.value.index0].children[saveEditIndex.value.index1] = param;
@ -18446,28 +18482,44 @@ if (uni.restoreGlobal) {
const cleansettimeout = vue.ref(null); const cleansettimeout = vue.ref(null);
const cleansettimeoutrel = vue.ref(null); const cleansettimeoutrel = vue.ref(null);
const saveAll = () => { const saveAll = () => {
if (!cansumit.value) {
return;
}
let postArray = []; let postArray = [];
timearr.value.forEach((element0, index0) => { timearr.value.forEach((element0, index0) => {
element0.children.forEach((element1, index1) => { element0.children.forEach((element1, index1) => {
let savetagName = ""; if (!element1.directiveName && !element1.id)
if (!element1.directiveName && !element1.id) { ;
let array2 = {}; else {
if (element1.tagName) {
savetagName = element1.tagName;
}
array2 = JSON.parse(JSON.stringify(moBan.value));
savetagName ? array2.tagName = savetagName : "";
array2.positioning = index0;
array2.positioningLong = index1;
postArray.push(array2);
} else {
element1.positioning = index0; element1.positioning = index0;
element1.positioningLong = index1; element1.positioningLong = index1;
postArray.push(element1); postArray.push(element1);
} }
}); });
}); });
formatAppLog("log", "at pages/NursingNew/component/nurse/index.vue:1775", "00000", postArray); let info2 = [];
bodyTagList.value.forEach((element) => {
if (element.izSelected == "1") {
info2.push(element);
}
});
emotionTagList.value.forEach((element) => {
if (element.izSelected == "1") {
info2.push(element);
}
});
let allvalue = {
nuId: uni.getStorageSync("nuId"),
nuName: uni.getStorageSync("nuName"),
customerId: uni.getStorageSync("customerId"),
customerName: uni.getStorageSync("NUall").elderInfo.name,
serverList: postArray,
instantList: bottomItems.value,
tagList: info2
};
addBatch(allvalue).then(() => {
geteverything();
});
}; };
const routerPush = () => { const routerPush = () => {
uni.setStorage({ uni.setStorage({
@ -18523,6 +18575,8 @@ if (uni.restoreGlobal) {
})) }))
})) }))
); );
const emotionTagList = vue.ref([]);
const bodyTagList = vue.ref([]);
onShow(() => { onShow(() => {
getServiceTree().then((res) => { getServiceTree().then((res) => {
res.result.forEach((element) => { res.result.forEach((element) => {
@ -18548,6 +18602,7 @@ if (uni.restoreGlobal) {
}); });
}); });
bigArray.value = res.result; bigArray.value = res.result;
formatAppLog("log", "at pages/NursingNew/component/nurse/index.vue:1933", "((((()))))", bigArray.value);
downList.value = bigArray.value[0].children; downList.value = bigArray.value[0].children;
upmenuIndex.value = -1; upmenuIndex.value = -1;
downdonghua.value = -1; downdonghua.value = -1;
@ -18555,16 +18610,38 @@ if (uni.restoreGlobal) {
upmenuIndex.value = 0; upmenuIndex.value = 0;
downdonghua.value = 0; downdonghua.value = 0;
}, 50); }, 50);
geteverything();
}); });
if (uni.getStorageSync("nuId") && uni.getStorageSync("customerId")) {
getNclist(uni.getStorageSync("nuId"), uni.getStorageSync("customerId")).then((res) => {
if (res.success && res.result[0].children.length) {
timearr.value = res.result;
}
});
}
uni.$on("where", findback); uni.$on("where", findback);
}); });
const bodyTagListLook = vue.ref([]);
const emotionTagListLook = vue.ref([]);
const cansumit = vue.ref(false);
const geteverything = () => {
if (uni.getStorageSync("nuId") && uni.getStorageSync("customerId")) {
getNclist(uni.getStorageSync("nuId"), uni.getStorageSync("customerId")).then((res) => {
res.result.serviceList.forEach((res2) => {
timearr.value[res2.positioning].children[res2.positioningLong] = res2;
});
bottomItems.value = res.result.instantList;
cansumit.value = true;
emotionTagList.value = res.result.emotionTagList;
emotionTagListLook.value = [];
bodyTagListLook.value = [];
res.result.emotionTagList.forEach((res2) => {
if (res2.izSelected == "1") {
emotionTagListLook.value.push(res2.netPic);
}
});
bodyTagList.value = res.result.bodyTagList;
res.result.bodyTagList.forEach((res2) => {
if (res2.izSelected == "1") {
bodyTagListLook.value.push(res2.netPic);
}
});
});
}
};
onHide(() => { onHide(() => {
uni.$off("where", findback); uni.$off("where", findback);
}); });
@ -18593,11 +18670,12 @@ if (uni.restoreGlobal) {
endTime: "", endTime: "",
positioning: "", positioning: "",
positioningLong: "", positioningLong: "",
izPackage: false, izPackage: "0",
previewFile: "", previewFile: "",
previewFileSmall: "", previewFileSmall: "",
immediateFile: "", immediateFile: "",
immediateFileFocus: "", immediateFileFocus: "",
netImmediateFile: "",
tagName: "" tagName: ""
}); });
function splitString(str) { function splitString(str) {
@ -18645,14 +18723,14 @@ if (uni.restoreGlobal) {
return animTimer; return animTimer;
}, set animTimer(v) { }, set animTimer(v) {
animTimer = v; animTimer = v;
}, addnewbutton, addnew, cleansettimeout, cleansettimeoutrel, saveAll, routerPush, saveRulerTime, targetRuler, solveWatch, whereEvent, minuteArr, timearr, findback, moveNumber, moBan, splitString, totalColumns: totalColumns$1, totalRows: totalRows$1, visibleWidth: visibleWidth$1, visibleHeight: visibleHeight$1, centerCell }; }, addnewbutton, addnew, cleansettimeout, cleansettimeoutrel, saveAll, routerPush, saveRulerTime, targetRuler, solveWatch, whereEvent, minuteArr, timearr, emotionTagList, bodyTagList, bodyTagListLook, emotionTagListLook, cansumit, geteverything, findback, moveNumber, moBan, splitString, totalColumns: totalColumns$1, totalRows: totalRows$1, visibleWidth: visibleWidth$1, visibleHeight: visibleHeight$1, centerCell };
Object.defineProperty(__returned__, "__isScriptSetup", { enumerable: false, value: true }); Object.defineProperty(__returned__, "__isScriptSetup", { enumerable: false, value: true });
return __returned__; return __returned__;
} }
}); });
const _imports_1$9 = "/static/index/newruler/jiao.png"; const _imports_1$a = "/static/index/newruler/jiao.png";
const _imports_2$7 = "/static/index/newruler/monitor_1.png"; const _imports_1$9 = "/static/index/newruler/monitor_1.png";
const _imports_3$4 = "/static/index/sharelogo.png"; const _imports_2$7 = "/static/index/sharelogo.png";
function _sfc_render$I(_ctx, _cache, $props, $setup, $data, $options) { function _sfc_render$I(_ctx, _cache, $props, $setup, $data, $options) {
var _a, _b, _c, _d, _e, _f, _g, _h; var _a, _b, _c, _d, _e, _f, _g, _h;
const _component_donghua = vue.resolveComponent("donghua"); const _component_donghua = vue.resolveComponent("donghua");
@ -18706,7 +18784,7 @@ if (uni.restoreGlobal) {
(vue.openBlock(true), vue.createElementBlock( (vue.openBlock(true), vue.createElementBlock(
vue.Fragment, vue.Fragment,
null, null,
vue.renderList($setup.nameArray.slice(0, 5), (item, index2) => { vue.renderList($setup.bodyTagList, (item, index2) => {
return vue.openBlock(), vue.createElementBlock("view", { return vue.openBlock(), vue.createElementBlock("view", {
key: index2, key: index2,
onClick: ($event) => $setup.addbody(index2) onClick: ($event) => $setup.addbody(index2)
@ -18719,15 +18797,15 @@ if (uni.restoreGlobal) {
[ [
vue.createElementVNode("image", { vue.createElementVNode("image", {
class: "tags-img", class: "tags-img",
src: $setup.bodytarget.includes(index2) ? `/static/index/tagNames/${index2}1.png` : `/static/index/tagNames/${index2}0.png` src: item.izSelected == `1` ? item.netPicFocus : item.netPic
}, null, 8, ["src"]), }, null, 8, ["src"]),
vue.createElementVNode( vue.createElementVNode(
"view", "view",
{ {
class: "tags-font", class: "tags-font",
style: vue.normalizeStyle($setup.bodytarget.includes(index2) ? { color: `rgb(54, 159, 239)` } : {}) style: vue.normalizeStyle(item.izSelected == `1` ? { color: `rgb(54, 159, 239)` } : {})
}, },
vue.toDisplayString(item), vue.toDisplayString(item.tagName),
5 5
/* TEXT, STYLE */ /* TEXT, STYLE */
) )
@ -18755,19 +18833,19 @@ if (uni.restoreGlobal) {
$setup.openface = false; $setup.openface = false;
}) })
}, [ }, [
!$setup.bodytarget.length ? (vue.openBlock(), vue.createElementBlock("view", { !$setup.bodyTagListLook.length ? (vue.openBlock(), vue.createElementBlock("view", {
key: 0, key: 0,
style: { "margin-top": "-3rpx" } style: { "margin-top": "-3rpx" }
}, " 未选择 ")) : vue.createCommentVNode("v-if", true), }, " 未选择 ")) : vue.createCommentVNode("v-if", true),
(vue.openBlock(true), vue.createElementBlock( (vue.openBlock(true), vue.createElementBlock(
vue.Fragment, vue.Fragment,
null, null,
vue.renderList($setup.bodytarget, (item, index2) => { vue.renderList($setup.bodyTagListLook, (item, index2) => {
return vue.openBlock(), vue.createElementBlock("view", { key: index2 }, [ return vue.openBlock(), vue.createElementBlock("view", { key: index2 }, [
vue.createElementVNode("image", { vue.createElementVNode("image", {
class: "tags-img", class: "tags-img",
style: { "width": "40rpx", "height": "40rpx", "margin": "0 10rpx" }, style: { "width": "40rpx", "height": "40rpx", "margin": "0 10rpx" },
src: `/static/index/tagNames/${item}0.png` src: item
}, null, 8, ["src"]) }, null, 8, ["src"])
]); ]);
}), }),
@ -18809,7 +18887,7 @@ if (uni.restoreGlobal) {
(vue.openBlock(true), vue.createElementBlock( (vue.openBlock(true), vue.createElementBlock(
vue.Fragment, vue.Fragment,
null, null,
vue.renderList($setup.nameArray.slice(5, 12), (item, index2) => { vue.renderList($setup.emotionTagList, (item, index2) => {
return vue.openBlock(), vue.createElementBlock("view", { return vue.openBlock(), vue.createElementBlock("view", {
key: index2, key: index2,
onClick: ($event) => $setup.addface(index2) onClick: ($event) => $setup.addface(index2)
@ -18822,15 +18900,15 @@ if (uni.restoreGlobal) {
[ [
vue.createElementVNode("image", { vue.createElementVNode("image", {
class: "tags-img", class: "tags-img",
src: $setup.facetarget.includes(index2) ? `/static/index/tagNames/${index2 + 5}1.png` : `/static/index/tagNames/${index2 + 5}0.png` src: item.izSelected == `1` ? item.netPicFocus : item.netPic
}, null, 8, ["src"]), }, null, 8, ["src"]),
vue.createElementVNode( vue.createElementVNode(
"view", "view",
{ {
class: "tags-font", class: "tags-font",
style: vue.normalizeStyle($setup.facetarget.includes(index2) ? { color: `rgb(54, 159, 239)` } : {}) style: vue.normalizeStyle(item.izSelected == `1` ? { color: `rgb(54, 159, 239)` } : {})
}, },
vue.toDisplayString(item), vue.toDisplayString(item.tagName),
5 5
/* TEXT, STYLE */ /* TEXT, STYLE */
) )
@ -18858,19 +18936,19 @@ if (uni.restoreGlobal) {
$setup.openbody = false; $setup.openbody = false;
}) })
}, [ }, [
!$setup.facetarget.length ? (vue.openBlock(), vue.createElementBlock("view", { !$setup.emotionTagListLook.length ? (vue.openBlock(), vue.createElementBlock("view", {
key: 0, key: 0,
style: { "margin-top": "-3rpx" } style: { "margin-top": "-3rpx" }
}, " 未选择 ")) : vue.createCommentVNode("v-if", true), }, " 未选择 ")) : vue.createCommentVNode("v-if", true),
(vue.openBlock(true), vue.createElementBlock( (vue.openBlock(true), vue.createElementBlock(
vue.Fragment, vue.Fragment,
null, null,
vue.renderList($setup.facetarget, (item, index2) => { vue.renderList($setup.emotionTagListLook, (item, index2) => {
return vue.openBlock(), vue.createElementBlock("view", { key: index2 }, [ return vue.openBlock(), vue.createElementBlock("view", { key: index2 }, [
vue.createElementVNode("image", { vue.createElementVNode("image", {
class: "tags-img", class: "tags-img",
style: { "width": "40rpx", "height": "40rpx", "margin": "0 10rpx" }, style: { "width": "40rpx", "height": "40rpx", "margin": "0 10rpx" },
src: `/static/index/tagNames/${item + 5}0.png` src: item
}, null, 8, ["src"]) }, null, 8, ["src"])
]); ]);
}), }),
@ -19097,16 +19175,10 @@ if (uni.restoreGlobal) {
style: { "flex-direction": "column" } style: { "flex-direction": "column" }
}, },
[ [
vue.withDirectives(vue.createElementVNode( vue.withDirectives(vue.createElementVNode("image", {
"image", style: { "width": "60rpx", "height": "60rpx", "margin": "0 auto", "margin-top": "30rpx" },
{ src: item1.netImmediateFile
style: { "width": "60rpx", "height": "60rpx", "margin": "0 auto", "margin-top": "30rpx" }, }, null, 8, ["src"]), [
src: _imports_0$g
},
null,
512
/* NEED_PATCH */
), [
[vue.vShow, item1.startTime] [vue.vShow, item1.startTime]
]), ]),
vue.createElementVNode( vue.createElementVNode(
@ -19123,7 +19195,7 @@ if (uni.restoreGlobal) {
key: 0, key: 0,
class: "title-time-button", class: "title-time-button",
style: { "width": "80rpx", "height": "48rpx" }, style: { "width": "80rpx", "height": "48rpx" },
src: _imports_1$9 src: _imports_1$a
})) : vue.createCommentVNode("v-if", true), })) : vue.createCommentVNode("v-if", true),
item1.cycleType != "日常" ? (vue.openBlock(), vue.createElementBlock( item1.cycleType != "日常" ? (vue.openBlock(), vue.createElementBlock(
"view", "view",
@ -19218,12 +19290,12 @@ if (uni.restoreGlobal) {
[ [
vue.createElementVNode("image", { vue.createElementVNode("image", {
class: "right-box-img", class: "right-box-img",
src: item.url src: item.netImmediateFile
}, null, 8, ["src"]), }, null, 8, ["src"]),
vue.createElementVNode( vue.createElementVNode(
"view", "view",
{ class: "right-box-font" }, { class: "right-box-font" },
vue.toDisplayString(item.name), vue.toDisplayString(item.directiveName),
1 1
/* TEXT */ /* TEXT */
) )
@ -19233,7 +19305,10 @@ if (uni.restoreGlobal) {
), ),
vue.withDirectives(vue.createElementVNode("view", { vue.withDirectives(vue.createElementVNode("view", {
class: "super-end-items-father-close-father", class: "super-end-items-father-close-father",
onClick: vue.withModifiers(($event) => $setup.bottomItems.splice(index2, 1), ["stop"]) onClick: vue.withModifiers(($event) => {
$setup.bottomItems.splice(index2, 1);
$setup.saveAll();
}, ["stop"])
}, " - ", 8, ["onClick"]), [ }, " - ", 8, ["onClick"]), [
[vue.vShow, $setup.bottomisShaking] [vue.vShow, $setup.bottomisShaking]
]) ])
@ -19395,7 +19470,7 @@ if (uni.restoreGlobal) {
"image", "image",
{ {
class: "title-time-button", class: "title-time-button",
src: _imports_1$9 src: _imports_1$a
}, },
null, null,
512 512
@ -19407,7 +19482,7 @@ if (uni.restoreGlobal) {
"image", "image",
{ {
class: "title-time-button", class: "title-time-button",
src: _imports_1$9 src: _imports_1$a
}, },
null, null,
512 512
@ -19583,7 +19658,7 @@ if (uni.restoreGlobal) {
vue.createElementVNode("view", { class: "other-father" }, [ vue.createElementVNode("view", { class: "other-father" }, [
vue.createElementVNode("image", { vue.createElementVNode("image", {
style: { "width": "55rpx", "height": "55rpx" }, style: { "width": "55rpx", "height": "55rpx" },
src: _imports_2$7 src: _imports_1$9
}), }),
vue.createElementVNode("view", { style: { "z-index": "999", "font-size": "25rpx" } }, " 监控 ") vue.createElementVNode("view", { style: { "z-index": "999", "font-size": "25rpx" } }, " 监控 ")
]) ])
@ -19753,7 +19828,7 @@ if (uni.restoreGlobal) {
vue.createElementVNode("view", { class: "share-title" }, [ vue.createElementVNode("view", { class: "share-title" }, [
vue.createElementVNode("image", { vue.createElementVNode("image", {
style: { "width": "50rpx", "height": "50rpx" }, style: { "width": "50rpx", "height": "50rpx" },
src: _imports_3$4 src: _imports_2$7
}), }),
vue.createElementVNode("view", { style: { "font-weight": "600", "margin-left": "15rpx" } }, " 护理单元 ") vue.createElementVNode("view", { style: { "font-weight": "600", "margin-left": "15rpx" } }, " 护理单元 ")
]), ]),
@ -28662,7 +28737,7 @@ if (uni.restoreGlobal) {
vue.createElementVNode("view", { class: "time-right" }, " 待执行 "), vue.createElementVNode("view", { class: "time-right" }, " 待执行 "),
vue.createElementVNode("image", { vue.createElementVNode("image", {
class: "time-img", class: "time-img",
src: _imports_3$b, src: _imports_3$a,
onClick: $setup.jumptodanyuan onClick: $setup.jumptodanyuan
}), }),
vue.createElementVNode("view", { class: "small-button" }, [ vue.createElementVNode("view", { class: "small-button" }, [
@ -28895,7 +28970,7 @@ if (uni.restoreGlobal) {
vue.createElementVNode("view", { class: "time-right" }, " 待执行 "), vue.createElementVNode("view", { class: "time-right" }, " 待执行 "),
vue.createElementVNode("image", { vue.createElementVNode("image", {
class: "time-img", class: "time-img",
src: _imports_3$b, src: _imports_3$a,
onClick: $setup.jumptokufang onClick: $setup.jumptokufang
}), }),
vue.createElementVNode("view", { class: "small-button" }, [ vue.createElementVNode("view", { class: "small-button" }, [
@ -29681,7 +29756,7 @@ if (uni.restoreGlobal) {
"image", "image",
{ {
class: "right-img", class: "right-img",
src: _imports_1$d, src: _imports_1$e,
onClick: _cache[1] || (_cache[1] = ($event) => $setup.uuid = "") onClick: _cache[1] || (_cache[1] = ($event) => $setup.uuid = "")
}, },
null, null,
@ -31489,7 +31564,7 @@ if (uni.restoreGlobal) {
key: 0, key: 0,
class: "title-time-button", class: "title-time-button",
style: { "width": "80rpx", "height": "48rpx" }, style: { "width": "80rpx", "height": "48rpx" },
src: _imports_1$9 src: _imports_1$a
}, },
null, null,
512 512

View File

@ -5,10 +5,10 @@ const _imports_0$n = "/static/index/oldman.png";
const _imports_0$m = "/static/index/watch/uni.png"; const _imports_0$m = "/static/index/watch/uni.png";
const _imports_1$k = "/static/index/watch/more.png"; const _imports_1$k = "/static/index/watch/more.png";
const _imports_2$f = "/static/index/newindex/curve/shezhi.png"; const _imports_2$f = "/static/index/newindex/curve/shezhi.png";
const _imports_3$a = "/static/nocamera.png"; const _imports_3$9 = "/static/nocamera.png";
const _imports_4$7 = "/static/index/watch/laotai.png"; const _imports_4$7 = "/static/index/watch/laotai.png";
const _imports_5$6 = "/static/index/watch/laotou.png"; const _imports_5$6 = "/static/index/watch/laotou.png";
const _imports_6$2 = "/static/index/watch/phonebgc.png"; const _imports_6$3 = "/static/index/watch/phonebgc.png";
const _imports_7$3 = "/static/index/watch/phone.png"; const _imports_7$3 = "/static/index/watch/phone.png";
const _imports_8$3 = "/static/index/watch/phoneball.png"; const _imports_8$3 = "/static/index/watch/phoneball.png";
const _imports_9$3 = "/static/index/watch/pao.png"; const _imports_9$3 = "/static/index/watch/pao.png";
@ -16,34 +16,34 @@ const _imports_10$2 = "/static/index/camera/back.png";
const _imports_0$l = "/static/click.png"; const _imports_0$l = "/static/click.png";
const _imports_1$j = "/static/x.png"; const _imports_1$j = "/static/x.png";
const _imports_2$e = "/static/bgc.png"; const _imports_2$e = "/static/bgc.png";
const _imports_3$9 = "/static/qiu.png"; const _imports_3$8 = "/static/qiu.png";
const _imports_0$k = "/static/kuai.png"; const _imports_0$k = "/static/kuai.png";
const _imports_1$i = "/static/sao.png"; const _imports_1$i = "/static/sao.png";
const _imports_2$d = "/static/qr.png"; const _imports_2$d = "/static/qr.png";
const _imports_0$j = "/static/index/leida/leftbgc.png"; const _imports_0$j = "/static/index/leida/leftbgc.png";
const _imports_1$h = "/static/index/leida/bigball.png"; const _imports_1$h = "/static/index/leida/bigball.png";
const _imports_2$c = "/static/index/leida/biao.png"; const _imports_2$c = "/static/index/leida/biao.png";
const _imports_3$8 = "/static/index/leida/ball.png"; const _imports_3$7 = "/static/index/leida/ball.png";
const _imports_4$6 = "/static/index/leida/shallow.png"; const _imports_4$6 = "/static/index/leida/shallow.png";
const _imports_5$5 = "/static/index/leida/play.png"; const _imports_5$5 = "/static/index/leida/play.png";
const _imports_5$4 = "/static/index/quxiao.png"; const _imports_5$4 = "/static/index/quxiao.png";
const _imports_0$i = "/static/index/customer.png"; const _imports_0$i = "/static/index/customer.png";
const _imports_0$h = "/static/index/tu.png"; const _imports_6$2 = "/static/index/tu.png";
const _imports_1$g = "/static/index/newruler/jiao.png"; const _imports_0$h = "/static/index/newruler/jiao.png";
const _imports_0$g = "/static/index/warehouse/ys.gif"; const _imports_0$g = "/static/index/warehouse/ys.gif";
const _imports_1$f = "/static/index/warehouse/y1.png"; const _imports_1$g = "/static/index/warehouse/y1.png";
const _imports_2$b = "/static/index/warehouse/y0.png"; const _imports_2$b = "/static/index/warehouse/y0.png";
const _imports_0$f = "/static/index/update/fly.png"; const _imports_0$f = "/static/index/update/fly.png";
const _imports_1$e = "/static/index/update/bgc.png"; const _imports_1$f = "/static/index/update/bgc.png";
const _imports_1$d = "/static/index/undericons/upguang.png"; const _imports_1$e = "/static/index/undericons/upguang.png";
const _imports_0$e = "/static/index/shexiang.png"; const _imports_0$e = "/static/index/shexiang.png";
const _imports_1$c = "/static/index/cheng.png"; const _imports_1$d = "/static/index/cheng.png";
const _imports_2$a = "/static/index/deleteicon.png"; const _imports_2$a = "/static/index/deleteicon.png";
const _imports_11$1 = "/static/index/NU.png"; const _imports_11$1 = "/static/index/NU.png";
const _imports_0$d = "/static/index/ku.png"; const _imports_0$d = "/static/index/ku.png";
const _imports_1$b = "/static/index/ren.png"; const _imports_1$c = "/static/index/ren.png";
const _imports_2$9 = "/static/index/redbian.png"; const _imports_2$9 = "/static/index/redbian.png";
const _imports_3$7 = "/static/index/ri.png"; const _imports_3$6 = "/static/index/ri.png";
const _imports_4$5 = "/static/index/zhou.png"; const _imports_4$5 = "/static/index/zhou.png";
const _imports_5$3 = "/static/index/ji.png"; const _imports_5$3 = "/static/index/ji.png";
const _imports_7$2 = "/static/index/keyimg/movebutton.png"; const _imports_7$2 = "/static/index/keyimg/movebutton.png";
@ -51,14 +51,14 @@ const _imports_8$2 = "/static/index/keyimg/deletebutton.png";
const _imports_9$2 = "/static/index/keyimg/notebutton.png"; const _imports_9$2 = "/static/index/keyimg/notebutton.png";
const _imports_10$1 = "/static/index/keyimg/okbutton.png"; const _imports_10$1 = "/static/index/keyimg/okbutton.png";
const _imports_0$c = "/static/index/camera/arrow1.png"; const _imports_0$c = "/static/index/camera/arrow1.png";
const _imports_1$a = "/static/index/camera/arrow3.png"; const _imports_1$b = "/static/index/camera/arrow3.png";
const _imports_2$8 = "/static/index/camera/arrow5.png"; const _imports_2$8 = "/static/index/camera/arrow5.png";
const _imports_3$6 = "/static/index/camera/arrow4.png"; const _imports_3$5 = "/static/index/camera/arrow4.png";
const _imports_4$4 = "/static/index/camera/arrow2.png"; const _imports_4$4 = "/static/index/camera/arrow2.png";
const _imports_0$b = "/static/index/newindex/wendu/0.png"; const _imports_0$b = "/static/index/newindex/wendu/0.png";
const _imports_1$9 = "/static/index/newindex/wendu/1.png"; const _imports_1$a = "/static/index/newindex/wendu/1.png";
const _imports_2$7 = "/static/index/newruler/monitor_1.png"; const _imports_1$9 = "/static/index/newruler/monitor_1.png";
const _imports_3$5 = "/static/index/sharelogo.png"; const _imports_2$7 = "/static/index/sharelogo.png";
const _imports_0$a = "/static/index/Warehousing/firstbutton.png"; const _imports_0$a = "/static/index/Warehousing/firstbutton.png";
const _imports_1$8 = "/static/index/Warehousing/secondbutton.png"; const _imports_1$8 = "/static/index/Warehousing/secondbutton.png";
const _imports_2$6 = "/static/index/Warehousing/thirdbutton.png"; const _imports_2$6 = "/static/index/Warehousing/thirdbutton.png";
@ -138,7 +138,7 @@ exports._imports_0$9 = _imports_0$f;
exports._imports_1 = _imports_1$k; exports._imports_1 = _imports_1$k;
exports._imports_1$1 = _imports_1$j; exports._imports_1$1 = _imports_1$j;
exports._imports_1$10 = _imports_1$9; exports._imports_1$10 = _imports_1$9;
exports._imports_1$11 = _imports_1$f; exports._imports_1$11 = _imports_1$g;
exports._imports_1$12 = _imports_1$8; exports._imports_1$12 = _imports_1$8;
exports._imports_1$13 = _imports_1$7; exports._imports_1$13 = _imports_1$7;
exports._imports_1$14 = _imports_1$6; exports._imports_1$14 = _imports_1$6;
@ -150,7 +150,7 @@ exports._imports_1$19 = _imports_1$1;
exports._imports_1$2 = _imports_1$i; exports._imports_1$2 = _imports_1$i;
exports._imports_1$20 = _imports_1; exports._imports_1$20 = _imports_1;
exports._imports_1$3 = _imports_1$h; exports._imports_1$3 = _imports_1$h;
exports._imports_1$4 = _imports_1$g; exports._imports_1$4 = _imports_1$f;
exports._imports_1$5 = _imports_1$e; exports._imports_1$5 = _imports_1$e;
exports._imports_1$6 = _imports_1$d; exports._imports_1$6 = _imports_1$d;
exports._imports_1$7 = _imports_1$c; exports._imports_1$7 = _imports_1$c;
@ -178,17 +178,16 @@ exports._imports_2$6 = _imports_2$8;
exports._imports_2$7 = _imports_2$7; exports._imports_2$7 = _imports_2$7;
exports._imports_2$8 = _imports_2$b; exports._imports_2$8 = _imports_2$b;
exports._imports_2$9 = _imports_2$6; exports._imports_2$9 = _imports_2$6;
exports._imports_3 = _imports_3$a; exports._imports_3 = _imports_3$9;
exports._imports_3$1 = _imports_3$9; exports._imports_3$1 = _imports_3$8;
exports._imports_3$10 = _imports_3; exports._imports_3$2 = _imports_3$7;
exports._imports_3$2 = _imports_3$8; exports._imports_3$3 = _imports_3$6;
exports._imports_3$3 = _imports_3$7; exports._imports_3$4 = _imports_3$5;
exports._imports_3$4 = _imports_3$6; exports._imports_3$5 = _imports_3$4;
exports._imports_3$5 = _imports_3$5; exports._imports_3$6 = _imports_3$3;
exports._imports_3$6 = _imports_3$4; exports._imports_3$7 = _imports_3$2;
exports._imports_3$7 = _imports_3$3; exports._imports_3$8 = _imports_3$1;
exports._imports_3$8 = _imports_3$2; exports._imports_3$9 = _imports_3;
exports._imports_3$9 = _imports_3$1;
exports._imports_4 = _imports_4$7; exports._imports_4 = _imports_4$7;
exports._imports_4$1 = _imports_4$6; exports._imports_4$1 = _imports_4$6;
exports._imports_4$2 = _imports_4$5; exports._imports_4$2 = _imports_4$5;
@ -204,9 +203,10 @@ exports._imports_5$3 = _imports_5$3;
exports._imports_5$4 = _imports_5$2; exports._imports_5$4 = _imports_5$2;
exports._imports_5$5 = _imports_5$1; exports._imports_5$5 = _imports_5$1;
exports._imports_5$6 = _imports_5; exports._imports_5$6 = _imports_5;
exports._imports_6 = _imports_6$2; exports._imports_6 = _imports_6$3;
exports._imports_6$1 = _imports_6$1; exports._imports_6$1 = _imports_6$2;
exports._imports_6$2 = _imports_6; exports._imports_6$2 = _imports_6$1;
exports._imports_6$3 = _imports_6;
exports._imports_7 = _imports_7$3; exports._imports_7 = _imports_7$3;
exports._imports_7$1 = _imports_7$2; exports._imports_7$1 = _imports_7$2;
exports._imports_7$2 = _imports_7$1; exports._imports_7$2 = _imports_7$1;

View File

@ -264,7 +264,7 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
m: common_vendor.o(jumptodanyuan, index0), m: common_vendor.o(jumptodanyuan, index0),
n: common_assets._imports_4$4, n: common_assets._imports_4$4,
o: common_assets._imports_5$4, o: common_assets._imports_5$4,
p: common_assets._imports_6$1, p: common_assets._imports_6$2,
q: common_assets._imports_7$2, q: common_assets._imports_7$2,
r: common_assets._imports_8$2 r: common_assets._imports_8$2
} : {}, { } : {}, {
@ -324,7 +324,7 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
N: common_vendor.o(jumptokufang, index0), N: common_vendor.o(jumptokufang, index0),
O: common_assets._imports_4$4, O: common_assets._imports_4$4,
P: common_assets._imports_5$4, P: common_assets._imports_5$4,
Q: common_assets._imports_6$1, Q: common_assets._imports_6$2,
R: common_assets._imports_7$2, R: common_assets._imports_7$2,
S: common_assets._imports_8$2 S: common_assets._imports_8$2
} : {}, { } : {}, {

View File

@ -130,7 +130,7 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
}); });
}), }),
j: common_assets._imports_2$11, j: common_assets._imports_2$11,
k: common_assets._imports_3$7, k: common_assets._imports_3$6,
l: scrollTop.value, l: scrollTop.value,
m: __props.isShow, m: __props.isShow,
n: common_vendor.s(transition.value ? { n: common_vendor.s(transition.value ? {

View File

@ -137,7 +137,7 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
return common_vendor.e({ return common_vendor.e({
a: common_assets._imports_0$12, a: common_assets._imports_0$12,
b: type.value == -1 || type.value == 4, b: type.value == -1 || type.value == 4,
c: common_assets._imports_1$9, c: common_assets._imports_1$8,
d: type.value == 3, d: type.value == 3,
e: common_assets._imports_2$6, e: common_assets._imports_2$6,
f: type.value == 2, f: type.value == 2,

View File

@ -446,7 +446,7 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
e: common_vendor.o(($event) => changeMenuUnder(index), index) e: common_vendor.o(($event) => changeMenuUnder(index), index)
}; };
}), }),
by: common_assets._imports_1$6, by: common_assets._imports_1$5,
bz: common_vendor.n(__props.darkFans ? `under-father-img-font-dark` : `under-father-img-font`), bz: common_vendor.n(__props.darkFans ? `under-father-img-font-dark` : `under-father-img-font`),
bA: common_vendor.sr(drawer, "9f74ebdb-0", { bA: common_vendor.sr(drawer, "9f74ebdb-0", {
"k": "drawer" "k": "drawer"

View File

@ -36,10 +36,10 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
a: common_assets._imports_0$16, a: common_assets._imports_0$16,
b: common_assets._imports_1$15, b: common_assets._imports_1$15,
c: common_assets._imports_2$12, c: common_assets._imports_2$12,
d: common_assets._imports_3$8, d: common_assets._imports_3$7,
e: common_assets._imports_4$6, e: common_assets._imports_4$6,
f: common_assets._imports_5$5, f: common_assets._imports_5$5,
g: common_assets._imports_6$2, g: common_assets._imports_6$3,
h: common_vendor.o(($event) => showVideo.value = true), h: common_vendor.o(($event) => showVideo.value = true),
i: common_assets._imports_7$3, i: common_assets._imports_7$3,
j: common_assets._imports_8$3, j: common_assets._imports_8$3,

View File

@ -1126,7 +1126,7 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
}), }),
T: songisopen.value T: songisopen.value
}, songisopen.value ? { }, songisopen.value ? {
U: common_assets._imports_1$7, U: common_assets._imports_1$6,
V: common_vendor.t(openValue.value.time + ":00"), V: common_vendor.t(openValue.value.time + ":00"),
W: common_vendor.f(openValue.value.array, (item, index2, i0) => { W: common_vendor.f(openValue.value.array, (item, index2, i0) => {
return { return {

View File

@ -879,7 +879,7 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
m: item1.startTime m: item1.startTime
}, item1.startTime ? { }, item1.startTime ? {
n: common_assets._imports_0$11, n: common_assets._imports_0$11,
o: common_assets._imports_1$8 o: common_assets._imports_1$7
} : {}, { } : {}, {
p: common_vendor.n(getClass(item1, index0, index1)), p: common_vendor.n(getClass(item1, index0, index1)),
q: `-${computeDelay(index0, index1).toFixed(2)}s`, q: `-${computeDelay(index0, index1).toFixed(2)}s`,
@ -929,7 +929,7 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
x: common_assets._imports_2$5, x: common_assets._imports_2$5,
y: common_vendor.n(bottomisShaking.value ? `super-end-items-img-father-active` : `super-end-items-img-father`), y: common_vendor.n(bottomisShaking.value ? `super-end-items-img-father-active` : `super-end-items-img-father`),
z: common_assets._imports_0$11, z: common_assets._imports_0$11,
A: common_assets._imports_1$8, A: common_assets._imports_1$7,
B: bottomisShaking.value, B: bottomisShaking.value,
C: scrollLeft.value, C: scrollLeft.value,
D: common_vendor.o(($event) => { D: common_vendor.o(($event) => {
@ -990,9 +990,9 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
O: common_assets._imports_3$3, O: common_assets._imports_3$3,
P: common_assets._imports_4$2, P: common_assets._imports_4$2,
Q: common_assets._imports_5$3, Q: common_assets._imports_5$3,
R: common_assets._imports_0$8, R: common_assets._imports_6$1,
S: common_assets._imports_0$11, S: common_assets._imports_0$11,
T: common_assets._imports_1$8, T: common_assets._imports_1$7,
U: firsttop.value, U: firsttop.value,
V: !iszhouqi.value, V: !iszhouqi.value,
W: common_vendor.f(downList.value, (item, index2, i0) => { W: common_vendor.f(downList.value, (item, index2, i0) => {
@ -1003,7 +1003,7 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
d: common_vendor.o(($event) => secondContant(index2), index2) d: common_vendor.o(($event) => secondContant(index2), index2)
}; };
}), }),
X: common_assets._imports_0$8, X: common_assets._imports_6$1,
Y: secondtop.value, Y: secondtop.value,
Z: common_vendor.f(doctorsayList.value, (item, index2, i0) => { Z: common_vendor.f(doctorsayList.value, (item, index2, i0) => {
return { return {

View File

@ -32,7 +32,7 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
}; };
return (_ctx, _cache) => { return (_ctx, _cache) => {
return { return {
a: common_assets._imports_3$10, a: common_assets._imports_3$9,
b: common_vendor.t(__props.savePrice), b: common_vendor.t(__props.savePrice),
c: common_vendor.t(__props.changePrice), c: common_vendor.t(__props.changePrice),
d: common_vendor.o(($event) => openCal(__props.changePrice)), d: common_vendor.o(($event) => openCal(__props.changePrice)),

View File

@ -88,7 +88,7 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
e: common_assets._imports_0$23, e: common_assets._imports_0$23,
f: common_assets._imports_1$18, f: common_assets._imports_1$18,
g: common_assets._imports_2$15, g: common_assets._imports_2$15,
h: common_assets._imports_3$10, h: common_assets._imports_3$9,
i: common_assets._imports_4$7 i: common_assets._imports_4$7
}; };
}; };

View File

@ -108,7 +108,7 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
}), }),
o: common_vendor.o(($event) => whiteshow.value = !whiteshow.value), o: common_vendor.o(($event) => whiteshow.value = !whiteshow.value),
p: common_assets._imports_2$13, p: common_assets._imports_2$13,
q: common_assets._imports_3$9, q: common_assets._imports_3$8,
r: common_vendor.f(manyCard.value, (item, index, i0) => { r: common_vendor.f(manyCard.value, (item, index, i0) => {
return { return {
a: common_vendor.t(item.name), a: common_vendor.t(item.name),

View File

@ -38,7 +38,7 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
a: index a: index
}; };
}), }),
h: common_assets._imports_3$10, h: common_assets._imports_3$9,
i: common_vendor.t(__props.openType ? `备注` : `作废原因`), i: common_vendor.t(__props.openType ? `备注` : `作废原因`),
j: !__props.openType j: !__props.openType
}, !__props.openType ? {} : {}, { }, !__props.openType ? {} : {}, {

View File

@ -24,7 +24,7 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
a: index a: index
}; };
}), }),
b: common_assets._imports_3$10, b: common_assets._imports_3$9,
c: note.value, c: note.value,
d: common_vendor.o(($event) => note.value = $event.detail.value), d: common_vendor.o(($event) => note.value = $event.detail.value),
e: common_vendor.t(note.value.length), e: common_vendor.t(note.value.length),

View File

@ -57,7 +57,7 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
a: index a: index
}; };
}), }),
s: common_assets._imports_3$10, s: common_assets._imports_3$9,
t: common_assets._imports_0$23, t: common_assets._imports_0$23,
v: common_assets._imports_1$18, v: common_assets._imports_1$18,
w: common_assets._imports_2$15, w: common_assets._imports_2$15,

View File

@ -34,7 +34,7 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
a: index a: index
}; };
}), }),
k: common_assets._imports_3$10, k: common_assets._imports_3$9,
l: common_assets._imports_0$23, l: common_assets._imports_0$23,
m: common_assets._imports_1$18, m: common_assets._imports_1$18,
n: common_assets._imports_2$15 n: common_assets._imports_2$15

View File

@ -161,7 +161,7 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
e: common_assets._imports_2$9, e: common_assets._imports_2$9,
f: common_vendor.n(!isWarning.value ? `third-bgc` : `bgc-white`), f: common_vendor.n(!isWarning.value ? `third-bgc` : `bgc-white`),
g: common_vendor.o(($event) => isWarning.value = !isWarning.value), g: common_vendor.o(($event) => isWarning.value = !isWarning.value),
h: common_assets._imports_3$6, h: common_assets._imports_3$5,
i: common_vendor.o(clickgoshop), i: common_vendor.o(clickgoshop),
j: common_vendor.f(buttonList.value, (item, index, i0) => { j: common_vendor.f(buttonList.value, (item, index, i0) => {
return { return {

View File

@ -208,7 +208,7 @@ const _sfc_main = {
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
return common_vendor.e({ return common_vendor.e({
a: common_assets._imports_0$9, a: common_assets._imports_0$9,
b: common_assets._imports_1$5, b: common_assets._imports_1$4,
c: common_vendor.t($options.version), c: common_vendor.t($options.version),
d: common_vendor.n("zy-upgrade-topbg-" + $props.theme), d: common_vendor.n("zy-upgrade-topbg-" + $props.theme),
e: !$data.update_flag e: !$data.update_flag

View File

@ -385,7 +385,7 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
a: common_vendor.t(common_vendor.index.getStorageSync("nuId")), a: common_vendor.t(common_vendor.index.getStorageSync("nuId")),
b: common_vendor.t(common_vendor.index.getStorageSync("nuName")), b: common_vendor.t(common_vendor.index.getStorageSync("nuName")),
c: common_assets._imports_0$13, c: common_assets._imports_0$13,
d: common_assets._imports_1$10, d: common_assets._imports_1$9,
e: `/static/index/undericons/man.png`, e: `/static/index/undericons/man.png`,
f: common_vendor.t(name.value), f: common_vendor.t(name.value),
g: common_vendor.f(typeArray.value, (item, index, i0) => { g: common_vendor.f(typeArray.value, (item, index, i0) => {

View File

@ -13,6 +13,14 @@ const getNclist = (nuId, customerId) => {
method: "get" method: "get"
}); });
}; };
const addBatch = (params) => {
return request_index.request({
url: `${common_vendor.index.getStorageSync("serverUrl")}/nuIpadApi/nuBizNuCustomerServer/addBatch`,
method: "post",
data: params
});
};
exports.addBatch = addBatch;
exports.getNclist = getNclist; exports.getNclist = getNclist;
exports.getServiceTree = getServiceTree; exports.getServiceTree = getServiceTree;
//# sourceMappingURL=../../../../../.sourcemap/mp-weixin/pages/NursingNew/component/nurse/api.js.map //# sourceMappingURL=../../../../../.sourcemap/mp-weixin/pages/NursingNew/component/nurse/api.js.map

View File

@ -244,89 +244,116 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
}, 50); }, 50);
} }
); );
const bodytarget = common_vendor.ref([]); common_vendor.ref([]);
const facetarget = common_vendor.ref([]); common_vendor.ref([]);
const addbody = (index) => { const addbody = (index) => {
if (bodytarget.value.includes(index)) { if (bodyTagList.value[index].izSelected == "1") {
bodytarget.value = bodytarget.value.filter((item) => item !== index); bodyTagList.value[index].izSelected = "0";
} else { } else {
if (bodytarget.value.length > 1) { let targetNumber = 0;
bodyTagList.value.forEach((element) => {
if (element.izSelected == "1") {
targetNumber++;
}
});
if (targetNumber > 1) {
common_vendor.index.showToast({ common_vendor.index.showToast({
title: "标签最多只能添加两个", title: "标签最多只能添加两个",
icon: "none", icon: "none",
duration: 2e3 duration: 2e3
}); });
return;
} else { } else {
bodytarget.value.push(index); bodyTagList.value[index].izSelected = "1";
common_vendor.index.__f__("log", "at pages/NursingNew/component/nurse/index.vue:735", "????", bodyTagList.value);
} }
} }
saveAll();
}; };
const addface = (index) => { const addface = (index) => {
if (facetarget.value.includes(index)) { if (emotionTagList.value[index].izSelected == "1") {
facetarget.value = facetarget.value.filter((item) => item !== index); emotionTagList.value[index].izSelected = "0";
} else { } else {
if (facetarget.value.length > 1) { let targetNumber = 0;
emotionTagList.value.forEach((element) => {
if (element.izSelected == "1") {
targetNumber++;
}
});
if (targetNumber > 1) {
common_vendor.index.showToast({ common_vendor.index.showToast({
title: "标签最多只能添加两个", title: "标签最多只能添加两个",
icon: "none", icon: "none",
duration: 2e3 duration: 2e3
}); });
} else { } else {
facetarget.value.push(index); emotionTagList.value[index].izSelected = "1";
} }
} }
saveAll();
}; };
const open = common_vendor.ref(false); const open = common_vendor.ref(false);
const getblue = common_vendor.ref(false); const getblue = common_vendor.ref(false);
const bottomItems = common_vendor.ref([ const bottomItems = common_vendor.ref([
{ // {
name: "纸尿裤", // // name: '纸尿裤',
url: "/static/index/niao.png", // // url: "/static/index/niao.png",
target: "#fff", // // target: "#fff",
id: -1 // // id: -1
}, // directiveId: "", // 服务指令ID
{ // directiveName: "", // 服务指令名称
name: "呕吐", // typeId: "", // 类型ID
url: "/static/index/tu.png", // typeName: "", // 类型名称
target: "#fff", // categoryId: "", // 类别ID
id: -1 // categoryName: "", // 类别名称
}, // izPackage: "", // 是否是服务指令包
{ // previewFile: "", // 大图相对路径
name: "吸痰", // previewFileSmall: "", // 小图相对路径
url: "/static/index/ou.png", // immediateFile: "", // 图片相对路径
target: "#fff", // immediateFileFocus: "" // 图片焦点相对路径
id: -1 // },
}, // {
{ // name: '呕吐',
name: "大便", // url: "/static/index/tu.png",
url: "/static/index/baba.png", // target: "#fff",
target: "#fff", // id: -1
id: -1 // },
}, // {
{ // name: '吸痰',
name: "纸尿裤", // url: "/static/index/ou.png",
url: "/static/index/niao.png", // target: "#fff",
target: "#fff", // id: -1
id: -1 // },
}, // {
{ // name: '大便',
name: "呕吐", // url: "/static/index/baba.png",
url: "/static/index/tu.png", // target: "#fff",
target: "#fff", // id: -1
id: -1 // },
}, // {
{ // name: '纸尿裤',
name: "吸痰", // url: "/static/index/niao.png",
url: "/static/index/ou.png", // target: "#fff",
target: "#fff", // id: -1
id: -1 // },
}, // {
{ // name: '呕吐',
name: "大便", // url: "/static/index/tu.png",
url: "/static/index/baba.png", // target: "#fff",
target: "#fff", // id: -1
id: -1 // },
} // {
// name: '吸痰',
// url: "/static/index/ou.png",
// target: "#fff",
// id: -1
// },
// {
// name: '大便',
// url: "/static/index/baba.png",
// target: "#fff",
// id: -1
// },
]); ]);
const nameArray = [ const nameArray = [
`标准`, `标准`,
@ -992,12 +1019,11 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
bottomItems.value[0].target = "#fff"; bottomItems.value[0].target = "#fff";
clearTimeout(cleansettimeout.value); clearTimeout(cleansettimeout.value);
} }
bottomItems.value.unshift({ let pushValue = allobject;
name: allobject.title, pushValue.directiveId = allobject.id;
url: "/static/index/ou.png", pushValue.directiveName = allobject.title;
target: `#03a4ff`, pushValue.target = `#03a4ff`;
id: allobject.id bottomItems.value.unshift(pushValue);
});
cleansettimeout.value = setTimeout(() => { cleansettimeout.value = setTimeout(() => {
bottomItems.value[0].target = `#fff`; bottomItems.value[0].target = `#fff`;
}, 1500); }, 1500);
@ -1008,6 +1034,7 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
isop.value = false; isop.value = false;
}, 1500); }, 1500);
} }
saveAll();
}); });
return; return;
} }
@ -1049,6 +1076,7 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
const formattedEnd = `${String(endHour)}:${String(endMinute % 60).padStart(2, "0")}`; const formattedEnd = `${String(endHour)}:${String(endMinute % 60).padStart(2, "0")}`;
timearr.value[saveEditIndex.value.index0].children[saveEditIndex.value.index1].startTime = formattedStart; timearr.value[saveEditIndex.value.index0].children[saveEditIndex.value.index1].startTime = formattedStart;
timearr.value[saveEditIndex.value.index0].children[saveEditIndex.value.index1].endTime = formattedEnd; timearr.value[saveEditIndex.value.index0].children[saveEditIndex.value.index1].endTime = formattedEnd;
common_vendor.index.__f__("log", "at pages/NursingNew/component/nurse/index.vue:1748", "))))", allobject.cycleTypeId);
let param = { let param = {
directiveId: allobject.id, directiveId: allobject.id,
directiveName: allobject.title, directiveName: allobject.title,
@ -1063,11 +1091,12 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
endTime: formattedEnd, endTime: formattedEnd,
positioning: saveEditIndex.value.index0.toString(), positioning: saveEditIndex.value.index0.toString(),
positioningLong: saveEditIndex.value.index1.toString(), positioningLong: saveEditIndex.value.index1.toString(),
izPackage: false, izPackage: "0",
previewFile: allobject.previewFile, previewFile: allobject.previewFile,
previewFileSmall: allobject.previewFileSmall, previewFileSmall: allobject.previewFileSmall,
immediateFile: allobject.immediateFile, immediateFile: allobject.immediateFile,
immediateFileFocus: allobject.immediateFileFocus, immediateFileFocus: allobject.immediateFileFocus,
netImmediateFile: allobject.netImmediateFile,
tagName: timearr.value[saveEditIndex.value.index0].children[saveEditIndex.value.index1].tagName tagName: timearr.value[saveEditIndex.value.index0].children[saveEditIndex.value.index1].tagName
}; };
timearr.value[saveEditIndex.value.index0].children[saveEditIndex.value.index1] = param; timearr.value[saveEditIndex.value.index0].children[saveEditIndex.value.index1] = param;
@ -1081,28 +1110,44 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
const cleansettimeout = common_vendor.ref(null); const cleansettimeout = common_vendor.ref(null);
const cleansettimeoutrel = common_vendor.ref(null); const cleansettimeoutrel = common_vendor.ref(null);
const saveAll = () => { const saveAll = () => {
if (!cansumit.value) {
return;
}
let postArray = []; let postArray = [];
timearr.value.forEach((element0, index0) => { timearr.value.forEach((element0, index0) => {
element0.children.forEach((element1, index1) => { element0.children.forEach((element1, index1) => {
let savetagName = ""; if (!element1.directiveName && !element1.id)
if (!element1.directiveName && !element1.id) { ;
let array = {}; else {
if (element1.tagName) {
savetagName = element1.tagName;
}
array = JSON.parse(JSON.stringify(moBan.value));
savetagName ? array.tagName = savetagName : "";
array.positioning = index0;
array.positioningLong = index1;
postArray.push(array);
} else {
element1.positioning = index0; element1.positioning = index0;
element1.positioningLong = index1; element1.positioningLong = index1;
postArray.push(element1); postArray.push(element1);
} }
}); });
}); });
common_vendor.index.__f__("log", "at pages/NursingNew/component/nurse/index.vue:1775", "00000", postArray); let info = [];
bodyTagList.value.forEach((element) => {
if (element.izSelected == "1") {
info.push(element);
}
});
emotionTagList.value.forEach((element) => {
if (element.izSelected == "1") {
info.push(element);
}
});
let allvalue = {
nuId: common_vendor.index.getStorageSync("nuId"),
nuName: common_vendor.index.getStorageSync("nuName"),
customerId: common_vendor.index.getStorageSync("customerId"),
customerName: common_vendor.index.getStorageSync("NUall").elderInfo.name,
serverList: postArray,
instantList: bottomItems.value,
tagList: info
};
pages_NursingNew_component_nurse_api.addBatch(allvalue).then(() => {
geteverything();
});
}; };
const routerPush = () => { const routerPush = () => {
common_vendor.index.setStorage({ common_vendor.index.setStorage({
@ -1158,6 +1203,8 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
})) }))
})) }))
); );
const emotionTagList = common_vendor.ref([]);
const bodyTagList = common_vendor.ref([]);
common_vendor.onShow(() => { common_vendor.onShow(() => {
pages_NursingNew_component_nurse_api.getServiceTree().then((res) => { pages_NursingNew_component_nurse_api.getServiceTree().then((res) => {
res.result.forEach((element) => { res.result.forEach((element) => {
@ -1183,6 +1230,7 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
}); });
}); });
bigArray.value = res.result; bigArray.value = res.result;
common_vendor.index.__f__("log", "at pages/NursingNew/component/nurse/index.vue:1933", "((((()))))", bigArray.value);
downList.value = bigArray.value[0].children; downList.value = bigArray.value[0].children;
upmenuIndex.value = -1; upmenuIndex.value = -1;
downdonghua.value = -1; downdonghua.value = -1;
@ -1190,16 +1238,38 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
upmenuIndex.value = 0; upmenuIndex.value = 0;
downdonghua.value = 0; downdonghua.value = 0;
}, 50); }, 50);
geteverything();
}); });
if (common_vendor.index.getStorageSync("nuId") && common_vendor.index.getStorageSync("customerId")) {
pages_NursingNew_component_nurse_api.getNclist(common_vendor.index.getStorageSync("nuId"), common_vendor.index.getStorageSync("customerId")).then((res) => {
if (res.success && res.result[0].children.length) {
timearr.value = res.result;
}
});
}
common_vendor.index.$on("where", findback); common_vendor.index.$on("where", findback);
}); });
const bodyTagListLook = common_vendor.ref([]);
const emotionTagListLook = common_vendor.ref([]);
const cansumit = common_vendor.ref(false);
const geteverything = () => {
if (common_vendor.index.getStorageSync("nuId") && common_vendor.index.getStorageSync("customerId")) {
pages_NursingNew_component_nurse_api.getNclist(common_vendor.index.getStorageSync("nuId"), common_vendor.index.getStorageSync("customerId")).then((res) => {
res.result.serviceList.forEach((res2) => {
timearr.value[res2.positioning].children[res2.positioningLong] = res2;
});
bottomItems.value = res.result.instantList;
cansumit.value = true;
emotionTagList.value = res.result.emotionTagList;
emotionTagListLook.value = [];
bodyTagListLook.value = [];
res.result.emotionTagList.forEach((res2) => {
if (res2.izSelected == "1") {
emotionTagListLook.value.push(res2.netPic);
}
});
bodyTagList.value = res.result.bodyTagList;
res.result.bodyTagList.forEach((res2) => {
if (res2.izSelected == "1") {
bodyTagListLook.value.push(res2.netPic);
}
});
});
}
};
common_vendor.onHide(() => { common_vendor.onHide(() => {
common_vendor.index.$off("where", findback); common_vendor.index.$off("where", findback);
}); });
@ -1214,7 +1284,7 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
index0: 999, index0: 999,
index1: 999 index1: 999
}); });
const moBan = common_vendor.ref({ common_vendor.ref({
directiveId: "", directiveId: "",
directiveName: "", directiveName: "",
typeId: "", typeId: "",
@ -1228,11 +1298,12 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
endTime: "", endTime: "",
positioning: "", positioning: "",
positioningLong: "", positioningLong: "",
izPackage: false, izPackage: "0",
previewFile: "", previewFile: "",
previewFileSmall: "", previewFileSmall: "",
immediateFile: "", immediateFile: "",
immediateFileFocus: "", immediateFileFocus: "",
netImmediateFile: "",
tagName: "" tagName: ""
}); });
function splitString(str) { function splitString(str) {
@ -1273,11 +1344,11 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
return common_vendor.e({ return common_vendor.e({
a: common_vendor.t(common_vendor.index.getStorageSync("nuId")), a: common_vendor.t(common_vendor.index.getStorageSync("nuId")),
b: common_vendor.t(common_vendor.index.getStorageSync("nuName")), b: common_vendor.t(common_vendor.index.getStorageSync("nuName")),
c: common_vendor.f(nameArray.slice(0, 5), (item, index, i0) => { c: common_vendor.f(bodyTagList.value, (item, index, i0) => {
return { return {
a: bodytarget.value.includes(index) ? `/static/index/tagNames/${index}1.png` : `/static/index/tagNames/${index}0.png`, a: item.izSelected == `1` ? item.netPicFocus : item.netPic,
b: common_vendor.t(item), b: common_vendor.t(item.tagName),
c: common_vendor.s(bodytarget.value.includes(index) ? { c: common_vendor.s(item.izSelected == `1` ? {
color: `rgb(54, 159, 239)` color: `rgb(54, 159, 239)`
} : {}), } : {}),
d: common_vendor.n(bodystatustarget.value === index ? "secondtarget" : ""), d: common_vendor.n(bodystatustarget.value === index ? "secondtarget" : ""),
@ -1287,11 +1358,11 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
}), }),
d: openbody.value, d: openbody.value,
e: bodydonghua.value ? 1 : 0, e: bodydonghua.value ? 1 : 0,
f: !bodytarget.value.length f: !bodyTagListLook.value.length
}, !bodytarget.value.length ? {} : {}, { }, !bodyTagListLook.value.length ? {} : {}, {
g: common_vendor.f(bodytarget.value, (item, index, i0) => { g: common_vendor.f(bodyTagListLook.value, (item, index, i0) => {
return { return {
a: `/static/index/tagNames/${item}0.png`, a: item,
b: index b: index
}; };
}), }),
@ -1304,11 +1375,11 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
openface.value = false; openface.value = false;
}), }),
j: common_vendor.n(!topindex.value && !bodystatus.value && !facestatus.value ? "firsttarget" : ""), j: common_vendor.n(!topindex.value && !bodystatus.value && !facestatus.value ? "firsttarget" : ""),
k: common_vendor.f(nameArray.slice(5, 12), (item, index, i0) => { k: common_vendor.f(emotionTagList.value, (item, index, i0) => {
return { return {
a: facetarget.value.includes(index) ? `/static/index/tagNames/${index + 5}1.png` : `/static/index/tagNames/${index + 5}0.png`, a: item.izSelected == `1` ? item.netPicFocus : item.netPic,
b: common_vendor.t(item), b: common_vendor.t(item.tagName),
c: common_vendor.s(facetarget.value.includes(index) ? { c: common_vendor.s(item.izSelected == `1` ? {
color: `rgb(54, 159, 239)` color: `rgb(54, 159, 239)`
} : {}), } : {}),
d: common_vendor.n(facestatustarget.value === index ? "secondtarget" : ""), d: common_vendor.n(facestatustarget.value === index ? "secondtarget" : ""),
@ -1318,11 +1389,11 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
}), }),
l: openface.value, l: openface.value,
m: facedonghua.value ? 1 : 0, m: facedonghua.value ? 1 : 0,
n: !facetarget.value.length n: !emotionTagListLook.value.length
}, !facetarget.value.length ? {} : {}, { }, !emotionTagListLook.value.length ? {} : {}, {
o: common_vendor.f(facetarget.value, (item, index, i0) => { o: common_vendor.f(emotionTagListLook.value, (item, index, i0) => {
return { return {
a: `/static/index/tagNames/${item + 5}0.png`, a: item,
b: index b: index
}; };
}), }),
@ -1379,11 +1450,11 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
j: item1.startTime j: item1.startTime
}, item1.startTime ? common_vendor.e({ }, item1.startTime ? common_vendor.e({
k: item1.startTime, k: item1.startTime,
l: common_assets._imports_0$8, l: item1.netImmediateFile,
m: common_vendor.t(item1.startTime + `-` + item1.endTime), m: common_vendor.t(item1.startTime + `-` + item1.endTime),
n: item1.cycleType != "日常" n: item1.cycleType != "日常"
}, item1.cycleType != "日常" ? { }, item1.cycleType != "日常" ? {
o: common_assets._imports_1$4 o: common_assets._imports_0$8
} : {}, { } : {}, {
p: item1.cycleType != "日常" p: item1.cycleType != "日常"
}, item1.cycleType != "日常" ? { }, item1.cycleType != "日常" ? {
@ -1426,10 +1497,13 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
G: common_vendor.o(handleTop), G: common_vendor.o(handleTop),
H: common_vendor.f(bottomItems.value, (item, index, i0) => { H: common_vendor.f(bottomItems.value, (item, index, i0) => {
return { return {
a: item.url, a: item.netImmediateFile,
b: common_vendor.t(item.name), b: common_vendor.t(item.directiveName),
c: `-${index * 0.1}s`, c: `-${index * 0.1}s`,
d: common_vendor.o(($event) => bottomItems.value.splice(index, 1), index), d: common_vendor.o(($event) => {
bottomItems.value.splice(index, 1);
saveAll();
}, index),
e: common_vendor.o(bottomTouchStart, index), e: common_vendor.o(bottomTouchStart, index),
f: common_vendor.o(bottomTouchMove, index), f: common_vendor.o(bottomTouchMove, index),
g: common_vendor.o(bottomTouchEnd, index), g: common_vendor.o(bottomTouchEnd, index),
@ -1507,8 +1581,8 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
k: common_vendor.o(($event) => onTap(index), index) k: common_vendor.o(($event) => onTap(index), index)
}; };
}), }),
W: common_assets._imports_1$4, W: common_assets._imports_0$8,
X: common_assets._imports_1$4, X: common_assets._imports_0$8,
Y: firsttop.value, Y: firsttop.value,
Z: !iszhouqi.value, Z: !iszhouqi.value,
aa: common_vendor.f(downList.value, (item, index, i0) => { aa: common_vendor.f(downList.value, (item, index, i0) => {
@ -1557,7 +1631,7 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
am: buttonBlue.value ? `#fff` : ``, am: buttonBlue.value ? `#fff` : ``,
an: buttonBlue.value ? 1 : "", an: buttonBlue.value ? 1 : "",
ao: common_vendor.o(addnewbutton), ao: common_vendor.o(addnewbutton),
ap: common_assets._imports_2$7, ap: common_assets._imports_1$10,
aq: common_vendor.o(($event) => changLeft(5)), aq: common_vendor.o(($event) => changLeft(5)),
ar: `/static/index/teeth.png`, ar: `/static/index/teeth.png`,
as: common_vendor.t((_d = (_c = timearr.value[showDetail.value[0]]) == null ? void 0 : _c.children[showDetail.value[1]]) == null ? void 0 : _d.startTime), as: common_vendor.t((_d = (_c = timearr.value[showDetail.value[0]]) == null ? void 0 : _c.children[showDetail.value[1]]) == null ? void 0 : _d.startTime),
@ -1594,7 +1668,7 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
}), }),
aH: sayisopen.value, aH: sayisopen.value,
aI: common_vendor.o(($event) => sayisopen.value = false), aI: common_vendor.o(($event) => sayisopen.value = false),
aJ: common_assets._imports_3$5, aJ: common_assets._imports_2$7,
aK: deletedownisopacity.value ? 1 : 0, aK: deletedownisopacity.value ? 1 : 0,
aL: common_vendor.o(() => { aL: common_vendor.o(() => {
}), }),

View File

@ -376,12 +376,12 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
b: item1.startTime b: item1.startTime
}, item1.startTime ? common_vendor.e({ }, item1.startTime ? common_vendor.e({
c: item1.startTime, c: item1.startTime,
d: common_assets._imports_0$8, d: common_assets._imports_6$1,
e: common_vendor.t(item1.startTime + `-` + item1.endTime), e: common_vendor.t(item1.startTime + `-` + item1.endTime),
f: scalcType.value < 10, f: scalcType.value < 10,
g: item1.cycleType != "日常" g: item1.cycleType != "日常"
}, item1.cycleType != "日常" ? { }, item1.cycleType != "日常" ? {
h: common_assets._imports_1$4, h: common_assets._imports_0$8,
i: scalcType.value < 11 i: scalcType.value < 11
} : {}, { } : {}, {
j: item1.cycleType != "日常" j: item1.cycleType != "日常"