This commit is contained in:
许允枞 2025-03-17 15:41:07 +08:00
parent 86a9a682bb
commit bfa05192f7
3 changed files with 42 additions and 9 deletions

View File

@ -113,7 +113,15 @@
<view class="hang_"></view>
<view class="list_">
<view class="title_">预约记录</view>
<view class="box_" v-for="(item,index) in goodsList" :key="index">
<view v-if="goodsList.length == 0">
<u-empty
mode="list"
icon="http://www.nuoyunr.com/lananRsc/detection/qs.png"
>
</u-empty>
</view>
<view class="box_" v-for="(item,index) in goodsList" :key="index" v-else>
<view class="box_ds">
<view class="box_title">{{ item.goodsTitle }}</view>
<u-tag :text="item.skuName" plain size="mini" style=" height: 44rpx; "></u-tag>
@ -143,6 +151,7 @@
<view class="right_">自来客户</view>
</view>
</view>
</view>
<!-- 底部 -->
<view style="width: 100%; height: 50px;"></view>
@ -222,7 +231,11 @@ export default {
},
onHide() {
clearInterval(this.timer);
clearInterval(this.timer2);
this.timer = null
},
onUnload() {
clearInterval(this.timer);
this.timer = null;
},
onLoad() {
this.partnerId = uni.getStorageSync('partnerId')
@ -233,7 +246,10 @@ export default {
this.getUserInfo()
this.getWarnCount()
this.getAppointAndPickNum()
this.getappointment()
setTimeout(() => {
this.getappointment()
}, 1000)
// this.getappointment()
//
this.timeWeekFormat();

View File

@ -43,12 +43,13 @@
<image src="../../static/imgs/wenjianjia.png" mode=""></image>
</view>
<view class="wimg" v-else>
<image src="../../static/imgs/wenjian.png" mode=""></image>
<image src="../../static/imgs/wenjian.png" mode="" v-if="!item.isImage"></image>
<image :src="imageUrl + item.filePath" style="width: 100px;height: 100px;" v-else></image>
</view>
<view class="file-name">{{ item.fileName }}</view>
<view class="" v-if="item.warnTime">{{ item.warnTime }}</view>
<view class="" v-if="!item.warnTime" style=" visibility: hidden;">{{ '1' }}</view>
<view class="" v-if="item.count">文件数:{{ item.count }}</view>
<!-- <view class="" v-if="item.count">文件数:{{ item.count }}</view>-->
<view class="" v-if="!item.count" style=" visibility: hidden;">{{ '1' }}</view>
<view class="bsd-dis">
<view class="bianji" v-if="item.type == '2'" @click="viewFile(item.filePath)">预览</view>
@ -114,7 +115,8 @@ export default {
fileName: null,
isShow: false,
drawerData: [],
isLoading: false
isLoading: false,
imageUrl: config.baseImageUrl + '/',
}
},
@ -122,7 +124,6 @@ export default {
console.log('传递进来的数据', data)
if (data.folderId) {
this.fileId = data.folderId
}
this.getlist()
},
@ -165,7 +166,7 @@ export default {
data.fileName = null
}
let res = await request({
url: '/inspectionFile/inspectionFile/list',
url: '/inspectionFile/inspectionFile/listByPermission',
method: 'get',
data: data
})
@ -176,7 +177,7 @@ export default {
}
let total = res.total
this.totalPages = Math.ceil(total / this.pageSize);
this.getCountByDirectory()
// this.getCountByDirectory()
},
showHistory(id) {
this.isShow = true

View File

@ -59,6 +59,17 @@
<uni-icons type="right" color="#999999" size="16"></uni-icons>
</view>
</view>
<view class="on-input" @click="goFile()">
<view class="dix">
<view class="d-icon">
<image src="../../static/detection/zhaq.png" mode=""></image>
</view>
<view class="aa">文档管理</view>
</view>
<view class="">
<uni-icons type="right" color="#999999" size="16"></uni-icons>
</view>
</view>
</view>
<!-- <view class="ian-box">-->
<!-- <view class="on-input" @click="goWord()">-->
@ -211,6 +222,11 @@ export default {
url: "/pages/manage/workReport/reportList"
})
},
goFile() {
uni.navigateTo({
url: "/pages/manage/deviceManage"
})
},
goWord() {
request({
url: '/system/info/exportWord',