| | |
| | | <div class="ibox-title"> |
| | | <h5>编码映射信息</h5> |
| | | <div class="ibox-tools" style="top:10px;"> |
| | | |
| | | <form> |
| | | <div class="form-row"> |
| | | <div class="col-8 input-group input-group-sm"> |
| | | <input type="text" placeholder="请填写名称" class=" form-control" v-model="mappingManageInfo.name"> |
| | | <div class="input-group-prepend"> |
| | | <button type="button" class="btn btn-primary btn-sm" v-on:click="_queryMappingMethod()"> |
| | | <i class="glyphicon glyphicon-search"></i> 马上查询</button> |
| | | </div> |
| | | </div> |
| | | |
| | | <div class="col"> |
| | | <button type="button" class="btn btn-primary btn-sm" v-on:click="_openAddMappingModal()"> |
| | | <i class="glyphicon glyphicon-plus"></i> |
| | | 添加编码映射 |
| | | </button> |
| | | </div> |
| | | </div> |
| | | </form> |
| | | |
| | | </div> |
| | | </div> |
| | | <div class="ibox-content"> |
| | | |
| | | <table class="footable table table-stripped toggle-arrow-tiny" |
| | |
| | | data:{ |
| | | mappingManageInfo:{ |
| | | mappings:[], |
| | | name:'', |
| | | total:0, |
| | | records:1 |
| | | } |
| | |
| | | var param = { |
| | | params:{ |
| | | page:_page, |
| | | row:_rows |
| | | row:_rows, |
| | | name:vc.component.mappingManageInfo.name |
| | | } |
| | | |
| | | } |
| | |
| | | }, |
| | | _openDeleteMappingModel:function(_mapping){ |
| | | vc.emit('deleteMapping','openDeleteMappingModal',_mapping); |
| | | }, |
| | | _queryMappingMethod:function(){ |
| | | vc.component._listMappings(DEFAULT_PAGE, DEFAULT_ROWS); |
| | | |
| | | } |
| | | } |
| | | }); |
| | |
| | | <insert id="saveMappingInfo" parameterType="Map"> |
| | | <![CDATA[ |
| | | insert into c_mapping( |
| | | domain,name,remark,id,value,`key`) values ( |
| | | #{domain},#{name},#{remark},#{id},#{value},#{key} |
| | | domain,name,remark,id,``key``,value) values ( |
| | | #{domain},#{name},#{remark},#{id},#{key},#{value} |
| | | ) |
| | | ]]> |
| | | |