This commit is contained in:
parent
4c31cc81bc
commit
d6d60562d6
|
|
@ -77,4 +77,11 @@ export const generateInstant = (params) => {
|
||||||
method: 'post',
|
method: 'post',
|
||||||
data: params,
|
data: params,
|
||||||
})
|
})
|
||||||
|
}
|
||||||
|
export const preupload = (params) => {
|
||||||
|
return request({
|
||||||
|
url: `${uni.getStorageSync('serverUrl')}/sys/common/upload/pre`,
|
||||||
|
method: 'post',
|
||||||
|
data: params,
|
||||||
|
})
|
||||||
}
|
}
|
||||||
|
|
@ -56,32 +56,213 @@
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
</view>
|
</view>
|
||||||
<view class="weight-time">
|
<view v-if="indexmessage.izMulti=='N'">
|
||||||
<view v-if="indexmessage.izMulti=='N'">
|
<view class="weight-time">
|
||||||
{{ indexmessage?.servStartTime?indexmessage?.servStartTime.slice(11, 16) :'' }} -
|
<view >
|
||||||
{{ indexmessage?.servEndTime?indexmessage?.servEndTime.slice(11, 16) :'' }}
|
{{ indexmessage?.servStartTime?indexmessage?.servStartTime.slice(11, 16) :'' }} -
|
||||||
<text style="font-size: 1.8vw;font-weight: 500;" v-if="indexmessage?.serviceDuration">
|
{{ indexmessage?.servEndTime?indexmessage?.servEndTime.slice(11, 16) :'' }}
|
||||||
|
|
<text style="font-size: 1.8vw;font-weight: 500;" v-if="indexmessage?.serviceDuration">
|
||||||
{{indexmessage?.serviceDuration!==`0` ?indexmessage?.serviceDuration: `∞`}}分钟
|
|
|
||||||
</text>
|
{{indexmessage?.serviceDuration!==`0` ?indexmessage?.serviceDuration: `∞`}}分钟
|
||||||
</view>
|
</text>
|
||||||
<view v-if="indexmessage.izMulti=='Y'">
|
</view>
|
||||||
{{ indexmessage?.servStartTime?indexmessage?.servStartTime.slice(11, 16) :'' }} -
|
<view class="pao-father" >
|
||||||
{{ indexmessage?.servEndTime?indexmessage?.servEndTime.slice(11, 16) :'' }}
|
<image class="pao-img" :src="`/static/index/newindex/states/pao.png`" />
|
||||||
<text style="font-size: 1.8vw;font-weight: 500;" v-if="indexmessage?.serviceDuration">
|
<view style="z-index: 1;" v-if="topbuttontarget==0">
|
||||||
|
|
{{indexmessage?.izStart=='N'?'待执行':'执行中'}}
|
||||||
{{indexmessage?.serviceDuration!==`0` ?indexmessage?.serviceDuration: `∞`}}分钟
|
</view>
|
||||||
</text>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<!-- swipdcurrent.value -->
|
<view class="big-img" >
|
||||||
<!-- <view style="height: 4vw;"> </view> -->
|
<image
|
||||||
<view class="pao-father">
|
:style="!indexmessage?.previewFile?'width: 460rpx':' width:550rpx;height:460rpx;'"
|
||||||
<image class="pao-img" :src="`/static/index/newindex/states/pao.png`" />
|
:src="indexmessage?.previewFile? serverUrl + indexmessage?.previewFile: `/static/index/noorder1.png`"
|
||||||
<view style="z-index: 1;" v-if="topbuttontarget==0">
|
mode="heightFix" />
|
||||||
{{indexmessage?.izStart=='N'?'待执行':'执行中'}}
|
</view>
|
||||||
|
<view style="display: flex;align-items: center; justify-content: center;">
|
||||||
|
<view class="server-name">
|
||||||
|
{{ indexmessage?.directiveName }}
|
||||||
|
</view>
|
||||||
|
<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.4vw;">
|
||||||
|
</image>
|
||||||
|
<view class="bgc-font"
|
||||||
|
style="top: 0;left: 0;padding-left:0.65vw;width: 100%;height: 100%;z-index: 2;position: absolute;line-height:2.9vw;font-size: 1.1vw;">
|
||||||
|
{{indexmessage?.categoryName }}
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
<view style="display: flex;margin-top: 40rpx;justify-content: center;">
|
||||||
|
<view style="width: 240rpx;height: 90rpx;margin-right: 40rpx;">
|
||||||
|
<view :class="indexmessage?.izStart=='N'?'start-button':'end-button'"
|
||||||
|
@click="start(indexmessage)">
|
||||||
|
开始服务
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
<view style="width: 240rpx;height: 90rpx;">
|
||||||
|
<view
|
||||||
|
:class="(indexmessage?.izStart=='Y'&& indexmessage?.izFinish=='N')?'start-button':'end-button'"
|
||||||
|
@click="end(indexmessage)">
|
||||||
|
结束服务
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
|
||||||
|
<view class="left-menu">
|
||||||
|
<view @click="errmsgclk(0,1,indexmessage)">
|
||||||
|
<view class="left-ball" :style="indexmessage?.serviceContent!=''?' ':'opacity: 0.4'">
|
||||||
|
<image class="left-menu-img"
|
||||||
|
:src="'/static/index/newindex/leftmenu/left'+0+'.png'" />
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
<view @click="errmsgclk(1,1,indexmessage)">
|
||||||
|
<view class="left-ball"
|
||||||
|
:style="indexmessage?.mp3File!=''&&indexmessage.izPackage!='Y'?' ':'opacity: 0.4'">
|
||||||
|
<image class="left-menu-img"
|
||||||
|
:src="'/static/index/newindex/leftmenu/left'+1+'.png'" />
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
<view @click="errmsgclk(2,1,indexmessage)">
|
||||||
|
<view class="left-ball"
|
||||||
|
:style="indexmessage?.mp4File!=''&&indexmessage.izPackage!='Y'?' ':'opacity: 0.4'">
|
||||||
|
<image class="left-menu-img"
|
||||||
|
:src="'/static/index/newindex/leftmenu/left'+2+'.png'" />
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
<view v-for="(item,index) in [3,4]" :key="index" @click="errmsgclk(item,2,indexmessage)">
|
||||||
|
<view class="left-ball" :style="indexmessage?.izStart=='Y'?' ':'opacity: 0.4'">
|
||||||
|
<image class="left-menu-img"
|
||||||
|
:src="'/static/index/newindex/leftmenu/left'+item+'.png'" />
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
<view class="right-menu">
|
||||||
|
<view class="right-scroll">
|
||||||
|
<view style="margin:1.5vw 0;width: 4vw;margin-left: 20rpx;"
|
||||||
|
@click="zhixing(1,indexmessage)">
|
||||||
|
<view class="white-circle" :style="indexmessage?.izStart=='Y'?'opacity: 0.4' : ''">
|
||||||
|
<image class="right-menu-img" :src="'/static/index/newindex/rightmenu/1.png'" />
|
||||||
|
<view class="right-menu-name">
|
||||||
|
转单执行
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
<view style="margin:1.5vw 0;width:4vw;margin-left: 20rpx;"
|
||||||
|
@click="zhixing(2,indexmessage)">
|
||||||
|
<view class="white-circle" :style="indexmessage?.izStart=='Y'?'opacity: 0.4' : ''">
|
||||||
|
<image class="right-menu-img" :src="'/static/index/newindex/rightmenu/2.png'" />
|
||||||
|
<view class="right-menu-name">
|
||||||
|
协助执行
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
<view v-if="indexmessage.izMulti=='Y'">
|
||||||
|
<view class="weight-time">
|
||||||
|
<view >
|
||||||
|
{{ indexmessage?.directiveList[swipdcurrent]?indexmessage?.directiveList[swipdcurrent].servStartTime.slice(11, 16) :'' }} -
|
||||||
|
{{ indexmessage?.directiveList[swipdcurrent]?indexmessage?.directiveList[swipdcurrent].servEndTime.slice(11, 16) :'' }}
|
||||||
|
<text style="font-size: 1.8vw;font-weight: 500;" v-if="indexmessage?.directiveList[swipdcurrent]?.serviceDuration">
|
||||||
|
|
|
||||||
|
{{indexmessage?.directiveList[swipdcurrent]?.serviceDuration!==`0` ?indexmessage?.directiveList[swipdcurrent]?.serviceDuration: `∞`}}分钟
|
||||||
|
</text>
|
||||||
|
</view>
|
||||||
|
|
||||||
|
<view class="pao-father" style="right:0.5vw;">
|
||||||
|
<image class="pao-img" :src="`/static/index/newindex/states/pao.png`" />
|
||||||
|
<view style="z-index: 1;" v-if="topbuttontarget==0">
|
||||||
|
{{indexmessage?.directiveList[swipdcurrent]?.izStart=='N'?'待执行':'执行中'}}
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
<swipecard @touchmove.stop v-if="current==i " :indexmessage="indexmessage" @current="currentswipd"></swipecard>
|
||||||
|
<view style="display: flex;align-items: center; justify-content: center;">
|
||||||
|
<view class="server-name">
|
||||||
|
{{ indexmessage?.directiveList[swipdcurrent]?.directiveName }}
|
||||||
|
</view>
|
||||||
|
<view style="width: 6.5vw;height: 2vw;margin-left: 1vw;position: relative;"
|
||||||
|
v-if="indexmessage?.directiveList[swipdcurrent]?.categoryName">
|
||||||
|
<image src="/static/index/newindex/wendu/bgc.png" mode="aspectFill"
|
||||||
|
style="width: 100%;height: 100%;position: relative;z-index: 0; margin-top: 0.4vw;">
|
||||||
|
</image>
|
||||||
|
<view class="bgc-font"
|
||||||
|
style="top: 0;left: 0;padding-left:0.65vw;width: 100%;height: 100%;z-index: 2;position: absolute;line-height:2.9vw;font-size: 1.1vw;">
|
||||||
|
{{indexmessage?.directiveList[swipdcurrent]?.categoryName }}
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
<view style="display: flex;margin-top: 40rpx;justify-content: center;">
|
||||||
|
<view style="width: 240rpx;height: 90rpx;margin-right: 40rpx;">
|
||||||
|
<view :class="indexmessage?.directiveList[swipdcurrent]?.izStart=='N'?'start-button':'end-button'"
|
||||||
|
@click="start(indexmessage?.directiveList[swipdcurrent])">
|
||||||
|
开始服务
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
<view style="width: 240rpx;height: 90rpx;">
|
||||||
|
<view
|
||||||
|
:class="(indexmessage?.directiveList[swipdcurrent]?.izStart=='Y'&& indexmessage?.directiveList[swipdcurrent]?.izFinish=='N')?'start-button':'end-button'"
|
||||||
|
@click="end(indexmessage?.directiveList[swipdcurrent])">
|
||||||
|
结束服务
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
|
||||||
|
<view class="left-menu">
|
||||||
|
<view @click="errmsgclk(0,1,indexmessage?.directiveList[swipdcurrent])">
|
||||||
|
<view class="left-ball" :style="indexmessage?.directiveList[swipdcurrent]?.serviceContent!=''?' ':'opacity: 0.4'">
|
||||||
|
<image class="left-menu-img"
|
||||||
|
:src="'/static/index/newindex/leftmenu/left'+0+'.png'" />
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
<view @click="errmsgclk(1,1,indexmessage?.directiveList[swipdcurrent])">
|
||||||
|
<view class="left-ball"
|
||||||
|
:style="indexmessage?.directiveList[swipdcurrent]?.mp3File!=''&&indexmessage?.directiveList[swipdcurrent].izPackage!='Y'?' ':'opacity: 0.4'">
|
||||||
|
<image class="left-menu-img"
|
||||||
|
:src="'/static/index/newindex/leftmenu/left'+1+'.png'" />
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
<view @click="errmsgclk(2,1,indexmessage?.directiveList[swipdcurrent])">
|
||||||
|
<view class="left-ball"
|
||||||
|
:style="indexmessage?.directiveList[swipdcurrent]?.mp4File!=''&&indexmessage?.directiveList[swipdcurrent].izPackage!='Y'?' ':'opacity: 0.4'">
|
||||||
|
<image class="left-menu-img"
|
||||||
|
:src="'/static/index/newindex/leftmenu/left'+2+'.png'" />
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
<view v-for="(item,index) in [3,4]" :key="index" @click="errmsgclk(item,2,indexmessage?.directiveList[swipdcurrent])">
|
||||||
|
<view class="left-ball" :style="indexmessage?.directiveList[swipdcurrent]?.izStart=='Y'?' ':'opacity: 0.4'">
|
||||||
|
<image class="left-menu-img"
|
||||||
|
:src="'/static/index/newindex/leftmenu/left'+item+'.png'" />
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
<view class="right-menu">
|
||||||
|
<view class="right-scroll">
|
||||||
|
<view style="margin:1.5vw 0;width: 4vw;margin-left: 20rpx;"
|
||||||
|
@click="zhixing(1,indexmessage?.directiveList[swipdcurrent])">
|
||||||
|
<view class="white-circle" :style="indexmessage?.directiveList[swipdcurrent]?.izStart=='Y'?'opacity: 0.4' : ''">
|
||||||
|
<image class="right-menu-img" :src="'/static/index/newindex/rightmenu/1.png'" />
|
||||||
|
<view class="right-menu-name">
|
||||||
|
转单执行
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
<view style="margin:1.5vw 0;width:4vw;margin-left: 20rpx;"
|
||||||
|
@click="zhixing(2,indexmessage?.directiveList[swipdcurrent])">
|
||||||
|
<view class="white-circle" :style="indexmessage?.directiveList[swipdcurrent]?.izStart=='Y'?'opacity: 0.4' : ''">
|
||||||
|
<image class="right-menu-img" :src="'/static/index/newindex/rightmenu/2.png'" />
|
||||||
|
<view class="right-menu-name">
|
||||||
|
协助执行
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
|
||||||
|
</view>
|
||||||
<!-- <view class="big-img"
|
<!-- <view class="big-img"
|
||||||
v-if="indexmessage.izPackage=='Y'&&indexmessage?.izStart=='N'&&!indexmessage.flag"
|
v-if="indexmessage.izPackage=='Y'&&indexmessage?.izStart=='N'&&!indexmessage.flag"
|
||||||
@click="indexmessage.flag = true">
|
@click="indexmessage.flag = true">
|
||||||
|
|
@ -107,100 +288,14 @@
|
||||||
</view> -->
|
</view> -->
|
||||||
<!-- <swipes v-if="current==i" @touchmove.stop></swipes> -->
|
<!-- <swipes v-if="current==i" @touchmove.stop></swipes> -->
|
||||||
|
|
||||||
<view class="big-img" v-if="indexmessage.izMulti=='N'">
|
|
||||||
<image
|
|
||||||
:style="!indexmessage?.previewFile?'width: 460rpx':' width:550rpx;height:460rpx;'"
|
|
||||||
:src="indexmessage?.previewFile? serverUrl + indexmessage?.previewFile: `/static/index/noorder1.png`"
|
|
||||||
mode="heightFix" />
|
|
||||||
</view>
|
|
||||||
<swipecard @touchmove.stop v-if="current==i&&indexmessage.izMulti=='Y'" :indexmessage="indexmessage" @current="currentswipd"></swipecard>
|
|
||||||
|
|
||||||
<!-- <view class="big-img" v-if="indexmessage.izMulti=='N'&&!indexmessage?.previewFile ">
|
<!-- <view class="big-img" v-if="indexmessage.izMulti=='N'&&!indexmessage?.previewFile ">
|
||||||
<image :style="!indexmessage?.previewFile?'width: 320rpx;height: 320rpx;':' '"
|
<image :style="!indexmessage?.previewFile?'width: 320rpx;height: 320rpx;':' '"
|
||||||
:src="indexmessage?.previewFile? serverUrl + indexmessage?.previewFile: `/static/index/noorder1.png`"
|
:src="indexmessage?.previewFile? serverUrl + indexmessage?.previewFile: `/static/index/noorder1.png`"
|
||||||
mode="heightFix" />
|
mode="heightFix" />
|
||||||
</view> -->
|
</view> -->
|
||||||
<view style="display: flex;align-items: center; ">
|
|
||||||
<view class="server-name">
|
|
||||||
{{ indexmessage?.directiveName }}
|
|
||||||
</view>
|
|
||||||
<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.4vw;">
|
|
||||||
</image>
|
|
||||||
<view class="bgc-font"
|
|
||||||
style="top: 0;left: 0;padding-left:0.65vw;width: 100%;height: 100%;z-index: 2;position: absolute;line-height:2.9vw;font-size: 1.1vw;">
|
|
||||||
{{indexmessage?.categoryName }}
|
|
||||||
</view>
|
|
||||||
</view>
|
|
||||||
</view>
|
|
||||||
<view style="display: flex;margin-top: 40rpx;">
|
|
||||||
<view style="width: 240rpx;height: 90rpx;margin-right: 40rpx;">
|
|
||||||
<view :class="indexmessage?.izStart=='N'?'start-button':'end-button'"
|
|
||||||
@click="start(indexmessage)">
|
|
||||||
开始服务
|
|
||||||
</view>
|
|
||||||
</view>
|
|
||||||
<view style="width: 240rpx;height: 90rpx;">
|
|
||||||
<view
|
|
||||||
:class="(indexmessage?.izStart=='Y'&& indexmessage?.izFinish=='N')?'start-button':'end-button'"
|
|
||||||
@click="end(indexmessage)">
|
|
||||||
结束服务
|
|
||||||
</view>
|
|
||||||
</view>
|
|
||||||
</view>
|
|
||||||
|
|
||||||
<view class="left-menu">
|
|
||||||
<view @click="errmsgclk(0,1,indexmessage)">
|
|
||||||
<view class="left-ball" :style="indexmessage?.serviceContent!=''?' ':'opacity: 0.4'">
|
|
||||||
<image class="left-menu-img"
|
|
||||||
:src="'/static/index/newindex/leftmenu/left'+0+'.png'" />
|
|
||||||
</view>
|
|
||||||
</view>
|
|
||||||
<view @click="errmsgclk(1,1,indexmessage)">
|
|
||||||
<view class="left-ball"
|
|
||||||
:style="indexmessage?.mp3File!=''&&indexmessage.izPackage!='Y'?' ':'opacity: 0.4'">
|
|
||||||
<image class="left-menu-img"
|
|
||||||
:src="'/static/index/newindex/leftmenu/left'+1+'.png'" />
|
|
||||||
</view>
|
|
||||||
</view>
|
|
||||||
<view @click="errmsgclk(2,1,indexmessage)">
|
|
||||||
<view class="left-ball"
|
|
||||||
:style="indexmessage?.mp4File!=''&&indexmessage.izPackage!='Y'?' ':'opacity: 0.4'">
|
|
||||||
<image class="left-menu-img"
|
|
||||||
:src="'/static/index/newindex/leftmenu/left'+2+'.png'" />
|
|
||||||
</view>
|
|
||||||
</view>
|
|
||||||
<view v-for="(item,index) in [3,4]" :key="index" @click="errmsgclk(item,2,indexmessage)">
|
|
||||||
<view class="left-ball" :style="indexmessage?.izStart=='Y'?' ':'opacity: 0.4'">
|
|
||||||
<image class="left-menu-img"
|
|
||||||
:src="'/static/index/newindex/leftmenu/left'+item+'.png'" />
|
|
||||||
</view>
|
|
||||||
</view>
|
|
||||||
</view>
|
|
||||||
<view class="right-menu">
|
|
||||||
<view class="right-scroll">
|
|
||||||
<view style="margin:1.5vw 0;width: 4vw;margin-left: 20rpx;"
|
|
||||||
@click="zhixing(1,indexmessage)">
|
|
||||||
<view class="white-circle" :style="indexmessage?.izStart=='Y'?'opacity: 0.4' : ''">
|
|
||||||
<image class="right-menu-img" :src="'/static/index/newindex/rightmenu/1.png'" />
|
|
||||||
<view class="right-menu-name">
|
|
||||||
转单执行
|
|
||||||
</view>
|
|
||||||
</view>
|
|
||||||
</view>
|
|
||||||
<view style="margin:1.5vw 0;width:4vw;margin-left: 20rpx;"
|
|
||||||
@click="zhixing(2,indexmessage)">
|
|
||||||
<view class="white-circle" :style="indexmessage?.izStart=='Y'?'opacity: 0.4' : ''">
|
|
||||||
<image class="right-menu-img" :src="'/static/index/newindex/rightmenu/2.png'" />
|
|
||||||
<view class="right-menu-name">
|
|
||||||
协助执行
|
|
||||||
</view>
|
|
||||||
</view>
|
|
||||||
</view>
|
|
||||||
</view>
|
|
||||||
</view>
|
|
||||||
|
|
||||||
</view>
|
</view>
|
||||||
</swiper-item>
|
</swiper-item>
|
||||||
|
|
@ -307,7 +402,7 @@
|
||||||
import timeing from './sxy-Timeing.vue'
|
import timeing from './sxy-Timeing.vue'
|
||||||
import swipecard from './swipecard.vue'
|
import swipecard from './swipecard.vue'
|
||||||
|
|
||||||
import { queryOrderList, queryOrderInfoList, startOrder, endOrder, editSubPicPath, editSubMp4, queryEmpList, transferOrder, assistOrder, generateInstant } from '../../component/doctorask/api/api.js'
|
import {preupload, queryOrderList, queryOrderInfoList, startOrder, endOrder, editSubPicPath, editSubMp4, queryEmpList, transferOrder, assistOrder, generateInstant } from '../../component/doctorask/api/api.js'
|
||||||
|
|
||||||
const open = ref(0)
|
const open = ref(0)
|
||||||
const font = ref('')
|
const font = ref('')
|
||||||
|
|
@ -635,7 +730,7 @@
|
||||||
let year = now.getFullYear();
|
let year = now.getFullYear();
|
||||||
let month = now.getMonth() + 1;
|
let month = now.getMonth() + 1;
|
||||||
uni.uploadFile({
|
uni.uploadFile({
|
||||||
url: uni.getStorageSync('serverUrl') + '/sys/common/upload',
|
url: uni.getStorageSync('serverUrl') + '/sys/common/upload/pre',
|
||||||
filePath: e,
|
filePath: e,
|
||||||
name: 'file',
|
name: 'file',
|
||||||
fileType: topbuttontarget.value == 2 ? 'video' : 'image',
|
fileType: topbuttontarget.value == 2 ? 'video' : 'image',
|
||||||
|
|
@ -646,6 +741,8 @@
|
||||||
'X-Access-Token': uni.getStorageSync('token')
|
'X-Access-Token': uni.getStorageSync('token')
|
||||||
},
|
},
|
||||||
success: res => {
|
success: res => {
|
||||||
|
console.log(res)
|
||||||
|
return
|
||||||
const data = JSON.parse(res.data);
|
const data = JSON.parse(res.data);
|
||||||
ilanarr.value.push(data.message)
|
ilanarr.value.push(data.message)
|
||||||
uni.hideLoading()
|
uni.hideLoading()
|
||||||
|
|
@ -663,11 +760,13 @@
|
||||||
sizeType: ['compressed'], //可以指定是原图还是压缩图,默认二者都有
|
sizeType: ['compressed'], //可以指定是原图还是压缩图,默认二者都有
|
||||||
sourceType: ['camera'], //从相册选择
|
sourceType: ['camera'], //从相册选择
|
||||||
success: (e) => {
|
success: (e) => {
|
||||||
|
console.log(e)
|
||||||
let ar = JSON.stringify(e.tempFilePaths)
|
let ar = JSON.stringify(e.tempFilePaths)
|
||||||
uni.compressImage({
|
uni.compressImage({
|
||||||
src: JSON.parse(ar)[0],
|
src: JSON.parse(ar)[0],
|
||||||
quality: 60,
|
quality: 60,
|
||||||
success: res => {
|
success: res => {
|
||||||
|
console.log(res)
|
||||||
sxdupld(res.tempFilePath)
|
sxdupld(res.tempFilePath)
|
||||||
// v.picPatharr.push(res.tempFilePath);
|
// v.picPatharr.push(res.tempFilePath);
|
||||||
}
|
}
|
||||||
|
|
@ -694,6 +793,23 @@
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
const strs = ref('')
|
||||||
|
const pre = (e)=>{
|
||||||
|
strs.value = randomStr();
|
||||||
|
preupload().then(res=>{
|
||||||
|
|
||||||
|
})
|
||||||
|
}
|
||||||
|
const randomStr = (length = 8)=> {
|
||||||
|
const chars = '0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz';
|
||||||
|
let result = '';
|
||||||
|
for (let i = 0; i < length; i++) {
|
||||||
|
// 随机取一个字符
|
||||||
|
result += chars.charAt(Math.floor(Math.random() * chars.length));
|
||||||
|
}
|
||||||
|
return result;
|
||||||
|
}
|
||||||
|
|
||||||
const cshigb = () => {
|
const cshigb = () => {
|
||||||
let obj = plsbuy.value[current.value];
|
let obj = plsbuy.value[current.value];
|
||||||
// console.log("啥啊",current.value)
|
// console.log("啥啊",current.value)
|
||||||
|
|
@ -721,6 +837,7 @@
|
||||||
// firstgetqueryCgdList(form.nuId);
|
// firstgetqueryCgdList(form.nuId);
|
||||||
// return
|
// return
|
||||||
// }
|
// }
|
||||||
|
console.log(v)
|
||||||
if (v.izStart != 'N') { return }
|
if (v.izStart != 'N') { return }
|
||||||
startOrder({ id: v.id }).then(res => {
|
startOrder({ id: v.id }).then(res => {
|
||||||
console.log(res)
|
console.log(res)
|
||||||
|
|
@ -1231,14 +1348,15 @@
|
||||||
font-size: 3.4vw;
|
font-size: 3.4vw;
|
||||||
margin-top: 2vw;
|
margin-top: 2vw;
|
||||||
position: relative;
|
position: relative;
|
||||||
margin-left: -50rpx;
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.big-img {
|
.big-img {
|
||||||
height: 460rpx;
|
height: 460rpx;
|
||||||
z-index: 100;
|
z-index: 100;
|
||||||
// background-color: red;
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
image {
|
image {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
|
|
||||||
|
|
@ -25,6 +25,9 @@
|
||||||
direction: ''
|
direction: ''
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
created() {
|
||||||
|
console.log(this.indexmessage)
|
||||||
|
},
|
||||||
methods:{
|
methods:{
|
||||||
cardSwiper(e) {
|
cardSwiper(e) {
|
||||||
this.cardCur = e.detail.current;
|
this.cardCur = e.detail.current;
|
||||||
|
|
|
||||||
|
|
@ -97,11 +97,11 @@
|
||||||
<view v-if="item1.startTime" class="card-time">
|
<view v-if="item1.startTime" class="card-time">
|
||||||
|
|
||||||
<view class="weight-time">
|
<view class="weight-time">
|
||||||
{{ item1.startTime }}
|
{{ item1.startTime?item1.startTime.slice(11, 16):'' }}
|
||||||
<text style="margin: 0 3rpx;">
|
<text style="margin: 0 3rpx;">
|
||||||
-
|
-
|
||||||
</text>
|
</text>
|
||||||
{{ item1.endTime }}
|
{{ item1.endTime?item1.endTime.slice(11, 16):'' }}
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
@ -508,7 +508,7 @@
|
||||||
</view>
|
</view>
|
||||||
<view class="target-many">
|
<view class="target-many">
|
||||||
<view class="target-strart">
|
<view class="target-strart">
|
||||||
{{ ruleritem.startTime }}
|
{{ ruleritem.startTime?ruleritem.startTime.slice(11, 16):'' }}
|
||||||
</view>
|
</view>
|
||||||
<view class="target-other">
|
<view class="target-other">
|
||||||
<view class="target-shu">
|
<view class="target-shu">
|
||||||
|
|
@ -556,7 +556,7 @@
|
||||||
{{ ruleritem.directiveName }}
|
{{ ruleritem.directiveName }}
|
||||||
</view> -->
|
</view> -->
|
||||||
<view class="packtarget-strart">
|
<view class="packtarget-strart">
|
||||||
{{ ruleritem?.includesarray[packtargetindex]?.startTime }}
|
{{ ruleritem?.includesarray[packtargetindex]?.startTime?ruleritem?.includesarray[packtargetindex]?.startTime.slice(11, 16):'' }}
|
||||||
</view>
|
</view>
|
||||||
<view class="packtarget-other">
|
<view class="packtarget-other">
|
||||||
<view class="packtarget-shu">
|
<view class="packtarget-shu">
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue