mirror of
https://gitee.com/java110/MicroCommunityWeb.git
synced 2026-06-11 06:07:24 +08:00
审核投诉和 我的投诉单都显示 详情功能
This commit is contained in:
parent
b6b8981ce9
commit
6acded56d6
@ -51,21 +51,21 @@
|
||||
placeholder="必填,请填写投诉电话" class="form-control">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group row">
|
||||
<div class="form-group row" v-if="complaintDetailInfo.showCurrentUser">
|
||||
<label class="col-sm-2 col-form-label">处理人</label>
|
||||
<div class="col-sm-10">
|
||||
<input v-model="complaintDetailInfo.currentUserName" type="text" readonly
|
||||
placeholder="必填,请填写投诉电话" class="form-control">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group row">
|
||||
<div class="form-group row" v-if="complaintDetailInfo.showCurrentUser">
|
||||
<label class="col-sm-2 col-form-label">处理人电话</label>
|
||||
<div class="col-sm-10">
|
||||
<input v-model="complaintDetailInfo.currentUserTel" type="text" readonly
|
||||
placeholder="必填,请填写投诉电话" class="form-control">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group row">
|
||||
<div class="form-group row" v-if="complaintDetailInfo.showCurrentUser">
|
||||
<label class="col-sm-2 col-form-label">处理人编号</label>
|
||||
<div class="col-sm-10">
|
||||
<input v-model="complaintDetailInfo.currentUserId" type="text" readonly
|
||||
|
||||
@ -14,6 +14,7 @@
|
||||
currentUserName: '',
|
||||
currentUserTel: '',
|
||||
currentUserId: '',
|
||||
showCurrentUser: true
|
||||
}
|
||||
},
|
||||
_initMethod: function () {
|
||||
@ -26,6 +27,9 @@
|
||||
let _roomName = _params.floorNum + '号楼' + _params.unitNum + '单元' + _params.roomNum + '室';
|
||||
vc.copyObject(_params, vc.component.complaintDetailInfo);
|
||||
$that.complaintDetailInfo.roomName = _roomName;
|
||||
if(!_params.hasOwnProperty('currentUserName')){
|
||||
$that.complaintDetailInfo.showCurrentUser = false;
|
||||
}
|
||||
$that.complaintDetailInfo.currentUserName = _params.currentUserName == '' ? '无':_params.currentUserName;
|
||||
$that.complaintDetailInfo.currentUserTel = _params.currentUserTel == '' ? '无':_params.currentUserTel;
|
||||
$that.complaintDetailInfo.currentUserId = _params.currentUserId == '' ? '无':_params.currentUserId;
|
||||
@ -46,7 +50,7 @@
|
||||
currentUserName: '',
|
||||
currentUserTel: '',
|
||||
currentUserId: '',
|
||||
|
||||
showCurrentUser: true
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -34,12 +34,17 @@
|
||||
<td class="text-center">{{complaint.complaintName}}</td>
|
||||
<td class="text-center">{{complaint.tel}}</td>
|
||||
<td class="text-center">{{complaint.stateName}}</td>
|
||||
<td class="text-center">
|
||||
<td class="text-right">
|
||||
<div class="btn-group">
|
||||
<button class="btn-white btn btn-xs"
|
||||
v-on:click="_openAuditComplaintModel(complaint)">审核
|
||||
</button>
|
||||
</div>
|
||||
<div class="btn-group">
|
||||
<button class="btn-white btn btn-xs"
|
||||
v-on:click="_openComplaintDetailModel(complaint)">详情
|
||||
</button>
|
||||
</div>
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
@ -64,4 +69,6 @@
|
||||
>
|
||||
|
||||
</vc:create>
|
||||
|
||||
<vc:create name="complaintDetail"></vc:create>
|
||||
</div>
|
||||
|
||||
@ -95,6 +95,9 @@
|
||||
} else {
|
||||
vc.component.AuditOrdersManageInfo.moreCondition = true;
|
||||
}
|
||||
},
|
||||
_openComplaintDetailModel:function(_complaint){
|
||||
vc.emit('complaintDetail', 'openComplaintDetailModal', _complaint);
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -21,7 +21,7 @@
|
||||
<th class="text-center">投诉人</th>
|
||||
<th class="text-center">投诉电话</th>
|
||||
<th class="text-center">投诉状态</th>
|
||||
<!-- <th class="text-center">操作</th>-->
|
||||
<th class="text-right">操作</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@ -34,13 +34,13 @@
|
||||
<td class="text-center">{{complaint.complaintName}}</td>
|
||||
<td class="text-center">{{complaint.tel}}</td>
|
||||
<td class="text-center">{{complaint.stateName}}</td>
|
||||
<!--<td class="text-center">
|
||||
<td class="text-right">
|
||||
<div class="btn-group">
|
||||
<button class="btn-white btn btn-xs"
|
||||
v-on:click="_openAuditComplaintModel(complaint)">审核
|
||||
v-on:click="_openComplaintDetailModel(complaint)">详情
|
||||
</button>
|
||||
</div>
|
||||
</td>-->
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
</tbody>
|
||||
@ -58,4 +58,5 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<vc:create name="complaintDetail"></vc:create>
|
||||
</div>
|
||||
|
||||
@ -70,6 +70,9 @@
|
||||
} else {
|
||||
vc.component.AuditOrdersManageInfo.moreCondition = true;
|
||||
}
|
||||
},
|
||||
_openComplaintDetailModel:function(_complaint){
|
||||
vc.emit('complaintDetail', 'openComplaintDetailModal', _complaint);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user