首检样式调整

This commit is contained in:
2024-06-11 10:49:01 +08:00
parent 15aa52ce61
commit f5c3222153

View File

@@ -439,19 +439,22 @@
<div>
<el-card class="box-card dataStatistics">
<div slot="header" class="clearfix">
<span class="title">工单号:{{ CurrentWorkorder.clientWorkorder }}</span>
<span style="margin-left: 10px;">
<el-tag v-if="workOrderInListStatus === 0" type="primary" effect="dark">正常</el-tag>
<el-tag v-if="workOrderInListStatus === 1" type="danger" effect="dark">有未完成工单</el-tag>
<el-tag v-if="workOrderInListStatus === 2" type="warning" effect="dark">个工单</el-tag>
<el-tag v-if="workOrderInListStatus === 3" type="success" effect="dark">最后工单</el-tag>
</span>
<el-button-group style="float: right">
<el-button type="primary" size="mini" @click="getNext_current_workorder">下一个工单<i class="el-icon-arrow-right el-icon--right"></i></el-button>
<el-button type="primary" icon="el-icon-arrow-left" size="mini" @click="getPrevious_current_workorder">上一个工单</el-button>
</el-button-group>
<div>
<span class="title">工单号:{{ CurrentWorkorder.clientWorkorder }}</span>
<el-button-group style="float: right">
<el-button type="primary" size="mini" @click="getNext_current_workorder">下一个工单<i class="el-icon-arrow-right el-icon--right"></i></el-button>
<el-button type="primary" icon="el-icon-arrow-left" size="mini" @click="getPrevious_current_workorder">上一个工单</el-button>
</el-button-group>
</div>
<div>
<span>
<el-tag v-if="workOrderInListStatus === 0" type="primary" effect="dark">正常</el-tag>
<el-tag v-if="workOrderInListStatus === 1" type="danger" effect="dark">有未完成工单</el-tag>
<el-tag v-if="workOrderInListStatus === 2" type="warning" effect="dark">首个工单</el-tag>
<el-tag v-if="workOrderInListStatus === 3" type="success" effect="dark">最后工单</el-tag>
</span>
</div>
</div>
<el-button type="success" size="medium" @click="setWorkOrderStartTime">同步开始时间</el-button>
<el-button type="primary" size="medium" @click="workOrderCompleted">首检完成</el-button>
<table>
@@ -921,16 +924,12 @@
}
if (result.code == 200) {
this.paint = result.data.paint
this.device = result.data.device
this.blank = result.data.blank
this.program = result.data.program
this.team = result.data.team
this.publishNowOrderRetain(this.CurrentWorkorder.clientWorkorder)
this.setWorkOrderStartTime();
// this.setWorkOrderStartTime();
this.$loading().close()
}
})