diff --git a/pages/inspection/questDetails.vue b/pages/inspection/questDetails.vue index 8ec578c..79787de 100644 --- a/pages/inspection/questDetails.vue +++ b/pages/inspection/questDetails.vue @@ -4,35 +4,88 @@ 基本信息 单位名称: - 张三 + {{ detailForm.deptName }} - 巡检项目名称: - 张三 - - - 项目地址: - 张三 + 巡检内容: + {{ detailForm.taskContent }} 巡检配置 巡检内容: - 张三 + {{ detailForm.taskContent }} 任务开始时间: - 张三 + {{ detailForm.startTime }} - + 预约上门时间: - 张三 + {{ detailForm.reservationTime }} + 巡检任务 - + + + + 实验室楼层:{{ item.floorName }} + + + 房间名称:{{ v.deptName }} + + + {{ s.checkContent }} + {{ s.craft }} + + 巡检周期: + + {{ periodName(s.period) }} + + + + 状态: + + {{ s.status == '0' ? '正常' : '异常' }} + + + + 现场照片: + + + + + + 签字: + + {{ s.signUrl }} + + + + 备注: + + {{ s.remark }} + + + + 价格: + + {{ s.price }} + + + + 是否维修: + + {{ s.status == '0' ? '否' : '是' }} + + + + + + @@ -70,7 +123,19 @@ export default { this.detailForm = res.data } }) - } + }, + // 巡检周期 + periodName(value) { + if (value == 1) { + return '月' + } + if (value == 2) { + return '季度' + } + if (value == 3) { + return '半年' + } + }, } } @@ -120,6 +185,10 @@ export default { // text-align: left; text-align: justify; font-family: SourceHanSansSC-regular; + image{ + width: 100rpx; + height: 100rpx; + } } } } @@ -137,5 +206,88 @@ export default { width: 48%; } } + + .n-box { + border: 1px solid rgba(239, 239, 239, 1); + padding: 32rpx 54rpx 0; + margin-top: 24rpx; + margin-bottom: 24rpx; + position: relative; + + .right-tag { + position: absolute; + right: 0; + top: 0; + } + + .left-tag { + position: absolute; + left: 0; + top: 0; + padding-left: 10rpx; + padding-right: 10rpx; + } + + .n-box-title { + color: rgba(0, 0, 0, 1); + font-size: 28rpx; + text-align: left; + } + + .n-box-info { + line-height: 32rpx; + color: rgba(154, 154, 154, 1); + font-size: 24rpx; + padding-top: 12rpx; + padding-bottom: 12rpx; + } + + .info_item { + width: 100%; + display: flex; + flex-direction: row; + margin: 0rpx 0 0; + + .item_left_txt { + color: rgba(108, 108, 108, 1); + font-size: 28rpx; + text-align: left; + width: 170rpx; + margin-right: 20rpx; + line-height: 60rpx; + } + + .item_right_txt { + flex: 1; + max-width: calc(100% - 220rpx); + color: rgba(0, 0, 0, 1); + font-size: 28rpx; + // text-align: left; + text-align: justify; + font-family: SourceHanSansSC-regular; + + /deep/.u-radio-group { + flex-wrap: nowrap; + padding-right: 48rpx; + } + + .btn { + width: 260rpx; + height: 60rpx; + line-height: 60rpx; + border-radius: 8rpx; + background-color: rgba(255, 255, 255, 1); + color: rgba(58, 98, 215, 1); + font-size: 28rpx; + text-align: center; + border: 2rpx dashed rgba(58, 98, 215, 1); + } + } + } + } + + /deep/.u-collapse { + padding: 0 16rpx; + } } \ No newline at end of file diff --git a/utils/website.js b/utils/website.js index c890557..fbcc2fb 100644 --- a/utils/website.js +++ b/utils/website.js @@ -3,8 +3,8 @@ */ export default { // baseUrl: 'http://124.221.142.15:8088/lab', - // baseUrl:'http://192.168.0.111:80', - baseUrl:'http://192.168.0.109:80', + baseUrl:'http://192.168.0.111:80', //李庆坤 + // baseUrl:'http://192.168.0.109:80', //李涛 indexTitle: "科研医疗建筑运维平台", clientId: "saber", // 客户端id clientSecret: "saber_secret", // 客户端密钥