|
@@ -1,8 +1,13 @@
|
|
<template>
|
|
<template>
|
|
<view>
|
|
<view>
|
|
|
|
+ <!-- <view>
|
|
|
|
+ <u-navbar title="个人中心" @rightClick="rightClick" :autoBack="true" ></u-navbar>
|
|
|
|
+ </view> -->
|
|
<view class="searchforBox">
|
|
<view class="searchforBox">
|
|
<view style="display: flex;align-items: center;">
|
|
<view style="display: flex;align-items: center;">
|
|
- <u-search :showAction="true" actionText="搜索" clearabled :animation="true" @search="searchfun" @clear="clearfun"></u-search>
|
|
|
|
|
|
+ <u-search v-model="page.corpName" :showAction="true" actionText="搜索"
|
|
|
|
+ clearabled :animation="false"
|
|
|
|
+ @search="searchfun" @custom="searchfun" @clear="clearfun"></u-search>
|
|
<view class="addbox" @click="Jumpfun()">添加档案</view>
|
|
<view class="addbox" @click="Jumpfun()">添加档案</view>
|
|
</view>
|
|
</view>
|
|
<!-- <view class="screenflex">
|
|
<!-- <view class="screenflex">
|
|
@@ -12,7 +17,7 @@
|
|
</view> -->
|
|
</view> -->
|
|
</view>
|
|
</view>
|
|
<view class="listbox">
|
|
<view class="listbox">
|
|
- <view class="cardBox" v-for="item in listData" :key="item.id" @click="Jumpfun(item.id)">
|
|
|
|
|
|
+ <view class="cardBox" v-for="(item,index) in listData" :key="index" @click="Jumpfun(item.id)">
|
|
<view class="listbox_title">
|
|
<view class="listbox_title">
|
|
<view class="listbox_titleLeft">
|
|
<view class="listbox_titleLeft">
|
|
<!-- <u-icon name="bookmark-fill" color="#215476" size="22"></u-icon> -->
|
|
<!-- <u-icon name="bookmark-fill" color="#215476" size="22"></u-icon> -->
|
|
@@ -79,6 +84,9 @@
|
|
},
|
|
},
|
|
// 搜索
|
|
// 搜索
|
|
searchfun(value) {
|
|
searchfun(value) {
|
|
|
|
+ this.listData = []
|
|
|
|
+ this.page.current = 1
|
|
|
|
+ this.page.size = 10
|
|
this.page.corpName = value
|
|
this.page.corpName = value
|
|
this.corpequipmentarchivesListfun()
|
|
this.corpequipmentarchivesListfun()
|
|
},
|
|
},
|