chenrui  2 년 전
부모
커밋
eb69811e23
1개의 변경된 파일5개의 추가작업 그리고 0개의 파일을 삭제
  1. 5 0
      src/views/system/securityCheck/components/securityCheckHeader.vue

+ 5 - 0
src/views/system/securityCheck/components/securityCheckHeader.vue

@@ -385,6 +385,11 @@ export default {
         ? this.$route.params.levelId
         : this.$route.params.agentLevel
       this.formData.searchText = this.$route.params.proxyId ? this.$route.params.proxyId : this.$route.params.agentCode
+      this.locationsDatacopy.forEach((element) => {
+        if (element.agentId == this.formData.searchText) {
+          this.formData.searchTexts = element.agentName
+        }
+      })
       // this.formData.agentLevel = this.$route.query.agentLevel;
       // this.formData.agentCode = this.$route.query.agentCode;
     }