优化代码

This commit is contained in:
java110 2022-04-26 19:36:21 +08:00
parent ff1ed34f6a
commit 2d93356eb5
2 changed files with 31 additions and 24 deletions

View File

@ -3,7 +3,8 @@
<div class="col-lg-12">
<div class="ibox ">
<div class="ibox-title">
<h5><span><span><vc:i18n name="查询条件" namespace="roomCreateFee"></vc:i18n></span></span></h5>
<h5><span><vc:i18n name="查询条件" namespace="roomCreateFee"></vc:i18n></span>
</h5>
<div class="ibox-tools" style="top:10px;">
<button type="button" class="btn btn-link btn-sm" style="margin-right:10px;" v-on:click="_moreCondition()">{{roomCreateFeeInfo.moreCondition == true?'隐藏':'更多'}}
</button>
@ -29,10 +30,10 @@
<div class="col-sm-2">
<button type="button" class="btn btn-primary btn-sm" v-on:click="_queryRoomMethod()">
<i class="fa fa-search"></i> <span><span><vc:i18n name="查询" namespace="roomCreateFee"></vc:i18n></span></span>
<i class="fa fa-search"></i> <span><vc:i18n name="查询" namespace="roomCreateFee"></vc:i18n></span>
</button>
<button type="button" class="btn btn-white btn-sm" v-on:click="_resetRoomMethod()" style="margin-left: 20px;">
<i class="fa fa-repeat"></i> <span><span><vc:i18n name="重置" namespace="roomCreateFee"></vc:i18n></span></span>
<i class="fa fa-repeat"></i> <span><vc:i18n name="重置" namespace="roomCreateFee"></vc:i18n></span>
</button>
</div>
</div>
@ -42,7 +43,7 @@
<input type="text" :placeholder="vc.i18n('请选择楼栋','roomCreateFee')" v-model="roomCreateFeeInfo.conditions.floorName" class=" form-control">
<div class="input-group-prepend">
<button type="button" class="btn btn-primary btn-sm" v-on:click="_openChooseFloorMethod()">
<i class="fa fa-search"></i> <span><span><vc:i18n name="选择" namespace="roomCreateFee"></vc:i18n></span></span>
<i class="fa fa-search"></i> <span><vc:i18n name="选择" namespace="roomCreateFee"></vc:i18n></span>
</button>
</div>
</div>
@ -69,19 +70,20 @@
<div class="col-lg-12">
<div class="ibox">
<div class="ibox-title">
<h5><span><span><vc:i18n name="房屋信息" namespace="roomCreateFee"></vc:i18n></span></span></h5>
<h5><span><vc:i18n name="房屋信息" namespace="roomCreateFee"></vc:i18n></span>
</h5>
<div class="ibox-tools" style="top:10px;">
<button type="button" class="btn btn-white btn-sm" style="margin-left:10px" v-on:click="_openFeeImportExcel()">
自定义模板
<vc:i18n name="自定义模板" namespace="roomCreateFee"></vc:i18n>
</button>
<button type="button" class="btn btn-white btn-sm" style="margin-left:10px" v-on:click="_openDoCreateRoomFee()">
自定义创建
<vc:i18n name="自定义创建" namespace="roomCreateFee"></vc:i18n>
</button>
<button type="button" class="btn btn-white btn-sm" style="margin-left:10px" v-on:click="_openRoomCreateFeeAddModal(null,true)">
<i class="fa fa-plus"></i> <span><span><vc:i18n name="批量创建" namespace="roomCreateFee"></vc:i18n></span></span>
<i class="fa fa-plus"></i> <span><vc:i18n name="批量创建" namespace="roomCreateFee"></vc:i18n></span>
</button>
<button type="button" class="btn btn-white btn-sm" style="margin-left:10px" v-on:click="_downloadCollectionLetterOrder()">
<i class="fa fa-download"></i> <span><span><vc:i18n name="批量催缴单" namespace="roomCreateFee"></vc:i18n></span></span>
<i class="fa fa-download"></i> <span><vc:i18n name="批量催缴单" namespace="roomCreateFee"></vc:i18n></span>
</button>
</div>
</div>
@ -90,14 +92,19 @@
<thead>
<tr>
<th data-hide="phone" class="text-center">{{vc.i18n('房屋类型','roomCreateFee')}}</th>
<th data-hide="phone" class="text-center"><span><span><vc:i18n name="房屋" namespace="roomCreateFee"></vc:i18n></span></span>(栋/单元/室)</th>
<th data-hide="phone" class="text-center"><span><span><vc:i18n name="楼层" namespace="roomCreateFee"></vc:i18n></span></span>(单位:层)</th>
<th data-hide="phone" class="text-center"><span><span><vc:i18n name="房屋状态" namespace="roomCreateFee"></vc:i18n></span></span></th>
<th data-hide="phone" class="text-center"><span><span><vc:i18n name="业主名称" namespace="roomCreateFee"></vc:i18n></span></span></th>
<th data-hide="phone" class="text-center"><span><span><vc:i18n name="联系电话" namespace="roomCreateFee"></vc:i18n></span></span></th>
<th data-hide="phone" class="text-center"><span><span><vc:i18n name="业主身份证号" namespace="roomCreateFee"></vc:i18n></span></span></th>
<th class="text-center"><span><span><vc:i18n name="房屋" namespace="roomCreateFee"></vc:i18n></span></span>ID</th>
<th class="text-center"><span><span><vc:i18n name="操作" namespace="roomCreateFee"></vc:i18n></span></span></th>
<th data-hide="phone" class="text-center"><span><vc:i18n name="房屋(栋/单元/室)" namespace="roomCreateFee"></vc:i18n></span></th>
<th data-hide="phone" class="text-center"><span><vc:i18n name="楼层(单位:层)" namespace="roomCreateFee"></vc:i18n></span></th>
<th data-hide="phone" class="text-center"><span><vc:i18n name="房屋状态" namespace="roomCreateFee"></vc:i18n></span>
</th>
<th data-hide="phone" class="text-center"><span><vc:i18n name="业主名称" namespace="roomCreateFee"></vc:i18n></span>
</th>
<th data-hide="phone" class="text-center"><span><vc:i18n name="联系电话" namespace="roomCreateFee"></vc:i18n></span>
</th>
<th data-hide="phone" class="text-center"><span><vc:i18n name="业主身份证号" namespace="roomCreateFee"></vc:i18n></span>
</th>
<th class="text-center"><span><vc:i18n name="房屋ID" namespace="roomCreateFee"></vc:i18n></span></th>
<th class="text-center"><span><vc:i18n name="操作" namespace="roomCreateFee"></vc:i18n></span>
</th>
</tr>
</thead>
<tbody>
@ -131,19 +138,19 @@
</td>
<td class="text-center">
<div class="btn-group" v-if="room.state != '2002'">
<button class="btn-white btn btn-xs" v-on:click="_toOwnerPayFee(room)"><span><span><vc:i18n name="欠费" namespace="roomCreateFee"></vc:i18n></span></span></button>
<button class="btn-white btn btn-xs" v-on:click="_toOwnerPayFee(room)"><span><vc:i18n name="欠费" namespace="roomCreateFee"></vc:i18n></span></button>
</div>
<!-- <div class="btn-group" v-if="room.state != '2002'">
<button class="btn-white btn btn-xs"
v-on:click="_openTranslateFeeManualCollectionDetailModel(room)"><span><span><vc:i18n name="人工托收" namespace="roomCreateFee"></vc:i18n></span></span>
v-on:click="_openTranslateFeeManualCollectionDetailModel(room)"><span><vc:i18n name="人工托收" namespace="roomCreateFee"></vc:i18n></span>
</button>
</div> -->
<div class="btn-group" v-if="room.state != '2002'">
<button class="btn-white btn btn-xs" v-on:click="_downloadRoomCollectionLetterOrder(room)"><span><span><vc:i18n name="催缴单" namespace="roomCreateFee"></vc:i18n></span></span>
<button class="btn-white btn btn-xs" v-on:click="_downloadRoomCollectionLetterOrder(room)"><span><vc:i18n name="催缴单" namespace="roomCreateFee"></vc:i18n></span>
</button>
</div>
<div class="btn-group">
<button class="btn-white btn btn-xs" v-on:click="_openViewRoomCreateFee(room)"><span><span><vc:i18n name="费用" namespace="roomCreateFee"></vc:i18n></span></span>
<button class="btn-white btn btn-xs" v-on:click="_openViewRoomCreateFee(room)"><span><vc:i18n name="费用" namespace="roomCreateFee"></vc:i18n></span>
</button>
</div>
</td>
@ -169,4 +176,4 @@
<vc:create path="property/exportFeeImportExcel"></vc:create>
<vc:create path="property/doImportCreateFee"></vc:create>
</div>
</div>

