优化巡检功能

This commit is contained in:
java110 2022-03-07 11:45:59 +08:00
parent 3fcd85e93f
commit 36148f0475
2 changed files with 32 additions and 43 deletions

View File

@ -1,5 +1,4 @@
<div id="addInspectionPlanModel" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel"
aria-hidden="true">
<div id="addInspectionPlanModel" class="modal fade" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
<div class="modal-dialog modal-lg">
<div class="modal-content">
<div class="modal-body">
@ -10,17 +9,13 @@
<div class="form-group row">
<label class="col-sm-2 col-form-label">计划名称</label>
<div class="col-sm-10">
<input v-model="addInspectionPlanInfo.inspectionPlanName" type="text"
placeholder="必填,请填写计划名称" class="form-control">
<input v-model="addInspectionPlanInfo.inspectionPlanName" type="text" placeholder="必填,请填写计划名称" class="form-control">
</div>
</div>
<div class="form-group row">
<label class="col-sm-2 col-form-label">巡检路线</label>
<div class="col-sm-10">
<vc:create path="property/inspectionRouteSelect2"
parentModal="addInspectionPlanModel"
callBackListener="addInspectionPlanInfo" callBackFunction="notify"
namespace="addInspectionPlan">
<vc:create path="property/inspectionRouteSelect2" parentModal="addInspectionPlanModel" callBackListener="addInspectionPlanInfo" callBackFunction="notify" namespace="addInspectionPlan">
</vc:create>
</div>
</div>
@ -38,15 +33,13 @@
<div class="form-group row">
<label class="col-sm-2 col-form-label">开始时间</label>
<div class="col-sm-10">
<input v-model="addInspectionPlanInfo.startTime" type="text"
placeholder="必填,请填写开始时间" class="form-control addInspectionPlanStartTime">
<input v-model="addInspectionPlanInfo.startTime" type="text" placeholder="必填,请填写开始时间" class="form-control addInspectionPlanStartTime">
</div>
</div>
<div class="form-group row">
<label class="col-sm-2 col-form-label">结束时间</label>
<div class="col-sm-10">
<input v-model="addInspectionPlanInfo.endTime" type="text" placeholder="必填,请填写结束时间"
class="form-control addInspectionPlanEndTime">
<input v-model="addInspectionPlanInfo.endTime" type="text" placeholder="必填,请填写结束时间" class="form-control addInspectionPlanEndTime">
</div>
</div>
<div class="form-group row">
@ -74,19 +67,15 @@
<div class="form-group row">
<label class="col-sm-2 col-form-label">备注</label>
<div class="col-sm-10">
<textarea v-model="addInspectionPlanInfo.remark" type="text" placeholder="选填,请填写备注"
class="form-control">
<textarea v-model="addInspectionPlanInfo.remark" type="text" placeholder="选填,请填写备注" class="form-control">
</textarea>
</div>
</div>
<div class="ibox-content">
<button class="btn btn-primary float-right" type="button"
v-on:click="saveInspectionPlanInfo()">
<button class="btn btn-primary float-right" type="button" v-on:click="saveInspectionPlanInfo()">
<i class="fa fa-check"></i>&nbsp;保存
</button>
<button type="button" class="btn btn-warning float-right" style="margin-right:20px;"
v-on:click="cleanInspectionPlanAddModel()"
data-dismiss="modal">
<button type="button" class="btn btn-warning float-right" style="margin-right:20px;" v-on:click="cleanInspectionPlanAddModel()" data-dismiss="modal">
<i class="fa fa-close"></i>&nbsp;取消
</button>
</div>

View File

@ -71,7 +71,7 @@
return {
routeName: _term,
page: 1,
row: 10,
row: 300,
communityId: vc.getCurrentCommunity().communityId
};
},