|
@@ -94,9 +94,19 @@
|
|
|
</a-col>
|
|
|
<a-col :span="10">
|
|
|
<a-button shape="round" @click="handleTuiCalendar(1)" block>
|
|
|
+ 检点日历
|
|
|
+ </a-button>
|
|
|
+ </a-col>
|
|
|
+ <a-col :span="10">
|
|
|
+ <a-button shape="round" @click="handleTuiCalendar(2)" block>
|
|
|
保养日历
|
|
|
</a-button>
|
|
|
</a-col>
|
|
|
+ <a-col :span="10">
|
|
|
+ <a-button shape="round" @click="handleTuiCalendar(3)" block>
|
|
|
+ 润滑日历
|
|
|
+ </a-button>
|
|
|
+ </a-col>
|
|
|
<a-col :span="10">
|
|
|
<a-button shape="round" @click="handleRepairReportSbInfo()" block>
|
|
|
工单分析
|
|
@@ -642,7 +652,7 @@ export default {
|
|
|
},
|
|
|
handleTuiCalendar (level) {
|
|
|
const that = this
|
|
|
- queryTuiCalendarIgnores({ sbId: this.model.id, type: 2 }).then(res => {
|
|
|
+ queryTuiCalendarIgnores({ sbId: this.model.id, type: level }).then(res => {
|
|
|
const a = document.createElement('a')
|
|
|
a.target = '_blank'
|
|
|
a.href = '/tui-calendar/checkJobCalendar.html?'
|