小区加入 商用说明

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>
<div class="row"> <div class="row" v-if="communityInfo.showPage == 'myCommunity'">
<div class="col-lg-12"> <div class="col-lg-12">
<div class="ibox"> <div class="ibox">
<div class="ibox-title"> <div class="ibox-title">
<h5>我的小区</h5> <h5>我的小区</h5>
<div class="ibox-tools" style="top:10px;"> <div class="ibox-tools" style="top:10px;">
<!-- <button type="button" class="btn btn-primary btn-sm" v-on:click="_openEnterCommunityModal()"> <button type="button" class="btn btn-white btn-sm" v-on:click="_showHcUse()">
<i class="fa fa-plus"></i>入驻小区 商用流程
</button> --> </button>
</div> </div>
</div> </div>
<div class="ibox-content"> <div class="ibox-content">
@ -114,6 +114,28 @@
</div> </div>
</div> </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/storeEnterCommunity"></vc:create>
<vc:create path="common/storeExitCommunity"></vc:create> --> <vc:create path="common/storeExitCommunity"></vc:create> -->
<vc:create path="common/editCommunityArea"></vc:create> <vc:create path="common/editCommunityArea"></vc:create>

View File

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

View File

@ -24,27 +24,24 @@
</div> </div>
<div class="col-sm-3"> <div class="col-sm-3">
<div class="form-group"> <div class="form-group">
<input type="text" placeholder="请输入报修人" <input type="text" placeholder="请输入报修人" v-model="repairForceFinishManageInfo.conditions.repairName" class=" form-control">
v-model="repairForceFinishManageInfo.conditions.repairName" class=" form-control">
</div> </div>
</div> </div>
<div class="col-sm-3"> <div class="col-sm-3">
<div class="form-group"> <div class="form-group">
<input type="text" placeholder="请输入报修电话" v-model="repairForceFinishManageInfo.conditions.tel" <input type="text" placeholder="请输入报修电话" v-model="repairForceFinishManageInfo.conditions.tel" class=" form-control">
class=" form-control">
</div> </div>
</div> </div>
<div class="col-sm-2"> <div class="col-sm-2">
<button type="button" class="btn btn-primary btn-sm" v-on:click="_queryRepairPoolMethod()"> <button type="button" class="btn btn-primary btn-sm" v-on:click="_queryRepairPoolMethod()">
<i class="fa fa-search"></i> 查询 <i class="fa fa-search"></i> 查询
</button> </button>
<button type="button" class="btn btn-info btn-sm" v-on:click="_resetRepairPoolMethod()" <button type="button" class="btn btn-info btn-sm" v-on:click="_resetRepairPoolMethod()" style="margin-left: 20px;">
style="margin-left: 20px;">
<i class="fa fa-repeat"></i> 重置 <i class="fa fa-repeat"></i> 重置
</button> </button>
</div> </div>
</div> </div>
</div> </div>
</div> </div>
</div> </div>
@ -84,13 +81,11 @@
</td> </td>
<td class="text-center"> <td class="text-center">
<div class="btn-group"> <div class="btn-group">
<button class="btn-white btn btn-xs" <button class="btn-white btn btn-xs" v-on:click="_openForceFinishRepairModel(repairPool)">强制回单
v-on:click="_openForceFinishRepairModel(repairPool)">强制回单
</button> </button>
</div> </div>
<div class="btn-group"> <div class="btn-group">
<button class="btn-white btn btn-xs" <button class="btn-white btn btn-xs" v-on:click="_openRepairDetail(repairPool)">详情
v-on:click="_openRepairDetail(repairPool)">详情
</button> </button>
</div> </div>
</td> </td>
@ -105,7 +100,14 @@
</tfoot> </tfoot>
</table> </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> </div>
</div> </div>