This commit is contained in:
wanglei
2022-02-11 10:12:47 +08:00
parent 69215f3fe6
commit f03fa51d73
2 changed files with 6 additions and 24 deletions

View File

@@ -408,7 +408,6 @@ export default {
methods: {
getDetail() {
console.log(111);
if (!this.id) return
var urlList = ['/app/appspecialdisabled/queryDetailById', '/app/appspecialmental/queryDetailById', '/app/appspecialadjustment/queryDetailById',
'/app/appspecialdrug/queryDetailById', '/app/appspecialprison/queryDetailById']
@@ -559,6 +558,7 @@ export default {
width: 60%;
display: flex;
justify-content: flex-end;
font-size: 32px !important;
.u-icon {
margin-left: 16px;
}
@@ -594,6 +594,7 @@ export default {
.value {
margin-left: 16px;
font-size: 32px;
}
}

View File

@@ -7,9 +7,7 @@
<div class="area-select">
<div class="select-content">
<div class="search-input" v-if="tabIndex">
<img src="./img/search-icon.png" alt="">
<u-input type="text" placeholder="请输入姓名" placeholder-style="color:#999;font-size:13px;" height="18"
v-model="name" @confirm="getUserList" maxlength="20" />
<u-search placeholder="请输入姓名" v-model="name" maxlength="20" placeholder-style="color:#999;font-size:13px;" :show-action="false" height="18" @search="getUserList" @clear="getUserList"></u-search>
</div>
</div>
</div>
@@ -54,8 +52,8 @@
<div class="user-info">
<p class="name">{{e.name}}
<span class="btn-icon" v-if="userGird != 0">
<img src="./img/edit-icon.png" alt="" @click="toEdit(e,item.label)">
<img src="./img/del-icon.png" alt="" @click="del(e,item.label)">
<img src="./img/edit-icon.png" alt="" @click="toEdit(e,item.dictValue)">
<img src="./img/del-icon.png" alt="" @click="del(e,item.dictValue)">
</span>
</p>
<div class="phone">
@@ -126,7 +124,6 @@ export default {
},
isGirdUser() {
this.$http.post('/app/appgirdmemberinfo/checkLogOnUser').then((res) => {
// console.log(res);
if (res.code == 0) {
this.userGird = res.data.checkType
// if (res.data.checkType) {
@@ -188,7 +185,6 @@ export default {
// })
// this.userList[index].check = true
// }
console.log(item);
this.type = item.dictValue
this.current = 1
this.userList = []
@@ -204,8 +200,6 @@ export default {
var delUrl = ['/app/appspecialdisabled/delete','/app/appspecialmental/delete',
'/app/appspecialadjustment/delete','/app/appspecialdrug/delete','/app/appspecialprison/delete'
]
// var idUrl='app/appspecialdisabled/delete'
// var id='c24aaff664a94fdd908a85c0237583bd'
this.$confirm('确定删除该数据?').then(() => {
uni.showLoading()
this.$http.post(delUrl[indexs],null, {params: {ids: row.id}}).then((res) => {
@@ -284,26 +278,13 @@ export default {
}
}
.search-input{
width: 100%;
height: 64px;
background: #F5F5F5;
border-radius: 32px;
padding: 14px 32px 14px 64px;
box-sizing: border-box;
position: relative;
img{
width: 32px;
height: 32px;
margin-right: 12px;
position: absolute;
top: 18px;
left: 24px;
}
::v-deep .u-input{
width: 100%;
font-size: 26px;
}
line-height: 64px;
}
}
}