mirror of
https://gitee.com/java110/MicroCommunityWeb.git
synced 2026-02-25 22:27:55 +08:00
122 lines
8.2 KiB
HTML
Executable File
122 lines
8.2 KiB
HTML
Executable File
<div>
|
|
<div class="row">
|
|
<div class="col-lg-12">
|
|
<div class="ibox ">
|
|
<div class="ibox-title">
|
|
<h5><span><vc:i18n name="查询条件" namespace="attrSpecManage"></vc:i18n></span></h5>
|
|
<div class="ibox-tools" style="top:10px;">
|
|
</div>
|
|
</div>
|
|
<div class="ibox-content">
|
|
<div class="row">
|
|
<div class="col-sm-3">
|
|
<div class="form-group">
|
|
<input type="text" :placeholder="vc.i18n('请输入规格名称','attrSpecManage')" v-model="attrSpecManageInfo.conditions.specName" class=" form-control">
|
|
</div>
|
|
</div>
|
|
<div class="col-sm-4">
|
|
<select class="custom-select" v-model="attrSpecManageInfo.conditions.tableName">
|
|
<option selected disabled value="">{{vc.i18n('请选择表名','attrSpecManage')}}</option>
|
|
<option value="building_room_attr">{{vc.i18n('房屋属性','attrSpecManage')}}</option>
|
|
<option value="building_owner_attr">{{vc.i18n('业主属性','attrSpecManage')}}</option>
|
|
<option value="building_community_attr">{{vc.i18n('小区属性','attrSpecManage')}}</option>
|
|
<option value="machine_attr">{{vc.i18n('设备属性','attrSpecManage')}}</option>
|
|
<option value="parking_area_attr">{{vc.i18n('停车场属性','attrSpecManage')}}</option>
|
|
<option value="owner_car_attr">{{vc.i18n('车辆属性','attrSpecManage')}}</option>
|
|
</select>
|
|
</div>
|
|
<div class="col-sm-3">
|
|
<div class="form-group">
|
|
<input type="text" :placeholder="vc.i18n('请输入规格','attrSpecManage')" v-model="attrSpecManageInfo.conditions.specCd" class=" form-control">
|
|
</div>
|
|
</div>
|
|
<div class="col-sm-3">
|
|
<div class="form-group">
|
|
<input type="text" :placeholder="vc.i18n('请输入域','attrSpecManage')" v-model="attrSpecManageInfo.conditions.domain" class=" form-control">
|
|
</div>
|
|
</div>
|
|
<div class="col-sm-2">
|
|
<button type="button" class="btn btn-primary btn-sm" v-on:click="_queryAttrSpecMethod()">
|
|
<i class="fa fa-search"></i> <span><vc:i18n name="查询" namespace="attrSpecManage"></vc:i18n></span>
|
|
</button>
|
|
<button type="button" class="btn btn-primary btn-sm" v-on:click="_resetAttrSpecMethod()">
|
|
<i class="fa fa-repeat"></i> <span><vc:i18n name="重置" namespace="attrSpecManage"></vc:i18n></span>
|
|
</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-lg-12">
|
|
<div class="ibox">
|
|
<div class="ibox-title">
|
|
<h5><span><vc:i18n name="属性配置" namespace="attrSpecManage"></vc:i18n></span></h5>
|
|
<div class="ibox-tools" style="top:10px;">
|
|
<button type="button" class="btn btn-primary btn-sm" v-on:click="_openAddAttrSpecModal()">
|
|
<i class="fa fa-plus"></i><span><vc:i18n name="添加" namespace="attrSpecManage"></vc:i18n></span>
|
|
</button>
|
|
</div>
|
|
</div>
|
|
<div class="ibox-content">
|
|
<table class="footable table table-stripped toggle-arrow-tiny" data-page-size="15">
|
|
<thead>
|
|
<tr>
|
|
<th class="text-center"><span><vc:i18n name="域" namespace="attrSpecManage"></vc:i18n></span></th>
|
|
<th class="text-center"><span><vc:i18n name="规格名称" namespace="attrSpecManage"></vc:i18n></span></th>
|
|
<th class="text-center"><span><vc:i18n name="规格" namespace="attrSpecManage"></vc:i18n></span></th>
|
|
<th class="text-center"><span><vc:i18n name="属性表" namespace="attrSpecManage"></vc:i18n></span></th>
|
|
<th class="text-center"><span><vc:i18n name="必填" namespace="attrSpecManage"></vc:i18n></span></th>
|
|
<th class="text-center"><span><vc:i18n name="展示" namespace="attrSpecManage"></vc:i18n></span></th>
|
|
<th class="text-center"><span><vc:i18n name="值类型" namespace="attrSpecManage"></vc:i18n></span></th>
|
|
<th class="text-center"><span><vc:i18n name="规格类型" namespace="attrSpecManage"></vc:i18n></span></th>
|
|
<th class="text-center"><span><vc:i18n name="查询显示" namespace="attrSpecManage"></vc:i18n></span></th>
|
|
<th class="text-center"><span><vc:i18n name="操作" namespace="attrSpecManage"></vc:i18n></span></th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr v-for="attrSpec in attrSpecManageInfo.attrSpecs">
|
|
<td class="text-center">{{attrSpec.domain}}</td>
|
|
<td class="text-center">{{attrSpec.specName}}</td>
|
|
<td class="text-center">{{attrSpec.specCd}}</td>
|
|
<td class="text-center">{{attrSpec.tableName}}</td>
|
|
<td class="text-center">{{attrSpec.required == 'Y'?'是':'否'}}</td>
|
|
<td class="text-center">{{attrSpec.specShow == 'Y'?'是':'否'}}</td>
|
|
<td class="text-center">{{_getSpecValueTypeName(attrSpec.specValueType)}}</td>
|
|
<td class="text-center">{{_getSpecTypeName(attrSpec.specType)}}</td>
|
|
<td class="text-center">{{attrSpec.listShow == 'Y'?'是':'否'}}</td>
|
|
<td class="text-center">
|
|
<div class="btn-group">
|
|
<button class="btn-white btn btn-xs" v-on:click="_openAttrSpecValue(attrSpec)"><span><vc:i18n name="离散值" namespace="attrSpecManage"></vc:i18n></span>
|
|
</button>
|
|
</div>
|
|
<div class="btn-group">
|
|
<button class="btn-white btn btn-xs" v-on:click="_openEditAttrSpecModel(attrSpec)"><span><vc:i18n name="修改" namespace="attrSpecManage"></vc:i18n></span>
|
|
</button>
|
|
</div>
|
|
<div class="btn-group">
|
|
<button class="btn-white btn btn-xs" v-on:click="_openDeleteAttrSpecModel(attrSpec)"><span><vc:i18n name="删除" namespace="attrSpecManage"></vc:i18n></span>
|
|
</button>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
<tfoot>
|
|
<tr>
|
|
<td colspan="9">
|
|
<ul class="pagination float-right"></ul>
|
|
</td>
|
|
</tr>
|
|
</tfoot>
|
|
</table>
|
|
<!-- 分页 -->
|
|
<vc:create path="frame/pagination"></vc:create>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<vc:create path="dev/addAttrSpec" callBackListener="" callBackFunction=""></vc:create>
|
|
<vc:create path="dev/editAttrSpec"></vc:create>
|
|
<vc:create path="dev/deleteAttrSpec"></vc:create>
|
|
</div> |