From 6d8c00395a27c277e9fe3d3aba4f3da7a31d2a20 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E5=85=8B?= <819966041@qq.com> Date: Fri, 5 Aug 2022 17:49:41 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AF=A6=E6=83=85=E9=A1=B5=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/BasicBox4/index.vue | 26 ++- src/components/dialog/index.vue | 7 +- src/views/land/children/index.vue | 325 ++++++++++++----------------- 3 files changed, 160 insertions(+), 198 deletions(-) diff --git a/src/components/BasicBox4/index.vue b/src/components/BasicBox4/index.vue index 555fd4f..e5f59c4 100644 --- a/src/components/BasicBox4/index.vue +++ b/src/components/BasicBox4/index.vue @@ -19,9 +19,11 @@ -->
-
- - +
+ + +
@@ -60,19 +62,33 @@ export default { type: [Array, Boolean], required: true }, + + }, + data() { + return{ + inputInfo: { + departnew: '', + jdnew: '', + }, + + } }, components: { }, mounted() { - console.log(this.dataSource); + }, beforeDestroy() { }, methods: { - + search() { + this.$emit('inputData', this.inputInfo.departnew) + this.$parent.sreach() + } }, + }; diff --git a/src/components/dialog/index.vue b/src/components/dialog/index.vue index 14e8423..636c6f8 100644 --- a/src/components/dialog/index.vue +++ b/src/components/dialog/index.vue @@ -250,7 +250,7 @@ import axios from 'axios' var that = this - if (departnew||jdnew) { + if (departnew || jdnew) { return this.tableData.filter(data => { // return Object.keys(data).some(key => { // return String(data[key]).toLowerCase().indexOf(departnew||jdnew) > -1 @@ -284,12 +284,11 @@ import axios from 'axios' // that.jdName = jd // that.$emit('jdNameData',that.jdName) // } - return inputTrue && input2True }) - } + } // console.log("that.jdName",that.jdName) - + return that.tableData } }, diff --git a/src/views/land/children/index.vue b/src/views/land/children/index.vue index 6c7aeff..82a3f0b 100644 --- a/src/views/land/children/index.vue +++ b/src/views/land/children/index.vue @@ -20,43 +20,40 @@ -->
-
-
    +
    +
    • {{item}}
    • -
    -
      -
      -
        -
      • {{item}}
      • -
      -
      +
    • {{item}}
    -
    -
      -
    • {{item}}
    • -
    + + + + + +
    -
      +
      • {{floorInfo}}
    -
      +
      • {{floorInfo}}
    @@ -79,7 +76,8 @@
    - +