소스 검색

update SysUpdate.vue

reghao 2 달 전
부모
커밋
72fb43cda8
1개의 변경된 파일10개의 추가작업 그리고 0개의 파일을 삭제
  1. 10 0
      src/views/devops/sys/SysUpdate.vue

+ 10 - 0
src/views/devops/sys/SysUpdate.vue

@@ -339,6 +339,11 @@ export default {
   },
   created() {
     document.title = '系统更新'
+    const nodeType = this.$route.query.nodeType
+    if (nodeType !== undefined && nodeType !== null) {
+      this.queryInfo.nodeType = nodeType
+    }
+
     this.getData()
   },
   methods: {
@@ -355,6 +360,11 @@ export default {
       })
     },
     onSelectChange() {
+      this.$router.push({
+        path: '/bg/sys/update',
+        query: this.queryInfo
+      })
+
       this.getData()
     },
     handleAdd() {