This commit is contained in:
Teng 2026-01-15 16:08:45 +08:00
commit e73da303d5
13 changed files with 97 additions and 26 deletions

View File

@ -69,6 +69,7 @@
flex-wrap: wrap; flex-wrap: wrap;
margin-bottom: 4vw; margin-bottom: 4vw;
text-align: center; text-align: center;
overflow-wrap: break-word;
} }
.qd { .qd {

View File

@ -69,3 +69,12 @@ export const assistOrder = (params) => {
data: params, data: params,
}) })
} }
// 业务)生成即时指令工单接口
export const generateInstant = (params) => {
return request({
url: `${uni.getStorageSync('serverUrl')}/api/pad/serviceorder/generateInstant`,
method: 'post',
data: params,
})
}

View File

@ -114,7 +114,7 @@
</scroll-view> </scroll-view>
<view class="submit" > <view class="submit" >
<view @click.stop="jszlshow = false">取消</view> <view @click.stop="jszlshow = false">取消</view>
<view @click="subitshowing">确定</view> <view @click="subitshowing" v-if="fwzldex>0">确定</view>
</view> </view>
</view> </view>
</view> </view>
@ -139,7 +139,7 @@
<view class="pao-father" v-show="indexmessage?.startTime"> <view class="pao-father" v-show="indexmessage?.startTime">
<image class="pao-img" :src="`/static/index/newindex/states/pao.png`" /> <image class="pao-img" :src="`/static/index/newindex/states/pao.png`" />
<view style="z-index: 1;"> <view style="z-index: 1;" v-if="topbuttontarget==0">
{{indexmessage?.izStart=='N'?'待执行':'执行中'}} {{indexmessage?.izStart=='N'?'待执行':'执行中'}}
</view> </view>
@ -152,9 +152,11 @@
<view class="server-name" v-if="indexmessage?.startTime"> <view class="server-name" v-if="indexmessage?.startTime">
{{ indexmessage?.directiveName }} {{ indexmessage?.directiveName }}
</view> </view>
<view style="width: 6.5vw;height: 2vw;margin-left: 1vw;position: relative;" v-if="indexmessage?.startTime"> <view style="width: 6.5vw;height: 2vw;margin-left: 1vw;position: relative;" v-if="indexmessage?.categoryName">
<image src="/static/index/newindex/wendu/bgc.png" mode="aspectFill" style="width: 100%;height: 100%;position: relative;z-index: 0;margin-top: 0.9vw;"></image> <image src="/static/index/newindex/wendu/bgc.png" mode="aspectFill" style="width: 100%;height: 100%;position: relative;z-index: 0;margin-top: 0.9vw;"></image>
<view class="bgc-font" style="top: 0;left: 0;padding-left:0.45vw;width: 100%;height: 100%;z-index: 2;position: absolute;line-height:3.7vw;font-size: 1.1vw;">{{indexmessage.categoryName}}</view> <view class="bgc-font" v-if="topbuttontarget==0" style="top: 0;left: 0;padding-left:0.65vw;width: 100%;height: 100%;z-index: 2;position: absolute;line-height:3.7vw;font-size: 1.1vw;">
{{indexmessage.categoryName}}
</view>
</view> </view>
</view> </view>
<view style="display: flex;margin-top: 40rpx;" v-if="indexmessage?.startTime"> <view style="display: flex;margin-top: 40rpx;" v-if="indexmessage?.startTime">
@ -294,6 +296,7 @@
</view> </view>
</view> </view>
<errorshow :show="openerror" :font="errmsg" @close="openerror=false" :icons="false" style="left: 44%;"/> <errorshow :show="openerror" :font="errmsg" @close="openerror=false" :icons="false" style="left: 44%;"/>
<errorshow :show="error" :font="msg" @close="error=false" style="left: 44%;"/>
<view class="index-content-right" :style="transition?{opacity: `1`}:{opacity: `0`}"> <view class="index-content-right" :style="transition?{opacity: `1`}:{opacity: `0`}">
<view class="right-time"> <view class="right-time">
<view class="time-top"> <view class="time-top">
@ -509,7 +512,7 @@
</view> </view>
<view v-if="topbuttontarget==2" style="width: 100%;height: 70%;border-radius: 30rpx ;position: relative;" > <view v-if="topbuttontarget==2" style="width: 100%;height: 70%;border-radius: 30rpx ;position: relative;" >
<video style="width: 100%;height: 100%;border-radius: 30rpx;" :id="'myVideo'+index" <video style="width: 100%;height: 100%;border-radius: 30rpx;" :id="'myVideo'+index"
:src="servervideoUrl+item" :src="servervideoUrl+item" direction="180"
mode="aspectFill" ></video> mode="aspectFill" ></video>
<view @click.stop="ilanarr.splice(index,1)" <view @click.stop="ilanarr.splice(index,1)"
v-if="topbuttontarget>0&&(listobj.izStart=='Y'&& listobj.izFinish=='N')" v-if="topbuttontarget>0&&(listobj.izStart=='Y'&& listobj.izFinish=='N')"
@ -597,7 +600,7 @@
import { queryPadPageList } from '@/pages/watch/api/lunpan.js' import { queryPadPageList } from '@/pages/watch/api/lunpan.js'
import { queryWorkOrderList,queryCountByType,queryAll } from './api.js' import { queryWorkOrderList,queryCountByType,queryAll } from './api.js'
// import {startOrder,endOrder} from './doctorask/api/api.js' // import {startOrder,endOrder} from './doctorask/api/api.js'
import {queryOrderList,queryOrderInfoList,startOrder,endOrder,editSubPicPath,editSubMp4,queryEmpList,transferOrder,assistOrder} from '../component/doctorask/api/api.js' import {queryOrderList,queryOrderInfoList,startOrder,endOrder,editSubPicPath,editSubMp4,queryEmpList,transferOrder,assistOrder,generateInstant} from '../component/doctorask/api/api.js'
import { getNclist } from "./nurse/api.js"; import { getNclist } from "./nurse/api.js";
const serverUrl = ref(uni.getStorageSync('serverUrl') + '/sys/common/static/') const serverUrl = ref(uni.getStorageSync('serverUrl') + '/sys/common/static/')
const servervideoUrl = ref(uni.getStorageSync('serverUrl') + '/sys/commonVideo/staticVideo/') const servervideoUrl = ref(uni.getStorageSync('serverUrl') + '/sys/commonVideo/staticVideo/')
@ -990,6 +993,7 @@
if(e==2){ if(e==2){
fwzlarr.value = zlarr.value.logistics fwzlarr.value = zlarr.value.logistics
} }
console.log(fwzlarr.value)
} }
const zldex = (e) =>{ const zldex = (e) =>{
if(e>-1&&e==fwzldex.value){ if(e>-1&&e==fwzldex.value){
@ -998,8 +1002,27 @@
fwzldex.value = e fwzldex.value = e
} }
} }
const error = ref(false)
const msg = ref('')
const subitshowing = () =>{ const subitshowing = () =>{
if(fwzldex.value<0){
return
}
let code = fwzlindex.value==0?1:fwzlindex.value==1?2:4
let obj = {
id:fwzlarr.value[fwzldex.value].id,
triggerMode:1,
orderType:code
}
console.log(obj)
generateInstant(obj).then(res=>{
if(res.success){
jszlshow.value = false jszlshow.value = false
}else{
error.value = true;
msg.value = res.message
}
})
} }
function calcAge(dateOfBirth : string) { function calcAge(dateOfBirth : string) {

View File

@ -211,7 +211,7 @@
.more { .more {
margin-left: 0.6vw; margin-left: 0.6vw;
position: relative; position: relative;
background: RGBA(239, 240, 244, 1); background: RGBA(239, 240, 244, 0);
.righ0 { .righ0 {

View File

@ -1081,6 +1081,7 @@
<tanchuang :show="badshow" font="确定要作废这个采购单吗" @back="badshow=false;" @right="zuofei"> </tanchuang> <tanchuang :show="badshow" font="确定要作废这个采购单吗" @back="badshow=false;" @right="zuofei"> </tanchuang>
<tanchuang :show="open==1" font="是否删除此图片" @back="open = 0" @right="del()"> </tanchuang> <tanchuang :show="open==1" font="是否删除此图片" @back="open = 0" @right="del()"> </tanchuang>
<tanchuang :show="open==2" font="是否销账此物料?" @back="open = 0" @right="sctp(1)"> </tanchuang> <tanchuang :show="open==2" font="是否销账此物料?" @back="open = 0" @right="sctp(1)"> </tanchuang>
<severcard></severcard>
</view> </view>
</template> </template>

View File

@ -67,10 +67,11 @@
</scroll-view> </scroll-view>
<view class="submit" > <view class="submit" >
<view @click.stop="jszlshow = false">取消</view> <view @click.stop="jszlshow = false">取消</view>
<view @click="subitshowing">确定</view> <view @click="subitshowing" v-if="fwzldex>0">确定</view>
</view> </view>
</view> </view>
</view> </view>
<errorshow :show="error" :font="msg" @close="error=false" style="left: 44%;"/>
<view class="mengban" v-if="jszlshow" @click="jszlshow = false"></view> <view class="mengban" v-if="jszlshow" @click="jszlshow = false"></view>
</view> </view>
<view class="photo-father"> <view class="photo-father">
@ -348,10 +349,13 @@
</view> </view>
<view class="icon-people"> <view class="icon-people">
<image class="people-img" src="/static/index/newindex/leftmenu/iconleft.png" /> <image class="people-img" src="/static/index/newindex/leftmenu/iconleft.png" />
单人执行 <text v-if="indexmessage.optType == 1" style="white-space: nowrap;">单人执行</text>
<text v-if="indexmessage.optType == 2" style="white-space: nowrap;">协助执行</text>
<image style="margin-left: 1vw;" class="people-img" <image style="margin-left: 1vw;" class="people-img"
src="/static/index/newindex/leftmenu/iconright.png" /> src="/static/index/newindex/leftmenu/iconright.png" />
{{indexmessage.employeeName}}
<text v-if="indexmessage.optType == 1">{{indexmessage.employeeName}}</text>
<text v-if="indexmessage.optType == 2">{{indexmessage.optNames}}</text>
</view> </view>
<!-- <view style="color: #555555;"> <!-- <view style="color: #555555;">
业务单号P10120251010001 业务单号P10120251010001
@ -490,7 +494,7 @@
import { ref, onMounted, onBeforeUnmount, computed, nextTick, watch,reactive } from 'vue'; import { ref, onMounted, onBeforeUnmount, computed, nextTick, watch,reactive } from 'vue';
import { queryPadPageList } from '@/pages/watch/api/lunpan.js' import { queryPadPageList } from '@/pages/watch/api/lunpan.js'
import { queryWorkOrderList,queryCountByType,queryAll } from '@/pages/NursingNew/component/api.js' import { queryWorkOrderList,queryCountByType,queryAll } from '@/pages/NursingNew/component/api.js'
import {queryOrderList,queryOrderInfoList,startOrder,endOrder,editSubPicPath,editSubMp4,queryEmpList,transferOrder,assistOrder} from '@/pages/NursingNew/component/doctorask/api/api.js' import {queryOrderList,queryOrderInfoList,startOrder,endOrder,editSubPicPath,editSubMp4,queryEmpList,transferOrder,assistOrder,generateInstant} from '@/pages/NursingNew/component/doctorask/api/api.js'
const jszlshow = ref(false) const jszlshow = ref(false)
const props = defineProps({ const props = defineProps({
isShow: { isShow: {
@ -904,8 +908,25 @@
fwzldex.value = e fwzldex.value = e
} }
} }
const error = ref(false)
const msg = ref('')
const subitshowing = () =>{ const subitshowing = () =>{
if(fwzldex.value<0){
return
}
let obj = {
id:zlarr.value[fwzldex.value].id,
triggerMode:1,
orderType:3
}
generateInstant(obj).then(res=>{
if(res.success){
jszlshow.value = false jszlshow.value = false
}else{
error.value = true;
msg.value = res.message
}
})
} }
const tagarray = ["市医保", "半失能", "正常计费"] const tagarray = ["市医保", "半失能", "正常计费"]

View File

@ -222,10 +222,8 @@
</view> </view>
<view style="display: flex;flex-wrap: wrap;width: 60%;"> <view style="display: flex;flex-wrap: wrap;width: 60%;">
<view class="moban-photo" v-for="(item,index) in albumlist" :key="index"> <view class="moban-photo" v-for="(item,index) in albumlist" :key="index">
<view <view @click.stop="deldex=index;open=1">
style="border-radius: 0.3vw;width: 1.6vw;height: 1.6vw;z-index: 20;position: absolute; right: 0.1vw;top: 0.1vw;background: rgba(255, 255, 255, 0.7);display: flex;justify-content: center;align-items: center;" <image src="/static/index/keyimg/deletebutton.png" mode="aspectFill" style="width: 75%;height: 70%;"></image>
@click.stop="deldex=index;open=1">
<image src="/static/index/procurement/del1.png" mode="aspectFill" style="width: 75%;height: 75%;"></image>
</view> </view>
<image style="width: 100%;height: 100%;" :src="item?item:'/static/zhanwei.png'" mode="aspectFill" <image style="width: 100%;height: 100%;" :src="item?item:'/static/zhanwei.png'" mode="aspectFill"
@click="previewImage(item,index,albumlist)" /> @click="previewImage(item,index,albumlist)" />
@ -1050,6 +1048,7 @@
<tanchuang :show="open==1" font="是否删除此图片" @back="open = 0" @right="del()"> </tanchuang> <tanchuang :show="open==1" font="是否删除此图片" @back="open = 0" @right="del()"> </tanchuang>
<tanchuang :show="open==2" font="是否销账此物料?" @back="open = 0" @right="sctp(1)"> </tanchuang> <tanchuang :show="open==2" font="是否销账此物料?" @back="open = 0" @right="sctp(1)"> </tanchuang>
<errorshow :show="openerror" :font="errmsg" @close="openerror=false" /> <errorshow :show="openerror" :font="errmsg" @close="openerror=false" />
<severcard></severcard>
</view> </view>
</template> </template>
@ -3368,10 +3367,22 @@
display: flex; display: flex;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
border-radius: 20rpx;
border-radius: 0.6vw; border-radius: 0.6vw;
overflow: hidden; overflow: hidden;
position: relative; position: relative;
>view {
width: 2vw;
height: 2vw;
z-index: 20;
position: absolute;
right: 0.1vw;
top: 0.1vw;
border-radius:10rpx 0.6vw 10rpx 10rpx;
background: rgba(255, 255, 255, 1);
display: flex;
justify-content: center;
align-items: center;
}
} }
.moban-photo-special { .moban-photo-special {

View File

@ -49,7 +49,7 @@
<!-- <image v-if="v.isAdd!=1" :src="'/static/index/procurement/+.png'" mode="aspectFill"></image> <!-- <image v-if="v.isAdd!=1" :src="'/static/index/procurement/+.png'" mode="aspectFill"></image>
<image v-if="v.isAdd==1" :src="'/static/index/procurement/-.png'" mode="aspectFill"></image> --> <image v-if="v.isAdd==1" :src="'/static/index/procurement/-.png'" mode="aspectFill"></image> -->
</view> </view>
<view class="nextadd" @click.stop="clkzk(v,index)"> <view class="nextadd" @click.stop="clkzk(v,index)" v-if="status==0">
<image class="guodu" :style="v.zk?'transform: rotate(180deg);':''" <image class="guodu" :style="v.zk?'transform: rotate(180deg);':''"
:src="'/static/index/procurement/l.png'" mode="aspectFill"></image> :src="'/static/index/procurement/l.png'" mode="aspectFill"></image>
</view> </view>

View File

@ -27,7 +27,7 @@
<defaultr cont="暂无数据" v-if="Material.length==0&&timeout" <defaultr cont="暂无数据" v-if="Material.length==0&&timeout"
style="position: absolute;width: 10vw;height: 10vw;"></defaultr> style="position: absolute;width: 10vw;height: 10vw;"></defaultr>
</scroll-view> </scroll-view>
<view class="kjlt more guodu" :style="qb?'width:15vw':'' " @touchstart="ts" @touchmove="canmove" <view class="kjlt more guodu" :style="qb?'width:16vw':'' " @touchstart="ts" @touchmove="canmove"
v-if="status==0"> v-if="status==0">
<view @click="zksq" class="righ0"> <view @click="zksq" class="righ0">
{{!qb?'更多':'收起'}} {{!qb?'更多':'收起'}}

View File

@ -91,8 +91,9 @@
<image :src="serverUrl+p" mode="aspectFill"></image> <image :src="serverUrl+p" mode="aspectFill"></image>
<!-- <image :src="'/static/zhanwei.png'" mode="aspectFill" style="width: 2.1vw;height: 2.1vw;"> <!-- <image :src="'/static/zhanwei.png'" mode="aspectFill" style="width: 2.1vw;height: 2.1vw;">
</image> --> </image> -->
<view @click.stop="open=1;del(v,o)" style="border-radius: 0.35vw;"> <view @click.stop="open=1;del(v,o)" >
<image src="/static/index/procurement/del1.png" mode="aspectFill" style="width: 75%;height: 70%;"></image>
<image src="/static/index/keyimg/deletebutton.png" mode="aspectFill" style="width: 75%;height: 70%;"></image>
</view> </view>
</view> </view>
<view class="clkpz" @click="uplod(v,i)" v-if="v.picPatharr?.length<6&&pddType == 1"> <view class="clkpz" @click="uplod(v,i)" v-if="v.picPatharr?.length<6&&pddType == 1">
@ -449,13 +450,14 @@
background: #F9F9F9; background: #F9F9F9;
overflow: hidden; overflow: hidden;
view { view {
width: 1.6vw; width: 2vw;
height: 1.6vw; height: 2vw;
z-index: 20; z-index: 20;
position: absolute; position: absolute;
right: 0.1vw; right: 0.1vw;
top: 0.1vw; top: 0.1vw;
background: rgba(255, 255, 255, 0.7); border-radius:0.6vw 1.1vw 0.6vw 0.6vw;
background: rgba(255, 255, 255, 1);
display: flex; display: flex;
justify-content: center; justify-content: center;
align-items: center; align-items: center;

View File

@ -256,6 +256,7 @@
</view> </view>
<tanchuang :show="addshow" font="确定要新增盘点单吗" @back="addshow=false;" @right="addnew"> </tanchuang> <tanchuang :show="addshow" font="确定要新增盘点单吗" @back="addshow=false;" @right="addnew"> </tanchuang>
<errorshow :show="openmessage" :font="errormessage" @close="openmessage=false" /> <errorshow :show="openmessage" :font="errormessage" @close="openmessage=false" />
<severcard></severcard>
</template> </template>
<script setup lang="ts"> <script setup lang="ts">

View File

@ -249,6 +249,7 @@
<errorshow :show="openerror" font="注意:只能选择待出库的请领单" @close="openerror=false" /> <errorshow :show="openerror" font="注意:只能选择待出库的请领单" @close="openerror=false" />
<errorshow :show="qinglingshow" font="注意:批量选择模式请选择一项或以上的请领单" @close="qinglingshow=false" /> <errorshow :show="qinglingshow" font="注意:批量选择模式请选择一项或以上的请领单" @close="qinglingshow=false" />
<errorshow :show="chukuerror" :font="chukuvalue" @close="chukuerror=false" /> <errorshow :show="chukuerror" :font="chukuvalue" @close="chukuerror=false" />
<severcard></severcard>
</template> </template>
<script setup lang="ts"> <script setup lang="ts">

View File

@ -164,6 +164,7 @@
src="/static/index/newindex/leftmenu/openleft.png" /> src="/static/index/newindex/leftmenu/openleft.png" />
</view> </view>
</view> </view>
<severcard></severcard>
</view> </view>
</template> </template>