Browse Source

wanda-adm:feat > 维护帮助

shaun-sheep 4 năm trước cách đây
mục cha
commit
3db35b1443
1 tập tin đã thay đổi với 7 bổ sung4 xóa
  1. 7 4
      src/views/maintain/device/index.vue

+ 7 - 4
src/views/maintain/device/index.vue

@@ -39,8 +39,11 @@
             >
                 <template slot="title">
                     <div class="alertTitle">
-                        <span>{{deviceMsg}}</span>
-                        <el-button type="text"><span class="el-icon-question"></span>维护帮助</el-button>
+                        <span>{{ deviceMsg }}</span>
+                        <el-button type="text" >
+                            <span class="el-icon-question" />
+                            <a href="/datacenter/object/equip/downloads" download="维护帮助"> 维护帮助</a>
+                           </el-button>
                     </div>
                 </template>
                 <template v-if="deviceMsg == '添加设备'">
@@ -384,7 +387,7 @@ export default class extends Vue {
 
     // 维护位置
     handlePosition() {
-        this.currentRow = this.$refs.dataForm.form
+        this.currentRow= this.$refs.dataForm.form
         this.$refs.dataForm.submitForm(this.handlePositionSave)
     }
 
@@ -494,11 +497,11 @@ export default class extends Vue {
         this.$refs.deviceGraph.resetLocation()
     }
 
+
     // 返回
     goBack() {
         this.displayLocation = false
         this.currRowContent = this.currentRow
-        console.log(this.currentRow, this.currRowContent)
     }
 
     @Watch("deviceType", { immediate: true, deep: true })