mirror of
https://gitee.com/elegant_wings/dbd-meeting-wx-small.git
synced 2025-06-22 00:49:37 +08:00
1
This commit is contained in:
parent
524f9e6e70
commit
d12a8bdd8a
@ -82,7 +82,8 @@
|
||||
"pages/reportRepair/assign/detail/detail",
|
||||
"pages/reportRepair/assign/feedback/feedback",
|
||||
"pages/reportRepair/assign/affirm/affirm",
|
||||
"pages/reportRepair/assign/personList/personList"
|
||||
"pages/reportRepair/assign/personList/personList",
|
||||
"pages/reportRepair/assign/again/again"
|
||||
],
|
||||
"window": {
|
||||
"backgroundTextStyle": "light",
|
||||
|
92
miniprogram/pages/reportRepair/assign/again/again.js
Normal file
92
miniprogram/pages/reportRepair/assign/again/again.js
Normal file
@ -0,0 +1,92 @@
|
||||
const app = getApp()
|
||||
|
||||
Page({
|
||||
|
||||
/**
|
||||
* 页面的初始数据
|
||||
*/
|
||||
data: {
|
||||
IMG_NAME: app.IMG_NAME,
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面加载
|
||||
*/
|
||||
onLoad(options) {
|
||||
|
||||
},
|
||||
|
||||
back(){
|
||||
wx.navigateBack()
|
||||
},
|
||||
|
||||
|
||||
// 确认损坏
|
||||
jumpAffirm(){
|
||||
wx.navigateTo({
|
||||
url: '/pages/reportRepair/assign/affirm/affirm',
|
||||
})
|
||||
},
|
||||
|
||||
|
||||
// 提交反馈
|
||||
jumpFeedback(){
|
||||
wx.navigateTo({
|
||||
url: '/pages/reportRepair/assign/feedback/feedback',
|
||||
})
|
||||
},
|
||||
|
||||
// 无效
|
||||
invalid(){
|
||||
wx.navigateBack()
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面初次渲染完成
|
||||
*/
|
||||
onReady() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面显示
|
||||
*/
|
||||
onShow() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面隐藏
|
||||
*/
|
||||
onHide() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面卸载
|
||||
*/
|
||||
onUnload() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 页面相关事件处理函数--监听用户下拉动作
|
||||
*/
|
||||
onPullDownRefresh() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 页面上拉触底事件的处理函数
|
||||
*/
|
||||
onReachBottom() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 用户点击右上角分享
|
||||
*/
|
||||
onShareAppMessage() {
|
||||
|
||||
}
|
||||
})
|
6
miniprogram/pages/reportRepair/assign/again/again.json
Normal file
6
miniprogram/pages/reportRepair/assign/again/again.json
Normal file
@ -0,0 +1,6 @@
|
||||
{
|
||||
"navigationStyle": "custom",
|
||||
"usingComponents": {
|
||||
"van-icon": "@vant/weapp/icon/index"
|
||||
}
|
||||
}
|
78
miniprogram/pages/reportRepair/assign/again/again.wxml
Normal file
78
miniprogram/pages/reportRepair/assign/again/again.wxml
Normal file
@ -0,0 +1,78 @@
|
||||
<view class="containerView public">
|
||||
|
||||
<view class="topHead">
|
||||
<view class="navigatorView">
|
||||
<view class="backView" bind:tap="back">
|
||||
<van-icon name="arrow-left" color="#ffffff" size="30rpx" />
|
||||
<view class="label">返回</view>
|
||||
</view>
|
||||
<view class="title">重新派单</view>
|
||||
</view>
|
||||
|
||||
<view class="contentView">
|
||||
<view class="label1">派单处理</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<view class="mainView">
|
||||
<view class="statusView">
|
||||
<view class="label">YG123081273812</view>
|
||||
<view class="time">空调</view>
|
||||
<view class="tag">待审核</view>
|
||||
</view>
|
||||
|
||||
<view class="reportView">
|
||||
<view class="topTitle">报修信息</view>
|
||||
<view class="selfLine"></view>
|
||||
<view class="itemView">
|
||||
<view class="label">设备名称</view>
|
||||
<view class="content">320828282828320828282828320828282828320828282828v</view>
|
||||
</view>
|
||||
<view class="itemView">
|
||||
<view class="label">设备地址</view>
|
||||
<view class="content">302会议室</view>
|
||||
</view>
|
||||
<view class="itemView">
|
||||
<view class="label">维修描述</view>
|
||||
<view class="content">电脑蓝屏</view>
|
||||
</view>
|
||||
<view class="itemView">
|
||||
<view class="label">损坏凭证</view>
|
||||
<view class="content">
|
||||
<view wx:for="{{10}}" class="imgView" style="background: no-repeat center/cover url({{IMG_NAME + '/profile/static/index/banner/1.jpg'}});"></view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="itemView">
|
||||
<view class="label">报修人</view>
|
||||
<view class="content">13652025563</view>
|
||||
</view>
|
||||
<view class="itemView">
|
||||
<view class="label">报修时间</view>
|
||||
<view class="content">2024-06-10 23:59:59</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<view class="reportView">
|
||||
<view class="topTitle">反馈</view>
|
||||
<view class="selfLine"></view>
|
||||
<view class="itemView">
|
||||
<view class="label">反馈人员</view>
|
||||
<view class="content">王军</view>
|
||||
</view>
|
||||
<view class="itemView">
|
||||
<view class="label">反馈描述</view>
|
||||
<view class="content">类型不一致</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<view class="reportView">
|
||||
<view class="topTitle">派单</view>
|
||||
<view class="selfLine"></view>
|
||||
<view class="itemView">
|
||||
<view class="label">请选择派单人员</view>
|
||||
<view class="content">王军</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
</view>
|
194
miniprogram/pages/reportRepair/assign/again/again.wxss
Normal file
194
miniprogram/pages/reportRepair/assign/again/again.wxss
Normal file
@ -0,0 +1,194 @@
|
||||
.containerView.public {
|
||||
background: none;
|
||||
}
|
||||
|
||||
.elHidden {
|
||||
visibility: hidden;
|
||||
}
|
||||
|
||||
.selfLine {
|
||||
height: 2rpx;
|
||||
background: rgb(126, 126, 126, 0.2);
|
||||
}
|
||||
|
||||
.topHead {
|
||||
position: relative;
|
||||
height: 400rpx;
|
||||
background: #2b2d3d;
|
||||
}
|
||||
|
||||
.topHead .navigatorView {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 120rpx;
|
||||
width: 100%;
|
||||
box-sizing: border-box;
|
||||
padding: 0 30rpx;
|
||||
|
||||
}
|
||||
|
||||
.topHead .navigatorView .backView {
|
||||
display: flex;
|
||||
justify-content: flex-start;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.topHead .navigatorView .backView .label {
|
||||
color: white;
|
||||
font-size: 28rpx;
|
||||
line-height: 1;
|
||||
margin-left: 8rpx;
|
||||
}
|
||||
|
||||
.topHead .navigatorView .title {
|
||||
position: absolute;
|
||||
top: 14rpx;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
|
||||
font-size: 32rpx;
|
||||
color: #FFFFFF;
|
||||
line-height: 1rpx;
|
||||
}
|
||||
|
||||
.topHead .contentView {
|
||||
position: absolute;
|
||||
left: 30rpx;
|
||||
bottom: 100rpx;
|
||||
}
|
||||
|
||||
.topHead .contentView .label1 {
|
||||
font-size: 28rpx;
|
||||
color: white;
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
.topHead .contentView .label2 {
|
||||
font-size: 24rpx;
|
||||
color: white;
|
||||
line-height: 1;
|
||||
margin-top: 20rpx;
|
||||
}
|
||||
|
||||
.mainView {
|
||||
position: relative;
|
||||
box-sizing: border-box;
|
||||
|
||||
margin: -20rpx 20rpx 20rpx;
|
||||
z-index: 999;
|
||||
}
|
||||
|
||||
.mainView .statusView {
|
||||
box-sizing: border-box;
|
||||
position: relative;
|
||||
padding: 40rpx 30rpx;
|
||||
background: white;
|
||||
border-radius: 8rpx;
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
.mainView .statusView .label {
|
||||
font-size: 28rpx;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
|
||||
.mainView .statusView .tag {
|
||||
position: absolute;
|
||||
right: 30rpx;
|
||||
top: 50%;
|
||||
transform: translateY(-50%);
|
||||
background: #ee6f21;
|
||||
color: white;
|
||||
padding: 10rpx 20rpx;
|
||||
border-radius: 6rpx;
|
||||
font-size: 22rpx;
|
||||
}
|
||||
|
||||
.mainView .statusView .time {
|
||||
margin-top: 20rpx;
|
||||
}
|
||||
|
||||
.mainView .statusView .leftImg {
|
||||
position: absolute;
|
||||
top: 26rpx;
|
||||
left: 20rpx;
|
||||
|
||||
width: 60rpx;
|
||||
height: 60rpx;
|
||||
border-radius: 8rpx;
|
||||
}
|
||||
|
||||
.mainView .reportView {
|
||||
margin-top: 20rpx;
|
||||
padding-bottom: 60rpx;
|
||||
|
||||
border-radius: 8rpx;
|
||||
background: white;
|
||||
}
|
||||
|
||||
.mainView .reportView .topTitle {
|
||||
padding: 30rpx;
|
||||
font-size: 28rpx;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.mainView .reportView .itemView {
|
||||
display: flex;
|
||||
justify-content: flex-start;
|
||||
align-items: flex-start;
|
||||
margin-top: 30rpx;
|
||||
padding: 0 30rpx;
|
||||
|
||||
}
|
||||
|
||||
.mainView .reportView .itemView .label {
|
||||
flex-shrink: 0;
|
||||
width: 200rpx;
|
||||
font-size: 30rpx;
|
||||
color: gray;
|
||||
}
|
||||
|
||||
.mainView .reportView .itemView .content {
|
||||
font-size: 30rpx;
|
||||
word-break: break-all;
|
||||
}
|
||||
|
||||
.mainView .reportView .itemView .content .imgView {
|
||||
width: 100rpx;
|
||||
height: 100rpx;
|
||||
margin-right: 10rpx;
|
||||
margin-bottom: 10rpx;
|
||||
display: inline-block;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.bottomFixView {
|
||||
position: fixed;
|
||||
z-index: 999;
|
||||
left: 0;
|
||||
bottom: 0;
|
||||
height: 140rpx;
|
||||
width: 100vw;
|
||||
border-top: 1rpx solid rgb(126, 126, 126, 0.2);
|
||||
background: white;
|
||||
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.bottomFixView .btn {
|
||||
box-sizing: border-box;
|
||||
border-radius: 6rpx;
|
||||
margin-right: 30rpx;
|
||||
padding: 12rpx 24rpx;
|
||||
|
||||
background: #579ff8;
|
||||
font-size: 26rpx;
|
||||
color: white;
|
||||
}
|
||||
|
||||
.bottomFixView .btn.red {
|
||||
background: #ee6f21;
|
||||
}
|
@ -18,7 +18,7 @@
|
||||
<view class="statusView">
|
||||
<view class="label">YG123081273812</view>
|
||||
<view class="time">空调</view>
|
||||
<view class="tag">待审核</view>
|
||||
<view class="tag">待派单</view>
|
||||
</view>
|
||||
|
||||
<view class="reportView">
|
||||
|
@ -323,12 +323,20 @@ Page({
|
||||
});
|
||||
},
|
||||
|
||||
// 跳转-详情
|
||||
jumpDetail(){
|
||||
wx.navigateTo({
|
||||
url: '/pages/reportRepair/assign/detail/detail',
|
||||
})
|
||||
},
|
||||
|
||||
// 跳转-重新分配
|
||||
jumpAgain(){
|
||||
wx.navigateTo({
|
||||
url: '/pages/reportRepair/assign/again/again',
|
||||
})
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面初次渲染完成
|
||||
*/
|
||||
|
@ -1,7 +1,7 @@
|
||||
<view class="containerView public">
|
||||
<van-tabs bind:click="tabClickSwitch" color="#4e96f8" border animated title-active-color="black" title-inactive-color="gray">
|
||||
<van-tab title="全部">
|
||||
<view class="itemView" wx:for="{{3}}" wx:for-item="item" wx:key="*this" bind:tap="jumpDetail">
|
||||
<van-tab title="重新派单">
|
||||
<view class="itemView" wx:for="{{3}}" wx:for-item="item" wx:key="*this" bind:tap="jumpAgain">
|
||||
<view class="topTitle">编号: T123123123</view>
|
||||
<view class="selfLine"></view>
|
||||
<view class="centerView">
|
||||
@ -23,14 +23,34 @@
|
||||
</view>
|
||||
</van-tab>
|
||||
|
||||
<van-tab title="处理中">
|
||||
|
||||
<van-tab title="待派单">
|
||||
<view class="itemView" wx:for="{{1}}" wx:for-item="item" wx:key="*this" bind:tap="jumpDetail">
|
||||
<view class="topTitle">编号: T123123123</view>
|
||||
<view class="selfLine"></view>
|
||||
<view class="centerView">
|
||||
<view class="showImg" style="background: no-repeat center/cover url({{IMG_NAME + '/profile/static/index/banner/1.jpg'}});"></view>
|
||||
<view class="rightView">
|
||||
<view class="labelName ellipsisFont">空调损坏</view>
|
||||
<view class="labelContent1 ellipsisFont">设备名称: 空调</view>
|
||||
<view class="labelContent2 ellipsisFont">设备地址: 301南楼</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="selfLine"></view>
|
||||
<view class="bottomView">
|
||||
<view class="name">王军(18300011120)</view>
|
||||
<view class="time">2024-01-01 12:12:00</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="loadAllLine" wx:if="{{reservationIsDataAll}}">
|
||||
<van-divider class="van-divider" customStyle="font-size: 26rpx;" contentPosition="center">数据已全部加载</van-divider>
|
||||
</view>
|
||||
</van-tab>
|
||||
<van-tab title="待评价">
|
||||
|
||||
|
||||
<van-tab title="已派单">
|
||||
|
||||
</van-tab>
|
||||
<van-tab title="已评价">
|
||||
|
||||
<van-tab title="已关闭">
|
||||
|
||||
</van-tab>
|
||||
</van-tabs>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user