This commit is contained in:
commit
ac3ef67c98
|
|
@ -73,6 +73,7 @@
|
|||
<view class="ld" v-if="v.izStart=='Y'&& v.izFinish=='N'" @click="end(v)">结束服务</view>
|
||||
<view class="bd" v-if="(v.izStart=='Y'&& v.izFinish=='N')||v.manuallyMp4Path!=null" @click="ysptp(v,i,2)">录像</view>
|
||||
<view class="bd" v-if="(v.izStart=='Y'&& v.izFinish=='N')|| v.manuallyPicPath!=null" @click="ysptp(v,i,1)" >拍照</view>
|
||||
<view class="bd" v-if="(v.izStart=='Y'&& v.izFinish=='Y')&&v.tplinkPath!=null" @click="ysptp(v,i,3)">Tplink</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
|
|
@ -216,7 +217,7 @@
|
|||
}
|
||||
const firstgetqueryCgdList = () => {
|
||||
queryCareList(form).then(res => {
|
||||
console.log(res)
|
||||
console.log(form)
|
||||
plsbuy.value.push(...res.result.records);
|
||||
status.value = res.result.total == plsbuy.value.length ? 'nomore' : 'loadmore';
|
||||
if(form.pageNo==1){
|
||||
|
|
@ -285,7 +286,11 @@
|
|||
}else if(r == 2&&v.manuallyMp4Path){
|
||||
ilanarr.value = v.manuallyMp4Path.split(",");
|
||||
ilanarr.value = ilanarr.value.filter(item => item !== '');
|
||||
}else{
|
||||
}else if(r == 3&&v.tplinkPath){
|
||||
ilanarr.value = v.tplinkPath.split(",");
|
||||
ilanarr.value = ilanarr.value.filter(item => item !== '');
|
||||
}
|
||||
else{
|
||||
ilanarr.value = [];
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -950,7 +950,7 @@
|
|||
width: 140rpx;
|
||||
height: 140rpx;
|
||||
margin-top: 10rpx;
|
||||
margin-bottom: 15rpx;
|
||||
margin-bottom: 0.2vw;
|
||||
padding: 0.2vw;
|
||||
border-radius: 1.1vw;
|
||||
background: #f8f8f8;
|
||||
|
|
@ -969,7 +969,7 @@
|
|||
align-items: center;
|
||||
color: #555555;
|
||||
border: 1rpx solid #D2D2D2;
|
||||
margin-top:0.2vw;
|
||||
margin-bottom:0.2vw;
|
||||
font-size: 19rpx;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -194,7 +194,7 @@
|
|||
if (res.success) {
|
||||
thshow.value = false;
|
||||
uni.showToast({
|
||||
icon: 'none',
|
||||
icon: 'success',
|
||||
title: res.message
|
||||
})
|
||||
} else {
|
||||
|
|
|
|||
|
|
@ -1041,6 +1041,7 @@
|
|||
<tanchuang :show="badshow" font="确定要作废这个采购单吗" @back="badshow=false;" @right="zuofei"> </tanchuang>
|
||||
<tanchuang :show="open==1" font="是否删除此图片" @back="open = 0" @right="del()"> </tanchuang>
|
||||
<tanchuang :show="open==2" font="是否销账此物料?" @back="open = 0" @right="sctp(1)"> </tanchuang>
|
||||
<errorshow :show="openerror" :font="errmsg" @close="openerror=false" />
|
||||
</view>
|
||||
</template>
|
||||
|
||||
|
|
@ -1814,6 +1815,8 @@
|
|||
stringjh.value = toFixed4ByPadStart(showvalue.value.num)
|
||||
}
|
||||
//
|
||||
const openerror = ref(false)
|
||||
const errmsg = ref('')
|
||||
const fag = (e) => {
|
||||
let str = '';
|
||||
addupimg.value.forEach(item => {
|
||||
|
|
@ -1830,11 +1833,11 @@
|
|||
pickingInfo(obj).then(res => {
|
||||
console.log(`入参`, obj)
|
||||
console.log(`返回`, res)
|
||||
uni.showToast({
|
||||
icon: 'none',
|
||||
title: res.message ? res.message : '操作成功'
|
||||
})
|
||||
if (res.success) {
|
||||
uni.showToast({
|
||||
icon: res.success?'success':'none',
|
||||
title: res.message ? res.message : '操作成功'
|
||||
})
|
||||
plsbuy.value[lefttarget.value].totalPrice = res.result.cgdTotalPrice
|
||||
albumlist.value = [];
|
||||
addupimg.value = [];
|
||||
|
|
@ -1842,7 +1845,12 @@
|
|||
open.value = 0;
|
||||
form.cgdId = plsbuy.value[lefttarget.value].id;
|
||||
plsbuy.value[lefttarget.value] = res.result.cgdInfo;
|
||||
queryInvo(middletarget.value)
|
||||
setTimeout(()=>{
|
||||
queryInvo(middletarget.value)
|
||||
},700)
|
||||
}else{
|
||||
errmsg.value = res.message;
|
||||
openerror.value = true;
|
||||
}
|
||||
})
|
||||
}
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@
|
|||
{{ uni.getStorageSync('realname') }}
|
||||
</view>
|
||||
</view>
|
||||
<view class="lingdang">
|
||||
<view class="lingdang" v-show="!leftarraytarget">
|
||||
<image class="lingdang-img" src="/static/shouye/lingdang.png" />
|
||||
<view class="hongdian"></view>
|
||||
</view>
|
||||
|
|
@ -30,8 +30,13 @@
|
|||
<view class="yanfazhong" v-show="leftarraytarget==3">
|
||||
研发中...
|
||||
</view>
|
||||
<view class="componentall" v-show="leftarraytarget==4">
|
||||
<menusettings :isShow="leftarraytarget==4" />
|
||||
<view class="componentall" v-show="leftarraytarget==4&&ldflagindex==0">
|
||||
<menusettings :isShow="leftarraytarget==4" @leftarray="leftarray"/>
|
||||
</view>
|
||||
<view class="componentall" v-show="ldflagindex>9" style="margin-top: -2vh;">
|
||||
<leida v-if="ldflagindex==10"></leida>
|
||||
<saoma v-if="ldflagindex==11"></saoma>
|
||||
<inputing v-if="ldflagindex==12"></inputing>
|
||||
</view>
|
||||
<view class="componentall" v-show="leftarraytarget==1 || leftarraytarget==2">
|
||||
<scroll-view scroll-y class="componentall" >
|
||||
|
|
@ -150,6 +155,10 @@
|
|||
})
|
||||
}
|
||||
}
|
||||
const ldflagindex = ref(0)
|
||||
const leftarray =(e)=>{
|
||||
ldflagindex.value = e;
|
||||
}
|
||||
const exitshow = ref(false);
|
||||
const cardarray = ref([])
|
||||
|
||||
|
|
@ -168,7 +177,7 @@
|
|||
// console.log("??11111111",cardarray.value)
|
||||
}
|
||||
leftarraytarget.value = index;
|
||||
|
||||
ldflagindex.value = 0;
|
||||
}
|
||||
</script>
|
||||
|
||||
|
|
@ -285,7 +294,7 @@
|
|||
}
|
||||
.componentall{
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
height: 96%;
|
||||
// background-color: red;
|
||||
}
|
||||
.card-father{
|
||||
|
|
|
|||
|
|
@ -145,7 +145,7 @@
|
|||
if(res.success){
|
||||
uni.showToast({
|
||||
icon:'success',
|
||||
title:res.message
|
||||
title:res.message?res.message:'提交成功'
|
||||
})
|
||||
emit('close');
|
||||
setTimeout(()=>{
|
||||
|
|
|
|||
|
|
@ -45,11 +45,11 @@
|
|||
</view>
|
||||
</view>
|
||||
|
||||
<nomessage cont="暂无数据" :show="nomessageshow" />
|
||||
<view class="zhedang" v-if="nomessageshow"></view>
|
||||
<!-- <nomessage cont="暂无数据" :show="nomessageshow" /> -->
|
||||
<!-- <view class="zhedang" v-if="nomessageshow"></view> -->
|
||||
</view>
|
||||
|
||||
<view class="all-contain" v-show=" !nomessageshow">
|
||||
<view class="all-contain">
|
||||
<scroll-view scroll-y="true" scroll-with-animation class="all-scroll" :scroll-top="leftscrolltop"
|
||||
@scrolltolower="plsbuytolower" :lower-threshold="200">
|
||||
<view class="scroll-items">
|
||||
|
|
@ -724,7 +724,7 @@
|
|||
right: 0;
|
||||
top: 0;
|
||||
height: 500rpx;
|
||||
background-color: #fff;
|
||||
// background-color: #fff;
|
||||
}
|
||||
|
||||
.left-selecttype {
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
<template>
|
||||
<view class="index-content-other">
|
||||
<view class="index-content-right" @click="goback">
|
||||
<!-- <view class="index-content-right" @click="goback">
|
||||
<image class="back-img" :src="`/static/index/settings/back.png`" />
|
||||
返回
|
||||
</view>
|
||||
</view> -->
|
||||
<view class="saomiao">
|
||||
<view class="big-ball" v-if="!allitem.nuName">
|
||||
<view class="ball"></view>
|
||||
|
|
@ -158,7 +158,7 @@
|
|||
.index-content-down {
|
||||
// width: calc(100% - 60rpx);
|
||||
// height: 100rpx;
|
||||
position: absolute;
|
||||
position: fixed;
|
||||
bottom: 40rpx;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
<template>
|
||||
<view class="index-content-other">
|
||||
<view class="index-content-right" @click="goback">
|
||||
<!-- <view class="index-content-right" @click="goback">
|
||||
<image class="back-img" :src="`/static/index/settings/back.png`" />
|
||||
返回
|
||||
</view>
|
||||
</view> -->
|
||||
<view class="left-contain">
|
||||
<view class="blue-bgc">
|
||||
<image class="all-img" src="/static/index/leida/leftbgc.png" />
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
<template>
|
||||
<scroll-view scroll-y class="index-content-other" :style="transition?{opacity: `1`}:{opacity: `0`}">
|
||||
<view scroll-y class="index-content-other" :style="transition?{opacity: `1`}:{opacity: `0`}">
|
||||
|
||||
<view class="array-father">
|
||||
<view v-for="(item,index) in iconsArray.slice(0,3)" :key="index" class="item" @click="jumpToTarget(index)">
|
||||
|
|
@ -68,7 +68,7 @@
|
|||
</view>
|
||||
|
||||
<!-- </view> -->
|
||||
</scroll-view>
|
||||
</view>
|
||||
<view class="bg-mask" v-if="selectserve">
|
||||
<view @click.stop class="white-select">
|
||||
<view class="big-font">
|
||||
|
|
@ -88,7 +88,7 @@
|
|||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import { ref, onMounted, watch, nextTick } from 'vue'
|
||||
import { ref, onMounted, onBeforeUnmount, computed, nextTick, watch, reactive } from 'vue';
|
||||
import exit from "@/component/public/exit.vue"
|
||||
import reset from "@/component/public/reset.vue"
|
||||
import ZyUpdate from '@/component/zy-upgrade/zy-upgrade.vue'
|
||||
|
|
@ -101,7 +101,7 @@
|
|||
const opentype = ref(false);
|
||||
// const exitshow = ref(false);
|
||||
const resetshow = ref(false);
|
||||
const emit = defineEmits(['jump'])
|
||||
const emit = defineEmits(['jump','leftarray'])
|
||||
// const props = defineProps({ isShow: { type: Boolean, required: true } })
|
||||
const iconsArray = ref(["雷达扫描", "扫码添加", "手动录入", "修改密码", "切换机构", "检查更新", "用户协议", "隐私政策"])
|
||||
|
||||
|
|
@ -147,19 +147,22 @@
|
|||
const jumpToTarget = (index : number) => {
|
||||
switch (index) {
|
||||
case 0:
|
||||
uni.navigateTo({
|
||||
url: '/pages/watch/settings/leida'
|
||||
})
|
||||
emit('leftarray',10)
|
||||
// uni.navigateTo({
|
||||
// url: '/pages/watch/settings/leida'
|
||||
// })
|
||||
break
|
||||
case 1:
|
||||
uni.navigateTo({
|
||||
url: '/pages/watch/settings/saoma'
|
||||
})
|
||||
emit('leftarray',11)
|
||||
// uni.navigateTo({
|
||||
// url: '/pages/watch/settings/saoma'
|
||||
// })
|
||||
break
|
||||
case 2:
|
||||
uni.navigateTo({
|
||||
url: '/pages/watch/settings/input'
|
||||
})
|
||||
emit('leftarray',12)
|
||||
// uni.navigateTo({
|
||||
// url: '/pages/watch/settings/input'
|
||||
// })
|
||||
break
|
||||
case 3:
|
||||
resetshow.value = true
|
||||
|
|
@ -231,7 +234,7 @@
|
|||
align-items: center;
|
||||
justify-content: space-between;
|
||||
width: 100%;
|
||||
height: 130rpx;
|
||||
height: 115rpx;
|
||||
|
||||
.left-item {
|
||||
display: flex;
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
<template>
|
||||
<view class="index-content-other">
|
||||
<view class="index-content-right" @click="goback">
|
||||
<!-- <view class="index-content-right" @click="goback">
|
||||
<image class="back-img" :src="`/static/index/settings/back.png`" />
|
||||
返回
|
||||
</view>
|
||||
</view> -->
|
||||
<view class="saomiao">
|
||||
<view class="card" v-if="allitem.nuName">
|
||||
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
<template>
|
||||
<view class="index-content-other">
|
||||
<view class="index-content-right" @click="goback">
|
||||
<!-- <view class="index-content-right" @click="goback">
|
||||
<image class="back-img" :src="`/static/index/settings/back.png`" />
|
||||
返回
|
||||
</view>
|
||||
</view> -->
|
||||
<view class="array-father">
|
||||
<view v-for="(item,index) in iconsArray.slice(0,3)" :key="index" class="item" @click="jumpToTarget(index)">
|
||||
<view class="left-item">
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
{
|
||||
"hash": "63b19973",
|
||||
"configHash": "f0a71f11",
|
||||
"lockfileHash": "e88c1aa2",
|
||||
"browserHash": "b680c5d4",
|
||||
"hash": "9e248234",
|
||||
"configHash": "17f5f5b6",
|
||||
"lockfileHash": "285de26d",
|
||||
"browserHash": "f287ed85",
|
||||
"optimized": {},
|
||||
"chunks": {}
|
||||
}
|
||||
Loading…
Reference in New Issue