InitBasfTcc11
@@ -0,0 +1,39 @@
|
||||
function parse(y) {
|
||||
var box = document.getElementById("box");
|
||||
//获取进度条div的宽度
|
||||
var x = box.style.width;
|
||||
x = parseInt(x) + 1;
|
||||
y = y + 1;
|
||||
//将y值加上百分号赋值给box的宽度。这样每次+1就可以实现进度条占父容器的100%;
|
||||
box.style.width = y + "%";
|
||||
//将y值加上百分号并赋值给显示下载百分比的div上
|
||||
document.getElementById("box").innerHTML = y + "%";
|
||||
//判断当y已经100的时候,也就是进度条的宽度和父容器的宽度一致的时候停止。
|
||||
if (y >= 100) {
|
||||
|
||||
document.getElementById("box").innerHTML = "100%";
|
||||
}
|
||||
}
|
||||
|
||||
function printX() {
|
||||
var userid = document.getElementById('id-inputEl').value;
|
||||
F.ui.WindowImport.show();
|
||||
parse(0);
|
||||
var begin = setInterval(function () {
|
||||
PageMethods.getPercent(userid,function (result) {
|
||||
console.log(result);
|
||||
parse(result);
|
||||
if (result >= 100) {
|
||||
F.ui.WindowImport.hide();
|
||||
document.getElementById('btnRefresh').click();
|
||||
clearInterval(begin);
|
||||
}
|
||||
});
|
||||
}, 1000);
|
||||
|
||||
|
||||
y = 0;
|
||||
|
||||
|
||||
|
||||
}
|
||||
@@ -0,0 +1,65 @@
|
||||
|
||||
// 获取id为box的元素
|
||||
//初始化y,此值只可以放在方法外部,若放到方法内部的话,那方法的每一次执行都是从宽度为0开始,从而使得进度条会一直停留在第一次执行方法的位置。
|
||||
|
||||
//定义parse()方法
|
||||
function parse(y) {
|
||||
var box = document.getElementById("box");
|
||||
//获取进度条div的宽度
|
||||
var x = box.style.width;
|
||||
x = parseInt(x) + 1;
|
||||
y = y + 1;
|
||||
//将y值加上百分号赋值给box的宽度。这样每次+1就可以实现进度条占父容器的100%;
|
||||
box.style.width = y + "%";
|
||||
//将y值加上百分号并赋值给显示下载百分比的div上
|
||||
document.getElementById("box").innerHTML = y + "%";
|
||||
//判断当y已经100的时候,也就是进度条的宽度和父容器的宽度一致的时候停止。
|
||||
if (y >= 100) {
|
||||
|
||||
document.getElementById("box").innerHTML = "100%";
|
||||
}
|
||||
}
|
||||
|
||||
function downFile() {
|
||||
var begin = setInterval(function () {
|
||||
PageMethods.getUrl(function (res) {
|
||||
if (res != "") {
|
||||
window.open("../../" + res);
|
||||
clearInterval(begin);
|
||||
F.ui.WindowExport.hide();
|
||||
}
|
||||
|
||||
});
|
||||
}, 1000);
|
||||
}
|
||||
|
||||
function showProcessBar() {
|
||||
|
||||
F.ui.WindowExport.show();
|
||||
parse(0);
|
||||
var begin = setInterval(function () {
|
||||
PageMethods.getPercent(function (result) {
|
||||
parse(result);
|
||||
if (result >= 100) {
|
||||
|
||||
downFile();
|
||||
clearInterval(begin);
|
||||
}
|
||||
});
|
||||
}, 1000);
|
||||
|
||||
y = 0;
|
||||
//<![CDATA[
|
||||
var theForm = document.forms['form1'];
|
||||
if (!theForm) {
|
||||
theForm = document.form1;
|
||||
}
|
||||
// theForm.__EVENTTARGET.value = 'RegionPanel1$Region1$Form2$Toolbar1$btnPrint';
|
||||
theForm.target = "_blank";
|
||||
//theForm.submit();
|
||||
theForm.target = "";
|
||||
|
||||
//]]>
|
||||
|
||||
|
||||
}
|
||||
@@ -0,0 +1,59 @@
|
||||
body {
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
|
||||
.marginr {
|
||||
margin-right: 5px;
|
||||
}
|
||||
|
||||
.clear {
|
||||
clear: both;
|
||||
}
|
||||
|
||||
ol.result {
|
||||
list-style-type: decimal;
|
||||
margin: 10px 0 10px 25px;
|
||||
}
|
||||
|
||||
table.result {
|
||||
margin: 10px 0;
|
||||
width: 500px;
|
||||
}
|
||||
|
||||
table.result th {
|
||||
font-weight: bold;
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
table.result td, table.result th {
|
||||
border-bottom: solid 1px #efefef;
|
||||
padding: 5px;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
|
||||
.highlight {
|
||||
font-weight: bold;
|
||||
color: red;
|
||||
}
|
||||
|
||||
.black
|
||||
{
|
||||
color: Black;
|
||||
font-weight: bold;
|
||||
background-color: #EBEBEB;
|
||||
}
|
||||
|
||||
.red
|
||||
{
|
||||
color: Red;
|
||||
font-weight: bold;
|
||||
background-color: #FF0000;
|
||||
}
|
||||
|
||||
.formtitle .f-field-body {
|
||||
text-align: center;
|
||||
font-size: 12px;
|
||||
font-weight:bold;
|
||||
}
|
||||
@@ -0,0 +1,92 @@
|
||||
#header table {
|
||||
width: 100%;
|
||||
border-spacing: 0;
|
||||
border-collapse: separate;
|
||||
}
|
||||
|
||||
#header table td {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
#header .logo {
|
||||
font-size: 20px;
|
||||
font-weight: bold;
|
||||
text-decoration: none;
|
||||
display: inline-block;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#header .f-btn {
|
||||
border-width: 0;
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
#header .icontopaction .f-btn-icon {
|
||||
width: 22px;
|
||||
font-size: 16px;
|
||||
line-height: 20px;
|
||||
height: 20px;
|
||||
}
|
||||
#header .icontopaction .f-btn-text {
|
||||
font-size: 12px;
|
||||
line-height: 16px;
|
||||
}
|
||||
|
||||
|
||||
#header .icononlyaction .f-btn-icon,
|
||||
#header .icononlyaction .f-btn-text {
|
||||
font-size: 30px;
|
||||
line-height: 20px;
|
||||
height: 20px;
|
||||
}
|
||||
|
||||
|
||||
#header .userpicaction .f-btn-icon {
|
||||
border-radius: 50%;
|
||||
width: 40px;
|
||||
height: 20px;
|
||||
}
|
||||
#header .userpicaction .f-btn-text {
|
||||
margin-left: 8px;
|
||||
font-size: 14px;
|
||||
line-height: 10px;
|
||||
}
|
||||
|
||||
|
||||
ul.list {
|
||||
list-style-type: none;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
ul.list li {
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
.isnew {
|
||||
color: red;
|
||||
}
|
||||
|
||||
.tabtool {
|
||||
margin-right: 10px;
|
||||
}
|
||||
|
||||
.tabtool .ui-icon {
|
||||
font-size: 18px;
|
||||
font-weight: normal;
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
}
|
||||
|
||||
|
||||
.bottomtable {
|
||||
width: 100%;
|
||||
font-size: 12px;
|
||||
}
|
||||
@@ -0,0 +1,203 @@
|
||||
|
||||
#sideheader {
|
||||
height: 58px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
#sideheader .logo {
|
||||
font-size: 24px;
|
||||
text-decoration: none;
|
||||
line-height: 58px;
|
||||
}
|
||||
|
||||
#header {
|
||||
height: 58px;
|
||||
}
|
||||
|
||||
#header .header-right {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
}
|
||||
|
||||
#header .f-btn {
|
||||
border-width: 0;
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
#header .icontopaction .f-btn-icon {
|
||||
width: 18px;
|
||||
font-size: 18px;
|
||||
line-height: 18px;
|
||||
height: 18px;
|
||||
}
|
||||
|
||||
#header .icontopaction .f-btn-text {
|
||||
font-size: 12px;
|
||||
line-height: 16px;
|
||||
margin-top: 4px;
|
||||
}
|
||||
|
||||
#header .f-btn.icononlyaction {
|
||||
padding-left: 12px;
|
||||
padding-right: 12px;
|
||||
}
|
||||
|
||||
#header .icononlyaction .f-btn-icon,
|
||||
#header .icononlyaction .f-btn-text {
|
||||
font-size: 18px;
|
||||
line-height: 38px;
|
||||
height: 38px;
|
||||
}
|
||||
|
||||
|
||||
#header .userpicaction .f-btn-icon {
|
||||
border-radius: 50%;
|
||||
width: 38px;
|
||||
height: 38px;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
#header .userpicaction .f-btn-text {
|
||||
margin-left: 8px;
|
||||
font-size: 14px;
|
||||
line-height: 38px;
|
||||
}
|
||||
|
||||
|
||||
/* searchbox */
|
||||
#header .header-right > .f-inline-block {
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
.f-animation #header .searchbox {
|
||||
-webkit-transition: width .3s;
|
||||
transition: width .3s;
|
||||
}
|
||||
|
||||
#header .searchbox {
|
||||
margin-bottom: 0;
|
||||
padding: 12px 6px;
|
||||
}
|
||||
|
||||
#header .searchbox .f-field-textbox {
|
||||
border-width: 0;
|
||||
border-bottom-width: 1px;
|
||||
border-radius: 0;
|
||||
line-height: 34px;
|
||||
height: 34px;
|
||||
padding: 0 8px;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
#header .searchbox.collapsed .f-field-textbox {
|
||||
background-color: transparent;
|
||||
background-image: none;
|
||||
border-bottom-color: transparent;
|
||||
padding: 0;
|
||||
visibility: hidden;
|
||||
}
|
||||
|
||||
#header .searchbox.expanded .f-field-textbox {
|
||||
}
|
||||
|
||||
#header .searchbox .f-field-triggerbox-icons {
|
||||
margin-top: -12px;
|
||||
margin-right: 5px;
|
||||
}
|
||||
|
||||
#header .searchbox .f-field-triggerbox-icon.f-icon {
|
||||
font-size: 18px;
|
||||
line-height: 24px;
|
||||
min-width: 24px;
|
||||
min-height: 24px;
|
||||
}
|
||||
|
||||
|
||||
|
||||
.copyright-menutext {
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
.copyright-menutext .copyright {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.copyright-menutext .copyright .version img {
|
||||
width: 58px;
|
||||
padding: 8px 0 3px;
|
||||
}
|
||||
|
||||
|
||||
|
||||
ul.list {
|
||||
list-style-type: none;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
ul.list li {
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
|
||||
|
||||
.isnew,
|
||||
.iscorp {
|
||||
color: red;
|
||||
font-size: 11px;
|
||||
line-height: 11px;
|
||||
}
|
||||
|
||||
|
||||
|
||||
.tabtool.viewcode .f-icon {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
|
||||
ul.applytrial {
|
||||
list-style-type: none;
|
||||
margin: 10px 0 0 10px;
|
||||
border-left-width: 1px;
|
||||
border-left-style: dashed;
|
||||
padding-left: 15px;
|
||||
}
|
||||
|
||||
ul.applytrial li {
|
||||
padding: 1px 0;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/* Special - Index Page */
|
||||
.sidebarregion {
|
||||
box-shadow: 1px 0 3px 0 rgba(0,0,0,.2);
|
||||
z-index: 2000;
|
||||
}
|
||||
|
||||
.bodyregion .f-tabstrip-header {
|
||||
box-shadow: 0 1px 3px 0 rgba(0,0,0,.1);
|
||||
z-index: 1000;
|
||||
}
|
||||
|
||||
|
||||
.bodyregion .f-tabstrip-inkbar > .f-tabstrip-header .f-tab-header.f-state-active {
|
||||
background-color: transparent;
|
||||
background-image: none;
|
||||
}
|
||||
/*.bodyregion .f-tabstrip-header .f-tabstrip-header-inkbar {
|
||||
bottom: auto;
|
||||
top: 0;
|
||||
}*/
|
||||
|
||||
|
||||
.leftregion .f-tree-node.f-widget-header .f-tree-cell-inner,
|
||||
.leftregion .f-tree-minimode-list .f-tree-minimode-item .f-tree-minimode-item-inner {
|
||||
border-color: transparent !important;
|
||||
}
|
||||
|
||||
.sidebarregion .leftregion,
|
||||
.bodyregion .centerregion {
|
||||
border-width: 0;
|
||||
border-top-width: 1px;
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
Ext.UpdateManager.defaults.indicatorText='<div class="loading-indicator">讀取中...</div>';if(Ext.View){Ext.View.prototype.emptyText=""}if(Ext.grid.GridPanel){Ext.grid.GridPanel.prototype.ddText="選擇了 {0} 行"}if(Ext.TabPanelItem){Ext.TabPanelItem.prototype.closeText="關閉此標籤"}if(Ext.form.Field){Ext.form.Field.prototype.invalidText="數值不符合欄位規定"}if(Ext.LoadMask){Ext.LoadMask.prototype.msg="讀取中..."}Date.monthNames=["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"];Date.dayNames=["日","一","二","三","四","五","六"];if(Ext.MessageBox){Ext.MessageBox.buttonText={ok:"確定",cancel:"取消",yes:"是",no:"否"}}if(Ext.util.Format){Ext.util.Format.date=function(a,b){if(!a){return""}if(!(a instanceof Date)){a=new Date(Date.parse(a))}return a.dateFormat(b||"Y/m/d")}}if(Ext.DatePicker){Ext.apply(Ext.DatePicker.prototype,{todayText:"今天",minText:"日期必須大於最小容許日期",maxText:"日期必須小於最大容許日期",disabledDaysText:"",disabledDatesText:"",monthNames:Date.monthNames,dayNames:Date.dayNames,nextText:"下個月 (Ctrl+右方向鍵)",prevText:"上個月 (Ctrl+左方向鍵)",monthYearText:"選擇月份 (Ctrl+上/下方向鍵選擇年份)",todayTip:"{0} (空白鍵)",format:"y/m/d",okText:"确定",cancelText:"取消"})}if(Ext.PagingToolbar){Ext.apply(Ext.PagingToolbar.prototype,{beforePageText:"第",afterPageText:"頁,共{0}頁",firstText:"第一頁",prevText:"上一頁",nextText:"下一頁",lastText:"最後頁",refreshText:"重新整理",displayMsg:"顯示{0} - {1}筆,共{2}筆",emptyMsg:"沒有任何資料"})}if(Ext.form.TextField){Ext.apply(Ext.form.TextField.prototype,{minLengthText:"此欄位最少要輸入 {0} 個字",maxLengthText:"此欄位最多輸入 {0} 個字",blankText:"此欄位為必填",regexText:"",emptyText:null})}if(Ext.form.NumberField){Ext.apply(Ext.form.NumberField.prototype,{minText:"此欄位之數值必須大於 {0}",maxText:"此欄位之數值必須小於 {0}",nanText:"{0} 不是合法的數字"})}if(Ext.form.DateField){Ext.apply(Ext.form.DateField.prototype,{disabledDaysText:"無法使用",disabledDatesText:"無法使用",minText:"此欄位之日期必須在 {0} 之後",maxText:"此欄位之日期必須在 {0} 之前",invalidText:"{0} 不是正確的日期格式 - 必須像是 「 {1} 」 這樣的格式",format:"Y/m/d"})}if(Ext.form.ComboBox){Ext.apply(Ext.form.ComboBox.prototype,{loadingText:"讀取中 ...",valueNotFoundText:undefined})}if(Ext.form.VTypes){Ext.apply(Ext.form.VTypes,{emailText:'此欄位必須輸入像 "user@example.com" 之E-Mail格式',urlText:'此欄位必須輸入像 "http://www.example.com" 之網址格式',alphaText:"此欄位僅能輸入半形英文字母及底線( _ )符號",alphanumText:"此欄位僅能輸入半形英文字母、數字及底線( _ )符號"})}if(Ext.grid.GridView){Ext.apply(Ext.grid.GridView.prototype,{sortAscText:"正向排序",sortDescText:"反向排序",lockText:"鎖定欄位",unlockText:"解開欄位鎖定",columnsText:"欄位"})}if(Ext.grid.PropertyColumnModel){Ext.apply(Ext.grid.PropertyColumnModel.prototype,{nameText:"名稱",valueText:"數值",dateFormat:"Y/m/d"})}if(Ext.layout.BorderLayout&&Ext.layout.BorderLayout.SplitRegion){Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype,{splitTip:"拖曳縮放大小.",collapsibleSplitTip:"拖曳縮放大小. 滑鼠雙擊隱藏."})}Ext.apply(X.ajax,{errorMsg:"出錯了!{0} ({1})"});Ext.apply(X.util,{alertTitle:"提示對話方塊",confirmTitle:"確認對話方塊",formAlertMsg:"請為 {0} 提供有效值!",formAlertTitle:"表單不完整",loading:"正在載入..."});Ext.apply(X.wnd,{closeButtonTooltip:"關閉此窗口",formModifiedConfirmTitle:"確認關閉",formModifiedConfirmMsg:"當前表單已經被修改。<br/><br/>確認放棄修改?"});if(Ext.ux.SimplePagingToolbar){Ext.apply(Ext.ux.SimplePagingToolbar.prototype,{beforePageText:"轉到",afterPageText:" 共 {0} 頁",firstText:"第一頁",prevText:"前一頁",nextText:"下一頁",lastText:"最後頁",displayMsg:"顯示 {0} - {1},共 {2} 條",emptyMsg:"没有資料需要顯示"})}if(Ext.ux.form&&Ext.ux.TabCloseMenu){Ext.apply(Ext.ux.TabCloseMenu.prototype,{closeTabText:"關閉標籤",closeOtherTabsText:"關閉其它標籤",closeAllTabsText:"關閉全部標籤"})}if(Ext.ux.form&&Ext.ux.form.FileUploadField){Ext.apply(Ext.ux.form.FileUploadField.prototype,{buttonText:"瀏覽..."})};
|
||||
|
After Width: | Height: | Size: 1010 B |
|
After Width: | Height: | Size: 1005 B |
|
After Width: | Height: | Size: 810 B |
|
After Width: | Height: | Size: 810 B |
|
After Width: | Height: | Size: 810 B |
|
After Width: | Height: | Size: 810 B |
|
After Width: | Height: | Size: 843 B |
|
After Width: | Height: | Size: 839 B |
|
After Width: | Height: | Size: 833 B |
|
After Width: | Height: | Size: 2.8 KiB |
|
After Width: | Height: | Size: 2.4 KiB |
|
After Width: | Height: | Size: 861 B |
|
After Width: | Height: | Size: 70 B |
|
After Width: | Height: | Size: 904 B |
|
After Width: | Height: | Size: 943 B |
|
After Width: | Height: | Size: 961 B |
|
After Width: | Height: | Size: 875 B |
|
After Width: | Height: | Size: 155 B |
|
After Width: | Height: | Size: 956 B |
|
After Width: | Height: | Size: 1.9 KiB |
|
After Width: | Height: | Size: 2.0 KiB |
|
After Width: | Height: | Size: 2.0 KiB |
|
After Width: | Height: | Size: 1.6 KiB |
|
After Width: | Height: | Size: 4.1 KiB |
|
After Width: | Height: | Size: 614 B |
|
After Width: | Height: | Size: 1.7 KiB |
|
After Width: | Height: | Size: 1.5 KiB |
|
After Width: | Height: | Size: 66 B |
|
After Width: | Height: | Size: 908 B |
|
After Width: | Height: | Size: 1.4 KiB |
|
After Width: | Height: | Size: 825 B |
|
After Width: | Height: | Size: 825 B |
|
After Width: | Height: | Size: 868 B |
|
After Width: | Height: | Size: 869 B |
|
After Width: | Height: | Size: 962 B |
|
After Width: | Height: | Size: 68 B |
|
After Width: | Height: | Size: 133 B |
|
After Width: | Height: | Size: 947 B |
|
After Width: | Height: | Size: 860 B |
|
After Width: | Height: | Size: 834 B |
|
After Width: | Height: | Size: 829 B |
|
After Width: | Height: | Size: 47 B |
|
After Width: | Height: | Size: 855 B |
|
After Width: | Height: | Size: 701 B |
|
After Width: | Height: | Size: 817 B |
|
After Width: | Height: | Size: 829 B |
|
After Width: | Height: | Size: 419 B |
|
After Width: | Height: | Size: 268 B |
|
After Width: | Height: | Size: 164 B |
|
After Width: | Height: | Size: 162 B |
|
After Width: | Height: | Size: 162 B |
|
After Width: | Height: | Size: 917 B |
|
After Width: | Height: | Size: 77 B |
|
After Width: | Height: | Size: 131 B |
|
After Width: | Height: | Size: 82 B |
|
After Width: | Height: | Size: 839 B |
|
After Width: | Height: | Size: 931 B |
|
After Width: | Height: | Size: 930 B |
|
After Width: | Height: | Size: 955 B |
|
After Width: | Height: | Size: 648 B |
|
After Width: | Height: | Size: 971 B |
|
After Width: | Height: | Size: 697 B |
|
After Width: | Height: | Size: 46 B |
|
After Width: | Height: | Size: 771 B |
|
After Width: | Height: | Size: 875 B |
|
After Width: | Height: | Size: 884 B |
|
After Width: | Height: | Size: 340 B |
|
After Width: | Height: | Size: 96 B |
|
After Width: | Height: | Size: 340 B |
|
After Width: | Height: | Size: 96 B |
|
After Width: | Height: | Size: 195 B |
|
After Width: | Height: | Size: 82 B |
|
After Width: | Height: | Size: 197 B |
|
After Width: | Height: | Size: 82 B |
|
After Width: | Height: | Size: 1.0 KiB |
|
After Width: | Height: | Size: 91 B |
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 955 B |