提交 f287892b 编写于 作者: U unknown

delete_standingbook

上级 8be6bb55
<div class="separator mainColor_border"></div>
<div class="condition" style="margin-bottom: 20px!important;">
<div>
<div data-o2-element="defaultConditionArea"></div>
<div data-o2-element="dynamicConditionArea">
{{each $.data}}
<div class="item" style="display:{{ ($.index > 0 && !$._.status.isShowAllFilter ) ? 'none' : '' }}">
<div class="item-title" title="{{$.label}}">{{$.label}}</div>
<div class="item-content">
<ul class="input-subitem-wrap">
<li class="mainColor_color" data-o2-events="o2load:loadCustomConditionItem"></li>
</ul>
</div>
</div>
{{end each}}
</div>
</div>
</div>
{{if $.data.length > 0}}
<div class="actionbar">
<div class="search-action mainColor_bg" data-o2-events="click:searchByCondition">
<!-- <i class="o2icon-search1 mainColor_color"></i>-->
<span>{{this.lp.ok}}</span>
</div>
<div class="export-action" data-o2-events="click:reset">
<!-- <i class="o2icon-dump mainColor_color"></i>-->
<span>{{this.lp.reset}}</span>
</div>
<div class="export-action" data-o2-events="click:exportExcel">
<!-- <i class="o2icon-download mainColor_color"></i>-->
<span>{{this.lp.export}}</span>
</div>
{{if $.data.length > 1}}
<div class="switch-filter-action" data-o2-events="click:switchMoreFilterItem">
<i class="switch-filter-icon {{$.status.isShowAllFilter ? 'o2icon-chevron-thin-up' : 'o2icon-chevron-thin-down'}} mainColor_color"></i>
<span class="switch-filter-text">{{$.status.isShowAllFilter ? $.lp.collapseFilter : $.lp.moreFilter}}</span>
</div>
{{end if}}
</div>
{{end if}}
\ No newline at end of file
{{each $.data}}
<div class="item">
<div class="item-title">{{$.label}}</div>
<div class="item-content">
{{if $.valueCountPairList && $.valueCountPairList.length}}
<div class="switch-button" data-o2-events="click:switchConditionItem;mouseover:mainColorOver:switch-button;mouseout:mainColorOut:switch-button">
<i class="o2icon-triangle_down"></i><span>{{$._.lp.more}}</span>
</div>
<ul class="subitem-wrap">
{{each $.valueCountPairList}}
<li class="subitem">
<div class="subItem-content" data-o2-events="click:changeSingleCondition;mouseover:subConditionOver;mouseout:subConditionOut">
{{$.label}}({{$.count}})
</div>
</li>
{{end each}}
</ul>
<div data-o2-events="o2load:checkSwitchButton"></div>
{{end if}}
</div>
</div>
{{end each}}
\ No newline at end of file
<div class="conditionSelected">
{{each $.data}}
<div class="item mainColor_bg" data-o2-events="click:removeSelectedConditionItem;mouseover:conditionSelectedOver;mouseout:conditionSelectedOut">
<span>{{$.parentLabel}}:</span>
{{each $.labelList}}
<div class="item-text">{{$}}</div>
{{end each}}
<i class="o2icon-close icon"></i>
</div>
{{end each}}
</div>
\ No newline at end of file
<table align="left" class="listTable" border="0" width="100%" cellpadding="0" cellspacing="0">
<tr>
<th style="width: 30px;">
{{$.lp.sequence}}
</th>
{{each $.fieldList}}
<th data-o2-events="click:orderColumn:{{$.field}};">
{{$.name}}
<i class="{{$.icon}}"></i>
</th>
{{end each}}
</tr>
{{each $.data}}
<tr class="row" data-o2-events="click:openItem:{{$.id}}:{{!!$.processName}};mouseover:rowOver;mouseout:rowOut">
<td>{{$.sequence}}</td>
{{each $._.fieldList}}
{{if $.field === "title"}}
<td><a href="#">{{$._[$.field]}}</a></td>
{{end if}}
{{if $.field === "completed"}}
<td>{{ $._._.lp[$._[$.field]] }}</td>
{{end if}}
{{if ["title","completed"].indexOf($.field) === -1 }}
<td>{{$._[$.field]}}</td>
{{end if}}
{{end each}}
</tr>
{{end each}}
</table>
<!--{{if !$.data}}-->
<!--<div class="listNoData">{{$.lp.noSearchkey}}</div>-->
<!--{{end if}}-->
{{if !$.data || !$.data.length}}
<div class="listNoData">{{$.lp.noData}}</div>
{{end if}}
\ No newline at end of file
<div class="fieldSelect" data-o2-element="fieldSelectArea">
<div class="fieldSelect-title">{{$.lp.fieldSelect}}</div>
<div class="fieldSelect-switch-action" data-o2-events="click:switchFieldSelectContent;mouseover:mainColorOver:fieldSelect-switch-action;mouseout:mainColorOut:fieldSelect-switch-action">
<i class="o2icon-triangle_down"></i><span>{{$.lp.more}}</span>
</div>
<div class="fieldSelect-content">
{{each $.data}}
<div class="fieldSelect-item">
<div class="fieldSelect-item-content" data-o2-events="click:switchFieldSelected;mouseover:fieldOver;mouseout:fieldOut">
{{if !$.selected}}
<i class="checkbox o2icon-check_box_outline_blank"></i>
{{end if}}
{{if $.selected}}
<i class="checkbox o2icon-check_box mainColor_color"></i>
{{end if}}
{{$.name}}
</div>
</div>
{{end each}}
</div>
<div data-o2-events="o2load:checkSwitchFieldSelect"></div>
</div>
\ No newline at end of file
<div class="index-wrap" data-o2-element="contentNode">
<div class="index-search-wrap">
<div class="index-top">
<div class="index-top-inner">
<div style="float:right;">
<div class="index-topLink mainColor_color mainColor_border" style="margin-left:10px;" data-o2-events="click:selectTab">{{$.lp.selectModule}}</div>
</div>
<div class="breadcrumb-index">
<span>{{$.lp.location}}</span>
<a data-o2-events="click:selectTab:true">{{$.lp.title}}</a>
<span>></span>
<span class="mainColor_color" style="overflow: hidden;" title="{{$.tabData.name}}">{{$.tabData.name}}</span>
</div>
</div>
</div>
<div data-o2-element="docContent" class="docContent-index">
<div class="contentWrap-index">
<div data-o2-element="conditionSelectedArea"></div>
<div data-o2-element="conditionArea"></div>
<div data-o2-element="docTotalNode" class="docTotalNode" style="margin-top:5px;"></div>
<div class="separator mainColor_border"></div>
<div data-o2-element="fieldSelectedArea"></div>
<div class="index-listNode" data-o2-element="docListNode"></div>
<div class="index-pagingNode" data-o2-element="docPaginationNode"></div>
</div>
</div>
</div>
</div>
\ No newline at end of file
<?xml version="1.0" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
<svg xmlns="http://www.w3.org/2000/svg">
<metadata>
<json>
<![CDATA[
{
"fontFamily": "ftsearch",
"majorVersion": 1,
"minorVersion": 0,
"description": "Font generated by IcoMoon.",
"version": "Version 1.0",
"fontId": "ftsearch",
"psName": "ftsearch",
"subFamily": "Regular",
"fullName": "ftsearch"
}
]]>
</json>
</metadata>
<defs>
<font id="ftsearch" horiz-adv-x="1024">
<font-face units-per-em="1024" ascent="960" descent="-64" />
<missing-glyph horiz-adv-x="1024" />
<glyph unicode="&#x20;" horiz-adv-x="512" d="" />
<glyph unicode="&#xe900;" glyph-name="indeterminate_check_box" data-tags="indeterminate_check_box" d="M726 384.667v84h-428v-84h428zM810 810.667q34 0 60-26t26-60v-596q0-34-26-60t-60-26h-596q-34 0-60 26t-26 60v596q0 34 26 60t60 26h596z" />
<glyph unicode="&#xe901;" glyph-name="check_box_outline_blank" data-tags="check_box_outline_blank" d="M810 810.667q34 0 60-26t26-60v-596q0-34-26-60t-60-26h-596q-34 0-60 26t-26 60v596q0 34 26 60t60 26h596zM810 724.667h-596v-596h596v596z" />
<glyph unicode="&#xe902;" glyph-name="check_box" data-tags="check_box" d="M426 212.667l384 384-60 62-324-324-152 152-60-60zM810 810.667q36 0 61-25t25-61v-596q0-36-25-61t-61-25h-596q-36 0-61 25t-25 61v596q0 36 25 61t61 25h596z" />
<glyph unicode="&#xe903;" glyph-name="chevron-thin-up" data-tags="chevron-thin-up" d="M132.198 261.581c-13.926-13.722-36.301-13.722-50.125 0s-13.875 35.891 0 49.613l404.89 400.896c13.824 13.722 36.198 13.722 50.125 0l404.89-400.896c13.824-13.722 13.824-35.891 0-49.613-13.875-13.722-36.301-13.722-50.074 0l-379.904 365.619-379.802-365.619z" />
<glyph unicode="&#xe904;" glyph-name="chevron-thin-down" data-tags="chevron-thin-down" d="M891.802 660.019c13.926 13.722 36.301 13.722 50.125 0s13.875-35.891 0-49.613l-404.89-400.896c-13.824-13.722-36.198-13.722-50.125 0l-404.89 400.896c-13.824 13.722-13.824 35.891 0 49.613 13.875 13.722 36.301 13.722 50.125 0l379.853-365.619 379.802 365.619z" />
<glyph unicode="&#xe905;" glyph-name="order_none" data-tags="order_none" d="M833.772 357.087c30.343 0 37.228-17.159 15.479-38.327v0l-302.643-294.545c-22.001-21.412-57.012-21.167-78.761 0v0l-302.643 294.545c-22.001 21.412-14.819 38.327 15.479 38.327v0zM760.82 293.627h-502.559l251.095-216.374 251.464 216.374zM546.608 817.959l302.643-294.545c21.749-21.167 14.864-38.327-15.479-38.327h-653.089c-30.298 0-37.48 16.914-15.479 38.327l302.643 294.545c21.749 21.167 56.76 21.412 78.761 0zM511.953 767.645l-251.095-216.374h502.559l-251.464 216.374z" />
<glyph unicode="&#xe906;" glyph-name="order_up" data-tags="order_up" d="M833.772 357.087c30.343 0 37.228-17.159 15.479-38.327v0l-302.643-294.545c-22.001-21.412-57.012-21.167-78.761 0v0l-302.643 294.545c-22.001 21.412-14.819 38.327 15.479 38.327v0zM760.82 293.627h-502.559l251.095-216.374 251.464 216.374zM546.608 817.959l302.643-294.545c21.749-21.167 14.864-38.327-15.479-38.327h-653.089c-30.298 0-37.48 16.914-15.479 38.327l302.643 294.545c21.749 21.167 56.76 21.412 78.761 0z" />
<glyph unicode="&#xe907;" glyph-name="order_down" data-tags="order_down" d="M833.772 357.087c30.343 0 37.228-17.159 15.479-38.327v0l-302.643-294.545c-22.001-21.412-57.012-21.167-78.761 0v0l-302.643 294.545c-22.001 21.412-14.819 38.327 15.479 38.327v0zM546.608 817.959l302.643-294.545c21.749-21.167 14.864-38.327-15.479-38.327h-653.089c-30.298 0-37.48 16.914-15.479 38.327l302.643 294.545c21.749 21.167 56.76 21.412 78.761 0zM512 765.3l-251.095-216.374h502.559l-251.464 216.374z" />
<glyph unicode="&#xe908;" glyph-name="dump" data-tags="dump" d="M315.392 869.888c-57.344-26.624-112.64-61.44-122.88-75.776-12.288-20.48-20.48-10.24-28.672 32.768-6.144 36.864-22.528 61.44-40.96 61.44-22.528 0-32.768-30.72-36.864-129.024l-6.144-129.024 129.024 6.144c96.256 4.096 129.024 14.336 129.024 36.864 0 16.384-22.528 34.816-51.2 40.96l-51.2 12.288 71.68 45.056c184.32 114.688 403.456 65.536 526.336-116.736 227.328-337.92-190.464-757.76-526.336-528.384-94.208 63.488-145.408 137.216-174.080 253.952-14.336 57.344-36.864 98.304-53.248 98.304-73.728 0-22.528-219.136 79.872-342.016 71.68-83.968 237.568-159.744 352.256-159.744 106.496 0 274.432 71.68 342.016 145.408 69.632 75.776 129.024 225.28 129.024 325.632 0 106.496-71.68 274.432-145.408 342.016-75.776 69.632-225.28 129.024-325.632 129.024-55.296 0-135.168-20.48-196.608-49.152zM413.696 544.256c-57.344-61.44-57.344-139.264 2.048-194.56 61.44-57.344 139.264-57.344 194.56 2.048 57.344 61.44 57.344 139.264-2.048 194.56-61.44 57.344-139.264 57.344-194.56-2.048zM563.2 448c0-36.864-12.288-53.248-47.104-57.344-26.624-4.096-51.2 6.144-57.344 24.576-20.48 53.248 8.192 98.304 57.344 90.112 34.816-4.096 47.104-20.48 47.104-57.344z" />
<glyph unicode="&#xe913;" glyph-name="close" data-tags="close" d="M754.865 786.865c24.928 24.928 65.494 24.776 90.324-0.054l5.622-5.622c24.957-24.957 25.077-65.301 0.054-90.324l-581.729-581.729c-24.928-24.928-65.494-24.776-90.324 0.054l-5.622 5.622c-24.957 24.957-25.077 65.301-0.054 90.324l581.729 581.729zM173.135 690.865c-24.928 24.928-24.776 65.494 0.054 90.324l5.622 5.622c24.957 24.957 65.301 25.077 90.324 0.054l581.729-581.729c24.928-24.928 24.776-65.494-0.054-90.324l-5.622-5.622c-24.957-24.957-65.301-25.077-90.324-0.054l-581.729 581.729z" />
<glyph unicode="&#xe922;" glyph-name="log" data-tags="log" d="M864 960h-768c-52.8 0-96-43.2-96-96v-832c0-52.8 43.2-96 96-96h768c52.8 0 96 43.2 96 96v832c0 52.8-43.2 96-96 96zM832 64h-704v768h704v-768zM256 512h448v-64h-448zM256 384h448v-64h-448zM256 256h448v-64h-448zM256 640h448v-64h-448z" />
<glyph unicode="&#xe944;" glyph-name="add" data-tags="add" d="M512.964 930.259c35.295 0 63.907-28.442 63.907-63.831l-0.018-343.401 343.481-0.062c35.253 0 63.831-28.792 63.831-63.907v-7.951c0-35.295-28.442-63.907-63.831-63.907l-343.481 0.018 0.018-343.481c0-35.253-28.792-63.831-63.907-63.831h-7.951c-35.295 0-63.907 28.442-63.907 63.831l-0.062 343.481-343.401-0.018c-35.253 0-63.831 28.792-63.831 63.907v7.951c0 35.295 28.442 63.907 63.831 63.907l343.401 0.062 0.062 343.401c0 35.253 28.792 63.831 63.907 63.831h7.951z" />
<glyph unicode="&#xe965;" glyph-name="radio" data-tags="radio" d="M512 960c282.77 0 512-229.23 512-512s-229.23-512-512-512c-282.77 0-512 229.23-512 512s229.23 512 512 512zM520.533 652.8c-117.821 0-213.333-95.513-213.333-213.333s95.513-213.333 213.333-213.333c117.821 0 213.333 95.513 213.333 213.333s-95.513 213.333-213.333 213.333z" />
<glyph unicode="&#xe967;" glyph-name="checkbox" data-tags="checkbox" d="M508.569 960c70.279 0 136.192-13.33 197.776-40.044s115.425-63.057 161.469-109.029c46.044-45.99 82.423-99.885 109.155-161.684 26.768-61.871 40.152-127.874 40.098-198.081 0-70.225-13.33-136.102-40.098-197.56-26.732-61.53-63.165-115.317-109.155-161.289-46.044-45.936-99.885-82.315-161.469-109.047-61.584-26.714-127.497-40.044-197.776-40.044-70.351 0-136.282 13.33-197.848 40.044-61.584 26.732-115.425 63.111-161.415 109.047-46.044 45.972-82.423 99.759-109.191 161.289-26.786 61.458-40.116 127.335-40.116 197.56 0 70.207 13.33 136.21 40.116 198.081 26.768 61.799 63.147 115.694 109.191 161.684 46.044 45.972 99.831 82.315 161.415 109.029 61.566 26.714 127.497 40.044 197.848 40.044zM847.7 679.262c-20.132 14.951-48.488 13.157-66.698-5.053v0l-344.073-344.033-127.311 127.298c-18.256 18.256-46.761 19.969-66.815 5.107l-5.744-4.956-4.987-5.776c-14.945-20.138-13.115-48.53 5.138-66.783v0l153.564-153.564c1.993-1.993 4.109-3.789 6.322-5.388l3.83-4.388 5.775-4.988c20.132-14.951 48.488-13.157 66.698 5.053v0l380.010 380.010c20.163 20.163 20.060 52.478 0.065 72.473v0z" />
<glyph unicode="&#xe987;" glyph-name="cross" data-tags="cross" d="M173.277 878.128l0.207-0.207 337.818-339.36 337.881 339.36c25.086 24.971 65.329 24.879 90.093 0v0c24.959-25.074 24.959-65.436 0.104-90.405v0l-337.966-339.515 337.966-339.516c24.855-24.969 24.855-65.331 0-90.301l-0.104-0.104c-24.764-24.879-65.007-24.971-89.886-0.207l-0.207 0.207-337.881 339.426-337.818-339.426c-25.086-24.971-65.329-24.879-90.093 0v0c-24.959 25.074-24.959 65.436-0.104 90.405v0l337.903 339.516-337.903 339.515c-24.855 24.969-24.855 65.331 0 90.301l0.104 0.104c24.764 24.879 65.007 24.971 89.886 0.207z" />
<glyph unicode="&#xe98b;" glyph-name="filter" data-tags="filter" d="M889.263 960h-754.526c-40.085 0-70.737-31.695-70.737-73.143v-43.886c0-19.505 7.074-36.571 18.862-48.762l311.242-297.447c14.147-14.629 23.58-34.134 23.58-53.639v-363.275c0-24.382 11.789-48.762 33.010-60.953l120.253-75.581c2.359-7.314 7.074-7.314 11.79-7.314 11.79 0 23.579 9.752 23.579 24.381v482.743c0 19.505 9.432 39.010 23.58 53.639l311.242 297.447c11.789 14.629 18.862 31.696 18.862 48.762v43.886c0 41.448-30.652 73.143-70.737 73.143z" />
<glyph unicode="&#xe994;" glyph-name="search" data-tags="search" d="M64.009 536.539c0 197.559 157.965 358.327 352.040 358.327 194.147 0 352.040-160.768 352.040-358.327 0-197.614-157.894-358.309-352.040-358.309-194.075 0-352.040 160.695-352.040 358.309zM992.939 47.031l-229.969 239.616c-2.246 2.359-5.12 3.383-7.635 5.339 48.2 69.083 76.764 153.326 76.764 244.553 0 233.819-186.26 423.461-416.049 423.461-229.771 0-416.049-189.641-416.049-423.461 0-233.856 186.278-423.461 416.049-423.461 95.016 0 182.272 32.713 252.281 87.278 1.258-1.518 1.761-3.346 3.072-4.773l229.951-239.653c12.504-13.038 29.139-19.584 45.757-19.584 16.132 0 32.337 6.181 44.769 18.56 25.259 25.070 25.762 66.359 1.060 92.123z" />
<glyph unicode="&#xe99d;" glyph-name="edit2" data-tags="edit2" horiz-adv-x="896" d="M837.778 806.966c27.52 29.461-14.766 76.389-14.766 76.389s-23.96 31.661-68.505 64.229c-44.588 32.551-78.902 0-78.902 0l-75.403-75.429 153.162-152.59c0 0 64.568 65.118 84.414 87.402v0zM717.281 691.738l-146.297 150.816-424.043-418.343 152.045-157.681 418.295 425.208zM262.396 245.983l-141.707 139.383-89.138-237.716 230.845 98.333zM89.696 33.739h731.93c26.51 0 48-21.49 48-48s-21.49-48-48-48h-731.93c-26.51 0-48 21.49-48 48s21.49 48 48 48z" />
<glyph unicode="&#xe9af;" glyph-name="create" data-tags="create" horiz-adv-x="1088" d="M558.347 960c282.77 0 512-229.23 512-512s-229.23-512-512-512c-282.77 0-512 229.23-512 512s229.23 512 512 512zM545.547 832l-6.461-0.402c-25.375-3.181-44.739-24.868-44.739-51.149v0-255.65h-255.65c-26.32 0-47.974-19.532-51.15-44.778l-0.401-6.422 0.402-6.461c3.181-25.375 24.868-44.739 51.149-44.739v0h255.65v-255.65c0-26.32 19.532-47.974 44.778-51.15l6.422-0.401 6.461 0.402c25.375 3.181 44.739 24.868 44.739 51.149v0 255.65h255.65c26.32 0 47.974 19.532 51.15 44.778l0.401 6.422-0.402 6.461c-3.181 25.375-24.868 44.739-51.149 44.739v0l-255.65 0.064v255.586c0 26.32-19.532 47.974-44.778 51.15l-6.422 0.401z" />
<glyph unicode="&#xe9b0;" glyph-name="delete" data-tags="delete" horiz-adv-x="960" d="M847.282 880.050v0c33.749 0 61.136-29.53 61.136-63.449v-64.266h-896.285v64.266c0 33.919 27.353 63.449 61.136 63.449h264.752c0 0 18.269 79.95 40.757 79.95h162.961c22.488 0 40.723-79.95 40.723-79.95h264.82zM252.015 63.681v528.721h79.95v-528.721h-79.95zM411.948 63.681v528.721h96.654v-528.721h-96.654zM588.586 63.681v528.721h79.984v-528.721h-79.984zM134.336 61.742c0-67.872 54.74-125.742 122.204-125.742h407.402c67.532 0 122.238 57.87 122.238 125.742l81.446 658.376h-814.77l81.48-658.376z" />
<glyph unicode="&#xe9b2;" glyph-name="triangle_down" data-tags="triangle_down" d="M460.991 238.9c25.161-24.488 66.413-24.042 91.116 0l366.569 356.761c25.161 24.488 17.159 44.339-18.809 44.339h-786.635c-35.549 0-43.512-20.297-18.809-44.339l366.569-356.761z" />
<glyph unicode="&#xe9b4;" glyph-name="triangle_up" data-tags="triangle_up" d="M563.009 657.1c-25.161 24.488-66.413 24.042-91.116 0l-366.569-356.761c-25.161-24.488-17.159-44.339 18.809-44.339h786.635c35.549 0 43.512 20.297 18.809 44.339l-366.569 356.761z" />
<glyph unicode="&#xe9ba;" glyph-name="config" data-tags="config" d="M869.939 660.555c19.657-35.014 54.978-55.899 94.291-55.899 32.864 0 59.769-27.519 59.769-61.55v-190.365c0-33.785-26.905-61.428-59.769-61.428-39.436 0-74.635-20.947-94.291-56.022-19.645-34.721-19.645-77.201 0-111.921 16.5-29.329 6.803-66.456-21.93-83.972l-160.020-95.090c-13.729-8.085-30.147-10.271-45.513-6.059s-28.375 14.463-36.064 28.419c-18.758 34.581-54.951 56.109-94.291 56.084-39.314 0-74.635-20.886-94.291-55.961-10.431-18.914-30.308-30.675-51.907-30.714-10.449 0.035-20.697 2.879-29.669 8.231l-160.265 95.090c-13.879 8.231-23.913 21.648-27.888 37.287-4.216 15.741-2.075 32.508 5.959 46.685 19.645 34.721 19.645 77.201 0 111.921-18.81 34.515-54.984 55.983-94.291 55.961-32.864 0-59.769 27.642-59.769 61.489v190.426c0 33.785 26.905 61.428 59.769 61.428 39.314 0 74.635 20.947 94.291 56.022 19.645 34.721 19.645 77.201 0 111.921-16.538 29.29-6.861 66.418 21.868 83.911l160.204 95.152c13.732 8.129 30.179 10.325 45.563 6.085s28.383-14.552 36.013-28.567c18.78-34.559 54.96-56.076 94.291-56.076s75.513 21.517 94.291 56.076c7.619 14.058 20.633 24.41 36.044 28.673s31.894 2.073 45.655-6.068l160.020-95.213c28.564-16.954 38.392-54.609 21.93-83.972-19.645-34.721-19.645-77.201 0-111.921v-0.062zM512 161.393c158.223 0.203 286.447 128.399 286.684 286.623-0.304 158.205-128.479 286.379-286.684 286.684-158.218-0.271-286.413-128.465-286.684-286.684 0.271-158.218 128.465-286.413 286.684-286.684v0.062zM512 291.559c-86.353 0.135-156.321 70.104-156.457 156.457 0.135 86.353 70.104 156.321 156.457 156.457 86.353-0.135 156.321-70.104 156.457-156.457-0.102-86.366-70.090-156.355-156.457-156.457v0z" />
<glyph unicode="&#xe9bc;" glyph-name="download" data-tags="download" d="M817.975 580.050h-148.005v315.95h-315.94v-315.95h-148.005c-14.138 0-25.6-11.462-25.6-25.6 0-6.79 2.697-13.301 7.498-18.102l305.974-305.966c9.998-9.997 26.207-9.997 36.204 0l305.974 305.966c9.998 9.997 9.998 26.206 0 36.204-4.801 4.801-11.313 7.498-18.102 7.498zM197.29 0h629.42c29.31 0 53.070 23.76 53.070 53.070s-23.76 53.070-53.070 53.070h-629.42c-29.31 0-53.070-23.76-53.070-53.070s23.76-53.070 53.070-53.070z" />
<glyph unicode="&#xe9bd;" glyph-name="order" data-tags="order" d="M833.772 357.087c30.343 0 37.228-17.159 15.479-38.327v0l-302.643-294.545c-22.001-21.412-57.012-21.167-78.761 0v0l-302.643 294.545c-22.001 21.412-14.819 38.327 15.479 38.327v0zM546.608 817.959l302.643-294.545c21.749-21.167 14.864-38.327-15.479-38.327h-653.089c-30.298 0-37.48 16.914-15.479 38.327l302.643 294.545c21.749 21.167 56.76 21.412 78.761 0z" />
<glyph unicode="&#xe9c1;" glyph-name="list3" data-tags="list3" horiz-adv-x="1088" d="M977.709 128c35.346 0 64-28.654 64-64s-28.654-64-64-64h-896c-35.346 0-64 28.654-64 64s28.654 64 64 64h896zM977.709 512c35.346 0 64-28.654 64-64s-28.654-64-64-64h-896c-35.346 0-64 28.654-64 64s28.654 64 64 64h896zM977.709 896c35.346 0 64-28.654 64-64s-28.654-64-64-64h-896c-35.346 0-64 28.654-64 64s28.654 64 64 64h896z" />
<glyph unicode="&#xe9c4;" glyph-name="list4" data-tags="list4" d="M960 128c35.346 0 64-28.654 64-64s-28.654-64-64-64h-640c-35.346 0-64 28.654-64 64s28.654 64 64 64h640zM64 128c35.346 0 64-28.654 64-64s-28.654-64-64-64c-35.346 0-64 28.654-64 64s28.654 64 64 64zM960 512c35.346 0 64-28.654 64-64s-28.654-64-64-64h-640c-35.346 0-64 28.654-64 64s28.654 64 64 64h640zM64 512c35.346 0 64-28.654 64-64s-28.654-64-64-64c-35.346 0-64 28.654-64 64s28.654 64 64 64zM960 896c35.346 0 64-28.654 64-64s-28.654-64-64-64h-640c-35.346 0-64 28.654-64 64s28.654 64 64 64h640zM64 896c35.346 0 64-28.654 64-64s-28.654-64-64-64c-35.346 0-64 28.654-64 64s28.654 64 64 64z" />
</font></defs></svg>
\ No newline at end of file
<div class="appNode" data-o2-element="appNode">
<!-- <div class="menuArea" data-o2-element="menuArea">-->
<!-- </div>-->
<!-- <div class="contentArea">-->
<!-- <div class="content" data-o2-element="contentArea"></div>-->
<!-- </div>-->
<div class="contentArea">
<div class="content" data-o2-element="contentArea">
</div>
</div>
</div>
\ No newline at end of file
<div class="tl_coreListBox">
{{each $.data}}
<div class="tl_coreListApp">
<div class="tl_left">
{{if ($.key)}}
<div class="tl_coreListAppIcon" data-o2-events="o2load:loadItemIcon:{{$.key}}"></div>
{{end if}}
</div>
<div class="tl_right">
<div class="tl_coreListAppTitle">
<div class="tl_coreListAppText" title="{{$.name}}"
data-o2-events="mouseover:coreListItemOver;mouseout:coreListItemOut; mousedown:coreListItemDown;mouseup:coreListItemUp;click:coreListItemClick;"
>{{$.name}}</div>
</div>
<!-- <div class="tl_coreListAppContent">-->
<!-- {{each $.processList}}-->
<!-- <div class="tl_coreItemArea">-->
<!-- <div class="tl_coreItem"-->
<!-- data-o2-events="mouseover:coreItemOver;mouseout:coreItemOut; mousedown:coreItemDown;mouseup:coreItemUp;click:coreItemClick;">-->
<!-- {{$.name}}-->
<!-- </div>-->
<!-- </div>-->
<!-- {{end each}}-->
<!-- </div>-->
</div>
</div>
{{end each}}
</div>
\ No newline at end of file
<div class="tl_coreListBox">
{{each $.data}}
<div class="tl_coreListApp">
<div class="tl_left">
{{if ($.key)}}
<div class="tl_coreListAppIcon" data-o2-events="o2load:loadItemIcon:{{$.key}}"></div>
{{end if}}
</div>
<div class="tl_right">
<div class="tl_coreListAppTitle">
<div class="tl_coreListAppText" title="{{$.name}}"
data-o2-events="mouseover:coreListItemOver_multi;mouseout:coreListItemOut_multi; mousedown:coreListItemDown_multi;mouseup:coreListItemUp_multi;click:coreListItemClick_multi;"
>
<i class="checkbox o2icon-check_box_outline_blank"></i>{{$.name}}</div>
</div>
<!-- <div class="tl_coreListAppContent">-->
<!-- {{each $.processList}}-->
<!-- <div class="tl_coreItemArea">-->
<!-- <div class="tl_coreItem"-->
<!-- data-o2-events="mouseover:coreItemOver;mouseout:coreItemOut; mousedown:coreItemDown;mouseup:coreItemUp;click:coreItemClick;">-->
<!-- {{$.name}}-->
<!-- </div>-->
<!-- </div>-->
<!-- {{end each}}-->
<!-- </div>-->
</div>
</div>
{{end each}}
</div>
\ No newline at end of file
<div class="tl_title">
<div style="float:right;">
{{if $.status.closeEnable}}
<div class="tl_titleAction mainColor_color" data-o2-events="click:closeSelectModule;"><icon class="o2icon-close"/></div>
{{end if}}
<div class="tl_button mainColor_bg" style="margin-right:20px;" data-o2-element="enableMultiNode" data-o2-events="click:enableMultiSelect">{{$.lp.enableMultiSelect}}</div>
<div class="tl_button mainColor_bg" style="margin-right:20px;display: none;" data-o2-element="disableMultiNode" data-o2-events="click:disableMultiSelect">{{$.lp.disableMultiSelect}}</div>
<div class="tl_core_searchArea mainColor_border" style="margin-bottom: 0!important;">
<input class="tl_core_search" data-o2-element="searchCoreInput" placeholder="{{$.lp.searchCorePlacholder}}" data-o2-events="keydown:searchCoreKeydown"/>
<i class="tl_core_coreButton o2icon-search1" data-o2-events="click:searchCore;mouseover:iconOver_searchButton;mouseout:iconOut_searchButton"></i>
</div>
</div>
<div class="breadcrumb-tab">
<span>{{$.lp.location}}</span>
<span>{{$.lp.title}}</span>
<!-- <span>></span>-->
<!-- <span>{{$.lp.index}}</span>-->
<span>></span>
<span class="mainColor_color">{{$.lp.selectModule}}</span>
</div>
<!-- <div class="tl_titleText">{{$.lp.selectModule}}</div>-->
</div>
<div class="tl_contentWrap" data-o2-element="tl_contentWrap">
<div class="tl_tabTitles mainColor_border" data-o2-element="tl_tabTitles">
<div class="tl_tabTitle" data-o2-tab-content="tl_workTabListNode">{{$.lp.processManager}}</div>
<div class="tl_tabTitle" data-o2-tab-content="tl_docTabListNode">{{$.lp.cmsManager}}</div>
</div>
<div class="tl_listNode" data-o2-element="tl_workTabListNode"></div>
<div class="tl_listNode" style="display: none;" data-o2-element="tl_docTabListNode"></div>
<div class="tl_multiActionNode mainColor_border" style="display: none; " data-o2-element="tl_multiActionNode">
<div class="tl_okButton mainColor_bg" data-o2-events="click:okMultiSelect">{{$.lp.ok}}</div>
<div class="tl_cancelButton" data-o2-events="click:disableMultiSelect">{{$.lp.disableMultiSelect}}</div>
</div>
</div>
\ No newline at end of file
<div class="tl_coreListBox">
{{each $.data}}
<div class="tl_coreListApp">
<div class="tl_left">
{{if ($.key)}}
<div class="tl_coreListAppIcon" data-o2-events="o2load:loadItemIcon:{{$.key}}"></div>
{{end if}}
</div>
<div class="tl_right">
<div class="tl_coreListAppTitle">
<div class="tl_coreListAppText" title="{{$.name}}"
data-o2-events="mouseover:coreListItemOver;mouseout:coreListItemOut; mousedown:coreListItemDown;mouseup:coreListItemUp;click:coreListItemClick;"
>{{$.name}}</div>
</div>
<!-- <div class="tl_coreListAppContent">-->
<!-- {{each $.categoryInfoList}}-->
<!-- <div class="tl_coreItemArea">-->
<!-- <div class="tl_coreItem"-->
<!-- data-o2-events="mouseover:coreItemOver;mouseout:coreItemOut; mousedown:coreItemDown;mouseup:coreItemUp;click:coreItemClick;">-->
<!-- {{$.name}}-->
<!-- </div>-->
<!-- </div>-->
<!-- {{end each}}-->
<!-- </div>-->
</div>
</div>
{{end each}}
</div>
\ No newline at end of file
MWF.xApplication.StandingBook.ElModule = new Class({
Implements: [Events, Options],
options:{
id: ""
},
initialize: function(node, options, app, data){
this.setOptions(options);
this.container = $(node);
this.data = data;
this.app = app;
this.load();
},
load: function(){
this.container.appendHTML(this._createElementHtml());
this.node = this.container.getFirst();
this.node.addClass("o2_vue");
if (!this.vm) this._loadVue(
this._mountVueApp.bind(this)
);
},
_loadVue: function(callback){
if (!window.Vue){
var vue = (o2.session.isDebugger) ? "vue_develop" : "vue";
o2.loadAll({"css": "../o2_lib/vue/element/index.css", "js": [vue, "elementui"]}, { "sequence": true }, callback);
}else{
if (callback) callback();
}
},
_mountVueApp: function(){
if (!this.vueApp) this.vueApp = this._createVueExtend();
this.vm = new Vue(this.vueApp);
this.vm.$mount(this.node);
},
_createVueExtend: function(){
var _self = this;
var app = {
data: this._createVueData(),
mounted: function(){
_self._afterMounted(this.$el);
}
};
return app;
},
_createElementHtml: function(){
},
_createVueData: function(){
},
_afterMounted: function(el){
this.node = el;
// this.node.set({
// "id": this.json.id
// });
// this._loadVueCss();
this.fireEvent("postLoad");
this.fireEvent("load");
},
// _loadVueCss: function(){
// if (this.styleNode){
// this.node.removeClass(this.styleNode.get("id"));
// }
// if (this.json.vueCss && this.json.vueCss.code){
// this.styleNode = this.node.getParent().loadCssText(this.json.vueCss.code, {"notInject": true});
// this.styleNode.inject(this.node.getParent(), "before");
// }
// },
});
MWF.xApplication.StandingBook.Input = new Class({
Extends: MWF.xApplication.StandingBook.ElModule,
options: {
value: "",
id: ""
},
_createVueData: function(){
this.json = {
data: this.data || this.options.value,
readonly: false,
disabled: false,
clearable: true,
editable: true,
maxlength: "",
minlength: "",
showWordLimit: false,
showPassword: false,
size: "small",
prefixIcon: "",
suffixIcon: "",
rows: 2,
autosize: false,
resize: "none",
inputType: "text",
description: "",
click: function(){
this.fireEvent("change", [this.json.data]);
}.bind(this),
change: function () {
// debugger;
this.fireEvent("change", [this.json.data]);
}.bind(this),
focus: function () {
},
blur: function () {
},
input: function () {
},
clear: function () {
// debugger;
this.fireEvent("change", [this.json.data]);
}.bind(this)
};
// this.json[this.options.id] = this.data;
return this.json;
},
_createElementHtml: function() {
var html = "<div>";
html += "<el-input";
html += " v-model=\"data\"";
html += " :maxlength=\"maxlength\"";
html += " :minlength=\"minlength\"";
html += " :show-word-limit=\"showWordLimit\"";
html += " :show-password=\"showPassword\"";
html += " :disabled=\"disabled\"";
html += " :size=\"size\"";
html += " :prefix-icon=\"prefixIcon\"";
html += " :suffix-icon=\"suffixIcon\"";
html += " :rows=\"rows\"";
html += " :autosize=\"autosize\"";
html += " :readonly=\"readonly\"";
html += " :resize=\"resize\"";
html += " :clearable=\"clearable\"";
html += " :type=\"inputType\"";
html += " :placeholder=\"description\"";
html += " @change=\"change\"";
html += " @focus=\"focus\"";
html += " @blur=\"blur\"";
html += " @input=\"input\"";
html += " @clear=\"clear\"";
// this.options.elEvents.forEach(function(k){
// html += " @"+k+"=\"$loadElEvent_"+k.camelCase()+"\"";
// });
// if (this.json.elProperties){
// Object.keys(this.json.elProperties).forEach(function(k){
// if (this.json.elProperties[k]) html += " "+k+"=\""+this.json.elProperties[k]+"\"";
// }, this);
// }
//
// if (this.json.elStyles) html += " :style=\"elStyles\"";
html += ">";
// html += "<el-button slot=\"append\">"+this.app.lp.ok+"</el-button>"
// if (this.json.vueSlot) html += this.json.vueSlot;
html += "</el-input>";
html += "</div>";
return html;
}
});
MWF.xApplication.StandingBook.DatePicker = new Class({
Extends: MWF.xApplication.StandingBook.ElModule,
options: {
start: "",
end: "",
id: ""
},
_createVueData: function(){
if(this.options.start)this.startDate = new Date(this.options.start);
if(this.options.end)this.endDate = new Date(this.options.end);
this.json = {
data: this.data || [this.options.start, this.options.end],
isReadonly: false,
selectType: "datetimerange",
disabled: false,
clearable: true,
editable: true,
size: "small",
prefixIcon: "",
rangeSeparator: this.app.lp.rangeSeparator,
startPlaceholder: this.app.lp.startPlaceholder,
endPlaceholder: this.app.lp.endPlaceholder,
description: "",
arrowControl: true,
format: "yyyy-MM-dd HH:mm:ss",
pickerOptions: {
firstDayOfWeek: 1,
disabledDate: function(date){
if( this.startDate && date < this.startDate )return true;
if( this.endDate && date > this.endDate )return true;
return false;
}.bind(this)
},
change: function () {
this.fireEvent("change", [this.json.data]);
}.bind(this),
focus: function () {
},
blur: function () {
}
};
// this.json[this.options.id] = this.data;
return this.json;
},
_createElementHtml: function() {
var html = "<el-date-picker";
html += " v-model=\"data\"";
html += " :type=\"selectType\"";
html += " :readonly=\"isReadonly\"";
html += " :disabled=\"disabled\"";
html += " :editable=\"editable\"";
html += " :clearable=\"clearable\"";
html += " :size=\"size\"";
html += " :prefix-icon=\"prefixIcon\"";
html += " :range-separator=\"rangeSeparator\"";
html += " :start-placeholder=\"startPlaceholder\"";
html += " :end-placeholder=\"endPlaceholder\"";
html += " :value-format=\"format\"";
html += " :format=\"format\"";
html += " :picker-options=\"pickerOptions\"";
html += " :arrow-control=\"arrowControl\"";
html += " @change=\"change\"";
html += " @focus=\"focus\"";
html += " @blur=\"blur\"";
html += ">";
html += "</el-date-picker>";
return html;
}
});
MWF.xApplication.StandingBook.NumberRange = new Class({
Extends: MWF.xApplication.StandingBook.ElModule,
options: {
max: "100",
min: "1",
id: ""
},
checkNumber: function(num, type){
debugger;
var str = num;
var len1 = str.substr(0, 1);
var len2 = str.substr(1, 1);
//如果第一位是0,第二位不是点,就用数字把点替换掉
if (str.length > 1 && len1 === 0 && len2 !== ".") str = str.substr(1, 1);
//第一位不能是.
if (len1 === ".") str = "";
//限制只能输入一个小数点
if (str.indexOf(".") !== -1) {
var str_ = str.substr(str.indexOf(".") + 1);
if (str_.indexOf(".") !== -1) {
str = str.substr(0, str.indexOf(".") + str_.indexOf(".") + 1);
}
}
//正则替换
str = str.replace(/[^\d^\.]+/g, '') // 保留数字和小数点
return str
},
_createVueData: function(){
this.data = {};
this.json = {
minData: this.options.min,
maxData: this.options.max,
min: {
clearable: false,
// click: function(){
// this.fireEvent("change", [this.json.data]);
// }.bind(this),
change: function () {
if( this.json.minData ){
var minData = (this.json.minData || 0).toFloat();
if( this.json.maxData ){
var maxData = (this.json.maxData || 0).toFloat();
if( minData > maxData ){
this.app.notice( this.app.lp.minGreatThanMaxError, "info", this.container);
this.json.maxData = this.json.minData;
}
}
if( minData < this.options.min.toFloat() ){
this.app.notice( this.app.lp.tooMinError, "info", this.container);
this.json.minData = this.options.min.toString();
return;
}
if( minData > this.options.max.toFloat() ){
this.app.notice( this.app.lp.tooMaxError, "info", this.container);
this.json.minData = this.options.max.toString();
return;
}
}
this.change();
}.bind(this),
focus: function () {},
blur: function () {},
oninput: function ( num ) {
return this.checkNumber(num, "min")
}.bind(this),
clear: function () {
this.change();
}.bind(this)
},
max: {
clearable: false,
// click: function(){
// this.fireEvent("change", [this.json.data]);
// }.bind(this),
change: function () {
if( this.json.maxData ){
var maxData = (this.json.maxData || 0).toFloat();
if( this.json.minData ){
var minData = (this.json.minData || 0).toFloat();
if( minData > maxData ){
this.app.notice( this.app.lp.minGreatThanMaxError, "info", this.container);
this.json.minData = this.json.maxData;
}
}
if( maxData < this.options.min.toFloat() ){
this.app.notice(this.app.lp.tooMinError, "info", this.container);
this.json.maxData = this.options.min.toString();
return;
}
if( maxData > this.options.max.toFloat() ){
this.app.notice(this.app.lp.tooMaxError, "info", this.container);
this.json.maxData = this.options.max.toString();
return;
}
}
this.change();
}.bind(this),
focus: function () {},
blur: function () {},
oninput: function ( num ) {
return this.checkNumber(num, "max")
}.bind(this),
clear: function () {
this.change();
}.bind(this)
}
};
// this.json[this.options.id] = this.data;
return this.json;
},
change: function(){
debugger;
var minData = this.json.minData;
if( !minData )minData = this.options.min;
var maxData = this.json.maxData;
if( !maxData )maxData = this.options.max;
this.fireEvent("change", [[minData.toFloat(), maxData.toFloat()]]);
},
_createElementHtml: function() {
var html = "<div>";
html += "<span style='color:#999;padding-right: 5px;'>"+this.app.lp.min+":"+this.options.min+"</span>";
html += "<el-input style=\"width:200px;\"";
html += " v-model=\"minData\"";
html += " size=small";
html += " :clearable=\"min.clearable\"";
html += " type=text";
html += " placeholder="+this.app.lp.fromValue;
html += " @change=\"min.change\"";
html += " @focus=\"min.focus\"";
html += " @blur=\"min.blur\"";
html += " @input=\"min.input\"";
html += " @clear=\"min.clear\"";
html += "@keyup.native=\"minData = min.oninput(minData)\"";
html += ">";
html += "</el-input>";
html += "<span style='padding: 0px 5px;'>"+this.app.lp.to+"</span>";
html += "<el-input style=\"width:200px;\"";
html += " v-model=\"maxData\"";
html += " size=small";
html += " :clearable=\"max.clearable\"";
html += " type=text";
html += " placeholder="+this.app.lp.toValue;
html += " @change=\"max.change\"";
html += " @focus=\"max.focus\"";
html += " @blur=\"max.blur\"";
html += " @input=\"max.input\"";
html += " @clear=\"max.clear\"";
html += "@keyup.native=\"maxData = max.oninput(maxData)\"";
html += ">";
html += "</el-input>";
html += "<span style='color:#999;padding-left: 5px;'>"+this.app.lp.max+":"+this.options.max+"</span>";
html += "</div>";
return html;
}
})
// MWF.xApplication.ftsearch.Slider = new Class({
// Extends: MWF.xApplication.ftsearch.ElModule,
// options: {
// max: "100",
// min: "1",
// id: ""
// },
// _createVueData: function(){
// this.json = {
// data: this.data || [this.options.min, this.options.max],
// isReadonly: false,
// clearable: true,
// editable: true,
// max: this.options.max.toFloat(),
// min: this.options.min.toFloat(),
// step: 1,
// showStops: false,
// range: true,
// vertical: false,
// height: "100px",
// showInput: false,
// showInputControls: false,
// inputSize: "small",
// showTooltip: true,
// tooltipClass: "",
// disabled: false,
// marks: {
// },
// click: function(){
// this.fireEvent("change", [this.json.data]);
// }.bind(this),
// change: function () {
// this.fireEvent("change", [this.json.data]);
// }.bind(this),
// input: function () {
// }
// };
// var half = (this.options.max.toFloat() - this.options.min.toFloat()) / 2;
// this.json.marks[this.options.min] = this.options.min.toString();
// this.json.marks[half] = half.toString();
// this.json.marks[this.options.max] = this.options.max.toString();
// return this.json;
// },
// _createElementHtml: function() {
// var html = "<div style='height: 50px; width:calc( 100% - 20px )'>";
// html += "<el-slider";
// html += " v-model=\"data\"";
// html += " :max=\"max\"";
// html += " :min=\"min\"";
// html += " :step=\"step\"";
// html += " :show-stops=\"showStops\"";
// html += " :range=\"range\"";
// html += " :vertical=\"vertical\"";
// html += " :height=\"height\"";
// html += " :show-input=\"showInput\"";
// html += " :show-input-controls=\"showInputControls\"";
// html += " :input-size=\"inputSize\"";
// html += " :show-tooltip=\"showTooltip\"";
// html += " :tooltip-class=\"tooltipClass\"";
// html += " :disabled=\"disabled\"";
// html += " :marks=\"marks\"";
// html += " @change=\"change\"";
// html += " @focus=\"input\"";
// html += ">";
// html += "</el-slider>";
// html += "</div>";
// return html;
// }
// })
\ No newline at end of file
MWF.xApplication.StandingBook.options.multitask = false;
MWF.xApplication.StandingBook.Main = new Class({
Extends: MWF.xApplication.Common.Main,
Implements: [Options, Events],
options: {
"style1": "default",
"style": "default",
"name": "StandingBook",
"mvcStyle": "style.css",
"icon": "icon.png",
"title": MWF.xApplication.StandingBook.LP.title,
"query":""
},
onQueryLoad: function(){
this.lp = MWF.xApplication.StandingBook.LP;
},
loadApplication: function(callback, noLoadView){
var url = this.path+this.options.style+"/main.html";
this.content.loadHtml(url, {"bind": {"lp": this.lp}, "module": this}, function(){
// this.loadMenu();
var tab;
if( this.status && this.status.tab){
tab = this.status.tab;
}else{
tab = this.options.tab;
}
if( tab ){
this.openIndexView( tab );
}else{
this.selectTab();
}
this.status = null;
}.bind(this));
},
// loadMenu: function(){
// this.getMenuJson( function (json) {
// this.menuArea.loadHtml(this.path+this.options.style+"/menu.html", {"bind": {"lp": this.lp, "data": json}, "module": this}, function(){
// this.menuArea.getElement(".menuItem").click();
// // this[json[0].action]();
// }.bind(this));
// }.bind(this));
// },
getEventTarget: function(e, className) {
var parentItem = e.target;
if( parentItem.hasClass(className) )return parentItem;
while ( parentItem && !parentItem.hasClass(className) ){
parentItem = parentItem.getParent();
if( parentItem.hasClass(className) )return parentItem;
}
},
switchMenuItem: function(e){
var childNode = this.getEventTarget(e, "menuItem").getNext();
if( childNode.getStyle("display") === "none" ){
childNode.show();
}else{
childNode.hide();
}
},
openIndexView: function( data ){
if( this.view && this.view.destroy )this.view.destroy();
this.contentArea.empty();
o2.requireApp("StandingBook", "IndexView", function () {
this.view = new MWF.xApplication.StandingBook.IndexView(this.contentArea, this, {}, data);
}.bind(this), false);
},
iconOver: function(e){
e.target.addClass('mainColor_color');
},
iconOut: function(e){
e.target.removeClass('mainColor_color');
},
inputOver: function(e){
this.getEventTarget(e, "main_inputArea").addClass('mainColor_border');
},
inputOut: function(e){
this.getEventTarget(e, "main_inputArea").removeClass('mainColor_border');
},
iconOver_searchButton: function(e){
e.target.addClass('mainColor_color');
},
iconOut_searchButton: function(e){
e.target.removeClass('mainColor_color');
},
inputOver_searchArea: function(e){
this.getEventTarget(e, "tl_core_searchArea").addClass('mainColor_border');
},
inputOut_searchArea: function(e){
this.getEventTarget(e, "tl_core_searchArea").removeClass('mainColor_border');
},
closeSelectModule: function(e){
// var area = (e && e.target) ? e.target.getParent(".tl_area") : this.content.getParent(".tl_area");
// if(area)area.destroy();
if( this.tabContent ){
this.tabContent.destroy();
}
this.appNode.show();
},
selectTab: function( ev, callback, closeEnable){
var tabContent = new Element("div.tl_area");
this.tabContent = tabContent;
tabContent.loadHtml(this.path+this.options.style+"/tabPage.html",
{
"bind": {"lp": this.lp, "status": { closeEnable: closeEnable } },
"module": this,
"reload": true
},
function(){
this.loadTabTitles();
this.loadTabList(function () {
if(callback)callback();
});
}.bind(this)
);
this.appNode.hide();
tabContent.inject(this.content);
},
loadTabTitles: function(){
this.tl_tabTitles.getElements(".tl_tabTitle").each(function (tab, i) {
tab.addEvent("click", function (e) {
if( this.currentTab === tab )return;
if( this.currentTab ){
this.currentTab.removeClass("mainColor_bg");
// this.currentTab.removeClass("mainColor_color");
this.currentTab.removeClass("tl_tabTitleCurrent");
}
tab.addClass("mainColor_bg");
// tab.addClass("mainColor_color");
tab.addClass("tl_tabTitleCurrent");
this.currentTab = tab;
if( this.currentTabContent ){
this.currentTabContent.hide();
}
var tabContentName = tab.get("data-o2-tab-content");
this.currentTabContent = this[tabContentName];
if( this.currentTabContent )this.currentTabContent.show();
}.bind(this))
if( i === 0 )tab.click();
}.bind(this));
},
loadTabList: function( callback ){
o2.Actions.load("x_query_assemble_surface").IndexAction.listDirectory().then(function(json){
this.tabData = json;
this._loadTabList( callback );
}.bind(this));
},
_loadTabList: function(callback){
this.tabData.data.each(function(obj){
if( obj.category === "processPlatform" ){
obj.keyList.each(function(k){
if(!k.category)k.category = "processPlatform";
});
this.tl_workTabListNode.empty();
this.tl_workTabListNode.loadHtml(this.path+this.options.style+"/tabList"+ (this.multiSelect ? "_multiselect" : "") +".html",
{
"bind": {"lp": this.lp, "data": obj.keyList || []},
"module": this,
"reload": true
},
function(){
if(callback)callback();
}.bind(this)
);
}else if( obj.category === "cms" ){
obj.keyList.each(function(k){
if(!k.category)k.category = "cms";
});
this.tl_docTabListNode.empty();
this.tl_docTabListNode.loadHtml(this.path+this.options.style+"/tabList"+ (this.multiSelect ? "_multiselect" : "") +".html",
{
"bind": {"lp": this.lp, "data": obj.keyList || []},
"module": this,
"reload": true
},
function(){
if(callback)callback();
}.bind(this)
);
}
}.bind(this));
},
loadItemIcon: function(application, e){
var node = e.currentTarget;
// Promise.resolve(this.getApplicationIcon(application)).then(function(icon){
// if (icon.icon){
// node.setStyle("background-image", "url(data:image/png;base64,"+icon.icon+")");
// }else{
node.setStyle("background-image", "url("+"../x_component_process_ApplicationExplorer/$Main/default/icon/application.png)");
// }
// });
},
coreListItemOver: function(e){
e.target.addClass("mainColor_bg");
},
coreListItemOut: function(e){
e.target.removeClass("mainColor_bg");
},
coreListItemDown: function(e){
e.target.addClass("mainColor_bg");
},
coreListItemUp: function(e){
e.target.removeClass("mainColor_bg");
},
coreListItemClick: function(e, tab){
// var tList = (data.tabList || []).filter(function (tab) {
// return tab.core === data.core;
// });
// if( tList.length ){
this.closeSelectModule(e);
this.openIndexView([{
category: tab.category,
key: tab.key,
name: tab.name
}]);
// }
},
coreItemOver: function(e){
var node = e.target;
while (node && !node.hasClass("tl_coreItem")){ node = node.getParent();}
if (node){
node.addClass("menuItem_over");
node.addClass("mainColor_bg");
}
},
coreItemOut: function(e){
var node = e.target;
while (node && !node.hasClass("tl_coreItem")){ node = node.getParent();}
if (node){
node.removeClass("menuItem_over");
node.removeClass("mainColor_bg");
}
},
coreItemDown: function(e){
var node = e.target;
while (node && !node.hasClass("tl_coreItem")){ node = node.getParent();}
if (node){
node.removeClass("menuItem_over");
node.addClass("mainColor_bg");
}
},
coreItemUp: function(e){
var node = e.target;
while (node && !node.hasClass("tl_coreItem")){ node = node.getParent();}
if (node){
node.addClass("menuItem_over");
node.removeClass("mainColor_bg");
}
},
coreItemClick: function(e, tab){
// var tList = (data.tabList || []).filter(function (tab) {
// return tab.core === data.core;
// });
debugger;
// if( tList.length ){
// this.currentTabObj = tList[0];
this.closeSelectModule(e);
this.openIndexView([{
category: tab.category,
key: tab.key,
name: tab.name
}]);
// }
},
coreListItemOver_multi: function(e){
this.getEventTarget(e, "tl_coreListAppText").addClass("mainColor_bg_opacity");
},
coreListItemOut_multi: function(e){
this.getEventTarget(e, "tl_coreListAppText").removeClass("mainColor_bg_opacity");
},
coreListItemDown_multi: function(e){
this.getEventTarget(e, "tl_coreListAppText").addClass("mainColor_bg_opacity");
},
coreListItemUp_multi: function(e){
this.getEventTarget(e, "tl_coreListAppText").removeClass("mainColor_bg_opacity");
},
coreListItemClick_multi: function(e, item){
debugger;
if( !this.curMultiSelectTabList )this.curMultiSelectTabList = [];
var target = this.getEventTarget(e, "tl_coreListAppText");
var index = -1;
this.curMultiSelectTabList.each(function (tab, idx) {
if( tab.key === item.key )index = idx;
});
if( index > -1 ){ //已经选择了
target.getElement("i.checkbox").removeClass("o2icon-check_box").addClass("o2icon-check_box_outline_blank").removeClass("mainColor_color");
this.curMultiSelectTabList.splice(index, 1);
}else{ //还没有选择
target.getElement("i.checkbox").removeClass("o2icon-check_box_outline_blank").addClass("o2icon-check_box").addClass("mainColor_color");
this.curMultiSelectTabList.push(item);
}
},
okMultiSelect: function(e){
if( this.curMultiSelectTabList.length === 0){
this.notice( this.lp.notSelectNotice, "info");
return;
}
var data = this.curMultiSelectTabList.map(function (tab) {
return {
category: tab.category,
key: tab.key,
name: tab.name
}
});
this.curMultiSelectTabList = [];
this.multiSelect = false;
this.closeSelectModule(e);
this.openIndexView(data);
},
enableMultiSelect: function(e, data){
this.curMultiSelectTabList = [];
this.multiSelect = true;
this.enableMultiNode.hide();
this.disableMultiNode.setStyle("display","inline-block");
this.tl_multiActionNode.show();
this.tl_workTabListNode.setStyle("height", "calc( 100% - 90px )");
this.tl_docTabListNode.setStyle("height", "calc( 100% - 90px )");
this._loadTabList(function () {
})
},
disableMultiSelect: function(e, data){
this.curMultiSelectTabList = [];
this.multiSelect = false;
this.disableMultiNode.hide();
this.enableMultiNode.setStyle("display","inline-block");
this.tl_multiActionNode.hide();
this.tl_workTabListNode.setStyle("height", "calc( 100% - 40px )");
this.tl_docTabListNode.setStyle("height", "calc( 100% - 40px )");
this._loadTabList(function () {
})
},
searchCoreKeydown: function(e){
if( e.keyCode === 13 ){
this.searchCore();
}
},
searchCore: function(){
this.curMultiSelectTabList = [];
var value = this.searchCoreInput.get("value");
if( !value ){
this._loadTabList();
}else{
this._loadTabList( function () {
this.tl_contentWrap.getElements(".tl_coreListApp").each(function (el) {
var coreListNode = el.getElement(".tl_coreListAppTitle");
var isCoreListMatch = coreListNode.get("text").contains( value );
var coreItems = el.getElements(".tl_coreItemArea");
var coreItemMatchCount = 0;
coreItems.each(function (ele) {
if( ele.get("text").contains( value ) ){
coreItemMatchCount++;
}
});
if( !isCoreListMatch && coreItemMatchCount === 0 ){
el.hide()
}
})
}.bind(this));
}
},
recordStatus: function () {
return this.view ? this.view.recordStatus() : "";
}
});
MWF.xApplication.StandingBook.LP = {
"title": "Search",
"searchCondition": "Search Condition",
"searchInfor": "Find about {count} of relevant results for you, which takes {time} seconds",
"location": "Your location:",
"cms": "CMS",
"processPlatform": "Process Management",
"processManager": "Process Management",
"cmsManager": "Content Management",
"noData": "No data was found according to the condition",
"noSearchkey": "Please enter a keyword to search",
"noSearchkeyAndCondition": "Please enter a keyword or click filter to search",
"searchPlacholder": "Please enter a keyword and press \"Enter\" to search",
"docTotalInfor": "Find <span class='mainColor_color'>{count}</span> related results for you, it took {time} seconds",
"mainPage": "Home",
"search": "Search",
"index": "Advanced Search",
"ftsearch": "Full Text Search",
"summary": "Summary",
"docTitle": "Title",
// "processName": "Process",
"createTime": "Create Time",
"completedTime": "End Time",
"activityName": "Node",
"creatorUnit": "Department",
"creatorIdentity": "Creator",
// "categoryName": "Category",
"publishTime": "Publish Time",
"processList": "Process",
"creatorUnitList": "Create Organization",
"startTimeMonthList": "Creation month",
"completedTimeMonthList": "Completed Month",
"activityNameList": "Activity",
"workStatusList": "Process Status",
"updateTime": "Update Time",
"application": "Process Application",
"process": "Process",
"appInfo": "Content Management",
"categoryInfo": "Category",
"general": "General",
"column":"Column",
"category": "Category",
"unit": "Organization",
"app": "App",
"createTimeMonth": "Create month",
"updateTimeMonth": "Update Month",
"creatorPerson": "Creator",
"workCompleted": "Work Completed",
"work": "Working in Circulation",
"document": "Content Management Document",
"applicationName": "Process Application",
"processName": "Process Application",
"appName": "Content Management Section",
"categoryName": "Content Management Category",
"selectConditionNote": "Please select",
"fieldSelect": "Column Select",
"sequence": "Sequence",
"more": "more",
"collapse": "Collapse",
"multiSelect": "Multiple Select",
"enableMultiSelect": "Allow Multiple Select ",
"disableMultiSelect": "disables Multiple Select",
"ok": "OK",
"cancel": "Cancel",
"reset": "Reset",
"export": "Export",
"moreFilter": "More filter criteria",
"collapseFilter": "Collapse filter criteria",
"notSelectNotice": "Please select at least one application ",
"completed": "completed",
"true": "true",
"false": "false",
"rangeSeparator": "to",
"startPlaceholder": "Start time",
"endPlaceholder": "End time",
"to": "to",
"min": "minimum value",
"max": "Maximum value",
"fromValue": "Start Value",
"toValue": "End Value",
"minGreatThanMaxError": "Start value cannot be greater than end value",
"tooMinError": "Cannot be less than the minimum value",
"tooMaxError": "Cannot be greater than the maximum value",
"moreFieldSelect": "More column selection",
"collapseFieldSelect": "Collapse column selection",
"firstPage": "First Page",
"lastPage": "Last Page",
"selectModule": "Select Application",
"searching": "You are searching",
"switch": "Switch",
"searchCorePlacholder": "Please enter a keyword and press \"Enter\" to search for an application"
};
\ No newline at end of file
MWF.xApplication.StandingBook.LP = {
"title": "台账",
"searchCondition": "查询条件",
"searchInfor": "为您找到相关结果约{count}个,耗时{time}秒",
"location": "您的位置:",
"cms": "内容管理",
"processPlatform": "流程管理",
"processManager": "流程管理",
"cmsManager": "内容管理",
"noData": "根据条件未查询到数据",
"noSearchkey": "请输入关键字搜索",
"noSearchkeyAndCondition": "请输入关键字或点击过滤条件搜索",
"searchPlacholder": "请输入关键字,按“回车”搜索",
"docTotalInfor": "为您找到相关结果<span class='mainColor_color'>{count}</span>个,耗时{time}秒",
"mainPage": "首页",
"search": "搜索",
"index": "高级搜索",
"ftsearch": "全文搜索",
"summary": "摘要",
"docTitle": "标题",
"createTime": "创建时间",
"completedTime": "结束时间",
"activityName": "节点",
"creatorUnit": "部门",
"creatorIdentity": "创建者",
"publishTime": "发布时间",
"processList": "流程",
"creatorUnitList": "创建组织",
"startTimeMonthList": "创建月份",
"completedTimeMonthList": "完成月份",
"activityNameList": "活动",
"workStatusList": "流程状态",
"updateTime": "更新时间",
"application": "流程应用",
"process": "流程",
"appInfo": "内容管理",
"categoryInfo": "分类",
"general": "通用",
"column":"栏目",
"category": "分类",
"unit": "组织",
"app": "应用",
"createTimeMonth": "创建月份",
"updateTimeMonth": "更新月份",
"creatorPerson": "创建者",
"workCompleted": "已完成工作",
"work": "流转中工作",
"document": "内容管理文档",
"applicationName": "流程应用",
"processName": "流程应用",
"appName": "内容管理栏目",
"categoryName": "内容管理分类",
"selectConditionNote": "请选择",
"fieldSelect": "列选择",
"sequence": "序号",
"more": "更多",
"collapse": "收起",
"multiSelect": "多选",
"enableMultiSelect": "允许多选",
"disableMultiSelect": "取消多选",
"ok": "确定",
"cancel": "取消",
"reset": "重置",
"export": "导出",
"moreFilter": "更多筛选条件",
"collapseFilter": "收起筛选条件",
"notSelectNotice": "请至少选择一个应用",
"completed": "已完成",
"true": "",
"false": "",
"rangeSeparator": "",
"startPlaceholder": "开始时间",
"endPlaceholder": "结束时间",
"to": "",
"min": "最小值",
"max": "最大值",
"fromValue": "起始值",
"toValue": "结束值",
"minGreatThanMaxError": "起始值不能大于结束值",
"tooMinError": "不能小于最小值",
"tooMaxError": "不能大于最大值",
"moreFieldSelect": "更多列选择",
"collapseFieldSelect": "收起列选择",
"firstPage": "第一页",
"lastPage": "最后一页",
"selectModule": "选择应用",
"searching": "您正在查询",
"switch": "切换",
"searchCorePlacholder": "请输入关键字,按“回车”搜索应用"
};
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册