408249787 2 лет назад
Родитель
Сommit
dcb6ee15c4
2 измененных файлов с 12 добавлено и 2 удалено
  1. 1 1
      src/layouts/UserLayout.vue
  2. 11 1
      src/views/sb/info/modules/Detail.vue

+ 1 - 1
src/layouts/UserLayout.vue

@@ -8,7 +8,7 @@
       <!--          </a>-->
       <!--        </div>-->
       <div class="top font">
-        设备管理系统平台登陆
+        设备管理系统平台
       </div>
       <!--      </div>-->
 

+ 11 - 1
src/views/sb/info/modules/Detail.vue

@@ -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?'