小区加入 商用说明

This commit is contained in:
java110 2022-03-29 14:38:54 +08:00
parent 3f0a59d9a1
commit d87ba9f4b4
4 changed files with 63 additions and 31 deletions

BIN
public/img/hc_use.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 65 KiB

View File

@ -1,13 +1,13 @@
<div>
<div class="row">
<div class="row" v-if="communityInfo.showPage == 'myCommunity'">
<div class="col-lg-12">
<div class="ibox">
<div class="ibox-title">
<h5>我的小区</h5>
<div class="ibox-tools" style="top:10px;">
<!-- <button type="button" class="btn btn-primary btn-sm" v-on:click="_openEnterCommunityModal()">
<i class="fa fa-plus"></i>入驻小区
</button> -->
<button type="button" class="btn btn-white btn-sm" v-on:click="_showHcUse()">
商用流程
</button>
</div>
</div>
<div class="ibox-content">
@ -114,6 +114,28 @@
</div>
</div>
</div>
<div class="row" v-else>
<div class="col-lg-12">
<div class="ibox">
<div class="ibox-title">
<h5>商用流程</h5>
<div class="ibox-tools" style="top:10px;">
<button type="button" class="btn btn-white btn-sm" v-on:click="_goBack()">
返回
</button>
</div>
</div>
<div class="ibox-content">
<div class="text-center padding-bottom">
<img src="/img/hc_use.png" />
</div>
</div>
</div>
</div>
</div>
<!-- <vc:create path="common/storeEnterCommunity"></vc:create>
<vc:create path="common/storeExitCommunity"></vc:create> -->
<vc:create path="common/editCommunityArea"></vc:create>

View File

@ -1,47 +1,49 @@
/**
入驻小区
**/
(function (vc) {
(function(vc) {
vc.extends({
data: {
communityInfo: {
enterCommunityInfo: [],
showPage: 'myCommunity'
}
},
_initMethod: function () {
_initMethod: function() {
vc.component.listMyCommunity();
},
_initEvent: function () {
vc.on('enterCommunity', 'listMyCommunity', function (_param) {
_initEvent: function() {
vc.on('enterCommunity', 'listMyCommunity', function(_param) {
vc.component.listMyCommunity();
});
},
methods: {
listMyCommunity: function () {
listMyCommunity: function() {
var param = {
params: {
msg: this.message,
_sb: '123',
params: {
msg: this.message,
_sb: '123',
}
}
}
//发送get请求
//发送get请求
vc.http.get('enterCommunity',
'listMyCommunity',
param,
function (json, res) {
function(json, res) {
vc.component.communityInfo.enterCommunityInfo = JSON.parse(json);
}, function (errInfo, error) {
},
function(errInfo, error) {
console.log('请求失败处理');
}
);
},
_openEnterCommunityModal: function () {
_openEnterCommunityModal: function() {
vc.emit('storeEnterCommunity', 'openStoreEnterCommunity', {});
},
_openExitCommunityModel: function (_community) {
_openExitCommunityModel: function(_community) {
vc.emit('storeExitCommunity', 'openStoreExitCommunityModal', _community);
},
_openUpdateCommunityModel: function (_community) {
_openUpdateCommunityModel: function(_community) {
vc.emit('editCommunityArea', 'openEditCommunityModal', _community);
},
_showCommunityStatus(_statusCd) {
@ -53,6 +55,12 @@
return "入驻成功";
}
return "未知";
},
_showHcUse: function() {
$that.communityInfo.showPage = "hcUse"
},
_goBack: function() {
$that.communityInfo.showPage = 'myCommunity';
}
}
});

View File

@ -24,27 +24,24 @@
</div>
<div class="col-sm-3">
<div class="form-group">
<input type="text" placeholder="请输入报修人"
v-model="repairForceFinishManageInfo.conditions.repairName" class=" form-control">
<input type="text" placeholder="请输入报修人" v-model="repairForceFinishManageInfo.conditions.repairName" class=" form-control">
</div>
</div>
<div class="col-sm-3">
<div class="form-group">
<input type="text" placeholder="请输入报修电话" v-model="repairForceFinishManageInfo.conditions.tel"
class=" form-control">
<input type="text" placeholder="请输入报修电话" v-model="repairForceFinishManageInfo.conditions.tel" class=" form-control">
</div>
</div>
<div class="col-sm-2">
<button type="button" class="btn btn-primary btn-sm" v-on:click="_queryRepairPoolMethod()">
<i class="fa fa-search"></i> 查询
</button>
<button type="button" class="btn btn-info btn-sm" v-on:click="_resetRepairPoolMethod()"
style="margin-left: 20px;">
<button type="button" class="btn btn-info btn-sm" v-on:click="_resetRepairPoolMethod()" style="margin-left: 20px;">
<i class="fa fa-repeat"></i> 重置
</button>
</div>
</div>
</div>
</div>
</div>
@ -84,13 +81,11 @@
</td>
<td class="text-center">
<div class="btn-group">
<button class="btn-white btn btn-xs"
v-on:click="_openForceFinishRepairModel(repairPool)">强制回单
<button class="btn-white btn btn-xs" v-on:click="_openForceFinishRepairModel(repairPool)">强制回单
</button>
</div>
<div class="btn-group">
<button class="btn-white btn btn-xs"
v-on:click="_openRepairDetail(repairPool)">详情
<button class="btn-white btn btn-xs" v-on:click="_openRepairDetail(repairPool)">详情
</button>
</div>
</td>
@ -105,7 +100,14 @@
</tfoot>
</table>
<!-- 分页 -->
<vc:create path="frame/pagination"></vc:create>
<div class="row margin-top-xs">
<div class="col-sm-9">
<div> 说明:此功能主要为了解决维修师傅年龄大不会使用手机操作,需要客服人员确认维修完后强制回单场景</div>
</div>
<div class="col-sm-3 float-right">
<vc:create path="frame/pagination"></vc:create>
</div>
</div>
</div>
</div>
</div>