flx:提交盲板作业的时间

This commit is contained in:
X_Rian 2024-06-13 20:37:00 +08:00
parent 247b5ded8f
commit f69bb50fc2
2 changed files with 458 additions and 400 deletions

View File

@ -38,11 +38,11 @@ if (process.env.NODE_ENV === 'development') {
console.log('开发环境')
// Vue.prototype.url_config = 'http://47.93.215.234:9809/' // 鞍钢正式地址(弃用)
// Vue.prototype.url_config = 'http://42.180.188.17:9809/' // 鞍钢正式地址
// Vue.prototype.url_config = 'http://42.180.188.17:11211/' // 鞍钢测试地址
Vue.prototype.url_config = 'http://42.180.188.17:11211/' // 鞍钢测试地址
// Vue.prototype.url_config = 'http://182.90.224.237:51234/' //雄哥内网穿透地址
// Vue.prototype.url_config = 'http://jxj.zhgdyun.com:61212/' //杰哥内网穿透地址
// Vue.prototype.url_config = ' http://192.168.34.221:28888/' //郭圣雄本地
Vue.prototype.url_config = ' http://192.168.34.221:9111/' //郭圣雄本地
// Vue.prototype.url_config = ' http://192.168.34.221:9111/' //郭圣雄本地
// Vue.prototype.url_config = 'http://182.90.224.237:51234/' //郭圣雄本地
// Vue.prototype.url_config = 'http://192.168.34.155:19111/' //彭洁本地
// Vue.prototype.work_url = 'http://47.93.215.234:19997' // 工作流线上地址(弃用)

View File

@ -35,7 +35,8 @@
作业人<text class="detail-data">{{detailData.jobPersonName}}</text>
</view>
<view class="list-info">
实际作业开始时间<text class="detail-data">{{detailData.actualJobBeginTime}}</text>
作业实施时间<text class="detail-data"
v-if="detailData.workExecutionBeginTime && detailData.workExecutionEndTime">{{detailData.workExecutionBeginTime+'-'+detailData.workExecutionEndTime}}</text>
</view>
<!-- <view class="list-info">
设备管道名称<text class="detail-data">{{detailData.devPipelineName}}</text>
@ -118,29 +119,55 @@
<scroll-view :scroll-x="true" class="teble-list">
<view class="teble-item">
<view class="table-item-inner">
<view class="item-col" style="display: flex;justify-content: center;align-items: flex-end;line-height: 20rpx;font-weight: bold;background-color: lightgray;">
<view class="item-col"
style="display: flex;justify-content: center;align-items: flex-end;line-height: 20rpx;font-weight: bold;background-color: lightgray;">
<text>设备管道</text>
</view>
<view class="item-col" style="width: 665rpx;font-weight: bold;background-color: lightgray;">管道参数</view>
<view class="item-col" style="margin-right: 5rpx;width: 665rpx;font-weight: bold;background-color: lightgray;">盲板参数</view>
<view class="item-col"
style="width: 665rpx;font-weight: bold;background-color: lightgray;">管道参数
</view>
<view class="item-col"
style="margin-right: 5rpx;width: 665rpx;font-weight: bold;background-color: lightgray;">
盲板参数</view>
</view>
<view class="table-item-inner">
<view class="item-col" style="margin-top: 0;display: flex;justify-content: center;align-items: flex-start;line-height: 20rpx;font-weight: bold;background-color: lightgray;">名称</view>
<view class="item-col" style="font-weight: bold;background-color: lightgray;">介质</view>
<view class="item-col" style="font-weight: bold;background-color: lightgray;">温度</view>
<view class="item-col" style="font-weight: bold;background-color: lightgray;">压力</view>
<view class="item-col" style="font-weight: bold;background-color: lightgray;">材质</view>
<view class="item-col" style="font-weight: bold;background-color: lightgray;">规格</view>
<view class="item-col" style="margin-right: 5rpx;font-weight: bold;background-color: lightgray;">编号</view>
<view class="item-col"
style="margin-top: 0;display: flex;justify-content: center;align-items: flex-start;line-height: 20rpx;font-weight: bold;background-color: lightgray;">
名称</view>
<view class="item-col" style="font-weight: bold;background-color: lightgray;">介质
</view>
<view class="item-col" style="font-weight: bold;background-color: lightgray;">温度
</view>
<view class="item-col" style="font-weight: bold;background-color: lightgray;">压力
</view>
<view class="item-col" style="font-weight: bold;background-color: lightgray;">材质
</view>
<view class="item-col" style="font-weight: bold;background-color: lightgray;">规格
</view>
<view class="item-col"
style="margin-right: 5rpx;font-weight: bold;background-color: lightgray;">编号
</view>
</view>
<view class="table-item-inner" style="padding-bottom: 5rpx;">
<view class="item-col" style="">{{detailData.devPipelineName||'--'}}</view>
<view class="item-col" style="">{{JSON.parse(detailData.pipelineParameter)[0]?JSON.parse(detailData.pipelineParameter)[0].materialQuality||'--':'--'}}</view>
<view class="item-col" style="">{{JSON.parse(detailData.pipelineParameter)[0]?JSON.parse(detailData.pipelineParameter)[0].specifications||'--':'--'}}</view>
<view class="item-col" style="">{{JSON.parse(detailData.pipelineParameter)[0]?JSON.parse(detailData.pipelineParameter)[0].number||'--':'--'}}</view>
<view class="item-col" style="">{{JSON.parse(detailData.blindPlateParameter)[0]?JSON.parse(detailData.blindPlateParameter)[0].medium||'--':'--'}}</view>
<view class="item-col" style="">{{JSON.parse(detailData.blindPlateParameter)[0]?JSON.parse(detailData.blindPlateParameter)[0].temperature||'--':'--'}}</view>
<view class="item-col" style="margin-right: 5rpx;">{{JSON.parse(detailData.blindPlateParameter)[0]?JSON.parse(detailData.blindPlateParameter)[0].pressure||'--':'--'}}</view>
<view class="item-col" style="">
{{JSON.parse(detailData.pipelineParameter)[0]?JSON.parse(detailData.pipelineParameter)[0].materialQuality||'--':'--'}}
</view>
<view class="item-col" style="">
{{JSON.parse(detailData.pipelineParameter)[0]?JSON.parse(detailData.pipelineParameter)[0].specifications||'--':'--'}}
</view>
<view class="item-col" style="">
{{JSON.parse(detailData.pipelineParameter)[0]?JSON.parse(detailData.pipelineParameter)[0].number||'--':'--'}}
</view>
<view class="item-col" style="">
{{JSON.parse(detailData.blindPlateParameter)[0]?JSON.parse(detailData.blindPlateParameter)[0].medium||'--':'--'}}
</view>
<view class="item-col" style="">
{{JSON.parse(detailData.blindPlateParameter)[0]?JSON.parse(detailData.blindPlateParameter)[0].temperature||'--':'--'}}
</view>
<view class="item-col" style="margin-right: 5rpx;">
{{JSON.parse(detailData.blindPlateParameter)[0]?JSON.parse(detailData.blindPlateParameter)[0].pressure||'--':'--'}}
</view>
</view>
</view>
</scroll-view>
@ -175,10 +202,8 @@
<view class="detail-nav" v-if="COMPANY != 'longguang'">
<scroll-view class="scrollx-wrap" scroll-x>
<view class="nav-list">
<view class="nav-item"
:class="{'active-nav': activeIndex == item.id}"
v-for="(item,index) in navList" :key="index"
@click="checkNav(item)">
<view class="nav-item" :class="{'active-nav': activeIndex == item.id}"
v-for="(item,index) in navList" :key="index" @click="checkNav(item)">
{{item.name}}
</view>
</view>
@ -187,13 +212,13 @@
<plan ref="list" v-if="componentName == 'plan'" :detailId="detailId" :info="detailData"></plan>
<safe ref="list" v-if="componentName == 'safe'" :detailId="detailId" :info="detailData"></safe>
<side ref="list" v-if="componentName == 'side'" :detailId="detailId" :info="detailData"></side>
<workFinally ref="list" v-if="componentName =='workFinally'" :detailId="detailId" :info="detailData" ></workFinally>
<workFinally ref="list" v-if="componentName =='workFinally'" :detailId="detailId"
:info="detailData"></workFinally>
</view>
</view>
<!-- <view class="add-btn" v-if="activeIndex != 7 && activeIndex != 2 && !(activeIndex == 1 && detailData.engineeringState == 3) -->
<view class="add-btn" v-if="activeIndex != 7 && userInfo.userId === detailData.assignmentPersonInCharge
&& COMPANY != 'longguang' && detailData.finalAcceptanceStatus !== 2 && isShowBtn && btnAuth"
@click="addForm">
&& COMPANY != 'longguang' && detailData.finalAcceptanceStatus !== 2 && isShowBtn && btnAuth" @click="addForm">
<uni-icons v-if="activeIndex == 5" type="camera" size="30" color="#fff"></uni-icons>
<uni-icons v-else type="plusempty" size="30" color="#fff"></uni-icons>
<span>+</span>
@ -286,8 +311,7 @@
})
this.detailId = val.id
},
mounted() {
},
mounted() {},
methods: {
getType(url) {
if (isImageLink(url)) {
@ -323,7 +347,9 @@
this.sendRequest({
url: 'xmgl/xzBlindPlatePlugSafe/queryById',
method: 'get',
data:{id:this.detailId},
data: {
id: this.detailId
},
success: res => {
uni.hideLoading()
// if(res.code==200){
@ -417,7 +443,8 @@
}
uni.navigateTo({
// url:'../safeManage/addExamine?type=1&engineeringId='+this.detailId + '&moduleType=safeCheck'
url:'../../safeSame/addIssue?type=4&engineeringId='+this.detailId + '&moduleType=safeCheck'
url: '../../safeSame/addIssue?type=4&engineeringId=' + this.detailId +
'&moduleType=safeCheck'
})
} else if (this.activeIndex == 3) {
uni.navigateTo({
@ -426,7 +453,8 @@
} else if (this.activeIndex == 4) {
if (this.isShowBtn) {
uni.navigateTo({
url:'./addWorkFinally?id='+this.detailId+'&workTicketCode='+this.detailData.workTicketCode
url: './addWorkFinally?id=' + this.detailId + '&workTicketCode=' + this.detailData
.workTicketCode
})
} else {
uni.showToast({
@ -470,23 +498,28 @@
height: 500rpx;
}
}
.other-safe {
background-color: #fff;
// margin-top: 50rpx;
padding: 15rpx 15rpx;
line-height: 40rpx;
.other-head {
display: flex;
.other-icon {
width: 10rpx;
height: 40rpx;
background-color: #2b8df3;
border-radius: 100rpx;
}
.other-text {
margin-left: 20rpx;
}
}
.other-content {
font-size: 22rpx;
width: auto;
@ -496,22 +529,27 @@
margin: 0 30rpx;
margin-top: 15rpx;
display: flex;
.content-1 {
width: 22%;
}
.content-2 {
width: 24%;
}
.content-3 {
width: 23%;
// margin-left: 10%;
}
.content-4 {
width: 26%;
}
}
}
.safe-mesure {
width: 100%;
height: 100rpx;
@ -519,6 +557,7 @@
justify-content: center;
align-items: center;
background-color: #fff;
.safe-btn {
text-align: center;
width: 80%;
@ -530,11 +569,13 @@
font-weight: bold;
}
}
.table-info {
display: flex;
justify-content: center;
align-items: center;
background-color: #fff;
// background-color: lightgray;
.teble-list {
display: flex;
@ -543,9 +584,11 @@
// margin: 0 5rpx;
background-color: #fff;
white-space: nowrap;
.teble-item {
display: inline-block;
white-space: normal;
.table-item-inner {
// background-color: lightgray;
display: flex;
@ -564,9 +607,11 @@
}
}
}
.dangerbig-details {
min-height: 100%;
background: #F6F6F6;
.fixedheader {
position: fixed;
top: 0;
@ -574,12 +619,15 @@
width: 100%;
z-index: 2;
}
.detail-content {
padding-top: 20rpx;
}
.list {
margin-bottom: 20rpx;
}
.list-info {
background: #fff;
border-bottom: 1px solid #F6F6F6;
@ -588,6 +636,7 @@
// display: flex;
// align-items: center;
}
.list-info {
.source-box {
display: flex;
@ -600,6 +649,7 @@
}
}
}
.list-info ul {
list-style: none;
padding: 0;
@ -620,6 +670,7 @@
width: 100%;
height: 100%;
}
.more-btn {
text-align: center;
font-size: 14px;
@ -627,11 +678,13 @@
background: #F1F7FE;
line-height: 50rpx;
}
.nav-list {
display: flex;
height: 80rpx;
align-items: center;
padding: 0 20rpx;
.nav-item {
width: 25%;
text-align: center;
@ -642,17 +695,21 @@
line-height: 80rpx;
font-size: 14px;
}
.active-nav {
border-bottom: 2px solid #4396E7;
}
}
.detail-nav {
width: 100%;
}
.scrollx-wrap {
width: 100%;
background: #fff;
}
.add-btn {
background: #4181FE;
width: 96rpx;
@ -663,6 +720,7 @@
position: fixed;
bottom: 40rpx;
right: 40rpx;
span {
font-size: 30px;
line-height: 45px;