This commit is contained in:
liuye
2022-02-10 19:02:15 +08:00
parent a1c0ef91fb
commit c9d6f266dc
3 changed files with 61 additions and 4 deletions

View File

@@ -19,7 +19,7 @@
<div class="walk-item">
<span>走访人员</span>
<span>{{ data.createUserName }}</span>
<span><AiOpenData v-if="data.createUserName" type="userName" :openid="data.createUserName" /></span>
</div>
<div class="walk-item">

View File

@@ -52,6 +52,10 @@
<div class="subBtn" @click="submit">
<div>确定选择</div>
</div>
<AiFixedBtn>
<div class="addBtn iconfont iconfont-iconfangda" @tap="toAdd()"/>
</AiFixedBtn>
<!-- <AiBck /> -->
</div>
@@ -82,6 +86,9 @@ export default {
})
},
methods: {
toAdd() {
uni.navigateTo({ url: '../AppSpecialPeople/add'})
},
userClick(row, index) {
if (this.userList[index].isChecked) {
this.userList[index].isChecked = false //取消
@@ -101,7 +108,7 @@ export default {
// },
getUsers() {
this.$http.post(`/app/appspecialadjustment/allList?size=20&current=${this.current}`, { type: this.type }).then((res) => {
this.$http.post(`/app/appspecialadjustment/allList?size=20&current=${this.current}`, { type: this.type, name: this.keyword }).then((res) => {
if (res.code == 0) {
if(this.current > res.data.total) {
return
@@ -143,6 +150,7 @@ export default {
if (!this.showType) {
this.keyword = e
this.current = 1
this.userList = []
// this.getUser()
this.getUsers()
}
@@ -288,5 +296,18 @@ export default {
float: right;
}
}
.addBtn {
width: 96px;
height: 96px;
flex-shrink: 0;
background: $uni-color-primary;
box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
font-size: 48px;
color: #fff;
border-radius: 50%;
justify-content: center;
align-items: center;
display: flex;
}
}
</style>