回测psd页面0-10
parent
25c18b0378
commit
972e7fdc63
|
@ -310,6 +310,7 @@ button:after{content: none!important;}
|
|||
.pad40{padding: 40rpx;}
|
||||
.pad50{padding: 50rpx;}
|
||||
/* 上下---内边距 */
|
||||
.pad-sx6{padding-top: 6rpx;padding-bottom: 6rpx;}
|
||||
.pad-sx10{padding-top: 10rpx;padding-bottom: 10rpx;}
|
||||
.pad-sx20{padding-top: 20rpx;padding-bottom: 20rpx;}
|
||||
.pad-sx25{padding-top: 25rpx;padding-bottom: 25rpx;}
|
||||
|
|
|
@ -272,8 +272,8 @@ uni-radio .uni-radio-input {border: 1rpx solid #444444;}
|
|||
/* 服务范围 */
|
||||
.service-range-status {
|
||||
background-color: #cdcdcd;
|
||||
color: #333333;
|
||||
padding: 6rpx 20rpx;
|
||||
color: #242323;
|
||||
/* padding: 6rpx 20rpx; */
|
||||
border-radius: 6rpx;
|
||||
}
|
||||
.service-range-activeStatus {
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
<view class="">
|
||||
<statusNav :ifReturn="isReturn" navBarTitle="意见反馈"></statusNav>
|
||||
<container-subgroup-two>
|
||||
<view slot="content" style="margin: 0 -30rpx;">
|
||||
<view slot="content" style="margin: 0 -30rpx 30rpx -30rpx;">
|
||||
<view class="opinion-type">意见类型</view>
|
||||
<view class="opinion-type-content">
|
||||
<view class="li" @click="opinionType(index)" :class="typeNum==index ? 'on':''"
|
||||
|
@ -28,14 +28,14 @@
|
|||
<image class="icon" src="/static/iocn/tel.png" mode=""></image>
|
||||
<view class="feedback-tel-con">
|
||||
<view class="text">服务监督电话:</view>
|
||||
<view class="tel">156 1566 0510</view>
|
||||
<view class="tel bold">156 1566 0510</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="feedback-con">
|
||||
<image class="icon" src="/static/iocn/date.png" mode=""></image>
|
||||
<view class="feedback-tel-con">
|
||||
<view class="text">反馈受理时间:</view>
|
||||
<view class="tel">9:00 - 18:00</view>
|
||||
<view class="tel bold">9:00 - 18:00</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
@ -272,13 +272,12 @@
|
|||
|
||||
.feedback-con {
|
||||
width: 320rpx;
|
||||
height: 100rpx;
|
||||
border-radius: 8rpx;
|
||||
background-color: #ffe5e5;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
box-sizing: border-box;
|
||||
padding-left: 26rpx;
|
||||
padding: 16rpx 0 16rpx 26rpx;
|
||||
}
|
||||
|
||||
.feedback-con .icon {
|
||||
|
@ -295,7 +294,6 @@
|
|||
|
||||
.feedback-tel-con .tel {
|
||||
font-size: 28rpx;
|
||||
|
||||
}
|
||||
|
||||
.feedback-approach {
|
||||
|
|
|
@ -1,581 +1,423 @@
|
|||
<template>
|
||||
<view class="content">
|
||||
<statusNav returnColor="#c2c2c2" navBarTitle="项目详情"></statusNav>
|
||||
<container-subgroup-two>
|
||||
<view slot="content" style="margin: -25rpx -30rpx;">
|
||||
|
||||
<view class="head-top">
|
||||
<view class="details-head">
|
||||
<view class="swiper-head">
|
||||
<swiper class="swiper" @change="changeAutoplay" :autoplay="autoplay" :interval="interval"
|
||||
>
|
||||
<swiper-item>
|
||||
<view class="swiper-item uni-bg-red">
|
||||
<image class="img" src="../../static/del/img001.png" mode="aspectFill"></image>
|
||||
</view>
|
||||
</swiper-item>
|
||||
<swiper-item>
|
||||
<view class="swiper-item uni-bg-red">
|
||||
<image class="img" src="../../static/del/img001.png" mode="aspectFill"></image>
|
||||
</view>
|
||||
</swiper-item>
|
||||
<swiper-item>
|
||||
<view class="swiper-item uni-bg-red">
|
||||
<image class="img" src="../../static/del/img001.png" mode="aspectFill"></image>
|
||||
</view>
|
||||
</swiper-item>
|
||||
</swiper>
|
||||
|
||||
<view class="indication-point ">
|
||||
{{index}}/3
|
||||
</view>
|
||||
|
||||
</view>
|
||||
|
||||
<view class="title">
|
||||
湖南工业大学生化学院会议室P2.5全彩LED显示屏
|
||||
</view>
|
||||
<view class="code">
|
||||
XM20220108-1001
|
||||
</view>
|
||||
|
||||
<view class="address">
|
||||
<image class="img" src="../../static/iocn/im.png" mode=""></image>
|
||||
<view class="text">
|
||||
湖南省长沙市高新开发区谷园路109号像素大厦1205
|
||||
</view>
|
||||
</view>
|
||||
|
||||
</view>
|
||||
<view class="last-date">
|
||||
<view class="last-date-content">
|
||||
<image class="icon" src="../../static/iocn/gzzt.png" mode=""></image>
|
||||
<view class="text">
|
||||
最近一次故障时间:2021-11-18 17:00:16
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
|
||||
|
||||
<view class="project-message-title">
|
||||
<view class="icon">
|
||||
|
||||
</view>
|
||||
<view class="text">
|
||||
项目概况
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<view class="project-message-content">
|
||||
<view class="li">
|
||||
<view class="title-one">
|
||||
|
||||
<text>品</text>
|
||||
<text>牌</text>
|
||||
</view>
|
||||
<view class="text">
|
||||
:海康威视
|
||||
</view>
|
||||
</view>
|
||||
<view class="li">
|
||||
<view class="title-one">
|
||||
<text>型</text>
|
||||
<text>品</text>
|
||||
|
||||
</view>
|
||||
<view class="text">
|
||||
:DS-CK25FI/H
|
||||
</view>
|
||||
</view>
|
||||
<view class="li">
|
||||
<view class="title-one">
|
||||
|
||||
<text>尺</text>
|
||||
<text>寸</text>
|
||||
</view>
|
||||
<view class="text">
|
||||
:3.94*2.02m
|
||||
</view>
|
||||
</view>
|
||||
<view class="li">
|
||||
<view class="title">
|
||||
安装位置
|
||||
</view>
|
||||
<view class="text">
|
||||
:xx综合楼2楼会议室403
|
||||
</view>
|
||||
</view>
|
||||
<view class="li">
|
||||
<view class="title">
|
||||
竣工日期
|
||||
</view>
|
||||
<view class="text">
|
||||
:2022/01/08
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<view class="record-nav">
|
||||
<view class="li" @click="recordNav(index)" :class="item.state?'on':''" v-for="(item,index) in recordState">
|
||||
{{item.title}}
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<view class="record-content">
|
||||
<view class="title">
|
||||
维修追踪
|
||||
</view>
|
||||
<view class="list">
|
||||
<view class="li on">
|
||||
<view class="icon">
|
||||
<view class="icon-con">
|
||||
|
||||
</view>
|
||||
</view>
|
||||
<view class="con">
|
||||
<view class="text">
|
||||
“黑屏”故障 【某某】已处理。
|
||||
</view>
|
||||
<view class="date">
|
||||
2020-05-15 16:00
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="li">
|
||||
<view class="icon">
|
||||
|
||||
</view>
|
||||
<view class="con">
|
||||
<view class="text">
|
||||
“黑屏”故障 【某某】已处理。
|
||||
</view>
|
||||
<view class="date">
|
||||
2020-05-15 16:00
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="li">
|
||||
<view class="icon">
|
||||
|
||||
</view>
|
||||
<view class="con">
|
||||
<view class="text">
|
||||
“黑屏”故障 【某某】已处理。
|
||||
</view>
|
||||
<view class="date">
|
||||
2020-05-15 16:00
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="li">
|
||||
<view class="icon">
|
||||
|
||||
</view>
|
||||
<view class="con">
|
||||
<view class="text">
|
||||
“黑屏”故障 【某某】已处理。
|
||||
</view>
|
||||
<view class="date">
|
||||
2020-05-15 16:00
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="li">
|
||||
<view class="icon">
|
||||
|
||||
</view>
|
||||
<view class="con">
|
||||
<view class="text">
|
||||
“黑屏”故障 【某某】已处理。
|
||||
</view>
|
||||
<view class="date">
|
||||
2020-05-15 16:00
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="li">
|
||||
<view class="icon">
|
||||
|
||||
</view>
|
||||
<view class="con">
|
||||
<view class="text">
|
||||
“黑屏”故障 【某某】已处理。
|
||||
</view>
|
||||
<view class="date">
|
||||
2020-05-15 16:00
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="li">
|
||||
<view class="icon">
|
||||
|
||||
</view>
|
||||
<view class="con">
|
||||
<view class="text">
|
||||
“黑屏”故障 【某某】已处理。
|
||||
</view>
|
||||
<view class="date">
|
||||
2020-05-15 16:00
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
</view>
|
||||
</container-subgroup-two>
|
||||
</view>
|
||||
<view class="content">
|
||||
<statusNav returnColor="#c2c2c2" navBarTitle="项目详情"></statusNav>
|
||||
<container-subgroup-two>
|
||||
<view slot="content" style="margin: -30rpx;">
|
||||
<view class="head-top">
|
||||
<view class="details-head">
|
||||
<view class="swiper-head">
|
||||
<swiper class="swiper" @change="changeAutoplay" :autoplay="autoplay" :interval="interval" circular>
|
||||
<swiper-item>
|
||||
<view class="swiper-item uni-bg-red">
|
||||
<image class="img" src="../../static/del/img001.png" mode="aspectFill"></image>
|
||||
</view>
|
||||
</swiper-item>
|
||||
<swiper-item>
|
||||
<view class="swiper-item uni-bg-red">
|
||||
<image class="img" src="../../static/del/img001.png" mode="aspectFill"></image>
|
||||
</view>
|
||||
</swiper-item>
|
||||
<swiper-item>
|
||||
<view class="swiper-item uni-bg-red">
|
||||
<image class="img" src="../../static/del/img001.png" mode="aspectFill"></image>
|
||||
</view>
|
||||
</swiper-item>
|
||||
</swiper>
|
||||
<view class="indication-point fon24 disjcac">{{index}}/3</view>
|
||||
</view>
|
||||
<view class="title">湖南工业大学生化学院会议室P2.5全彩LED显示屏</view>
|
||||
<view class="code">XM20220108-1001</view>
|
||||
<view class="address">
|
||||
<image class="img" src="../../static/iocn/im.png" mode=""></image>
|
||||
<view class="text">湖南省长沙市高新开发区谷园路109号像素大厦1205</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="last-date">
|
||||
<view class="last-date-content">
|
||||
<image class="icon" src="../../static/iocn/gzzt.png" mode=""></image>
|
||||
<view class="text">最近一次故障时间:2021-11-18 17:00:16</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="project-message-title">
|
||||
<view class="icon"></view>
|
||||
<view class="text">项目概况</view>
|
||||
</view>
|
||||
<view class="project-message-content">
|
||||
<view class="li">
|
||||
<view class="title-one">
|
||||
<text>品</text>
|
||||
<text>牌:</text>
|
||||
</view>
|
||||
<view class="text">海康威视</view>
|
||||
</view>
|
||||
<view class="li">
|
||||
<view class="title-one">
|
||||
<text>型</text>
|
||||
<text>品:</text>
|
||||
</view>
|
||||
<view class="text">DS-CK25FI/H</view>
|
||||
</view>
|
||||
<view class="li">
|
||||
<view class="title-one">
|
||||
<text>尺</text>
|
||||
<text>寸:</text>
|
||||
</view>
|
||||
<view class="text">3.94*2.02m</view>
|
||||
</view>
|
||||
<view class="li">
|
||||
<view class="title">安装位置:</view>
|
||||
<view class="text">xx综合楼2楼会议室403</view>
|
||||
</view>
|
||||
<view class="li">
|
||||
<view class="title">竣工日期:</view>
|
||||
<view class="text">2022/01/08</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="record-nav">
|
||||
<view class="li" @click="recordNav(index)" :class="item.state?'on':''"
|
||||
v-for="(item,index) in recordState">
|
||||
{{item.title}}
|
||||
</view>
|
||||
</view>
|
||||
<view class="record-content">
|
||||
<view class="title">维修追踪</view>
|
||||
<view class="list">
|
||||
<view class="li pad-z40 fon27 col9" :class="index==0 ? 'activeTrack' : ''" v-for="(item,index) in 10" :key="index">
|
||||
<view class="disac fw line-h60">
|
||||
<view class="text">“部分模组不显示”故障【陈志远】已处理。</view>
|
||||
<view class="date">2020-05-15 16:00</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</container-subgroup-two>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import statusNav from "../../components/status-nav.vue"
|
||||
import containerSubgroupTwo from '@/components/containers/container-subgroup-two.vue';
|
||||
export default {
|
||||
components:{
|
||||
statusNav,
|
||||
containerSubgroupTwo
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
autoplay: true,
|
||||
interval: 3000,
|
||||
index: 1,
|
||||
projectId:"",
|
||||
recordState: [{
|
||||
title: '维修记录',
|
||||
state: true
|
||||
},
|
||||
{
|
||||
title: '保养记录',
|
||||
state: false
|
||||
},
|
||||
{
|
||||
title: '巡检记录',
|
||||
state: false
|
||||
},
|
||||
]
|
||||
}
|
||||
},
|
||||
onLoad(option) {
|
||||
this.projectId=option.id
|
||||
this.getData()
|
||||
},
|
||||
|
||||
methods: {
|
||||
changeAutoplay(data) {
|
||||
console.log()
|
||||
this.index = data.detail.current - 0 + 1
|
||||
},
|
||||
getData(){
|
||||
this.$requst.get('/universal/api.project/project_info', {
|
||||
id: this.projectId,
|
||||
}).then(res => {
|
||||
if (res.code == 1) {
|
||||
console.log(res.data.data)
|
||||
} else {
|
||||
|
||||
}
|
||||
})
|
||||
},
|
||||
recordNav(index) {
|
||||
for (var i = 0; i < this.recordState.length; i++) {
|
||||
this.recordState[i].state = false
|
||||
}
|
||||
this.recordState[index].state = true
|
||||
}
|
||||
}
|
||||
}
|
||||
import statusNav from "../../components/status-nav.vue"
|
||||
import containerSubgroupTwo from '@/components/containers/container-subgroup-two.vue';
|
||||
export default {
|
||||
components: {
|
||||
statusNav,
|
||||
containerSubgroupTwo
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
autoplay: true,
|
||||
interval: 3000,
|
||||
index: 1,
|
||||
projectId: "",
|
||||
recordState: [{
|
||||
title: '维修记录',
|
||||
state: true
|
||||
},
|
||||
{
|
||||
title: '保养记录',
|
||||
state: false
|
||||
},
|
||||
{
|
||||
title: '巡检记录',
|
||||
state: false
|
||||
},
|
||||
]
|
||||
}
|
||||
},
|
||||
onLoad(option) {
|
||||
this.projectId = option.id
|
||||
this.getData()
|
||||
},
|
||||
|
||||
methods: {
|
||||
changeAutoplay(data) {
|
||||
console.log()
|
||||
this.index = data.detail.current - 0 + 1
|
||||
},
|
||||
getData() {
|
||||
this.$requst.get('/universal/api.project/project_info', {
|
||||
id: this.projectId,
|
||||
}).then(res => {
|
||||
if (res.code == 1) {
|
||||
console.log(res.data.data)
|
||||
} else {
|
||||
|
||||
}
|
||||
})
|
||||
},
|
||||
recordNav(index) {
|
||||
for (var i = 0; i < this.recordState.length; i++) {
|
||||
this.recordState[i].state = false
|
||||
}
|
||||
this.recordState[index].state = true
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style>
|
||||
page {
|
||||
background-color: #F7F7F7;
|
||||
}
|
||||
page {
|
||||
background-color: #F7F7F7;
|
||||
}
|
||||
|
||||
.content {
|
||||
padding: 16rpx 0;
|
||||
}
|
||||
.content {
|
||||
padding: 16rpx 0;
|
||||
}
|
||||
|
||||
.swiper {
|
||||
width: 100%;
|
||||
height: 500rpx;
|
||||
}
|
||||
.swiper {
|
||||
width: 100%;
|
||||
height: 500rpx;
|
||||
}
|
||||
|
||||
.swiper .img {
|
||||
height: 500rpx;
|
||||
width: 100%;
|
||||
}
|
||||
.head-top{
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
margin-top: 15rpx;
|
||||
box-shadow: 0rpx 5rpx 5rpx rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
.swiper .img {
|
||||
height: 500rpx;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.details-head {
|
||||
width: 725rpx;
|
||||
margin: auto;
|
||||
padding: 24rpx 12rpx;
|
||||
box-sizing: border-box;
|
||||
height: 682rpx;
|
||||
background-color: #FFFFFF;
|
||||
.head-top {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
margin-top: 10rpx;
|
||||
/* box-shadow: 0rpx 5rpx 5rpx rgba(0, 0, 0, 0.1); */
|
||||
}
|
||||
|
||||
border-radius: 20rpx;
|
||||
}
|
||||
.details-head {
|
||||
width: 725rpx;
|
||||
margin: auto;
|
||||
padding: 24rpx 12rpx;
|
||||
box-sizing: border-box;
|
||||
height: 682rpx;
|
||||
background-color: #FFFFFF;
|
||||
|
||||
.swiper-head {
|
||||
position: relative;
|
||||
}
|
||||
border-radius: 20rpx;
|
||||
}
|
||||
|
||||
.indication-point {
|
||||
width: 102rpx;
|
||||
height: 46rpx;
|
||||
border-radius: 26rpx 0 0 0;
|
||||
right: 0px;
|
||||
bottom: 0rpx;
|
||||
text-align: center;
|
||||
color: #fff;
|
||||
position: absolute;
|
||||
background-color: #e64545;
|
||||
}
|
||||
.swiper-head {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.details-head .title {
|
||||
font-size: 28rpx;
|
||||
padding: 13rpx 0rpx;
|
||||
}
|
||||
.indication-point {
|
||||
width: 102rpx;
|
||||
height: 46rpx;
|
||||
border-radius: 26rpx 0 0 0;
|
||||
position: absolute;
|
||||
right: 0px;
|
||||
bottom: 0rpx;
|
||||
color: #fff;
|
||||
background-color: #e64545;
|
||||
}
|
||||
|
||||
.details-head .code {
|
||||
font-size: 24rpx;
|
||||
padding: 0rpx 0rpx 13rpx 0rpx;
|
||||
color: #ff8800;
|
||||
}
|
||||
.details-head .title {
|
||||
font-size: 28rpx;
|
||||
padding: 13rpx 0rpx;
|
||||
}
|
||||
|
||||
.address {
|
||||
.details-head .code {
|
||||
font-size: 24rpx;
|
||||
padding: 0rpx 0rpx 13rpx 0rpx;
|
||||
color: #ff8800;
|
||||
}
|
||||
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
.address {
|
||||
|
||||
.address .img {
|
||||
width: 18rpx;
|
||||
margin-right: 14rpx;
|
||||
height: 24rpx;
|
||||
}
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.address .text {
|
||||
font-size: 24rpx;
|
||||
color: #666666;
|
||||
}
|
||||
.address .img {
|
||||
width: 18rpx;
|
||||
margin-right: 14rpx;
|
||||
height: 24rpx;
|
||||
}
|
||||
|
||||
.last-date {
|
||||
width: 100%;
|
||||
padding: 10rpx 13rpx 10rpx;
|
||||
border-bottom: 6rpx solid #E7E7E7;
|
||||
}
|
||||
.address .text {
|
||||
font-size: 24rpx;
|
||||
color: #666666;
|
||||
}
|
||||
|
||||
.last-date-content {
|
||||
width: 100%;
|
||||
height: 57rpx;
|
||||
display: flex;
|
||||
padding-left: 20rpx;
|
||||
align-items: center;
|
||||
border-radius: 10rpx;
|
||||
|
||||
background: linear-gradient(to right, #FFEBEB, #F7F7F7);
|
||||
}
|
||||
.last-date {
|
||||
width: 100%;
|
||||
padding: 10rpx 13rpx 10rpx;
|
||||
/* border-bottom: 6rpx solid #E7E7E7; */
|
||||
}
|
||||
|
||||
.last-date-content .icon {
|
||||
width: 30rpx;
|
||||
height: 30rpx;
|
||||
margin-right: 20rpx;
|
||||
}
|
||||
.last-date-content {
|
||||
width: 100%;
|
||||
height: 57rpx;
|
||||
display: flex;
|
||||
padding-left: 20rpx;
|
||||
align-items: center;
|
||||
border-radius: 10rpx;
|
||||
|
||||
.last-date-content .text {
|
||||
font-size: 22rpx;
|
||||
color: #333333;
|
||||
}
|
||||
background: linear-gradient(to right, #FFEBEB, #F7F7F7);
|
||||
}
|
||||
|
||||
.project-message-title {
|
||||
display: flex;
|
||||
padding: 0 33rpx;
|
||||
padding-top: 23rpx;
|
||||
.last-date-content .icon {
|
||||
width: 30rpx;
|
||||
height: 30rpx;
|
||||
margin-right: 20rpx;
|
||||
}
|
||||
|
||||
align-items: center;
|
||||
border-bottom: 2rpx solid #ebebeb;
|
||||
|
||||
margin-top: 2rpx;
|
||||
background-color: #FFFFFF;
|
||||
padding-bottom: 21rpx;
|
||||
}
|
||||
.last-date-content .text {
|
||||
font-size: 22rpx;
|
||||
color: #333333;
|
||||
}
|
||||
|
||||
.project-message-title .icon {
|
||||
width: 8rpx;
|
||||
height: 27rpx;
|
||||
margin-right: 15rpx;
|
||||
border-radius: 50rpx;
|
||||
background: linear-gradient(#00A2e9, #bbe6f9);
|
||||
}
|
||||
.project-message-title {
|
||||
display: flex;
|
||||
padding: 0 33rpx;
|
||||
padding-top: 23rpx;
|
||||
|
||||
.project-message-title .text {
|
||||
font-size: 26rpx
|
||||
}
|
||||
align-items: center;
|
||||
border-bottom: 2rpx solid #ebebeb;
|
||||
border-top: 6rpx solid rgba(231,231,231,.6);
|
||||
margin-top: 2rpx;
|
||||
background-color: #FFFFFF;
|
||||
padding-bottom: 21rpx;
|
||||
}
|
||||
|
||||
.project-message-content {
|
||||
display: flex;
|
||||
padding: 30rpx 25rpx 0rpx;
|
||||
background-color: #FFFFFF;
|
||||
border-bottom: 6rpx solid #E7E7E7;
|
||||
position: relative;
|
||||
z-index: 2;
|
||||
flex-wrap: wrap;
|
||||
justify-content: space-between;
|
||||
}
|
||||
.project-message-title .icon {
|
||||
width: 8rpx;
|
||||
height: 27rpx;
|
||||
margin-right: 15rpx;
|
||||
border-radius: 50rpx;
|
||||
background: linear-gradient(#00A2e9, #bbe6f9);
|
||||
}
|
||||
|
||||
.project-message-content .title-one {
|
||||
color: #4d4c4c;
|
||||
font-size: 24rpx;
|
||||
font-weight: bold;
|
||||
width: 93rpx;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
.project-message-title .text {
|
||||
font-size: 26rpx
|
||||
}
|
||||
|
||||
}
|
||||
.project-message-content {
|
||||
display: flex;
|
||||
padding: 30rpx 25rpx 0rpx;
|
||||
background-color: #FFFFFF;
|
||||
border-bottom: 2rpx solid rgba(231,231,231,.6);
|
||||
position: relative;
|
||||
z-index: 2;
|
||||
flex-wrap: wrap;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.project-message-content .li {
|
||||
display: flex;
|
||||
margin-bottom: 31rpx;
|
||||
}
|
||||
.project-message-content .title-one {
|
||||
color: #4d4c4c;
|
||||
font-size: 24rpx;
|
||||
font-weight: bold;
|
||||
width: 93rpx;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
|
||||
.project-message-content .title {
|
||||
color: #4d4c4c;
|
||||
font-weight: bold;
|
||||
font-size: 24rpx
|
||||
}
|
||||
}
|
||||
|
||||
.project-message-content .text {
|
||||
color: #4d4c4c;
|
||||
font-size: 24rpx
|
||||
}
|
||||
.project-message-content .li {
|
||||
display: flex;
|
||||
margin-bottom: 31rpx;
|
||||
}
|
||||
|
||||
.record-nav {
|
||||
padding: 51rpx 50rpx 33rpx;
|
||||
display: flex;
|
||||
margin-top: 4rpx;
|
||||
justify-content: space-between;
|
||||
background-color: #FFFFFF;
|
||||
border-bottom: 2rpx solid #D5D4D4;
|
||||
}
|
||||
.project-message-content .title {
|
||||
color: #4d4c4c;
|
||||
font-weight: bold;
|
||||
font-size: 24rpx
|
||||
}
|
||||
|
||||
.record-nav .li {
|
||||
font-size: 24rpx;
|
||||
width: 128rpx;
|
||||
text-align: center;
|
||||
font-weight: bold;
|
||||
position: relative;
|
||||
}
|
||||
.project-message-content .text {
|
||||
color: #4d4c4c;
|
||||
font-size: 24rpx
|
||||
}
|
||||
|
||||
.record-nav .on {
|
||||
color: #00b1ff;
|
||||
}
|
||||
.record-nav {
|
||||
padding: 51rpx 50rpx 33rpx;
|
||||
display: flex;
|
||||
margin-top: 4rpx;
|
||||
justify-content: space-between;
|
||||
background-color: #FFFFFF;
|
||||
border-bottom: 4rpx solid #D5D4D4;
|
||||
}
|
||||
|
||||
.record-nav .on::after {
|
||||
content: "";
|
||||
width: 100%;
|
||||
height: 2rpx;
|
||||
position: absolute;
|
||||
background-color: #00B1FF;
|
||||
top: 65rpx;
|
||||
left: 0rpx;
|
||||
}
|
||||
.record-nav .li {
|
||||
font-size: 24rpx;
|
||||
width: 128rpx;
|
||||
text-align: center;
|
||||
font-weight: bold;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.record-content {
|
||||
padding: 0 52rpx;
|
||||
|
||||
padding-top: 33rpx;
|
||||
padding-bottom: 40rpx;
|
||||
background-color: #FFFFFF;
|
||||
}
|
||||
.record-nav .on {
|
||||
color: #00b1ff;
|
||||
}
|
||||
|
||||
.record-content .title {
|
||||
color: #333333;
|
||||
margin-left: 12rpx;
|
||||
font-size: 24rpx;
|
||||
margin-bottom: 33rpx;
|
||||
}
|
||||
.record-nav .on::after {
|
||||
content: "";
|
||||
width: 100%;
|
||||
height: 4rpx;
|
||||
position: absolute;
|
||||
background-color: #00B1FF;
|
||||
top: 65rpx;
|
||||
left: 0rpx;
|
||||
}
|
||||
|
||||
.record-content .list .li {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
margin-bottom: 40rpx;
|
||||
}
|
||||
.record-content {
|
||||
padding: 0 52rpx;
|
||||
|
||||
.record-content .list .li .icon {
|
||||
width: 14rpx;
|
||||
height: 14rpx;
|
||||
margin-right: 50rpx;
|
||||
border-radius: 50%;
|
||||
background-color: #999999;
|
||||
margin-left: 5rpx;
|
||||
position: relative;
|
||||
}
|
||||
padding-top: 33rpx;
|
||||
padding-bottom: 40rpx;
|
||||
background-color: #FFFFFF;
|
||||
}
|
||||
|
||||
.record-content .list .li .icon::after {
|
||||
content: "";
|
||||
width: 2rpx;
|
||||
position: absolute;
|
||||
left: 7rpx;
|
||||
height: 64rpx;
|
||||
background-color: #999999;
|
||||
top: 14rpx;
|
||||
}
|
||||
.record-content .title {
|
||||
color: #333333;
|
||||
margin-left: 12rpx;
|
||||
font-size: 30rpx;
|
||||
margin-bottom: 40rpx;
|
||||
}
|
||||
|
||||
.record-content .list .li .con {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
font-size: 26rpx;
|
||||
color: #999999;
|
||||
}
|
||||
|
||||
.record-content .list .on .icon {
|
||||
background-color: #5caefb;
|
||||
width: 21rpx;
|
||||
height: 21rpx;
|
||||
margin-left: 1rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
}
|
||||
.record-content .list .on .icon .icon-con{
|
||||
background-color: #0084ff;
|
||||
width: 13rpx;
|
||||
height: 13rpx;
|
||||
border-radius: 50%;
|
||||
}
|
||||
.record-content .list .on .icon::after {
|
||||
content: "";
|
||||
width: 2rpx;
|
||||
position: absolute;
|
||||
left: 9rpx;
|
||||
height: 170rpx;
|
||||
z-index: -1;
|
||||
background-color: #0084ff;
|
||||
top: 20rpx;
|
||||
}
|
||||
.record-content .list .on .con{
|
||||
display: block;
|
||||
color: #0084ff;
|
||||
}
|
||||
.record-content .list .on .con .text{
|
||||
margin-bottom: 35rpx;
|
||||
}
|
||||
.record-content .list .on .con .date{
|
||||
margin-bottom: 35rpx;
|
||||
}
|
||||
.record-content .list .on{
|
||||
align-items: flex-start;
|
||||
}
|
||||
.record-content .list .li {
|
||||
position: relative;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding-top: 20rpx;
|
||||
border-left: 2rpx solid #999999;
|
||||
font-weight: 550;
|
||||
}
|
||||
.record-content .list .li::before {
|
||||
content: '';
|
||||
display: block;
|
||||
position: absolute;
|
||||
left: -8rpx;
|
||||
width: 14rpx;
|
||||
height: 14rpx;
|
||||
background-color: #999999;
|
||||
border-radius: 100%;
|
||||
}
|
||||
.record-content .list .activeTrack {
|
||||
color: #0084ff;
|
||||
padding-top: 0rpx;
|
||||
}
|
||||
.record-content .list .activeTrack::before {
|
||||
background-color: rgba(0,132,255,.5);
|
||||
top: -4rpx;
|
||||
width: 22rpx;
|
||||
height: 22rpx;
|
||||
left: -12rpx;
|
||||
z-index: 1;
|
||||
}
|
||||
.record-content .list .activeTrack::after {
|
||||
content: '';
|
||||
display: block;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: -8rpx;
|
||||
width: 14rpx;
|
||||
height: 14rpx;
|
||||
background-color: #999999;
|
||||
border-radius: 100%;
|
||||
}
|
||||
.record-content .list .activeTrack .line-h60 {
|
||||
margin-top: -26rpx;
|
||||
margin-bottom: 20rpx;
|
||||
}
|
||||
.record-content .list .date {
|
||||
margin-left: 20rpx;
|
||||
}
|
||||
</style>
|
||||
|
|
|
@ -3,67 +3,66 @@
|
|||
<view class="content" >
|
||||
<statusNav navBarTitle="项目列表" :ifReturn="false"></statusNav>
|
||||
<container-subgroup-two>
|
||||
<view slot="content" style="margin: -0rpx -30rpx -0rpx;">
|
||||
<view class="project-list-input">
|
||||
<input type="text" class="int" value="" placeholder="请输入关键字" />
|
||||
<view class="xian"></view>
|
||||
<image class="search" src="../../static/iocn/ss.png" mode="aspectFill" lazy-load>
|
||||
</image>
|
||||
</view>
|
||||
<view class="screen bbot mar-sx20">
|
||||
<picker @change="bindPickerChange" :value="index" :range="array" :range-key="'title'">
|
||||
<view class="li">
|
||||
<view v-if="initial_value!=''" class="text">{{initial_value}}</view>
|
||||
<view v-else class="text">{{array[index].title}}</view>
|
||||
<image class="img" src="../../static/iocn/xla.png" mode="aspectFill" lazy-load></image>
|
||||
</view>
|
||||
</picker>
|
||||
<picker mode="date" :value="date" @change="bindDateChange">
|
||||
<view class="li">
|
||||
<view class="text">竣工日期</view>
|
||||
<image class="img" src="../../static/iocn/xla.png" mode="aspectFill" lazy-load>
|
||||
</image>
|
||||
</view>
|
||||
</picker>
|
||||
<view class="li">
|
||||
<view class="text">筛选</view>
|
||||
<image class="imgA" src="../../static/iocn/sx.png" mode="aspectFill" lazy-load>
|
||||
</image>
|
||||
</view>
|
||||
<view slot="content" style="margin: -30rpx -30rpx -0rpx;">
|
||||
<view class="pad-s20 bacf">
|
||||
<view class="project-list-input">
|
||||
<input type="text" class="int" value="" placeholder="请输入关键字" placeholder-style="color:#999999;" />
|
||||
<view class="xian"></view>
|
||||
<image class="search" src="../../static/iocn/ss.png" mode="aspectFill" lazy-load></image>
|
||||
</view>
|
||||
</view>
|
||||
<view class="screen bbot mar-sx20">
|
||||
<picker class="width30 disjcac" @change="bindPickerChange" :value="index" :range="array" :range-key="'title'">
|
||||
<view class="li">
|
||||
<view v-if="initial_value!=''" class="text">{{initial_value}}</view>
|
||||
<view v-else class="text">{{array[index].title}}</view>
|
||||
<image class="img" src="../../static/iocn/xla.png" mode="aspectFill" lazy-load></image>
|
||||
</view>
|
||||
</picker>
|
||||
<picker class="width30 disjcac" mode="date" :value="date" @change="bindDateChange">
|
||||
<view class="li">
|
||||
<view class="text">竣工日期</view>
|
||||
<image class="img" src="../../static/iocn/xla.png" mode="aspectFill" lazy-load>
|
||||
</image>
|
||||
</view>
|
||||
</picker>
|
||||
<view class="li width30 disjcac">
|
||||
<view class="text">筛选</view>
|
||||
<image class="imgA" src="../../static/iocn/sx.png" mode="aspectFill" lazy-load>
|
||||
</image>
|
||||
</view>
|
||||
</view>
|
||||
<view class="project-list">
|
||||
<view class="li" @click="projectDetailsFun(item.id)" v-for="(item,index) in dataList.data" :key="index">
|
||||
<view class="message">
|
||||
<image class="img" src="../../static/del/img001.png" mode="aspectFill" lazy-load></image>
|
||||
<view class="text disjb fc" style="height: 180rpx;">
|
||||
<view class="clips1 fon24 bold">{{item.project_name}}</view>
|
||||
<view class="disjb fc" style="margin-left: -20rpx;height: 80%;">
|
||||
<view class="serial-number scal09">项目编号:{{item.projectCode}}</view>
|
||||
<view class="specification scal09">规格型号:{{item.project_number}}</view>
|
||||
<view class="specification scal09">产品尺寸:{{item.size}}</view>
|
||||
<view class="installation-site scal09">安装位置:{{item.installation_location}}
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="project-list-address col6 mar-s20 disjbac">
|
||||
<view class="address">
|
||||
<image class="img flexs" src="../../static/iocn/im.png" mode="scaleToFill" lazy-load>
|
||||
</image>
|
||||
<view class="text scal09" style="margin-left: -26rpx;">{{item.address}}
|
||||
</view>
|
||||
</view>
|
||||
<view class="date scal09">{{item.date}}</view>
|
||||
</view>
|
||||
<view v-if="item.warranty_time==1" class="icon iconBera">质保中</view>
|
||||
<view v-else class="icon iconBer">质保到期</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="project-list">
|
||||
<view class="li" @click="projectDetailsFun(item.id)" v-for="(item,index) in dataList.data" :key="index">
|
||||
<view class="message">
|
||||
<image class="img" src="../../static/del/img001.png" mode="aspectFill" lazy-load></image>
|
||||
<view class="text disjb fc" style="height: 180rpx;">
|
||||
<view class="clips1 fon24 bold">{{item.project_name}}</view>
|
||||
<view class="disjb fc" style="margin-left: -20rpx;height: 80%;">
|
||||
<view class="serial-number scal09">项目编号:{{item.projectCode}}</view>
|
||||
<view class="specification scal09">规格型号:{{item.project_number}}</view>
|
||||
<view class="specification scal09">产品尺寸:{{item.size}}</view>
|
||||
<view class="installation-site scal09">安装位置:{{item.installation_location}}
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="project-list-address col6 mar-s20 disjbac">
|
||||
<view class="address">
|
||||
<image class="img flexs" src="../../static/iocn/im.png" mode="scaleToFill" lazy-load>
|
||||
</image>
|
||||
<view class="text scal09" style="margin-left: -26rpx;">{{item.address}}
|
||||
</view>
|
||||
</view>
|
||||
<view class="date scal09">{{item.date}}</view>
|
||||
</view>
|
||||
<view v-if="item.warranty_time==1" class="icon iconBera">质保中</view>
|
||||
<view v-else class="icon iconBer">质保到期</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
</view>
|
||||
|
||||
</container-subgroup-two>
|
||||
<footTabOne :current="1"></footTabOne>
|
||||
</container-subgroup-two>
|
||||
<footTabOne :current="1"></footTabOne>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
|
@ -196,9 +195,8 @@
|
|||
height: 100%;
|
||||
background-color: #F7F7F7;
|
||||
padding: 0 25rpx;
|
||||
|
||||
font-size: 26rpx;
|
||||
padding-right: 100rpx;
|
||||
|
||||
box-sizing: border-box;
|
||||
border-radius: 36rpx;
|
||||
}
|
||||
|
|
|
@ -22,53 +22,37 @@
|
|||
{{item.name}}
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<view class="padding">
|
||||
<view class="devicename" @click="scanCodeFun()" v-if="navDataState[0].state">
|
||||
<view class="">
|
||||
请填写设备名称和型号或扫描二维码
|
||||
</view>
|
||||
<view class="">请填写设备名称和型号或扫描二维码</view>
|
||||
<image class="sm" src="../../static/iocn/sm.png" lazy-load mode=""></image>
|
||||
</view>
|
||||
<input v-model="data.device_name" class="devicename" placeholder="请填写设备名称和型号" v-else />
|
||||
|
||||
|
||||
|
||||
<view class="fault-pictures" @click="chooseImg">
|
||||
<view class="fault-pictures radius10" @click="chooseImg">
|
||||
<image class="fault-pictures-img" v-if="imgsrcArr.length>=1" :src="imgsrcArr[0]" mode="aspectFill"></image>
|
||||
<view class="fault-pictures-con" v-else>
|
||||
<image class="img" src="../../static/iocn/gz.png" lazy-load mode="aspectFill"></image>
|
||||
<view class="text">
|
||||
添加故障图片
|
||||
</view>
|
||||
<view class="text">添加故障图片</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<textarea value="" v-model="data.condition" class="fault-description" placeholder="故障情况描述"
|
||||
<textarea v-model="data.condition" class="fault-description radius10" placeholder="故障情况描述"
|
||||
placeholder-class="fault-description-text" />
|
||||
|
||||
<view class="detailed-address inputCss">
|
||||
<input type="text" v-model="data.address" class="address_input" value=""
|
||||
<input type="text" v-model="data.address" class="fon26 width100"
|
||||
placeholder="请输入详细的上门服务地址" placeholder-class="inputCss-input" />
|
||||
<image @click="mapFun()" src="../../static/iocn/map.png" class="map" mode="aspectFill"></image>
|
||||
<image @click="mapFun()" src="../../static/iocn/map.png" class="map flexs" mode="aspectFill"></image>
|
||||
</view>
|
||||
|
||||
<input type="text" class="inputCss" v-model="data.username" placeholder="请填写您的姓名"
|
||||
placeholder-class="inputCss-input" value="" />
|
||||
placeholder-class="inputCss-input" />
|
||||
<input type="text" class="inputCss" v-model="data.phone" placeholder="请填写联系电话"
|
||||
placeholder-class="inputCss-input" value="" />
|
||||
|
||||
placeholder-class="inputCss-input" />
|
||||
<input type="text" class="inputCss" @tap="openDatetimePicker" disabled v-model="data.visit_time"
|
||||
placeholder="请选择上门时间" placeholder-class="inputCss-input" value="" />
|
||||
<yy-mm-dd-hh-ss ref="myPicker" @submit="handleSubmit" :start-year="2022" :end-year="2122">
|
||||
</yy-mm-dd-hh-ss>
|
||||
|
||||
placeholder="请选择上门时间" placeholder-class="inputCss-input" />
|
||||
<yy-mm-dd-hh-ss ref="myPicker" @submit="handleSubmit" :start-year="2022" :end-year="2122"></yy-mm-dd-hh-ss>
|
||||
<button class="submit-button" @click="submitButton()" type="default">提交故障申报</button>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
</container-subgroup>
|
||||
|
||||
</view>
|
||||
</template>
|
||||
|
||||
|
@ -416,10 +400,10 @@
|
|||
width: 100%;
|
||||
box-sizing: border-box;
|
||||
padding: 0rpx 17rpx;
|
||||
font-size: 30rpx;
|
||||
font-size: 26rpx;
|
||||
border-radius: 10rpx;
|
||||
background-color: #FFFFFF;
|
||||
color: #9f9898;
|
||||
color: #000000;
|
||||
display: flex;
|
||||
margin-top: 20rpx;
|
||||
align-items: center;
|
||||
|
@ -430,7 +414,7 @@
|
|||
}
|
||||
|
||||
.inputCss-input-input {
|
||||
font-size: 30rpx;
|
||||
font-size: 26rpx;
|
||||
color: #9f9898;
|
||||
|
||||
}
|
||||
|
|
|
@ -1,473 +1,3 @@
|
|||
<<<<<<< HEAD
|
||||
<template>
|
||||
<view class="pad-x50">
|
||||
<status-nav-slot>
|
||||
<view slot="leftContent" @tap="goMessage" style="width: 70px;">
|
||||
<view class="home-message-box posir disac">
|
||||
<image src="/static/public/icon-home-message.png" mode=""></image>
|
||||
<view v-if="messageNumber!=0">{{messageNumber}}</view>
|
||||
</view>
|
||||
</view>
|
||||
<view slot="centerContent" class="disjcac">
|
||||
<image style="width: 156rpx;height: 38rpx;" src="/static/public/icom-home-logo.png" mode="widthFix"></image>
|
||||
</view>
|
||||
<!-- #ifdef APP-PLUS -->
|
||||
<view slot="rightContent" class="disac" @tap="callEv">
|
||||
<image class="mar-y10" style="width: 26rpx;height: 26rpx;" src="/static/public/icon-home-phone.png" mode=""></image>
|
||||
<view class="fon26 col3">拨打电话</view>
|
||||
</view>
|
||||
<!-- #endif -->
|
||||
<!-- #ifdef H5 -->
|
||||
<view slot="rightContent" class="disac" @tap="callEv">
|
||||
<image class="mar-y10" style="width: 26rpx;height: 26rpx;" src="/static/public/icon-home-phone.png" mode=""></image>
|
||||
<view class="fon26 col3">拨打电话</view>
|
||||
</view>
|
||||
<!-- #endif -->
|
||||
<!-- #ifdef MP-WEIXIN -->
|
||||
<view slot="rightContent" @tap="goMessage" style="width: 70px;"></view>
|
||||
<!-- #endif -->
|
||||
</status-nav-slot>
|
||||
<!-- <view :style="{paddingTop: statusHeight +'px'}"> -->
|
||||
<!-- banner图 -->
|
||||
<container-subgroup-two>
|
||||
<view slot="content" style="margin: 0 -30rpx;">
|
||||
<image class="width100" src="/static/public/icon-home-banner.png" mode="widthFix"></image>
|
||||
<view class="pad-zy20">
|
||||
<!-- 项目总数、实时故障、公告 -->
|
||||
<view class="project-notice-box">
|
||||
<view class="disjcac pad-sx20 bbot">
|
||||
<view class="disjcac fc width50">
|
||||
<view class="fon26 col9">项目总数</view>
|
||||
<view class="fon60 bold">126</view>
|
||||
</view>
|
||||
<view class="bleft" style="height: 90rpx;"></view>
|
||||
<view class="disjcac fc width50">
|
||||
<view class="fon26 col9">实时故障</view>
|
||||
<view class="fon60 bold">116</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="disac pad-s30 pad-x10">
|
||||
<image class="mar-zy20" style="width: 64rpx;height: 27rpx;" src="/static/public/icon-home-notice.png" mode=""></image>
|
||||
<view class="fon24 color6 mar-y20 width100 bleft pad-z20">
|
||||
<lwNotice @dangGao="goNoticeDetail" :list="noticeList" :backgroundColor="'#FFFFFF'"></lwNotice>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<!-- 客户可见 -->
|
||||
<view v-if="role==2 || role==1">
|
||||
<!-- 故障报修 -->
|
||||
<view class="home-fun-box">
|
||||
<view class="fun-title col3 fon28 disac bold">故障报修</view>
|
||||
<view class="disac mar-s30" style="height: 58rpx;">
|
||||
<view @tap="goFaultRepair(index)" class="disjcac fc width25" v-for="(item,index) in repairList" :key="index">
|
||||
<image :style="{width: [58,58,50][index]+'rpx',height:[53,56,58][index] + 'rpx'}" style="width: 58rpx;height: 53rpx;" :src="item.imgsrc" mode="widthFix"></image>
|
||||
<view class="fon24 col3 mar-s10">{{item.title}}</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<!-- 数据查询 -->
|
||||
<view class="home-fun-box" v-if="role==1">
|
||||
<view class="fun-title col3 fon28 disac bold">数据查询</view>
|
||||
<view class="disac mar-s30">
|
||||
<view @tap="dataQueryEv(index)" class="disjcac fc width25" v-for="(item,index) in dataQueryList" :key="index">
|
||||
<view class="posir" style="height: 56rpx;">
|
||||
<image :style="{width: [58,58,58][index]+'rpx',height:[46,56,50][index] + 'rpx'}" style="width: 58rpx;height: 53rpx;" :src="item.imgsrc" mode="widthFix"></image>
|
||||
<view class="engineer-num" v-if="item.num!=0">{{item.num}}</view>
|
||||
</view>
|
||||
<view class="fon24 col3 mar-s10">{{item.title}}</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<!-- 增值服务 -->
|
||||
<view class="home-fun-box">
|
||||
<view class="fun-title col3 fon28 disac bold">增值服务</view>
|
||||
<view class="disac mar-s30" style="height: 56rpx;">
|
||||
<view @tap="goIncrement(index)" class="disjcac fc width25" v-for="(item,index) in incrementList" :key="index">
|
||||
<image :style="{width: [57,52,58,51][index]+'rpx',height:[56,56,50,56][index] + 'rpx'}" style="width: 58rpx;height: 53rpx;" :src="item.imgsrc" mode="widthFix"></image>
|
||||
<view class="fon24 col3 mar-s10">{{item.title}}</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<!-- 工程师可见 -->
|
||||
<view v-if="role==4 || role==3">
|
||||
<!-- 项目维修 -->
|
||||
<view class="home-fun-box" v-if="role==4">
|
||||
<view class="fun-title col3 fon28 disac bold">项目维修</view>
|
||||
<view class="disac mar-s30">
|
||||
<view @tap="stayEv(item.title)" class="disjcac fc width25" v-for="(item,index) in projectRepairList" :key="index">
|
||||
<view class="posir" style="height: 58rpx;">
|
||||
<image :style="{width: [53,52,51][index]+'rpx',height:[58,58,58][index] + 'rpx'}" style="width: 58rpx;height: 53rpx;" :src="item.imgsrc" mode="widthFix"></image>
|
||||
<view class="engineer-num" v-if="item.num!=0">{{item.num}}</view>
|
||||
</view>
|
||||
<view class="fon24 col3 mar-s10">{{item.title}}</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view v-if="role==3">
|
||||
<!-- 待办工单 -->
|
||||
<view class="home-fun-box">
|
||||
<view class="fun-title col3 fon28 disac bold">待办工单</view>
|
||||
<view class="disac mar-s30">
|
||||
<view @tap="stayEv(item.title)" class="disjcac fc width25" v-for="(item,index) in stayWorkOrderList" :key="index">
|
||||
<view class="posir" style="height: 58rpx;">
|
||||
<image :style="{width: [53,48,51,58][index]+'rpx',height:[58,58,58,53][index] + 'rpx'}" style="width: 58rpx;height: 53rpx;" :src="item.imgsrc" mode="widthFix"></image>
|
||||
<view class="engineer-num" v-if="item.num!=0">{{item.num}}</view>
|
||||
</view>
|
||||
<view class="fon24 col3 mar-s10">{{item.title}}</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<!-- 待办事件 -->
|
||||
<view class="home-fun-box">
|
||||
<view class="fun-title col3 fon28 disac bold">待办事件</view>
|
||||
<view class="disac mar-s30">
|
||||
<view @tap="stayEv(item.title)" class="disjcac fc width25" v-for="(item,index) in stayEventList" :key="index">
|
||||
<view class="posir" style="height: 58rpx;">
|
||||
<image :style="{width: [58,58,50][index]+'rpx',height:[58,54,58][index] + 'rpx'}" style="width: 58rpx;height: 53rpx;" :src="item.imgsrc" mode="widthFix"></image>
|
||||
<view class="engineer-num" v-if="item.num!=0">{{item.num}}</view>
|
||||
</view>
|
||||
<view class="fon24 col3 mar-s10">{{item.title}}</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<!-- 工单数据 -->
|
||||
<view class="home-fun-box">
|
||||
<view class="fun-title col3 fon28 disac bold">工单数据</view>
|
||||
<view class="disac mar-s30">
|
||||
<view @tap="stayEv(item.id)" class="disjcac fc width25" v-for="(item,index) in workOrderList" :key="index">
|
||||
<view class="posir" style="height: 60rpx;">
|
||||
<image :style="{width: [59,56,58,58][index]+'rpx',height:[49,58,58,60][index] + 'rpx'}" style="width: 58rpx;height: 53rpx;" :src="item.imgsrc" mode="widthFix"></image>
|
||||
<view class="engineer-num" v-if="item.num!=0">{{item.num}}</view>
|
||||
</view>
|
||||
<view class="fon24 col3 mar-s10">{{item.title}}</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<!-- 数据查询 -->
|
||||
<view class="home-fun-box" v-if="role==3">
|
||||
<view class="fun-title col3 fon28 disac bold">数据查询</view>
|
||||
<view class="disac mar-s30">
|
||||
<view @tap="dataQueryEv(index)" class="disjcac fc width25" v-for="(item,index) in dataQueryList" :key="index">
|
||||
<view class="posir" style="height: 56rpx;">
|
||||
<image :style="{width: [58,58,58][index]+'rpx',height:[46,56,50][index] + 'rpx'}" style="width: 58rpx;height: 53rpx;" :src="item.imgsrc" mode="widthFix"></image>
|
||||
<view class="engineer-num" v-if="item.num!=0">{{item.num}}</view>
|
||||
</view>
|
||||
<view class="fon24 col3 mar-s10">{{item.title}}</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<!-- 结算情况 -->
|
||||
<view class="home-fun-box" v-if="role==4">
|
||||
<view class="fun-title col3 fon28 disac bold">结算情况</view>
|
||||
<view class="disac mar-s30">
|
||||
<view @tap="stayEv(item.title)" class="disjcac fc width25" v-for="(item,index) in settlementList" :key="index">
|
||||
<view class="posir" style="height: 58rpx;">
|
||||
<image :style="{width: [58,50,58][index]+'rpx',height:[54,58,58][index] + 'rpx'}" style="width: 58rpx;height: 53rpx;" :src="item.imgsrc" mode="widthFix"></image>
|
||||
<view class="engineer-num" v-if="item.num!=0">{{item.num}}</view>
|
||||
</view>
|
||||
<view class="fon24 col3 mar-s10">{{item.title}}</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<!-- 其他 -->
|
||||
<view class="home-fun-box">
|
||||
<view class="fun-title col3 fon28 disac bold">其他</view>
|
||||
<view class="disac mar-s30" style="height: 58rpx;">
|
||||
<view @tap="otherEv(index)" class="disjcac fc width25" v-for="(item,index) in otherList" :key="index">
|
||||
<image :style="{width: [58,49,58][index]+'rpx',height:[51,58,55][index] + 'rpx'}" style="width: 58rpx;height: 53rpx;" :src="item.imgsrc" mode="widthFix"></image>
|
||||
<view class="fon24 col3 mar-s10">{{item.title}}</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<!-- 解决方案 -->
|
||||
<view class="home-solution mar-x20 pad30">
|
||||
<view class="disjbac" @tap="goPlant(0)">
|
||||
<view>
|
||||
<view class="fon30 bold" style="color: #00a2e9;">畅想智能-场景化设计</view>
|
||||
<view class="fon34 bold col3 mar-s10">解决方案<text class="col9 mar-z10">Solution</text></view>
|
||||
</view>
|
||||
<image style="width: 50rpx;height: 50rpx;" src="/static/public/icon-home-solution.png" mode=""></image>
|
||||
</view>
|
||||
<view class="mar-s30">
|
||||
<scroll-view scroll-x>
|
||||
<view :class="solutionList.length == 4 ? 'disjbac' : 'disac'">
|
||||
<view @tap="goDetail(0,item.id)" class="posir flexs" v-for="(item,index) in solutionList" :key="index" style="width: 23%;height: 214rpx;" :style="{marginRight: solutionList.length != 4 ? '20rpx' : ''}">
|
||||
<image style="width: 100%;height: 214rpx;" class="radius10 " :src="item.imgsrc" mode="widthFix"></image>
|
||||
<view class="posia solution-title clips1">{{item.title}}</view>
|
||||
</view>
|
||||
</view>
|
||||
</scroll-view>
|
||||
</view>
|
||||
</view>
|
||||
<!-- 常见故障 -->
|
||||
<view class="bacf mar-zy20 pad-sx30 pad-zy10 radius10">
|
||||
<view class="fon34 bold col3" @tap="goPlant(1)">常见故障<text class="col9 mar-z10">Common faults</text></view>
|
||||
<view @tap="goDetail(1,item.id)" class="pad-sx20 bbot disjb" v-for="(item,index) in faultsList" :key="index">
|
||||
<view class="fon28 line-h38 disjb fc" style="min-height: 160rpx;">
|
||||
<view>
|
||||
<view class="col3 clips1">{{item.title}}</view>
|
||||
<view class="fon22 col6 clips3 mar-sx10">{{item.content}}</view>
|
||||
</view>
|
||||
<view class="col9">{{item.views}}人看过</view>
|
||||
</view>
|
||||
<image class="flexs mar-z20" :src="item.imgsrc" style="width: 280rpx;height: 160rpx;" mode="aspectFill" lazy-load></image>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</container-subgroup-two>
|
||||
<!-- 底部tab -->
|
||||
<foot-tab></foot-tab>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import statusNavSlot from '@/components/status-navs/status-nav-slot.vue';
|
||||
// 暂无更多组件
|
||||
import pitera from '@/components/nothing/pitera.vue';
|
||||
// 公告
|
||||
import lwNotice from '@/components/lw-notice/lw-notice.vue';
|
||||
import footTabOne from '@/components/foot-tabs/foot-tab-one.vue';
|
||||
import containerSubgroupTwo from '@/components/containers/container-subgroup-two.vue';
|
||||
export default {
|
||||
components:{
|
||||
pitera,
|
||||
statusNavSlot,
|
||||
lwNotice,
|
||||
'foot-tab' :footTabOne,
|
||||
containerSubgroupTwo
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
role: 4, // 1:业务员 2:表示客户 3:表示客服 4:表示工程师
|
||||
statusHeight: uni.getSystemInfoSync().statusBarHeight + 50,
|
||||
messageNumber: 16 ,// 消息数量
|
||||
noticeList:['2021年11月06日公司团建,维修服务暂停一天服务暂停一天服务暂停一天。','51akslfj;dkpiojasdjf;j1ij'],//公告
|
||||
// 故障报修
|
||||
repairList:[
|
||||
{imgsrc:'/static/public/icon-home-repair.png',title:'报修'},
|
||||
{imgsrc:'/static/public/icon-home-dealt.png',title:'待办'},
|
||||
{imgsrc:'/static/public/icon-home-urge.png',title:'催一催'},
|
||||
],
|
||||
// 增值服务
|
||||
incrementList:[
|
||||
{imgsrc:'/static/public/icon-home-patrol.png',title:'巡检'},
|
||||
{imgsrc:'/static/public/icon-home-maintain.png',title:'保养'},
|
||||
{imgsrc:'/static/public/icon-home-movingScreen.png',title:'移屏'},
|
||||
{imgsrc:'/static/public/icon-home-screeRemoval.png',title:'拆屏'},
|
||||
],
|
||||
// 其他
|
||||
otherList:[
|
||||
{imgsrc:'/static/public/icon-home-largeScreen.png',title:'故障统计'},
|
||||
{imgsrc:'/static/public/icon-home-reportForm.png',title:'数据看板'},
|
||||
{imgsrc:'/static/public/icon-home-product.png',title:'新产品'},
|
||||
],
|
||||
// 解决方案
|
||||
solutionList:[
|
||||
{imgsrc:'/static/deleteImg/flying-img01.png',title:'控制室解决方案'},
|
||||
{imgsrc:'/static/deleteImg/flying-img02.png',title:'户外屏解决方案'},
|
||||
{imgsrc:'/static/deleteImg/flying-img03.png',title:'会议室解决方案'},
|
||||
{imgsrc:'/static/deleteImg/flying-img04.png',title:'实体店解决方案'},
|
||||
],
|
||||
// 项目维修
|
||||
projectRepairList:[
|
||||
{imgsrc:'/static/public/icon-home-staySingle.png',title:'待接单',num:0},
|
||||
{imgsrc:'/static/public/icon-home-stayImplement.png',title:'待执行',num:99},
|
||||
{imgsrc:'/static/public/icon-home-repairIng.png',title:'维修中',num:6},
|
||||
],
|
||||
// 工单数据
|
||||
workOrderList:[
|
||||
{imgsrc:'/static/public/icon-home-abnormalSingle.png',title:'异常单',num:0},
|
||||
{imgsrc:'/static/public/icon-home-overdueSingle.png',title:'逾期单',num:0},
|
||||
// {imgsrc:'/static/public/icon-home-overtime.png',title:'超时单 ',num:0},
|
||||
{imgsrc:'/static/public/icon-home-workOrderPool.png',title:'工单池',num:6,},
|
||||
],
|
||||
// 结算情况
|
||||
settlementList:[
|
||||
{imgsrc:'/static/public/icon-home-stayCollection.png',title:'待收款',num:0},
|
||||
{imgsrc:'/static/public/icon-home-received.png',title:'已收款',num:6},
|
||||
{imgsrc:'/static/public/icon-home-commission.png',title:'佣金',num:0},
|
||||
],
|
||||
// 待办工单
|
||||
stayWorkOrderList:[
|
||||
{imgsrc:'/static/public/icon-home-stayImplement.png',title:'待受理',num:0},
|
||||
{imgsrc:'/static/public/icon-home-stayAssign.png',title:'待指派',num:6},
|
||||
{imgsrc:'/static/public/icon-home-stayRepair.png',title:'待维修',num:6},
|
||||
{imgsrc:'/static/public/icon-home-returnVisit.png',title:'待回访',num:0},
|
||||
],
|
||||
// 待办事件
|
||||
stayEventList:[
|
||||
{imgsrc:'/static/public/icon-home-stayBatch.png',title:'待审批',num:0},
|
||||
{imgsrc:'/static/public/icon-home-stayCollection.png',title:'待收款',num:0},
|
||||
{imgsrc:'/static/public/icon-home-received.png',title:'已收款',num:0},
|
||||
],
|
||||
// 数据查询
|
||||
dataQueryList:[
|
||||
{imgsrc:'/static/public/icon-home-checkCustomer.png',title:'查客户',num:0},
|
||||
{imgsrc:'/static/public/icon-home-checkProject.png',title:'查项目',num:0},
|
||||
{imgsrc:'/static/public/icon-home-checkSparePart.png',title:'查备件',num:0},
|
||||
],
|
||||
// 常见故障
|
||||
faultsList:[],
|
||||
}
|
||||
},
|
||||
onLoad(options) {
|
||||
// 获取当前页面url
|
||||
this.$toolAll.tools.obtainUrl();
|
||||
// 调用解决方案类型事件
|
||||
this.getPlanType();
|
||||
// 调用增值服务类型
|
||||
this.getIncrementServiceType();
|
||||
// 调用获取常见故障列表事件
|
||||
this.getFaultsList();
|
||||
//调用工单类型
|
||||
this.getWorkOrderType()
|
||||
},
|
||||
methods: {
|
||||
// 工单类型
|
||||
getWorkOrderType(){
|
||||
this.$requst.get('/universal/api.order/order_type', ).then(res => {
|
||||
if (res.code == 1) {
|
||||
|
||||
for (var i = 0; i < res.data.length; i++) {
|
||||
for (var k = 0; k < this.workOrderList.length; k++) {
|
||||
if(res.data[i].name== this.workOrderList[k].title){
|
||||
this.$set(this.workOrderList,k,{...this.workOrderList[k],id:res.data[i].id})
|
||||
}
|
||||
}
|
||||
}
|
||||
} else {
|
||||
|
||||
}
|
||||
})
|
||||
},
|
||||
goNoticeDetail(e){
|
||||
console.log(e);
|
||||
},
|
||||
// 前往增值服务页面
|
||||
goIncrement(index) {
|
||||
uni.navigateTo({
|
||||
url:`/pages/appreciationServe/appreciationServe?index=${index}`
|
||||
})
|
||||
},
|
||||
// 待办事件
|
||||
stayEv(title) {
|
||||
let url = '';
|
||||
if(title=='佣金') {
|
||||
url = `/pagesB/my-account/my-account?index=1`
|
||||
} else {
|
||||
url = `/pages/workOrder/workOrderLlsit?status=${title}`
|
||||
}
|
||||
uni.navigateTo({
|
||||
url:url
|
||||
})
|
||||
},
|
||||
|
||||
// 查询增值服务类型
|
||||
getIncrementServiceType(){
|
||||
this.$requst.get('/universal/api.vas/vas_type').then(res=>{
|
||||
if(res.code) {
|
||||
|
||||
}
|
||||
})
|
||||
},
|
||||
// 数据查询事件
|
||||
dataQueryEv(index){
|
||||
uni.navigateTo({
|
||||
url:`/pages/dataQuery/queryFunction?index=${index}`
|
||||
})
|
||||
},
|
||||
// 查询解决方案类型
|
||||
getPlanType(){
|
||||
this.$requst.post('/universal/api.solution/solution_type').then(res=>{
|
||||
if(res.code) {
|
||||
res.data.forEach(item=>{
|
||||
let obj = {
|
||||
id:item.id,
|
||||
title:item.name,
|
||||
imgsrc: getApp().globalData.hostapi + '/' + item.cover_img,
|
||||
}
|
||||
this.solutionList.push(obj);
|
||||
})
|
||||
console.log(this.solutionList,340);
|
||||
}
|
||||
})
|
||||
},
|
||||
// 故障报修分类下的点击事件
|
||||
goFaultRepair(index){
|
||||
if(index!=2) {
|
||||
let faultRepairUrls = [
|
||||
'/pages/repairsPage/repairsPage',
|
||||
'/pages/workOrder/workOrderLlsit',
|
||||
];
|
||||
uni.navigateTo({
|
||||
url:faultRepairUrls[index]
|
||||
})
|
||||
} else {
|
||||
this.$toolAll.tools.showToast('已催单成功')
|
||||
}
|
||||
},
|
||||
// 获取常见故障推荐列表
|
||||
getFaultsList(){
|
||||
this.$requst.post('/universal/api.question/question').then(res=>{
|
||||
if(res.code) {
|
||||
res.data.forEach(item=>{
|
||||
let obj = {
|
||||
id:item.id,
|
||||
title:item.title,
|
||||
imgsrc: getApp().globalData.hostapi + '/' + item.cover_img,
|
||||
content:item.summary,
|
||||
views:item.reading
|
||||
}
|
||||
this.faultsList.push(obj);
|
||||
})
|
||||
}
|
||||
})
|
||||
},
|
||||
// 其他分类下的点击事件
|
||||
otherEv(index) {
|
||||
let otherUrls = [
|
||||
'/pages/faultStatistics/faultStatistics',
|
||||
'/pages/faultStatistics/projectOverview',
|
||||
'/pagesB/new-product/new-product',
|
||||
];
|
||||
uni.navigateTo({
|
||||
url:otherUrls[index]
|
||||
})
|
||||
},
|
||||
// 前往解决方案、常见故障列表
|
||||
goPlant(index){
|
||||
uni.navigateTo({
|
||||
url:`/pagesB/plan-fault/plan-fault?index=${index}`
|
||||
})
|
||||
},
|
||||
// 前往解决方案详情、常见故障详情
|
||||
goDetail(index,id) {
|
||||
uni.navigateTo({
|
||||
url:`/pagesB/plan-fault-product-detail/detail?index=${index}&id=${id}`
|
||||
})
|
||||
},
|
||||
// 前往消息列表页面
|
||||
goMessage(){
|
||||
uni.navigateTo({
|
||||
url:`/pagesB/message-center/message-center`
|
||||
})
|
||||
},
|
||||
// 拨打电话事件
|
||||
callEv(){
|
||||
this.$toolAll.tools.countCustomer('15616330510');
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style>
|
||||
page{background-color: #f7f7f7;}
|
||||
</style>
|
||||
=======
|
||||
<template>
|
||||
<view class="pad-x50">
|
||||
<status-nav-slot>
|
||||
|
@ -527,7 +57,7 @@
|
|||
<!-- 故障报修 -->
|
||||
<view class="home-fun-box">
|
||||
<view class="fun-title col3 fon28 disac bold">故障报修</view>
|
||||
<view class="disac mar-s30" style="height: 58rpx;">
|
||||
<view class="disac mar-s60 mar-x20" style="height: 58rpx;">
|
||||
<view @tap="goFaultRepair(index)" class="disjcac fc width25" v-for="(item,index) in repairList" :key="index">
|
||||
<image :style="{width: [58,58,50][index]+'rpx',height:[53,56,58][index] + 'rpx'}" style="width: 58rpx;height: 53rpx;" :src="item.imgsrc" mode="widthFix"></image>
|
||||
<view class="fon24 col3 mar-s10">{{item.title}}</view>
|
||||
|
@ -537,7 +67,7 @@
|
|||
<!-- 数据查询 -->
|
||||
<view class="home-fun-box" v-if="role==1">
|
||||
<view class="fun-title col3 fon28 disac bold">数据查询</view>
|
||||
<view class="disac mar-s30">
|
||||
<view class="disac mar-s40">
|
||||
<view @tap="dataQueryEv(index)" class="disjcac fc width25" v-for="(item,index) in dataQueryList" :key="index">
|
||||
<view class="posir" style="height: 56rpx;">
|
||||
<image :style="{width: [58,58,58][index]+'rpx',height:[46,56,50][index] + 'rpx'}" style="width: 58rpx;height: 53rpx;" :src="item.imgsrc" mode="widthFix"></image>
|
||||
|
@ -550,7 +80,7 @@
|
|||
<!-- 增值服务 -->
|
||||
<view class="home-fun-box">
|
||||
<view class="fun-title col3 fon28 disac bold">增值服务</view>
|
||||
<view class="disac mar-s30" style="height: 56rpx;">
|
||||
<view class="disac mar-s60 mar-x20" style="height: 56rpx;">
|
||||
<view @tap="goIncrement(index)" class="disjcac fc width25" v-for="(item,index) in incrementList" :key="index">
|
||||
<image :style="{width: [57,52,58,51][index]+'rpx',height:[56,56,50,56][index] + 'rpx'}" style="width: 58rpx;height: 53rpx;" :src="item.imgsrc" mode="widthFix"></image>
|
||||
<view class="fon24 col3 mar-s10">{{item.title}}</view>
|
||||
|
@ -563,7 +93,7 @@
|
|||
<!-- 项目维修 -->
|
||||
<view class="home-fun-box" v-if="role==4">
|
||||
<view class="fun-title col3 fon28 disac bold">项目维修</view>
|
||||
<view class="disac mar-s30">
|
||||
<view class="disac mar-s40">
|
||||
<view @tap="stayEv(item.title)" class="disjcac fc width25" v-for="(item,index) in projectRepairList" :key="index">
|
||||
<view class="posir" style="height: 58rpx;">
|
||||
<image :style="{width: [53,52,51][index]+'rpx',height:[58,58,58][index] + 'rpx'}" style="width: 58rpx;height: 53rpx;" :src="item.imgsrc" mode="widthFix"></image>
|
||||
|
@ -577,7 +107,7 @@
|
|||
<!-- 待办工单 -->
|
||||
<view class="home-fun-box">
|
||||
<view class="fun-title col3 fon28 disac bold">待办工单</view>
|
||||
<view class="disac mar-s30">
|
||||
<view class="disac mar-s40">
|
||||
<view @tap="stayEv(item.title)" class="disjcac fc width25" v-for="(item,index) in stayWorkOrderList" :key="index">
|
||||
<view class="posir" style="height: 58rpx;">
|
||||
<image :style="{width: [53,48,51,58][index]+'rpx',height:[58,58,58,53][index] + 'rpx'}" style="width: 58rpx;height: 53rpx;" :src="item.imgsrc" mode="widthFix"></image>
|
||||
|
@ -590,7 +120,7 @@
|
|||
<!-- 待办事件 -->
|
||||
<view class="home-fun-box">
|
||||
<view class="fun-title col3 fon28 disac bold">待办事件</view>
|
||||
<view class="disac mar-s30">
|
||||
<view class="disac mar-s40">
|
||||
<view @tap="stayEv(item.title)" class="disjcac fc width25" v-for="(item,index) in stayEventList" :key="index">
|
||||
<view class="posir" style="height: 58rpx;">
|
||||
<image :style="{width: [58,58,50][index]+'rpx',height:[58,54,58][index] + 'rpx'}" style="width: 58rpx;height: 53rpx;" :src="item.imgsrc" mode="widthFix"></image>
|
||||
|
@ -604,7 +134,7 @@
|
|||
<!-- 工单数据 -->
|
||||
<view class="home-fun-box">
|
||||
<view class="fun-title col3 fon28 disac bold">工单数据</view>
|
||||
<view class="disac mar-s30">
|
||||
<view class="disac mar-s40">
|
||||
<view @tap="stayEv(item.title)" class="disjcac fc width25" v-for="(item,index) in workOrderList" :key="index">
|
||||
<view class="posir" style="height: 60rpx;">
|
||||
<image :style="{width: [59,56,58,58][index]+'rpx',height:[49,58,58,60][index] + 'rpx'}" style="width: 58rpx;height: 53rpx;" :src="item.imgsrc" mode="widthFix"></image>
|
||||
|
@ -617,7 +147,7 @@
|
|||
<!-- 数据查询 -->
|
||||
<view class="home-fun-box" v-if="role==3">
|
||||
<view class="fun-title col3 fon28 disac bold">数据查询</view>
|
||||
<view class="disac mar-s30">
|
||||
<view class="disac mar-s40">
|
||||
<view @tap="dataQueryEv(index)" class="disjcac fc width25" v-for="(item,index) in dataQueryList" :key="index">
|
||||
<view class="posir" style="height: 56rpx;">
|
||||
<image :style="{width: [58,58,58][index]+'rpx',height:[46,56,50][index] + 'rpx'}" style="width: 58rpx;height: 53rpx;" :src="item.imgsrc" mode="widthFix"></image>
|
||||
|
@ -630,7 +160,7 @@
|
|||
<!-- 结算情况 -->
|
||||
<view class="home-fun-box" v-if="role==4">
|
||||
<view class="fun-title col3 fon28 disac bold">结算情况</view>
|
||||
<view class="disac mar-s30">
|
||||
<view class="disac mar-s40">
|
||||
<view @tap="stayEv(item.title)" class="disjcac fc width25" v-for="(item,index) in settlementList" :key="index">
|
||||
<view class="posir" style="height: 58rpx;">
|
||||
<image :style="{width: [58,50,58][index]+'rpx',height:[54,58,58][index] + 'rpx'}" style="width: 58rpx;height: 53rpx;" :src="item.imgsrc" mode="widthFix"></image>
|
||||
|
@ -644,7 +174,7 @@
|
|||
<!-- 其他 -->
|
||||
<view class="home-fun-box">
|
||||
<view class="fun-title col3 fon28 disac bold">其他</view>
|
||||
<view class="disac mar-s30" style="height: 58rpx;">
|
||||
<view class="disac mar-s60 mar-x20" style="height: 58rpx;">
|
||||
<view @tap="otherEv(index)" class="disjcac fc width25" v-for="(item,index) in otherList" :key="index">
|
||||
<image :style="{width: [58,49,58][index]+'rpx',height:[51,58,55][index] + 'rpx'}" style="width: 58rpx;height: 53rpx;" :src="item.imgsrc" mode="widthFix"></image>
|
||||
<view class="fon24 col3 mar-s10">{{item.title}}</view>
|
||||
|
@ -918,4 +448,3 @@
|
|||
<style>
|
||||
page{background-color: #f7f7f7;}
|
||||
</style>
|
||||
>>>>>>> 6ceeddde3522c33ced86c4a63a2e9d96e5c2e383
|
||||
|
|
|
@ -666,7 +666,7 @@
|
|||
}
|
||||
|
||||
.remark .textarea {
|
||||
|
||||
font-size: 28rpx;
|
||||
width: 100%;
|
||||
box-sizing: border-box;
|
||||
background-color: #f5f5f5;
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
<view class="electronic-head disjcac fc">
|
||||
<image :src="userImg" mode="widthFix" lazy-load style="width: 347rpx;height: 85rpx;"></image>
|
||||
<view class="colf fon52 mar-sx30" style="letter-spacing: 6rpx;">ID:{{userId}}</view>
|
||||
<image class="mar-s20" src="/static/deleteImg/flying-img06.png" mode="aspectFill" style="width: 258rpx;height: 258rpx;border-radius: 100%;margin-bottom: -130rpx;border: 6rpx solid #edf1ff;background-color: #edf1ff;"></image>
|
||||
<image class="mar-s10" src="/static/deleteImg/flying-img06.png" mode="aspectFill" style="width: 258rpx;height: 258rpx;border-radius: 100%;margin-bottom: -130rpx;border: 6rpx solid #edf1ff;background-color: #edf1ff;"></image>
|
||||
</view>
|
||||
<view class="pad-s140 mar-s30 disjcac fc">
|
||||
<view class="col3 fon68">{{userName}}</view>
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
<view>
|
||||
<status-nav navBarTitle="我要评价" returnColor="#c2c2c2"></status-nav>
|
||||
<container-subgroup>
|
||||
<view slot="content" style="margin: 0 -30rpx;">
|
||||
<view slot="content" style="margin: -6rpx -30rpx 0 -30rpx;">
|
||||
<view class="bacf fon28 pad-sx30 pad-zy40">
|
||||
<view class=" bold disjbac fw line-h50">
|
||||
<view class="mar-y20">{{project_name}}</view>
|
||||
|
|
|
@ -3,7 +3,15 @@
|
|||
<status-nav navBarTitle="我的账户" returnColor="#c2c2c2"></status-nav>
|
||||
<container-subgroup>
|
||||
<view slot="content" style="margin: -30rpx;">
|
||||
<!-- #ifdef APP-PLUS -->
|
||||
<view class="disja tcenter bbot fon32 position-sticky pad-s30" :style="{top: newTop +'px'}" style="background-color: #F5F5F5;">
|
||||
<!-- #endif -->
|
||||
<!-- #ifdef H5 -->
|
||||
<view class="disja tcenter bbot fon32 position-sticky pad-s30" style="background-color: #F5F5F5;">
|
||||
<!-- #endif -->
|
||||
<!-- #ifdef MP-WEIXIN -->
|
||||
<view class="disja tcenter bbot fon32 position-sticky pad-s30" :style="{top: newTop +'px'}" style="background-color: #F5F5F5;">
|
||||
<!-- #endif -->
|
||||
<view @tap="switchStatus(true)" class="width50 pad-x30" :class="current ? 'account-active' : ''">我的账户</view>
|
||||
<view @tap="switchStatus(false)" class="width50 pad-x30" :class="!current ? 'account-active' : ''">未结算工单</view>
|
||||
</view>
|
||||
|
@ -89,6 +97,7 @@
|
|||
export default {
|
||||
data() {
|
||||
return {
|
||||
newTop: uni.getSystemInfoSync().statusBarHeight + 40,
|
||||
current:true,
|
||||
detailedList:[],
|
||||
capitalDetail:{
|
||||
|
|
|
@ -6,13 +6,13 @@
|
|||
<view class="bbot disac pad-sx30 pad-zy30">
|
||||
<view class="mar-y30 flexs">人员状态 <text style="color: red;">*</text></view>
|
||||
<view class="disac">
|
||||
<view @tap="chooseStatus(index,0)" v-for="(item,index) in personnelStatus" :key="index" class="service-range-status mar-y10" :class="statusNum==index ? 'service-range-activeStatus' : ''">{{item}}</view>
|
||||
<view @tap="chooseStatus(index,0)" v-for="(item,index) in personnelStatus" :key="index" class="service-range-status mar-y10 pad-zy20 pad-sx6" :class="statusNum==index ? 'service-range-activeStatus' : ''">{{item}}</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="bbot disac pad-sx30 pad-zy30">
|
||||
<view id="timeBox" class="mar-y30 flexs">工作时段 <text style="color: red;">*</text></view>
|
||||
<view class="disac">
|
||||
<view @tap="chooseStatus(index,1)" v-for="(item,index) in workingHours" :key="index" class="service-range-status mar-y10" :class="hoursNum==index ? 'service-range-activeStatus' : ''">{{item}}</view>
|
||||
<view @tap="chooseStatus(index,1)" v-for="(item,index) in workingHours" :key="index" class="service-range-status mar-y10" style="padding: 6rpx 46rpx;" :class="hoursNum==index ? 'service-range-activeStatus' : ''">{{item}}</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="bbot disac pad-sx30 pad-zy30">
|
||||
|
@ -31,7 +31,7 @@
|
|||
<view class="mar-y30 flexs">服务范围 <text style="color: red;">*</text></view>
|
||||
<scroll-view scroll-x style="width: 76%;">
|
||||
<view class="disac">
|
||||
<view @tap="chooseStatus(index,2)" v-for="(item,index) in serviceRange" :key="index" class="service-range-status mar-y10 flexs" :class="rangeNum==index ? 'service-range-activeStatus' : ''">{{item}}</view>
|
||||
<view @tap="chooseStatus(index,2)" v-for="(item,index) in serviceRange" :key="index" class="service-range-status mar-y10 flexs pad-zy30 pad-sx6" :class="rangeNum==index ? 'service-range-activeStatus' : ''">{{item}}</view>
|
||||
</view>
|
||||
</scroll-view>
|
||||
</view>
|
||||
|
|
|
@ -26,31 +26,31 @@
|
|||
<view class="bacf pad30 disjbac mar-s20 bbot">
|
||||
<view>上门服务条款</view>
|
||||
<view class="disac col9">
|
||||
V3.0<i class="icon icon-next col9 mar-z20" style="font-size: 26rpx;"></i>
|
||||
V3.0<i class="icon icon-next col9 mar-z10" style="font-size: 26rpx;"></i>
|
||||
</view>
|
||||
</view>
|
||||
<view class="bacf pad30 disjbac bbot">
|
||||
<view>用户服务协议</view>
|
||||
<view class="disac col9">
|
||||
V1.1<i class="icon icon-next col9 mar-z20" style="font-size: 26rpx;"></i>
|
||||
V1.1<i class="icon icon-next col9 mar-z10" style="font-size: 26rpx;"></i>
|
||||
</view>
|
||||
</view>
|
||||
<view class="bacf pad30 disjbac bbot">
|
||||
<view>飞猴云服务隐私政策</view>
|
||||
<view class="disac col9">
|
||||
V1.2<i class="icon icon-next col9 mar-z20" style="font-size: 26rpx;"></i>
|
||||
V1.2<i class="icon icon-next col9 mar-z10" style="font-size: 26rpx;"></i>
|
||||
</view>
|
||||
</view>
|
||||
<view class="bacf pad30 disjbac bbot">
|
||||
<view>技术服务合作协议</view>
|
||||
<view class="disac col9">
|
||||
V1.1<i class="icon icon-next col9 mar-z20" style="font-size: 26rpx;"></i>
|
||||
V1.1<i class="icon icon-next col9 mar-z10" style="font-size: 26rpx;"></i>
|
||||
</view>
|
||||
</view>
|
||||
<view class="bacf pad30 disjbac bbot">
|
||||
<view>关于飞猴云服务</view>
|
||||
<view class="disac col9">
|
||||
V1.1<i class="icon icon-next col9 mar-z20" style="font-size: 26rpx;"></i>
|
||||
V1.1<i class="icon icon-next col9 mar-z10" style="font-size: 26rpx;"></i>
|
||||
</view>
|
||||
</view>
|
||||
<!-- #ifdef APP-PLUS -->
|
||||
|
|
Loading…
Reference in New Issue