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;
     }