详情优化
This commit is contained in:
parent
42687840f4
commit
945bfddde4
|
|
@ -56,12 +56,12 @@
|
|||
<view class="cont">{{ item.maCode }}</view>
|
||||
</uni-col>
|
||||
</uni-row>
|
||||
<uni-row :gutter="24" v-if="queryParams.manageType==0" >
|
||||
<!-- <uni-row :gutter="24" v-if="queryParams.manageType==0" >
|
||||
<uni-col :span="6">编码状态:</uni-col>
|
||||
<uni-col :span="16">
|
||||
<view class="cont">{{ item.status }}</view>
|
||||
</uni-col>
|
||||
</uni-row>
|
||||
</uni-row> -->
|
||||
<uni-row :gutter="24">
|
||||
<uni-col :span="6">维修人员:</uni-col>
|
||||
<uni-col :span="16">
|
||||
|
|
|
|||
|
|
@ -56,6 +56,12 @@
|
|||
<uni-col :span="16">
|
||||
<view class="cont">{{ item.type }}</view>
|
||||
</uni-col>
|
||||
</uni-row>
|
||||
<uni-row :gutter="24" v-if="item.manageType == 0">
|
||||
<uni-col :span="6">设备编码:</uni-col>
|
||||
<uni-col :span="16">
|
||||
<view class="cont">{{ item.code }}</view>
|
||||
</uni-col>
|
||||
</uni-row>
|
||||
<uni-row :gutter="24">
|
||||
<!-- <uni-col :span="2" style="color: transparent">{{ index + 1 }}</uni-col> -->
|
||||
|
|
|
|||
|
|
@ -54,7 +54,7 @@
|
|||
</uni-row>
|
||||
</view>
|
||||
<view class="loading-text">
|
||||
{{ finish ? '没有更多数据了~' : '正在加载...' }}
|
||||
{{ '没有更多数据了~' }}
|
||||
</view>
|
||||
</scroll-view>
|
||||
</scroll-view>
|
||||
|
|
@ -82,7 +82,10 @@ const queryCodeParams = ref({
|
|||
onLoad((options) => {
|
||||
queryParams.value = JSON.parse(options.queryParams)
|
||||
if(queryParams.value.manageType==1){
|
||||
formData.value = queryParams.value
|
||||
formData.value.maTypeName = queryParams.value.typeName
|
||||
formData.value.typeName = queryParams.value.typeModelName
|
||||
formData.value.createBy = queryParams.value.createBy
|
||||
formData.value.createTime = queryParams.value.createTime
|
||||
}
|
||||
})
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue