Files
PropertyDeployment/resources/Web/MicroCommunityWeb/html/pages/fee/addOweFeeCallable/addOweFeeCallable.html
2025-12-09 20:22:03 +08:00

112 lines
6.1 KiB
HTML

<div class="ibox">
<!-- todo anfioo i18n国际化-->
<div class="ibox-title">
<h5>
<vc:i18n name="欠费催缴" namespace="addOweFeeCallable"></vc:i18n>
</h5>
<div class="ibox-tools" style="top:10px;">
</div>
</div>
<div class="ibox-content">
<div class="form-group row">
<label class="col-sm-2 col-form-label text-right">
<vc:i18n name="催缴方式" namespace="addOweFeeCallable"></vc:i18n>
</label>
<div class="col-sm-8">
<select class="custom-select" v-model="addOweFeeCallableInfo.callableWay">
<option selected disabled value="">{{vc.i18n('请选择催缴方式','addOweFeeCallable')}}</option>
<option value="WECHAT">{{vc.i18n('微信模板消息','addOweFeeCallable')}}</option>
<option value="SMS">{{vc.i18n('短信','addOweFeeCallable')}}</option>
<option value="EXCEL">{{vc.i18n('导出','addOweFeeCallable')}}</option>
<option value="TTS">{{vc.i18n('电话催缴','addOweFeeCallable')}}</option>
<option value="TELEGRAM">{{vc.i18n('电报短信提醒','addOweFeeCallable')}}</option>
</select>
</div>
</div>
<div class="form-group row">
<label class="col-sm-2 col-form-label text-right">
<vc:i18n name="催缴费" namespace="addOweFeeCallable"></vc:i18n>
</label>
<div class="col-sm-8 padding-top-sm">
<span class="margin-right" v-for="(item,index) in addOweFeeCallableInfo.feeConfigs">
<input type="checkbox" class="i-checks checkItem" v-bind:value="item.configId"
v-model="addOweFeeCallableInfo.configIds" @change="_loadOweFeeRooms()">
{{item.feeName}}
</span>
</div>
</div>
<div class="form-group row">
<label class="col-sm-2 col-form-label text-right">
<vc:i18n name="楼栋" namespace="addOweFeeCallable"></vc:i18n>
</label>
<div class="col-sm-8">
<select class="custom-select" v-model="addOweFeeCallableInfo.floorId" @change="_loadOweFeeRooms()">
<option selected disabled value="">{{vc.i18n('请选择楼栋','addOweFeeCallable')}}</option>
<option :value="item.floorId" v-for="(item,index) in addOweFeeCallableInfo.floors" :key="index">
{{item.floorNum}}</option>
</select>
</div>
</div>
<div class="form-group row">
<label class="col-sm-2 col-form-label text-right">
<vc:i18n name="应收时间段" namespace="addOweFeeCallable"></vc:i18n>
</label>
<div class="col-sm-2">
<select class="custom-select" v-model="addOweFeeCallableInfo.hasTime" @change="_loadOweFeeRooms()">
<option selected disabled value="">{{vc.i18n('请选择应收时间段','addOweFeeCallable')}}</option>
<option value="OFF">{{vc.i18n('否','addOweFeeCallable')}}</option>
<option value="ON">{{vc.i18n('是','addOweFeeCallable')}}</option>
</select>
</div>
<div class="col-sm-2" v-show="addOweFeeCallableInfo.hasTime == 'ON'">
<input v-model="addOweFeeCallableInfo.startTime" type="text"
:placeholder="vc.i18n('请选择开始时间','addOweFeeCallable')" class="form-control addStartTime">
</div>
<div class="col-sm-2" v-show="addOweFeeCallableInfo.hasTime == 'ON'">
<input v-model="addOweFeeCallableInfo.endTime" type="text"
:placeholder="vc.i18n('请选择结束时间','addOweFeeCallable')" class="form-control addEndTime">
</div>
</div>
<div class="form-group row">
<label class="col-sm-2 col-form-label text-right">
<vc:i18n name="欠费房产" namespace="addOweFeeCallable"></vc:i18n>
</label>
<div class="col-sm-8 padding-top-sm"
v-show="addOweFeeCallableInfo.rooms && addOweFeeCallableInfo.rooms.length >0 ">
<span class="margin-right">
<input type="checkbox" class="i-checks all-check" value="" @click="checkAll($event)"> 全选
</span>
<span class="margin-right" v-for="(item,index) in addOweFeeCallableInfo.rooms">
<input type="checkbox" class="i-checks checkItem" v-bind:value="item.payerObjId"
v-model="addOweFeeCallableInfo.roomIds"> {{item.payerObjName}}
</span>
</div>
<div class="col-sm-8 padding-top-sm"
v-show="!addOweFeeCallableInfo.rooms || addOweFeeCallableInfo.rooms.length <1 ">
<span class="margin-right">
<vc:i18n name="无欠费房产" namespace="addOweFeeCallable"></vc:i18n>
</span>
</div>
</div>
<div class="ibox-content">
<button class="btn btn-primary float-right" type="button" v-if="addOweFeeCallableInfo.callableWay=='EXCEL'"
v-on:click="_exportCollectionLetterExcel()">
<i class="fa fa-check"></i><vc:i18n name="导出" namespace="addOweFeeCallable"></vc:i18n>
</button>
<button class="btn btn-primary float-right" type="button" v-else-if="addOweFeeCallableInfo.callableWay=='TTS'"
v-on:click="_ttsOweFee()">
<i class="fa fa-check"></i>&nbsp;Voice reminder
</button>
<button class="btn btn-primary float-right" type="button" v-else v-on:click="_saveOweFeeCallable()">
<i class="fa fa-check"></i>&nbsp;submit
</button>
<button type="button" class="btn btn-warning float-right" style="margin-right:20px;" @click="vc.goBack()">
<vc:i18n name="返回" namespace="addOweFeeCallable"></vc:i18n>
</button>
</div>
</div>
</div>