Skip to content

Commit

Permalink
update Hselect
Browse files Browse the repository at this point in the history
  • Loading branch information
hzwy23 committed May 16, 2017
1 parent 3955f6c commit 16a6881
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 14 deletions.
5 changes: 3 additions & 2 deletions static/js/utils.min.js
Original file line number Diff line number Diff line change
Expand Up @@ -1262,6 +1262,7 @@ var Hutils = {
div.style.border = "#ccc solid 1px";
div.style.borderRadius = __DEFAULT.borderRadius;
div.setAttribute("class","HshowSelectValue")
div.style.position = "relative";

var span = document.createElement("span")
span.style.height = __DEFAULT.height;
Expand All @@ -1276,8 +1277,8 @@ var Hutils = {
var hzw = document.createElement("hzw")
hzw.style.position = "absolute";
hzw.style.width = "20px";
hzw.style.right = "16px";
hzw.style.float = "right";
hzw.style.right = "0px";
// hzw.style.float = "right";
hzw.style.height = __DEFAULT.height;
hzw.style.lineHeight = __DEFAULT.height;

Expand Down
14 changes: 7 additions & 7 deletions views/hauth/UserInfoPage.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,10 @@
</div>
<div id="h-user-toolbar-list" style="height: 24px; line-height: 24px;">
<span style="font-size: 10px;font-weight: 600;" class="pull-left">机构:</span>
<select id="h-user-org-list" class="form-control pull-left" style="width: 180px;height: 24px; line-height: 24px;padding: 0px;">
<select id="h-user-org-list" class="form-control pull-left" style="width: 240px;height: 24px; line-height: 24px;padding: 0px;">
</select>
<span style="font-size: 10px;font-weight: 600;" class="pull-left">&nbsp;状态:</span>
<select id="h-user-status-list" class="form-control pull-left" style="width: 180px;height: 24px; line-height: 24px;padding: 0px;">
<span style="font-size: 10px;font-weight: 600;margin-left: 12px;" class="pull-left">&nbsp;状态:</span>
<select id="h-user-status-list" class="form-control pull-left" style="width: 120px;height: 24px; line-height: 24px;padding: 0px;">
<option value="0">正常</option>
<option value="1">失效</option>
</select>
Expand Down Expand Up @@ -123,7 +123,7 @@
$("#h-user-org-list").Hselect({
data:arr,
height:"24px",
width:"180px",
width:"240px",
});
});

Expand Down Expand Up @@ -154,7 +154,7 @@
$("#h-user-org-list").Hselect({
data:arr,
height:"24px",
width:"180px",
width:"240px",
});
});
}
Expand All @@ -164,8 +164,8 @@

// 机构状态选择框
$("#h-user-status-list").Hselect({
height:"24px;",
width:"180px",
height:"24px",
width:"120px",
value:0,
})
});
Expand Down
9 changes: 4 additions & 5 deletions views/hauth/sys_batch_page.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,9 @@
<div class="col-sm-12 col-md-6 col-lg-7">
<div id="h-grant-user-table-show" style="border: #598f56 solid 1px;">
<div id="h-grant-toolbar-list" style="height: 24px; line-height: 24px;">
<span style="font-size: 10px;font-weight: 600;display: inline">机构:</span>
<select id="h-auth-org-list" class="form-control" style="height: 24px; line-height: 24px;padding: 0px; display: inline">
<span style="font-size: 10px;font-weight: 600;" class="pull-left">机构:</span>
<select id="h-auth-org-list" class="form-control pull-left" style="width: 240px;height: 24px; line-height: 24px;padding: 0px;">
</select>
<!--<button onclick="AuthObj.search()" class="btn btn-success btn-xs" style="margin-left: 8px;"><i class="icon-search"> </i>查询</button>-->
</div>
<div id="h-grant-table-info" class="col-sm-12 col-md-12 col-lg-12">
<table id="h-grant-info-table-details"
Expand Down Expand Up @@ -247,7 +246,7 @@
$("#h-auth-org-list").Hselect({
data:arr,
height:"24px",
width:"180px",
width:"240px",
onclick:function () {
AuthObj.search()
},
Expand All @@ -271,7 +270,7 @@
$("#h-auth-org-list").Hselect({
data:arr,
height:"24px",
width:"180px",
width:"240px",
onclick:function () {
AuthObj.search()
},
Expand Down

0 comments on commit 16a6881

Please sign in to comment.