#
whycq
2023-11-21 662445047bd24967041b74cd6be53b7493ff312d
pages/business/goBusiness/businessTripOther.vue
@@ -14,7 +14,14 @@
               <uni-icons type="arrowdown" color="#333333" size="20" />
            </view>
         </block>
       </uni-nav-bar>
      </uni-nav-bar>
      <!-- 搜索框 -->
      <view class="search-bg">
         <u-search placeholder="输入" v-model="keyword" :clearabled="true" @custom="search()" @search="search()"></u-search>
      </view>
      <u-empty v-if="true" icon="../../../static/image/emptyList.png" v-show="list.length <= 0" />
   </view>
</template>
@@ -23,18 +30,19 @@
   export default {
      data() {
         return {
            keyword: '',
            user: {
               username: '',
               id: 0,
               type: ''
            },
            falg: true
            falg: true,
            list:[]
         }
      },
      onShow() {
         let that = this
         uni.$on('isRefresh',function(data){
            console.log(data);
            that.user.username = data.title
            that.user.id = data.id
            that.user.type = data.key
@@ -50,7 +58,6 @@
      methods: {
         async getDetail() {
            let res = await user.getDetail()
            console.log(res);
            if (res.code === 200) {
               this.user.username = res.data.username
               this.user.id = res.data.id