设备添加搜索功能
This commit is contained in:
parent
f4a03ab1ba
commit
66064942ff
@ -15,7 +15,7 @@
|
|||||||
<view class="searchContent">
|
<view class="searchContent">
|
||||||
<view class="t-input">
|
<view class="t-input">
|
||||||
<uni-icons type="search" color="#BCBCBC" size="22"></uni-icons>
|
<uni-icons type="search" color="#BCBCBC" size="22"></uni-icons>
|
||||||
<input type="text" v-model="fileName" placeholder="请输入手机号.....">
|
<input type="text" v-model="fileName" placeholder="请输入文件名称.....">
|
||||||
</view>
|
</view>
|
||||||
<view class="sou" @click="getlist()">搜索</view>
|
<view class="sou" @click="getlist()">搜索</view>
|
||||||
</view>
|
</view>
|
||||||
|
@ -12,6 +12,14 @@
|
|||||||
<view class="t-you"></view>
|
<view class="t-you"></view>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
|
<view class="searchContent">
|
||||||
|
<view class="t-input">
|
||||||
|
<uni-icons type="search" color="#BCBCBC" size="22"></uni-icons>
|
||||||
|
<input type="text" v-model="equName" placeholder="请输入设备名称.....">
|
||||||
|
</view>
|
||||||
|
<view class="sou" @click="getlistindex()">搜索</view>
|
||||||
|
</view>
|
||||||
|
|
||||||
<view class="cont">
|
<view class="cont">
|
||||||
|
|
||||||
<view @click="goadd('add')" style="width: 100%; display: flex; justify-content: center;background:white; margin: 10px 0px; box-sizing: border-box; padding: 10px;font-weight: bold;border-radius: 8px;">
|
<view @click="goadd('add')" style="width: 100%; display: flex; justify-content: center;background:white; margin: 10px 0px; box-sizing: border-box; padding: 10px;font-weight: bold;border-radius: 8px;">
|
||||||
@ -80,6 +88,7 @@ import code from '../../uni_modules/uview-ui/libs/config/props/code';
|
|||||||
pageSize: 20,//一页多少张
|
pageSize: 20,//一页多少张
|
||||||
totalPages: 0,//总数
|
totalPages: 0,//总数
|
||||||
deleteid:'',
|
deleteid:'',
|
||||||
|
equName: null
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
@ -144,7 +153,8 @@ import code from '../../uni_modules/uview-ui/libs/config/props/code';
|
|||||||
data: {
|
data: {
|
||||||
partnerId:this.partnerId,
|
partnerId:this.partnerId,
|
||||||
pageSize:this.pageSize,
|
pageSize:this.pageSize,
|
||||||
pageNum:this.pageNum
|
pageNum:this.pageNum,
|
||||||
|
equName: this.equName
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
// this.arrlist = res.rows
|
// this.arrlist = res.rows
|
||||||
@ -421,4 +431,28 @@ import code from '../../uni_modules/uview-ui/libs/config/props/code';
|
|||||||
.box-left{
|
.box-left{
|
||||||
margin-right: 10px;
|
margin-right: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.t-input{
|
||||||
|
width: 75%;
|
||||||
|
height: 36px;
|
||||||
|
background: #F0F0F0;
|
||||||
|
border-radius: 50px;
|
||||||
|
box-sizing: border-box;
|
||||||
|
padding: 0 15px;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sou{
|
||||||
|
width: 10%;
|
||||||
|
margin-left: 5px;
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.searchContent{
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
Loading…
Reference in New Issue
Block a user