123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369 |
- <div ng-controller="incidentListCtrl" class="">
- <section id="page-title">
- <div class="row">
- <div class="col-sm-8">
- <h1 class="mainTitle">事件列表
- <i tooltip='事件列表,点击操作处理任务' tooltip-placement="right"
- class="fa ti-help-alt margin-left-10 fontcolor-five pointfont"></i>
- </h1>
- </div>
- </div>
- </section>
- <div class="listbote">
- <div class="list-controls clearfix">
- <div class="btn-group">
- <button class="btn btn-statebutton statebutton wt_btn2" ng-repeat="item in tabs" ng-click="onChange(item.key)"
- ng-class="{'statecolor':searchstate==item.key}">{{item.value}}<strong class="red" ng-if="item.num !== ''">({{item.num}})</strong class="red"></button>
- </div>
- </div>
- <div style="background: #F9F9F9 !important;padding-left: 16px;padding-right: 0;position: relative;">
- <i ng-click="deploymentHandler()" ng-style="{transform: isDeployment ? 'rotate(180deg)' : 'rotate(0deg)'}" class="icon dash dash-zhankai" style="position: absolute;bottom: 0;left: 50%;cursor: pointer;z-index: 999;font-weight: bold;"></i>
- <div class="row wt_searchlistback" id="searchid">
- <div class="col-xs-10" style="padding-right: 0px !important;padding-bottom: 10px;">
- <form class="form-inline incidentsearchsize" id="filterSearch" style='padding-top: 8px;' ng-style="{height: isDeployment ? 'auto' : '108px'}">
- <div class="form-group incidentsearch wt_width">
- <div class="">
- <div class="control-label pull-left margin-top-5">登记时间:</div>
- <input type="text" class=" incidentsearchsize wt_width5"
- datepicker-popuptime="yyyy-MM-dd" ng-model="searchkeys.acceptDate"
- max-date="searchkeys.acceptDateEnd" is-open="startOpened" hour-time=true
- ng-init="startOpened = false" close-text="关闭" ng-click="startOpen($event)"
- placeholder="" />
- </div>
- </div>
- <div class="form-group incidentsearch wt_width">
- <div class="">
- <div class="control-label pull-left margin-top-5">至</div>
- <input type="text" class=" selectzise incidentsearchsize wt_width5"
- datepicker-popuptime="yyyy-MM-dd" ng-model="searchkeys.acceptDateEnd" hour-time=true
- min-date="searchkeys.acceptDate" is-open="endOpened" ng-init="endOpened = false"
- close-text="关闭" ng-click="endOpen($event)" placeholder="" />
- </div>
- </div>
- <div class="form-group incidentsearch wt_width" ng-if="repairMain.valueconfig == 2">
- <div class="">
- <div class="control-label pull-left margin-top-5">报修科室:</div>
- <ui-select class="pull-right selectzise wt_width1 wt_width3"
- ng-model="searchkeys.department" theme="bootstrap">
- <ui-select-match placeholder="">
- {{$select.selected.dept}}
- </ui-select-match>
- <ui-select-choices repeat="item in department"
- refresh="onChangeDept($select.search)">
- <div ng-bind-html="item.dept | highlight: $select.search"></div>
- </ui-select-choices>
- </ui-select>
- </div>
- </div>
- <div class="form-group incidentsearch wt_width" ng-if="repairMain.valueconfig == 1">
- <div class="">
- <div class="control-label pull-left margin-top-5">报修人:</div>
- <ui-select class="pull-right selectzise wt_width1 wt_width3"
- ng-model="searchkeys.requester" theme="bootstrap">
- <ui-select-match placeholder="请选择报修人">
- {{$select.selected.name}}
- </ui-select-match>
- <ui-select-choices repeat="item in requester"
- refresh="onChangehandling($select.search)">
- <div ng-bind-html="item.name | highlight: $select.search"></div>
- </ui-select-choices>
- </ui-select>
- </div>
- </div>
- <div class="form-group incidentsearch wt_width" ng-if="repairMain.valueconfig == 1">
- <div class="">
- <div class="control-label pull-left margin-top-5">联系电话:</div>
- <input class=" inputcolor wt_width1 wt_width3 pull-right" type="text"
- ng-model="searchkeys.requester.mphone" placeholder="" />
- </div>
- </div>
- <div class="form-group incidentsearch wt_width">
- <div class="control-label pull-left margin-top-5">状态:</div>
- <ui-select ng-disabled="isDisabledState" class="pull-right selectzise wt_width1 wt_width3" ng-model="othcode.state"
- theme="bootstrap">
- <ui-select-match placeholder="请选择状态">
- {{$select.selected.name}}
- </ui-select-match>
- <ui-select-choices repeat="item in state | filter: $select.search">
- <div ng-bind-html="item.name | highlight: $select.search"></div>
- </ui-select-choices>
- </ui-select>
- </div>
- <div class="form-group incidentsearch wt_width">
- <div class="control-label pull-left margin-top-5">故障现象:</div>
- <multi-select-tree data-default-label="请选择故障现象" class="pull-right selectzise wt_width1 wt_width3"
- ng-model="cifilter_classic" data-input-model="select_treedata"
- data-output-model="cifilter_classics" theme="bootstrap" multi-select="false"
- data-callback="onFilterCallback(item)" data-select-only-leafs="false"
- reset-search-input="false" data-trans-label="category" data-switch-view="false">
- </multi-select-tree>
- </div>
- <div class="form-group incidentsearch wt_width">
- <div class="control-label pull-left margin-top-5 ">受理人:</div>
- <ui-select class="pull-right selectzise wt_width1 wt_width3"
- ng-model="searchkeys.acceptUser" theme="bootstrap">
- <ui-select-match placeholder="请选择受理人">
- {{$select.selected.name}}
- </ui-select-match>
- <ui-select-choices repeat="item in acceptUser | filter: $select.search"
- refresh="onChangeacceptUser($select.search)" refresh-delay="0">
- <div ng-bind-html=" item.name | highlight: $select.search "></div>
- </ui-select-choices>
- </ui-select>
- </div>
- <div class="form-group incidentsearch wt_width">
- <div class="control-label pull-left margin-top-5">处理人:</div>
- <ui-select class="pull-right selectzise wt_width1 wt_width3"
- ng-model="searchkeys.handlingPersonnelUser" theme="bootstrap">
- <ui-select-match placeholder="请选择处理人">
- {{$select.selected.name}}
- </ui-select-match>
- <ui-select-choices repeat="item in handlingPersonnelUser"
- refresh="onChangehandling($select.search)">
- <div ng-bind-html="item.name | highlight: $select.search"></div>
- </ui-select-choices>
- </ui-select>
- </div>
- <div class="form-group incidentsearch wt_width">
- <div>
- <div class="control-label pull-left margin-top-5 margin-right-5">事件单号:</div>
- <input class="f inputcolor wt_width1 wt_width3 pull-right" type="text"
- ng-model="searchkeys.incidentsign" placeholder="" />
- </div>
- </div>
- <div class="form-group incidentsearch wt_width">
- <div class="control-label pull-left margin-top-5">是否逾期:</div>
- <ui-select ng-change="selectTypeChange()" ng-model="searchkeys.selectType" class="pull-right selectzise wt_width1 wt_width3" theme="bootstrap">
- <ui-select-match placeholder="请选择">
- <span ng-bind="$select.selected.name"></span>
- </ui-select-match>
- <ui-select-choices repeat="item in selectType">
- <span ng-bind="item.name"></span>
- </ui-select-choices>
- </ui-select>
- </div>
- <div class="form-group incidentsearch wt_width">
- <label style="cursor: pointer;"><input type="checkbox" ng-model="searchkeys.deleteFlag" ng-true-value="1" ng-false-value="0" ng-click="selectDeleted($event)" /><span style="padding-left: 8px;">已删除</span></label>
- </div>
- </form>
- </div>
- <div class="col-xs-2 wt_pad">
- <div class="" style='padding-top: 8px'>
- <div class="pull-left margin-top-10 searchBtnBox">
- <div class=" wt_btns">
- <div class="btn btn_search" ng-click="chiceIncident(searchkeys,othcode.state)"
- type="button">搜索</div>
- </div>
- <div class=" wt_btns">
- <div class="btn btn_clean" ng-click="clear()" type="button">重置</div>
- </div>
- <div class=" wt_btns blank" ng-show="daochu">
- <button class=" btn btn_other" ng-click="export()" ladda="ldloading.zoom_in"
- data-style="zoom-in">
- <span translate="sidebar.nav.configuremanagerdb.LISTButton.EXPORT ">Export
- Data</span>
- </button>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- <div class="wt_list">
- <div ui-i18n="{{lang}} " style="background: #fff;">
- <div id="grid" style="border-radius: 2px !important;" ui-grid="gridOptions " ui-grid-pagination
- external-scopes="$scope " ui-grid-resize-columns ui-grid-auto-resize class="grid "></div>
- </div>
- </div>
- </div>
- </div>
- <style>
- @media screen and (max-width: 1750px) {
- .wt_width1 {
- width: 60% !important;
- }
- .wt_width4 {
- width: 27% !important;
- }
- .wt_width5 {
- width: 60% !important;
- border-color: #dedede;
- float: right;
- }
- }
- .selectzise {
- width: 160px;
- }
- .wt_width {
- width: 20%;
- margin-right: 16px;
- }
- .wt_width1 {
- width: 160px;
- }
- .wt_margin-top {
- margin-top: 35px !important;
- }
- .form-inline .form-control {
- border-radius: 2px;
- }
- .wt_width3 {
- width: 160px;
- height: 28px !important;
- border-radius: 2px !important;
- }
- .wt_width4 {
- width: 20%;
- }
- .wt_width5 {
- width: 160px;
- border-color: #dedede;
- float: right;
- height: 28px;
- border-radius: 2px !important;
- }
- .wt_width6 {
- display: inline-block;
- padding-top: 0px;
- position: relative;
- top: 4px;
- width: 8.2%;
- text-align: left;
- }
- .ui-select-bootstrap .ui-select-toggle {
- height: 28px;
- }
- .wt_width2 {
- width: 50% !important;
- }
- .wt_pad {
- padding: 0px;
- }
- .wt_btns {
- display: inline-block;
- margin-right: 8px;
- }
- .wt_btn1 {
- width: 60px;
- height: 28px !important;
- border-radius: 2px;
- line-height: 28px;
- font-size: 14px;
- padding: 0px !important;
- font-size: 14px !important;
- }
- .btn.steelbutton.wt_btn1 {
- padding: 0px !important;
- }
- .wt_btnColor {
- background: #4A90E2 !important;
- }
- .wt_btnColor:hover {
- background: #fff !important;
- color: #2B5EB8 !important;
- border: 1px solid #2B5EB8;
- }
- .wt_btnColor2:hover {
- background: #fff !important;
- color: #2B5EB8 !important;
- border: 1px solid #2B5EB8;
- }
- .wt_btn2 {
- min-width: 100px;
- height: 34px !important;
- border-radius: 2px !important;
- }
- .wt_list {
- padding: 15px;
- background: #F9F9F9;
- }
- .ui-grid-render-container:hover {
- background: #fff !important;
- }
- .wt_btnColor1 {
- background: #fff !important;
- color: #2B5EB8 !important;
- border: 1px solid #2B5EB8;
- }
- .wt_btnColor1:hover {
- background: #4A90E2 !important;
- color: #fff !important;
- border: 1px solid #4A90E2 !important;
- }
- div.ui-grid-row.ng-scope:hover {
- cursor: pointer;
- background: #fff !important;
- }
- .wt_searchlistback {
- margin-top: 1px;
- margin-bottom: 8px;
- border-top-left-radius: 0px !important;
- border-top-right-radius: 8px !important;
- border-bottom-left-radius: 8px !important;
- border-bottom-right-radius: 8px !important;
- }
- .ui-grid-row:nth-child(even) .ui-grid-cell {
- background: #fafafa !important;
- display: flex;
- justify-content: center;
- align-items: center;
- }
- .ui-grid-row:nth-child(odd) .ui-grid-cell {
- display: flex;
- justify-content: center;
- align-items: center;
- }
- .ui-grid-row .ui-grid-cell:last-of-type {
- justify-content: flex-start;
- }
- .searchBtnBox>.wt_btns {
- margin: 0 8px 10px 0;
- }
- /* 故障地点 */
- .address-wrap {
- position: relative;
- height: 28px;
- }
- #filterSearch .incidentsearch:nth-child(n + 9){
- display: none;
- }
- </style>
|