Browse Source

eam优化bug修复

master
ljlong_2630 5 months ago
parent
commit
dff9ed50ce
  1. 1
      src/pages/overhaulOrder/addForm.vue
  2. 5
      src/pages/overhaulOrder/detail.vue
  3. 3
      src/pages/overhaulOrder/index.vue

1
src/pages/overhaulOrder/addForm.vue

@ -290,6 +290,7 @@
faultType: form.value.faultType, faultType: form.value.faultType,
maintenance:form.value.maintenance, maintenance:form.value.maintenance,
subList: serviceList.value, subList: serviceList.value,
sourceType: form.value.sourceType,
} }
if (form.value.id) { if (form.value.id) {
proxy.$modal.confirm('是否修改检修工单').then(() => { proxy.$modal.confirm('是否修改检修工单').then(() => {

5
src/pages/overhaulOrder/detail.vue

@ -18,6 +18,10 @@
<view>故障类型</view> <view>故障类型</view>
<view>{{data.faultTypeName}}</view> <view>{{data.faultTypeName}}</view>
</view> </view>
<view class="dec-item">
<view>来源类型</view>
<view>{{data.sourceTypeName}}</view>
</view>
<view class="dec-item" v-if="data.createTime"> <view class="dec-item" v-if="data.createTime">
<view>创建时间</view> <view>创建时间</view>
<view>{{$time.formatDate(data.createTime)}}</view> <view>{{$time.formatDate(data.createTime)}}</view>
@ -225,6 +229,7 @@
loading.value = true loading.value = true
overhaulOrderApi.orderClickFinish(paramseData,type.value).then((res) => { overhaulOrderApi.orderClickFinish(paramseData,type.value).then((res) => {
if (res.data) { if (res.data) {
proxy.$modal.showToast('操作成功') proxy.$modal.showToast('操作成功')
setTimeout(() => { setTimeout(() => {
// proxy.$tab.navigateTo(`/pages/overhaulOrder/index?type=${type.value}`) // proxy.$tab.navigateTo(`/pages/overhaulOrder/index?type=${type.value}`)

3
src/pages/overhaulOrder/index.vue

@ -41,6 +41,9 @@
<view class="dec"> <view class="dec">
故障类型:<span>{{item.faultTypeName}}</span> 故障类型:<span>{{item.faultTypeName}}</span>
</view> </view>
<view class="dec">
来源类型:<span>{{item.sourceTypeName}}</span>
</view>
</view> </view>
<view class="bottom"> <view class="bottom">
<view class="time" style="flex: 1;"> <view class="time" style="flex: 1;">

Loading…
Cancel
Save