mirror of
https://gitee.com/java110/MicroCommunityWeb.git
synced 2026-02-24 05:46:03 +08:00
92 lines
7.2 KiB
HTML
Executable File
92 lines
7.2 KiB
HTML
Executable File
<div id="editLocationModel" 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">
|
|
<h3 class="m-t-none m-b "><span><vc:i18n name="修改" namespace="editLocation"></vc:i18n></span></h3>
|
|
<div class="ibox-content">
|
|
<div>
|
|
<div>
|
|
<div class="form-group row">
|
|
<label class="col-sm-2 col-form-label"><span><vc:i18n name="位置名称" namespace="editLocation"></vc:i18n></span></label>
|
|
<div class="col-sm-10">
|
|
<input v-model="editLocationInfo.locationName" type="text" :placeholder="vc.i18n('必填,请填写位置名称','editLocation')" class="form-control">
|
|
</div>
|
|
</div>
|
|
<div class="form-group row">
|
|
<label class="col-sm-2 col-form-label"><span><vc:i18n name="位置类型" namespace="editLocation"></vc:i18n></span></label>
|
|
<div class="col-sm-10">
|
|
<select class="custom-select" v-model="editLocationInfo.locationType">
|
|
<option selected disabled value="">{{vc.i18n('必填,请选择位置类型','editLocation')}}</option>
|
|
<option value="1000">{{vc.i18n('小区','editLocation')}}</option>
|
|
<option value="6000">{{vc.i18n('楼栋','editLocation')}}</option>
|
|
<option value="2000">{{vc.i18n('单元','editLocation')}}</option>
|
|
<!-- <option value="3000">{{vc.i18n('房屋','editLocation')}}</option> -->
|
|
<option value="4000">{{vc.i18n('岗亭','editLocation')}}</option>
|
|
<option value="5000">{{vc.i18n('部门','editLocation')}}</option>
|
|
<option value="7000">{{vc.i18n('停车场','editLocation')}}</option>
|
|
</select>
|
|
</div>
|
|
</div>
|
|
<div class="form-group row">
|
|
<label class="col-sm-2 col-form-label"><span><vc:i18n name="位置对象" namespace="editLocation"></vc:i18n></span></label>
|
|
<div class="col-sm-10">
|
|
<input v-model="editLocationInfo.locationObjName" type="text" disabled :placeholder="vc.i18n('必填,请填写位置对象','editLocation')" class="form-control">
|
|
</div>
|
|
</div>
|
|
|
|
<div class="form-group row" v-show="editLocationInfo.locationType == '2000'
|
|
|| editLocationInfo.locationType == '3000'
|
|
|| editLocationInfo.locationType == '6000' ">
|
|
<label class="col-sm-2 col-form-label"><span><vc:i18n name="修改楼栋" namespace="editLocation"></vc:i18n></span></label>
|
|
<div class="col-sm-10">
|
|
<vc:create path="property/floorSelect2" parentModal="editLocationModel" namespace="editLocation"></vc:create>
|
|
</div>
|
|
</div>
|
|
<div class="form-group row" v-show="editLocationInfo.locationType == '2000' || editLocationInfo.locationType == '3000' ">
|
|
<label class="col-sm-2 col-form-label"><span><vc:i18n name="修改单元" namespace="editLocation"></vc:i18n></span></label>
|
|
<div class="col-sm-10">
|
|
<vc:create path="property/unitSelect2" parentModal="editLocationModel" callBackListener="editLocation" callBackFunction="notify" namespace="editLocation">
|
|
</vc:create>
|
|
</div>
|
|
</div>
|
|
<!-- <div class="form-group row" v-show="editLocationInfo.locationType == '3000' ">
|
|
<label class="col-sm-2 col-form-label"><span><vc:i18n name="归属房屋" namespace="editLocation"></vc:i18n></span></label>
|
|
<div class="col-sm-10">
|
|
<vc:create path="property/roomSelect2" parentModal="editLocationModel" callBackListener="editLocation" callBackFunction="notify" namespace="editLocation">
|
|
</vc:create>
|
|
</div>
|
|
</div> -->
|
|
<div class="form-group row" v-show="editLocationInfo.locationType == '4000' ">
|
|
<label class="col-sm-2 col-form-label"><span><vc:i18n name="修改岗亭" namespace="editLocation"></vc:i18n></span></label>
|
|
<div class="col-sm-10">
|
|
<vc:create path="property/parkingBoxSelect2" parentModal="editLocationModel" callBackListener="editLocation" callBackFunction="notify" namespace="editLocation">
|
|
</vc:create>
|
|
</div>
|
|
</div>
|
|
<div class="form-group row" v-show="editLocationInfo.locationType == '7000' ">
|
|
<label class="col-sm-2 col-form-label"><span><vc:i18n name="修改停车场" namespace="editLocation"></vc:i18n></span></label>
|
|
<div class="col-sm-10">
|
|
<vc:create path="property/parkingAreaSelect2" parentModal="editLocationModel" callBackListener="editLocation" callBackFunction="notify" namespace="editLocation">
|
|
</vc:create>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- <div class="form-group row" v-show="editLocationInfo.locationType == '5000' ">
|
|
<label class="col-sm-2 col-form-label"><span><vc:i18n name="修改部门" namespace="editLocation"></vc:i18n></span></label>
|
|
<div class="col-sm-10">
|
|
<vc:create path="frame/chooseOrgTree2" callBackListener="editLocation"></vc:create>
|
|
</div>
|
|
</div> -->
|
|
|
|
<div class="ibox-content">
|
|
<button class="btn btn-primary float-right" type="button" v-on:click="editLocation()"><i
|
|
class="fa fa-check"></i> 保存</button>
|
|
<button type="button" class="btn btn-warning float-right" style="margin-right:20px;" data-dismiss="modal"><span><vc:i18n name="取消" namespace="editLocation"></vc:i18n></span></button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div> |