View File

@ -305,7 +305,7 @@
"attrSpecManage": { "修改": "Modify", "请输入规格": "Please enter the specification", "请选择表名": "Please select the table name", "查询条件": "Query condition", "小区属性": "Cell Properties", "添加": "Add", "规格名称": "Specification Name", "设备属性": "Device Properties", "必填": "Required", "查询显示": "query display", "展示": "display", "删除": "delete", "查询": "query", "值类型": "value type", "停车场属性": "parking lot property", "重置": "reset", "属性表": "property table", "业主属性": "owner property", "规格类型": "spec type", "离散值": "discrete value", "操作": "action", "规格": "spec", "房屋属性": "Room property", "车辆属性": "vehicle property", "请输入规格名称": "please enter specification name", "属性配置": "property configuration" },
"orgCommunityManage": { "组织名称": "organization name", "小区": "community", "小区名称": "community name", "操作": "operation", "隶属小区": "affiliated community", "组织": "organization" },
"accountBondObjDetailManage": { "应收金额": "Amount Receivable", "开始时间": "Start Time", "状态": "Status", "查询条件": "Query Condition", "保证金明细": "Margin Details", "查询": "Inquiry", "保证金": "Margin", "请选择状态": "Please select a state", "保证金对象": "Margin object", "交保证金": "Deposit Margin", "实收金额": "Actual amount received", "请选择商铺": "Please select a shop", "结束时间": "End time", "退保证金": "Refund" },
"roomCreateFee": { "请填写业主名称": "Please fill in the ownername", "单元": "unit", "批量创建": "batch creation", "查询条件": "query condition", "楼层": "floor", "房屋类型": "Room type", "查询": "query", "选择": "select", "重置": "reset", "请选择楼栋": "please Select Building", "欠费": "Arrears", "业主名称": "Owner Name", "联系电话": "Contact Number", "请选择单元": "Please select a unit", "房屋信息": "Room", "费用": "fee", "房屋": "Room", "普通房屋": "ordinary Room", "操作": "operation", "请填写业主身份证号": "Please fill in the ownerID number", "房屋状态": "Room status", "业主身份证号": "The ownerID number", "催缴单": "Reminder note", "批量催缴单": "Batch reminder", "商铺": "Shop", "人工托收": "Manual collection" },
"roomCreateFee": { "房屋ID": "Room ID", "自定义模板": "custom template", "自定义创建": "custom creation", "请填写业主名称": "Please fill in the ownername", "单元": "unit", "批量创建": "batch creation", "查询条件": "query condition", "楼层(单位:层)": "floor", "房屋类型": "Room type", "查询": "query", "选择": "select", "重置": "reset", "请选择楼栋": "please Select Building", "欠费": "Arrears", "业主名称": "Owner Name", "联系电话": "Contact Number", "请选择单元": "Please select a unit", "房屋信息": "Room", "费用": "fee", "房屋(栋/单元/室)": "Room", "普通房屋": "ordinary Room", "操作": "operation", "请填写业主身份证号": "Please fill in the ownerID number", "房屋状态": "Room status", "业主身份证号": "The ownerID number", "催缴单": "Reminder note", "批量催缴单": "Batch reminder", "商铺": "Shop", "人工托收": "Manual collection" },
"menuUserManage": { "查询": "query", "请输入菜单": "please input menu", "图标": "icon", "操作": "action", "常用菜单": "common menu", "查询条件": "query condition", "顺序": "order", "请输入列顺序": "please enter the column order", "菜单": "menu", "请输入编号": "please enter number", "编号": "number", "删除": "delete" },
"parkingAreaControl": { "出入场明细": "Entry and exit details", "白名单": "Whitelist", "在场车辆": "Vehicles present", "临时车": "Temporary cars", "剩余车位": "Remaining Parking Spaces", "黑名单": "Blacklist", "出入场信息": "Entry and Exit", "收费明细": "Charging Details", "月租车": "Monthly Car Rental rent a car" },
"listFloor": { "修改": "modify", "楼栋": "building", "操作": "operation", "查询条件": "query condition", "请输入楼栋": "please enter building", "请输入楼栋编号": "please enter building number", "名称": "name", "更多": "more", "建筑面积": "building area", "添加单元": "Add Unit", "创建员工": "Create Employee", "编号": "Number", "删除": "Delete", "查询": "Query", "请输入楼栋名称": "Please enter the building name", "楼栋信息": "Building" },
@ -343,7 +343,7 @@
"reportFloorUnitFeeSummary": { "请选择缴费开始时间": "Please select the payment start time", "楼栋": "Building", "元": "Yuan", "单元": "Unit", "历史欠费": "History arrears", "查询条件": "Query condition", "请选择缴费结束时间": "Please select the payment end time", "欠费追回": "Arrears Recovery", "当月实收": "current monthactual receipt", "查询": "query", "选择": "select", "大计": "big plan", "请选择楼栋": "please select a building", "重置": "Reset", "欠费金额": "Amount in arrears", "实收": "Actually received", "当月应收": "Receivable in the current month", "日期": "Date", "请选择单元": "Please select a unit", "请填写房屋编号": "Please fill in the Room number", "实收合计": "Actual total", "预交费用": "Prepaid fee", "请选择收费项": "Please select a charge item", "楼栋费用表": "Building fee schedule", "应收": "Receivable", "更新时间": "Update time", "号楼": "Building No.", "导出": "Export", "小计": "Subtotal", "应收合计": "Total Receivable" },
"assetImport": { "导入": "Import", "选择文件": "Select file", "请填写备注信息": "Please fill in the remark", "资产信息": "Asset", "备注": "remarks", "必填": "required" },
"allocationStoreRoomApplyManage": { "是否是固定物品": "Is it a fixed item", "物品规格": "Item specification", "调拨数量": "Allocation quantity", "选择物品": "Select item", "操作": "Operation", "所属公司": "Affiliated Company", "物品类型": "Item Type", "员工": "Employee", "所属部门": "Affiliated Department", "必填": "Required", "库存": "Inventory", "物品名称": "Item Name", "物品": "Item", "调拨说明": "Transfer Instruction", "源仓库": "Origin WareRoom", "提交": "submit", "目标仓库": "target wareRoom", "调拨物品": "transfer item", "返回": "return", "申请说明": "application description", "审批人信息": "Approver", "取消调拨": "Cancel Transfer" },
"feeConfigManage": { "修改": "Modify", "计费结束时间": "Billing End Time", "查询条件": "Query Condition", "费用类型": "Expense Type", "请选择付费类型": "Please select a payment type", "折扣": "Discount", "添加": "Add", "附加": "Additional", "删除": "Delete", "请输入收费项目": "Please enter a charge item", "查询": "Query", "重置": "Reset", "缴费周期": "Payment Period", "费用标识": "Expense ID", "请选择费用项": "Please select a fee item", "一次性费用表示费用只收取一次比如押金": "One-time fee means that the fee is only charged once, such as deposit", "催缴类型": "Type of reminder", "计费终止时间": "Billing termination time", "操作": "Operation", "费用项信息": "Expense item", "请选择费用类型": "Please select an expense type", "付费类型": "Payment Type", "费用项": "Expense Item", "请选择费用标识": "Please select the Expense ID", "请选择出账类型": "Please select the billing type", "计费单价": "Billing unit price", "请输入费用项": "Please enter expense item", "计费起始时间": "Billing start time", "出账类型": "Billing type", "收费项目": "Charge Item" },
"feeConfigManage": { "费用项ID": "Fee Item ID", "修改": "Modify", "计费结束时间": "Billing End Time", "查询条件": "Query Condition", "费用类型": "Expense Type", "请选择付费类型": "Please select a payment type", "折扣": "Discount", "添加": "Add", "附加": "Additional", "删除": "Delete", "请输入收费项目": "Please enter a charge item", "查询": "Query", "重置": "Reset", "缴费周期": "Payment Period", "费用标识": "Expense ID", "请选择费用项": "Please select a fee item", "一次性费用表示费用只收取一次比如押金": "One-time fee means that the fee is only charged once, such as deposit", "催缴类型": "Type of reminder", "计费终止时间": "Billing termination time", "操作": "Operation", "费用项信息": "Expense item", "请选择费用类型": "Please select an expense type", "付费类型": "Payment Type", "费用项": "Expense Item", "请选择费用标识": "Please select the Expense ID", "请选择出账类型": "Please select the billing type", "计费单价": "Billing unit price", "请输入费用项": "Please enter expense item", "计费起始时间": "Billing start time", "出账类型": "Billing type", "收费项目": "Charge Item" },
"locationManage": { "小区": "Cell", "房屋": "Room", "修改": "Modify", "楼栋": "Building", "操作": "Operation", "单元": "unit", "查询条件": "query condition", "位置类型": "location type", "位置": "location", "删除": "delete", "请输入位置名称": "please Enter location name", "查询": "query", "位置名称": "location name", "部门": "department", "请输入位置编码": "please enter location code", "请选择位置类型": "Please select a location type", "位置信息": "Location", "岗亭": "Post Box" },
"rentingPoolManage": { "修改": "modify", "状态": "status", "查询条件": "query condition", "押一付六": "bet one pays six", "出租标题": "Rental Title", "房源信息": "Property", "删除": "Delete", "详情": "Details", "预付类型": "Prepaid Type", "查询": "Inquiry", "请输入业主名称": "Please enter the ownername", "业主名称": "The ownername", "请选择预付类型": "Please select the prepayment type", "业主支付": "The owner pays", "业主电话": "ownerphone", "租金": "rent", "房屋": "Room", "操作": "operation", "请输入租房名称": "please input the rental name", "押一付三": "Pay One Pay Three", "租客支付": "Pay Tenant", "申请合同": "Apply Contract", "出租配置": "Rental Configuration", "押一付一": "Deposit one pay one", "入住时间": "Check-in time" },
"transactionLogManage": { "服务编码": "Service Code", "请输入流水": "Please enter the flow", "操作": "Operation", "信息": "Information", "请输入应用编码": "Please enter application code", "状态": "status", "查询条件": "query condition", "请求时间": "request time", "请输入服务编码": "please enter service code", "查看报文": "View message", "查询": "Query", "源": "Source", "耗时": "Time-consuming", "交互日志": "Interaction log", "应用编码": "application code", "流水": "flowing water" },