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