From 6564273873d900ca7c68ee293bed015d89c2640d Mon Sep 17 00:00:00 2001 From: wangweidong <850489345@qq.com> Date: Wed, 21 Jan 2026 13:56:44 +0800 Subject: [PATCH] =?UTF-8?q?=E5=90=8C=E6=AD=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- component/public/severcard.vue | 9 +-- pages/NursingNew/component/index.vue | 25 ++++---- .../pleasetake/component/takehomep.vue | 1 - pages/Warehouse/index/component/index.vue | 61 ++++--------------- 4 files changed, 31 insertions(+), 65 deletions(-) diff --git a/component/public/severcard.vue b/component/public/severcard.vue index b1e633a..3ea5f8c 100644 --- a/component/public/severcard.vue +++ b/component/public/severcard.vue @@ -2,8 +2,8 @@ - + {{qcobj.directiveName}} @@ -50,7 +50,7 @@ const openleft = ref(true) const open = ref(0); const zdcont = ref(''); - const serverUrl = ref(uni.getStorageSync('serverUrl') + '/sys/common/static/') + const serverUrl = ref(uni.getStorageSync('imagebase')) const emit = defineEmits([ 'start' ,'end']) const form = reactive({ pageNo: 1, @@ -210,13 +210,14 @@ .button-left { width: 8vw; height: 3.3vw; - background-color: #fff; + background: linear-gradient(to bottom, #FFFFFF, #C8D0D9); display: flex; justify-content: center; align-items: center; border-radius: 1.2vw; border: 1rpx solid #C7D2E4; color: #333333; + } .button-right { diff --git a/pages/NursingNew/component/index.vue b/pages/NursingNew/component/index.vue index ce10eed..c3b5c8f 100644 --- a/pages/NursingNew/component/index.vue +++ b/pages/NursingNew/component/index.vue @@ -153,7 +153,7 @@ + :src="indexmessage?.previewFile? serverUrl + indexmessage?.previewFile: `/static/index/newindex/wendu/2.png`" mode="aspectFill"/> {{ indexmessage?.directiveName }} @@ -494,7 +494,7 @@ @click="previewImage(item,index,ilanarr)"> { if(res.success){ - queryOrderList(form.nuId) + firstgetqueryCgdList(form.nuId) // clickLeftMenu(0,{id:indexmessage.value.mainId}) flag.value = false; zxzd.value = 0; @@ -729,7 +730,6 @@ const firstgetqueryCgdList = (nuId) => { form.nuId = nuId; queryOrderList(form).then(res => { - console.log(res) if(res.result.records.length>0){ indexmessage.value = res.result.records[0] // clickLeftMenu(0,res.result.records[0]) @@ -740,7 +740,6 @@ } const clickLeftMenu = (index : any, item : object) => { queryOrderInfoList({ mainId: item.id }).then(res => { - console.log(res) if(res.result.length>0){ indexmessage.value = res.result[0] }else{ @@ -847,16 +846,17 @@ if(res.success){ topbuttontarget.value = 0; donghuaopo.value = false; - queryOrderList(form.nuId) + firstgetqueryCgdList(form.nuId) // clickLeftMenu(0,{id:indexmessage.value.mainId}) } }) }else{ editSubMp4({id:listobj.value.id,manuallyMp4Path:sub}).then(res=>{ + console.log({id:listobj.value.id,manuallyMp4Path:sub},res) if(res.success){ topbuttontarget.value = 0; donghuaopo.value = false; - queryOrderList(form.nuId) + firstgetqueryCgdList(form.nuId) // clickLeftMenu(0,{id:indexmessage.value.mainId}) } }) @@ -866,7 +866,7 @@ if(topbuttontarget.value == 1){ let u = [] arr.forEach(e => { - u.push(serverUrl.value + e) + u.push(serverpicUrl.value + e) }) uni.previewImage({ current: i, @@ -954,6 +954,7 @@ uni.setStorageSync('nuName', data.nuName); uni.setStorageSync('elderId', data.elderInfo ? data.elderInfo?.id : null); uni.setStorageSync('NUall', data); + severcards.value.firstgetqueryCgdList() firstgetqueryCgdList(data.nuId); hlylhq(data.nuId,data.elderInfo?.id) zlfunc(data.nuId,data.elderInfo?.id) @@ -966,7 +967,6 @@ elderId:elderId } queryCountByType(data).then(res=>{ - console.log(res) hldyobj.value = res.result }) } @@ -1063,6 +1063,7 @@ endOrder({id:indexmessage.value.id}).then(res=>{ if(res.success){ open.value=0; + severcards.value.firstgetqueryCgdList() firstgetqueryCgdList(uni.getStorageSync('nuId')) }else{ @@ -1644,7 +1645,7 @@ align-items: center; border-radius: 40rpx; color: #fff; - font-size: 30rpx; + font-size: 1.5vw; } @@ -1656,7 +1657,7 @@ justify-content: center; align-items: center; border-radius: 40rpx; - font-size: 30rpx; + font-size: 1.5vw; } .pao-father { diff --git a/pages/NursingNew/component/pleasetake/component/takehomep.vue b/pages/NursingNew/component/pleasetake/component/takehomep.vue index a0cba51..4f32471 100644 --- a/pages/NursingNew/component/pleasetake/component/takehomep.vue +++ b/pages/NursingNew/component/pleasetake/component/takehomep.vue @@ -56,7 +56,6 @@ - diff --git a/pages/Warehouse/index/component/index.vue b/pages/Warehouse/index/component/index.vue index 54622ca..6eb9c2b 100644 --- a/pages/Warehouse/index/component/index.vue +++ b/pages/Warehouse/index/component/index.vue @@ -101,7 +101,7 @@ + :src="indexmessage?.previewFile? serverUrl + indexmessage?.previewFile: `/static/index/newindex/wendu/2.png`" mode="aspectFill"/> {{ indexmessage?.directiveName }} @@ -333,45 +333,6 @@ --> - - @@ -385,7 +346,7 @@ @click="previewImage(item,index,ilanarr)">