123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712 |
- <style>
- /* 批量导入 */
- .import{
- height: 50px;
- line-height: 50px
- }
- .import input{
- width: 120px;
- height: 34px;
- float: right;
- background-color: white;
- border:1px rgb(230,230,230) solid;
- color: #999999
- }
- /* 单位通讯录 */
- .communicationList{
- width: 21%;
- height: 400px;
- /* background-color: red; */
- border:1px rgb(230,230,230) solid;
- float: left;
- }
- .communicationList .head{
- height: 30px;
- line-height: 30px;
- border-bottom: 1px rgb(230,230,230) solid;
- padding-left: 4%
- }
- .communicationList .body{
- height: 369px;
- overflow: hidden;
- overflow-y: scroll
- }
- .communicationList .body::-webkit-scrollbar{
- display: none
- }
- /* 通讯录关联列表 */
- .communicationMain{
- margin-left: 1%;
- width: 78%;
- height: 500px;
- /* background-color: blue; */
- border:1px rgb(230,230,230) solid;
- float: left;
- }
- /* 头部 */
- .communicationMain .head{
- height: 40px;
- line-height: 40px;
- border-bottom: 1px rgb(230,230,230) solid;
- text-align: center;
- font-size: 14px;
- color: #005395;
- cursor: pointer;
- }
- /* 主体 */
- .communicationMain .body{
- height: 459px;
- overflow: hidden;
- overflow-y: scroll
- }
- .communicationMain .body .list{
- display: flex;
- justify-content:space-between;
- align-items:center;
- height: 100px;
- /* background-color: blue */
- border-bottom: 1px rgb(230,230,230) solid;
- padding-left: 3%
- }
- /* 故障描述 */
- .communicationMain .body .list .describe{
- width: 30%;
- }
- .communicationMain .body .list .describe span:nth-child(1){
- font-size: 12px;
- color: #333333
- }
- .communicationMain .body .list .describe span:nth-child(2){
- font-size: 12px;
- color: #666666
- }
- /* 工单权重 */
- .communicationMain .body .list .weight{
- width: 15%;
- text-align: center
- }
- .communicationMain .body .list .weight span:nth-child(1){
- font-size: 12px;
- color: #333333
- }
- .communicationMain .body .list .weight span:nth-child(2){
- font-size: 12px;
- color: #666666
- }
- /* 优先级 */
- .communicationMain .body .list .priority{
- width: 15%;
- text-align: center
- }
- .communicationMain .body .list .priority span:nth-child(1){
- font-size: 12px;
- color: #333333
- }
- .communicationMain .body .list .priority span:nth-child(2){
- font-size: 12px;
- color: #666666
- }
- /* 操作 */
- .communicationMain .body .list .operation{
- width: 15%;
- text-align: center
- }
- .communicationMain .body .list .operation span{
- color: #005395;
- cursor: pointer;
- }
- /* 新增弹框 */
- .addBoxFix{
- width: 100%;
- height: 100%;
- position: fixed;
- left: 0;
- top: 0;
- background-color: rgba(0,0,0,0.5);
- z-index: 9999;
- }
- .addBoxFix .addBox{
- width: 480px;
- height: 296px;
- background-color: white;
- margin-left: -240px;
- margin-top: -148px;
- position: fixed;
- left: 50%;
- top: -169px;
- border-radius: 4px;
- /* transition-duration: 2s */
- }
- .addBoxFix .editBox{
- width: 480px;
- height: 296px;
- background-color: white;
- margin-left: -240px;
- margin-top: -148px;
- position: fixed;
- left: 50%;
- top: -169px;
- border-radius: 4px;
- /* transition-duration: 2s */
- }
- .addBoxFix .addBox .head{
- height: 40px;
- line-height: 40px;
- text-align: center;
- border-bottom: 1px rgb(230,230,230) solid;
- }
- .addBoxFix .addBox .head span:nth-child(1){
- font-size: 16px;
- color: #333333
- }
- .addBoxFix .addBox .head span:nth-child(2){
- width: 14px;
- height: 14px;
- border-radius: 50%;
- line-height: 11px;
- text-align: center;
- float: right;
- cursor: pointer;
- border: 1px #666666 solid;
- color: #666666;
- margin-top: 13px;
- margin-right: 14px;
- }
- .addBoxFix .addBox .body{
- height: 221px;
- padding-left: 24px;
- }
- .addBoxFix .addBox .body>div{
- display: flex;
- align-items: flex-start;
- margin-top: 20px
- }
- .addBoxFix .addBox .body>div>span{
- font-size: 14px;
- color: #333333
- }
- .addBoxFix .addBox .fot{
- height: 35px;
- line-height: 35px;
- background-color: rgb(249, 246, 246);
- border-top: 1px rgb(230,230,230) solid;
- }
- .addBoxFix .addBox .fot div:nth-child(1){
- width: 50%;
- float: left;
- height: 35px;
- line-height: 35px;
- color: #333333;
- text-align: center;
- cursor: pointer;
- }
- .addBoxFix .addBox .fot div:nth-child(2){
- border-left: 1px rgb(230,230,230) solid;
- width: 49%;
- float: left;
- height: 35px;
- line-height: 35px;
- color: #95989c;
- text-align: center;
- cursor: pointer;
- }
- /* 公共css,需要复用 */
- .iconfont {
- font-size: 14px;
- }
- .nav-pills>li>a {
- border-radius: 0px;
- }
- .nav-pills>li.active>a,
- .nav-pills>li.active>a:hover,
- .nav-pills>li.active>a:focus {
- background-color: #006bbf;
- color: white !important;
- }
- .panel-tabs,
- .tabbable {
- /* padding: 14px; */
- background-color: white;
- }
- .tab-content>.tab-pane,
- .pill-content>.pill-pane {
- padding: 14px;
- border-bottom: 1px solid #eeeeee;
- border-left: 1px solid #eeeeee;
- border-right: 1px solid #eeeeee;
- border-radius: 0px 0px 8px 8px;
- }
- .nav-tabs>li.active a,
- .nav-tabs>li.active a:hover,
- .nav-tabs>li.active a:focus {
- background-color: #006bc0;
- color: white;
- }
- .nav-tabs {
- border-top: 1px solid #eeeeee;
- border-bottom: 1px solid #eeeeee;
- border-left: 1px solid #eeeeee;
- border-right: 1px solid #eeeeee;
- border-radius: 8px 8px 0 0;
- height: 47px;
- }
- .nav-tabs>li {
- border-right: 1px solid #eeeeee;
- }
- .nav-tabs>li:last-child {
- border-right: none;
- }
- /* 独立css */
- .mainDiv {
- /* background: red; */
- /* padding: 14px; */
- /* height: 50px; */
- overflow: hidden;
- /* zoom: 1; */
- }
- .mainDivLeft {
- border-radius: 8px;
- border: 1px solid #eeeeee;
- width: 288px;
- float: left;
- }
- .mainDivRight {
- margin-left: 302px;
- border-radius: 8px;
- border: 1px solid #eeeeee;
- }
- .mainDiv-head {
- height: 47px;
- line-height: 47px;
- background: #f5f5f5;
- font-size: 16px;
- color: #606367;
- border-radius: 8px 8px 0 0;
- padding-left: 10px;
- padding-right: 4px;
- }
- .mainDivLeft-span {
- border: 1px solid;
- /* padding: 15px 0px 15px 0px; */
- padding-left: 15px;
- padding-right: 15px;
- padding-top: 4px;
- padding-bottom: 4px;
- height: 28px;
- line-height: 28px;
- border-radius: 4px;
- margin-right: 10px;
- font-size: 14px;
- }
- .mainDiv-head-right {
- display: inline-block;
- float: right;
- }
- .edit-left {
- display: inline-block;
- /* float: left; */
- margin-left: 10px;
- }
- .span-1 {
- border-color: #006bc0;
- color: #006bc0;
- }
- .span-2 {
- border: none;
- color: white;
- background-color: #006bc0;
- }
- .span-3 {
- border: none;
- color: white;
- background-color: #fc4c58;
- }
- .mainDiv-body {
- border-radius: 8px;
- border: 1px solid #eeeeee;
- margin: 14px;
- padding-top: 14px;
- }
- .mainDiv-body-1 {
- height: 50px;
- line-height: 50px;
- font-size: 16px;
- color: #606367;
- padding: 0px 14px;
- border-bottom: 1px solid #eeeeee;
- }
- .mainDiv-body-2 {
- height: 70px;
- line-height: 70px;
- font-size: 14px;
- color: #606367;
- padding: 0px 30px;
- border-bottom: 1px solid #eeeeee;
- }
- .mainDiv-body-2:last-child {
- border-bottom: none;
- }
- .fixHeight {
- height: 450px;
- overflow: auto;
- }
- .mainDiv-body-3 {
- height: 50px;
- line-height: 50px;
- font-size: 14px;
- color: #606367;
- padding: 0px 30px;
- border-bottom: 1px solid #eeeeee;
- }
- .mainDiv-body-3:last-child {
- border-bottom: none;
- }
- .mainDiv-body-img {
- height: 90px;
- border-radius: 4px;
- margin: 14px;
- margin-bottom: 0px;
- overflow: hidden;
- }
- .mainDiv-body-noList {
- height: 110px;
- margin: 50px 0;
- text-align: center;
- }
- .form-control {
- display: inline-block;
- }
- .mainDivLeft-span-1 {
- border: 1px solid;
- padding-left: 15px;
- padding-right: 15px;
- /* padding-top: 4px; */
- /* padding-bottom: 4px; */
- height: 28px;
- line-height: 28px;
- border-radius: 4px;
- margin-right: 10px;
- font-size: 14px;
- display: inline-block;
- }
- .mainDivLeft-span-2 {
- border: 1px solid;
- padding-left: 15px;
- padding-right: 15px;
- /* padding-top: 4px; */
- /* padding-bottom: 4px; */
- height: 28px;
- line-height: 28px;
- border-radius: 4px;
- margin-right: 10px;
- font-size: 14px;
- display: inline-block;
- }
- .mainDivLeft-span-edit-1 {
- border: 1px solid;
- padding-left: 8px;
- padding-right: 8px;
- /* padding-top: 4px; */
- /* padding-bottom: 4px; */
- height: 22px;
- line-height: 22px;
- border-radius: 2px;
- margin-right: 10px;
- font-size: 12px;
- display: inline-block;
- }
- .mainDivLeft-span-edit-2 {
- border: 1px solid;
- padding-left: 8px;
- padding-right: 8px;
- /* padding-top: 4px; */
- /* padding-bottom: 4px; */
- height: 22px;
- line-height: 22px;
- border-radius: 2px;
- margin-right: 10px;
- font-size: 12px;
- display: inline-block;
- }
- /* tab内容css */
- .tab-mainDiv {
- border: 1px solid #eeeeee;
- border-radius: 8px;
- /* min-height: 360px; */
- }
- .tab-mainDiv-head {
- text-align: center;
- border-bottom: 1px solid #eeeeee;
- height: 34px;
- line-height: 34px;
- font-size: 14px;
- color: #93989e;
- }
- .tab-mainDiv-body {
- padding: 14px;
- min-height: 280px;
- max-height: 320px;
- overflow: auto;
- /* padding-top: 14px; */
- /* padding-bottom: 14px; */
- }
- .tab-mainDiv-body-lineDiv-50 {
- /* display: inline-block; */
- font-size: 14px;
- color: #93989e;
- margin-right: 14px;
- width: 47%;
- padding-left: 14px;
- }
- .tab-mainDiv-body-lineDiv-100 {
- /* display: inline-block; */
- font-size: 14px;
- color: #93989e;
- margin-right: 14px;
- width: 96%;
- padding-left: 14px;
- }
- .tab-mainDiv-body-lable {
- padding-bottom: 10px;
- /* width: 370px; */
- }
- .tab-mainDiv-body-content {
- padding-bottom: 10px;
- /* width: 370px; */
- }
- .tab-mainDiv-body-content>textarea {
- min-height: 68px;
- width: 100%;
- }
- .tab-mainDiv-foot {
- /* margin: 14px auto; */
- border-top: 1px solid #eeeeee;
- text-align: center;
- padding: 7px;
- }
- .tab-mainDiv-body-button-1 {
- display: inline-block;
- width: 80px;
- height: 34px;
- line-height: 34px;
- font-size: 14px;
- color: white;
- text-align: center;
- background-color: #006bc0;
- border-radius: 4px;
- margin-right: 14px;
- }
- .tab-mainDiv-body-button-2 {
- display: inline-block;
- width: 80px;
- height: 34px;
- line-height: 34px;
- font-size: 14px;
- color: #93989e;
- text-align: center;
- background-color: #f5f5f5;
- border-radius: 4px;
- box-sizing: border-box;
- border: 1px solid #eeeeee;
- }
- .tree-control .tree-view {
- width: inherit;
- z-index: 9999;
- }
- .jry_weight{
- margin-left: 15px
- }
- .selectzise{
- width: 290px!important
- }
- .noData{
- /* background: url(./../../images/404_wushuju.png); */
- /* background-size: 100% 100% */
- width: 100%;
- height: 459px;
- line-height: 459px;
- text-align: center
- }
- </style>
- <div ng-controller="jry_incidentSetCtrl">
- <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="import">
- <input type="button" value="批量导入">
- </div>
- <!-- 单位通讯录 -->
- <div class="communicationList">
- <div class="head">故障现象</div>
- <div class="body">
- <div class="box-tree">
- <span ng-if="doing_async">...加载中...</span>
- <abn-tree tree-data="my_data" tree-control="my_tree" on-select="my_tree_handler(branch)" expand-level="2" icon-leaf="iconfont icon-zuzhijiaose" icon-expand="ti-plus" icon-collapse="ti-minus "></abn-tree>
- <abn-tree tree-data="my_data" tree-control="my_tree" on-select="my_tree_handler(branch)" expand-level="2" icon-leaf="iconfont icon-fenlei" icon-expand="ti-plus" icon-collapse="ti-minus"></abn-tree>
- </div>
- </div>
- </div>
- <!-- 通讯录关联列表 -->
- <div class="communicationMain">
- <!-- <div class="head" ng-click="addNewDescribeOpen()">+新增</div> -->
- <div class="body">
- <!-- <img src="./../../images/404_wushuju.png"> -->
- <div class="noData" ng-show="jry_scricData.length==0"><img src="./../../../../assets/images/404_wushuju.png" alt=""></div>
- <div class="list" ng-repeat="n in jry_scricData">
- <div class="describe">
- <span>故障描述:</span>
- <span>{{n.describes}}</span>
- </div>
- <div class="weight">
- <span>工单权重:</span>
- <span>{{n.weight.name}}</span>
- </div>
- <div class="priority">
- <span>优先级:</span>
- <span>{{n.priority.name}}</span>
- </div>
- <div class="operation">
- <span ng-click="jry_editShow($index)">修改</span> | <span ng-click="jry_move($index)">删除</span>
- </div>
- </div>
- </div>
- </div>
- <!-- 新增弹框 -->
- <div class="addBoxFix" ng-show="addShow">
- <div class="addBox">
- <div class="head">
- <span>故障现象选择</span>
- <span ng-click="addNewDescribeClose()">×</span>
- </div>
- <div class="body">
- <div >
- <span>故障描述:</span>
- <textarea cols="49" rows="4" placeholder="填写字段100字以内" ng-model="addDscrip"></textarea>
- </div>
- <div>
- <span>工单权重:</span>
- <ui-select class="pull-left selectzise" ng-model="toweightData.weightData" theme="bootstrap">
- <ui-select-match placeholder="选择搜索类型">
- {{toweightData.weightData.name}}
- </ui-select-match>
- <ui-select-choices repeat="n in weightData">
- <div ng-bind-html="n.name"></div>
- </ui-select-choices>
- </ui-select>
- </div>
- <div>
- <span>优先级:</span>
- <ui-select class="pull-left selectzise jry_weight" ng-model="toYXData.YXData" theme="bootstrap">
- <ui-select-match placeholder="选择搜索类型">
- {{toYXData.YXData.name}}
- </ui-select-match>
- <ui-select-choices repeat="n in YXData">
- <div ng-bind-html="n.name"></div>
- </ui-select-choices>
- </ui-select>
- </div>
- </div>
- <div class="fot">
- <div ng-click="addSave()">新增</div>
- <div ng-click="addNewDescribeClose()">取消</div>
- </div>
- </div>
- </div>
- <!-- 编辑 -->
- <div class="addBoxFix" ng-show="editShow">
- <div class="addBox editBox">
- <div class="head">
- <span>故障现象选择</span>
- <span ng-click="editDescribeClose()">×</span>
- </div>
- <div class="body">
- <div >
- <span>故障描述:</span>
- <textarea cols="49" rows="4" placeholder="填写字段100字以内" ng-model="editDscrip"></textarea>
- </div>
- <div>
- <span>工单权重:</span>
- <ui-select class="pull-left selectzise" ng-model="editToweightData.weightData" theme="bootstrap">
- <ui-select-match placeholder="选择搜索类型">
- {{editToweightData.weightData.name}}
- </ui-select-match>
- <ui-select-choices repeat="n in weightData">
- <div ng-bind-html="n.name"></div>
- </ui-select-choices>
- </ui-select>
- </div>
- <div>
- <span>优先级:</span>
- <ui-select class="pull-left selectzise jry_weight" ng-model="editToYXData.YXData" theme="bootstrap">
- <ui-select-match placeholder="选择搜索类型">
- {{editToYXData.YXData.name}}
- </ui-select-match>
- <ui-select-choices repeat="n in YXData">
- <div ng-bind-html="n.name"></div>
- </ui-select-choices>
- </ui-select>
- </div>
- </div>
- <div class="fot">
- <div ng-click="editSave()">保存</div>
- <div ng-click="editDescribeClose()">取消</div>
- </div>
- </div>
- </div>
- </div>
|