notification.html 6.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254
  1. <style>
  2. .bigBoxBg {
  3. background-color: rgb(249, 249, 249);
  4. padding: 8px 0
  5. }
  6. .fonsize {
  7. font-size: 14px
  8. }
  9. .leftBox {
  10. border: 1px rgb(234, 234, 234) solid;
  11. background-color: white;
  12. padding: 11px;
  13. margin-top: 7px;
  14. height: 535px;
  15. }
  16. .leftBox i {
  17. font-size: 14px;
  18. color: rgb(121, 163, 196)
  19. }
  20. .leftBox .list {
  21. height: 30px;
  22. line-height: 30px;
  23. padding: 0 4px;
  24. cursor: pointer;
  25. }
  26. .leftBox .listCliI {
  27. color: rgb(0, 83, 149)
  28. }
  29. .leftBox .listCli {
  30. background-color: rgb(230, 238, 244);
  31. }
  32. .leftBox .list span {
  33. font-size: 14px;
  34. display: inline-block;
  35. margin-left: 4px
  36. }
  37. .rightBox {
  38. border: 1px rgb(234, 234, 234) solid;
  39. background-color: white;
  40. padding: 11px;
  41. margin-top: 7px;
  42. height: 535px;
  43. }
  44. th,
  45. td {
  46. word-wrap: break-word;
  47. padding: 6px 8px;
  48. border: 1px solid #ddd;
  49. }
  50. .jry_table {
  51. border: 1px solid #ddd;
  52. text-align: center;
  53. width: 100%;
  54. }
  55. .jry_table th {
  56. text-align: center;
  57. }
  58. .jry_table .bgGray {
  59. background-color: #f9f9f9;
  60. }
  61. .bianji {
  62. color: #6f9ad4;
  63. cursor: pointer;
  64. }
  65. /* .notification-sidebar {
  66. width: 220px;
  67. padding-left: 11px;
  68. padding-right: 11px;
  69. }
  70. .notification-main {
  71. width: 865px;
  72. padding-left: 0;
  73. padding-right: 0;
  74. } */
  75. </style>
  76. <section id="page-title">
  77. <div class="row">
  78. <div class="col-sm-8">
  79. <h1 class="mainTitle">消息通知管理<i tooltip='消息通知管理,点击操作处理数据。' tooltip-placement="right"
  80. class="fa ti-help-alt margin-left-10 fontcolor-five pointfont"></i></h1>
  81. </div>
  82. </div>
  83. </section>
  84. <div ng-controller="notificationCtr">
  85. <div class="col-xs-12 bigBoxBg">
  86. <div class="col-xs-3 notification-sidebar">
  87. <div class="fonsize">消息通知管理</div>
  88. <div class="leftBox">
  89. <div class="list" ng-repeat="v in listData" ng-click="leftListClick($index,v)"
  90. ng-class="{'listCli':$index==leftListIdx}">
  91. <!-- <i class="iconfont icon-liebiao1" ng-class="{'listCliI':$index==leftListIdx}"></i> -->
  92. <span>{{v.name}}</span>
  93. </div>
  94. </div>
  95. </div>
  96. <div class="col-xs-9 notification-main">
  97. <div class="fonsize">消息通知设置</div>
  98. <div class="rightBox">
  99. <!-- 报修流程 -->
  100. <table class="jry_table" ng-if="leftListIdx==0" cellspacing="0" cellpadding="20"
  101. style="font-weight:normal !important;margin-bottom: 15px;table-layout:fixed">
  102. <thread>
  103. <tr>
  104. <th style="width:6%">
  105. 序号
  106. </th>
  107. <th style="width:10%">
  108. 通知流程
  109. </th>
  110. <th style="width:10%">
  111. 流程节点
  112. </th>
  113. <th style="width:10%">
  114. 状态
  115. </th>
  116. <th style="width:12%">
  117. 被通知人
  118. </th>
  119. <th style="width:18%">
  120. 通知规则
  121. </th>
  122. <th style="width:18%">
  123. 通知模式
  124. </th>
  125. <th style="width:10%">
  126. 是否开启
  127. </th>
  128. <th style="width:6%">
  129. 操作
  130. </th>
  131. </tr>
  132. </thread>
  133. <tbody class="tbody-hover">
  134. <tr ng-repeat="rowData in bxList" ng-class="$index%2==1?'bgGray':''">
  135. <td style="width:6%">
  136. {{$index+1}}
  137. </td>
  138. <td style="width:10%">
  139. {{rowData.processName}}
  140. </td>
  141. <td style="width:10%">
  142. {{rowData.processNode}}
  143. </td>
  144. <td style="width:10%">
  145. {{rowData.processStatus}}
  146. </td>
  147. <td style="width:12%">
  148. {{rowData.notifiedPerson}}
  149. </td>
  150. <td style="width:18%">
  151. {{computedRule(rowData.noticeRule,rowData.id)}}
  152. </td>
  153. <td style="width:18%">
  154. <span>{{rowData.messageStationFlag ==1?'站内消息 ':''}}</span>
  155. <span>{{rowData.shortMessageFlag ==1?'短信 ':''}}</span>
  156. <span>{{rowData.wechatMessageFlag ==1?'微信':''}}</span>
  157. </td>
  158. <td style="width:10%">
  159. <span ng-if="rowData.flag ==1">是</span>
  160. <span ng-if="rowData.flag ==0">否</span>
  161. </td>
  162. <td style="width:6%" class="bianji">
  163. <span ng-click="editClick(rowData)">设置</span>
  164. </td>
  165. </tr>
  166. </tbody>
  167. </table>
  168. <!-- 事件流程 -->
  169. <table class="jry_table" ng-if="leftListIdx==1" cellspacing="0" cellpadding="20"
  170. style="font-weight:normal !important;margin-bottom: 15px;table-layout:fixed">
  171. <thread>
  172. <tr>
  173. <th style="width:6%">
  174. 序号
  175. </th>
  176. <th style="width:10%">
  177. 通知流程
  178. </th>
  179. <th style="width:10%">
  180. 流程节点
  181. </th>
  182. <th style="width:10%">
  183. 状态
  184. </th>
  185. <th style="width:12%">
  186. 被通知人
  187. </th>
  188. <th style="width:18%">
  189. 通知规则
  190. </th>
  191. <th style="width:18%">
  192. 通知模式
  193. </th>
  194. <th style="width:10%">
  195. 是否开启
  196. </th>
  197. <th style="width:6%">
  198. 操作
  199. </th>
  200. </tr>
  201. </thread>
  202. <tbody class="tbody-hover">
  203. <tr ng-repeat="rowData in sjList" ng-class="$index%2==1?'bgGray':''">
  204. <td style="width:6%">
  205. {{$index+1}}
  206. </td>
  207. <td style="width:10%">
  208. {{rowData.processName}}
  209. </td>
  210. <td style="width:10%">
  211. {{rowData.processNode}}
  212. </td>
  213. <td style="width:10%">
  214. {{rowData.processStatus}}
  215. </td>
  216. <td style="width:12%">
  217. {{rowData.notifiedPerson}}
  218. </td>
  219. <td style="width:18%">
  220. {{computedRule(rowData.noticeRule,rowData.id)}}
  221. </td>
  222. <td style="width:18%">
  223. {{rowData.messageStationFlag ==1?'站内消息':''}}
  224. {{rowData.shortMessageFlag ==1?',短信':''}}
  225. {{rowData.wechatMessageFlag ==1?',微信':''}}
  226. </td>
  227. <td style="width:10%">
  228. {{rowData.flag ==1?'是':'否'}}
  229. </td>
  230. <td style="width:6%" class="bianji">
  231. <span ng-click="editClick(rowData)">设置</span>
  232. </td>
  233. </tr>
  234. </tbody>
  235. </table>
  236. </div>
  237. </div>
  238. </div>
  239. </div>