This commit is contained in:
shijingjing
2022-04-20 15:08:58 +08:00
parent e863829c5b
commit 724421754a
3 changed files with 15 additions and 6 deletions

View File

@@ -5,7 +5,7 @@
<!-- 弹框 --> <!-- 弹框 -->
<u-popup v-model="show" mode="center" :closeable="false"> <u-popup v-model="show" mode="center" :closeable="false">
<div class="dialog"> <div class="dialog">
<view>出淤泥而不染濯清涟而不妖</view> <u-input v-model="value" :type="number" :border="true" />
<div style="display: flex;"> <div style="display: flex;">
<u-button type="primary" >取消</u-button> <u-button type="primary" >取消</u-button>
@@ -23,6 +23,7 @@ export default {
data() { data() {
return { return {
show: false, show: false,
value: '',
} }
}, },
onShow() {}, onShow() {},
@@ -32,6 +33,12 @@ export default {
<style lang="scss" scoped> <style lang="scss" scoped>
.AppGreatPowerIntegral { .AppGreatPowerIntegral {
.dialog {
padding: 30px;
box-sizing: border-box;
}
} }
</style> </style>

View File

@@ -2,7 +2,7 @@
<div class="AppNeighborLinkage"> <div class="AppNeighborLinkage">
<div class="header"> <div class="header">
<div class="search"> <div class="search">
<u-search placeholder="请输入需要搜索的内容" v-model="keyword" :show-action="false" @search="search"></u-search> <u-search placeholder="请输入四邻对象、描述" v-model="residentName" :show-action="false" @search="search"></u-search>
</div> </div>
<div class="select"> <div class="select">
<div class="item" > <div class="item" >
@@ -53,7 +53,7 @@ export default {
appName: "四邻联动", appName: "四邻联动",
data() { data() {
return { return {
keyword:'', residentName:'',
status: '', status: '',
linksageDate: '', linksageDate: '',
isShowDate: false, isShowDate: false,
@@ -75,7 +75,8 @@ export default {
}, },
methods: { methods: {
search(e) { search(e) {
this.keyword = e this.residentName = e
this.getList()
}, },
typeSelect(e) { typeSelect(e) {
this.list = [] this.list = []
@@ -95,6 +96,7 @@ export default {
current: this.current, current: this.current,
status: this.status, status: this.status,
linksageDate: this.linksageDate, linksageDate: this.linksageDate,
residentName: this.residentName,
} }
}).then(res=>{ }).then(res=>{
if (res?.data) { if (res?.data) {

View File

@@ -75,7 +75,7 @@ export default {
} }
}).then(res => { }).then(res => {
if(res?.data) { if(res?.data) {
this.form = res.data && JSON.parse(JSON.stringify(res.data)) this.form = res.data
} }
}) })
}, },