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

View File

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