Няма описание

Setting-1.html 6.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <title>个人中心</title>
  6. <meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1,user-scalable=no">
  7. <meta name="apple-mobile-web-app-capable" content="yes">
  8. <meta name="apple-mobile-web-app-status-bar-style" content="black">
  9. <link rel="stylesheet" href="../css/mui.css">
  10. <link rel="stylesheet" type="text/css" href="css/Setting-1.css" />
  11. </head>
  12. <script>
  13. </script>
  14. <body>
  15. <div class="mui-content">
  16. <div class="mui-banner">
  17. <div class="mui-banner-bj">
  18. <!--<img src="../img/person_banner.png" />-->
  19. </div>
  20. <div class="mui-banner-img"><img src="../img/portrait.png" /></div>
  21. <div class="mui-banner-text">
  22. <span id="nakico"></span>
  23. <span id="ninamm"></span>
  24. <span id="nickname"></span>
  25. </div>
  26. <div class="mui-banner-text2">
  27. <span id="area"></span>
  28. <span id="offic"></span>
  29. </div>
  30. <div class="mui-banner-text3">
  31. <span id="region"></span>
  32. </div>
  33. </div>
  34. <ul class="mui-table-view mui-table-view-chevron">
  35. <li class="mui-table-view-cell mui-media">
  36. <a class="mui-navigate-right inquire_order">
  37. <img class="mui-media-object mui-pull-left head-img" id="head-img" src="../img/serch_icon.png">
  38. <div class="mui-media-body">工单查询</div>
  39. </a>
  40. </li>
  41. <li class="mui-table-view-cell mui-media">
  42. <a class="mui-navigate-right edit_password">
  43. <img class="mui-media-object mui-pull-left head-img" id="head-img" src="../img/modification.png">
  44. <div class="mui-media-body">修改密码</div>
  45. </a>
  46. </li>
  47. <li class="mui-table-view-cell mui-media">
  48. <a class="mui-navigate-right" id="quit">
  49. <img class="mui-media-object mui-pull-left head-img" id="head-img" src="../img/quit.png">
  50. <div class="mui-media-body">退出登录</div>
  51. </a>
  52. </li>
  53. </ul>
  54. </div>
  55. <div style="width: 100%; height: 60px;"></div>
  56. <!--底部-->
  57. <nav class="mui-tabs otherdiv">
  58. <a class="mui-tabs-item client" >
  59. <span class="mui-icon iconfont">
  60. <img src="../img/task.png" />
  61. </span>
  62. <span class="mui-tab-label">任务中心</span>
  63. </a>
  64. <a class="mui-tabs-item reminder" href="press_list.html" style="display: none;">
  65. <span class="mui-icon iconfont">
  66. <img src="../img/reminder.png" />
  67. </span>
  68. <span class="mui-tab-label">超期工单</span>
  69. </a>
  70. <!--<a class="mui-tabs-item" href="dynamic.html">
  71. <span class="mui-icon iconfont">
  72. <img src="../img/dynamic.png" />
  73. </span>
  74. <span class="mui-tab-label">工作动态</span>
  75. </a>-->
  76. <a class="mui-tabs-item mui-active" href="Setting-1.html">
  77. <span class="mui-icon iconfont">
  78. <img src="../img/personage_c.png" />
  79. </span>
  80. <span class="mui-tab-label">我的</span>
  81. </a>
  82. </nav>
  83. <!--监管人员底部-->
  84. <nav class="mui-tabs supervise" style="display: none;">
  85. <a class="mui-tabs-item client" >
  86. <span class="mui-icon iconfont">
  87. <img src="../img/task.png" />
  88. </span>
  89. <span class="mui-tab-label">任务中心</span>
  90. </a>
  91. <!--<a class="mui-tabs-item" href="../fisrt_comprehensive/report-index.html">
  92. <span class="mui-icon iconfont">
  93. <img src="../img/inquireicon.png" />
  94. </span>
  95. <span class="mui-tab-label">综合查询</span>
  96. </a>-->
  97. <!--<a class="mui-tabs-item" href="dynamic.html">
  98. <span class="mui-icon iconfont">
  99. <img src="../img/dynamic.png" />
  100. </span>
  101. <span class="mui-tab-label">工作动态</span>
  102. </a>-->
  103. <a class="mui-tabs-item mui-active" href="Setting-1.html">
  104. <span class="mui-icon iconfont">
  105. <img src="../img/personage_c.png" />
  106. </span>
  107. <span class="mui-tab-label">我的</span>
  108. </a>
  109. </nav>
  110. </body>
  111. <script src="../js/mui.min.js "></script>
  112. <script src="../js/jquery.min.js"></script>
  113. <!--<script src="../js/feedback-page.js"></script>-->
  114. <script src="../Script/Common/huayi.config.js"></script>
  115. <script src="../Script/Common/huayi.http.js"></script>
  116. <script>
  117. var UserCode = helper.cookies.get("usercode");
  118. var UserType = helper.cookies.get("usertype");
  119. var UserName = helper.cookies.get("UserName");
  120. var rolename = helper.cookies.get("rolename");
  121. var Area = helper.cookies.get("area");
  122. var offic = helper.cookies.get("offic");
  123. var region = helper.cookies.get("region");
  124. $(function(){
  125. $("#nickname").text(UserCode); //账号
  126. $("#ninamm").text(UserName); //姓名
  127. $("#nakico").text(rolename); //角色
  128. $("#area").text(Area); //大区
  129. $("#offic").text(offic); //分公司
  130. if (region) {
  131. $("#region").text("负责区域:"+region); //负责区域
  132. }
  133. })
  134. if(UserType==-1) {
  135. $(".add_icon").show();
  136. $(".reminder").show();
  137. }else if(UserType==1){
  138. $(".add_icon").show()
  139. $(".reminder").show();
  140. }else if(UserType==2){
  141. $(".add_icon").hide()
  142. $(".reminder").hide();
  143. }else if(UserType==3){
  144. $(".add_icon").hide()
  145. $(".reminder").show();
  146. }else if(UserType==4){
  147. $(".add_icon").hide();
  148. $(".reminder").show();
  149. $(".otherdiv").hide();
  150. $(".supervise").show();
  151. }else if(UserType==5){
  152. $(".add_icon").hide()
  153. } else {
  154. itype = helper.request.queryString("itype");
  155. }
  156. if(UserType == "3") { //系统管理员
  157. $('.client').on('tap', function() {
  158. window.location.href = "Waiting_list.html";
  159. });
  160. } else if(UserType == "0") { //大区经理及分公司经理
  161. $('.client').on('tap', function() {
  162. window.location.href = "client_index.html";
  163. });
  164. }else if(UserType == "1") { //其他人员
  165. $('.client').on('tap', function() {
  166. window.location.href = "client_index.html";
  167. });
  168. }else if(UserType == "2") { //高层
  169. $('.client').on('tap', function() {
  170. window.location.href = "high_list.html";
  171. });
  172. }else if(UserType == "4") { //业务员
  173. $('.client').on('tap', function() {
  174. window.location.href = "Have_list.html";
  175. });
  176. }else if(UserType == "5") { //游客
  177. $('.client').on('tap', function() {
  178. window.location.href = "establish.html";
  179. });
  180. }
  181. $("#quit").click(function() {
  182. //点击图片后发送跳转到指定页面的事件。
  183. var btnArray = ['否', '是'];
  184. mui.confirm('确定返回?', '提示', btnArray, function(f) {
  185. if(f.index == 1) {
  186. helper.cookies.set("usercode", "", -1);
  187. helper.cookies.set("usertype", "", -1);
  188. helper.cookies.set("openid", "", -1);
  189. helper.cookies.set("fullname", "", -1);
  190. helper.cookies.set("nickname", "", -1);
  191. window.location.href = "../index.html?menucode="+"MANA";
  192. } else {
  193. mui.toast("取消");
  194. }
  195. })
  196. })
  197. $('.edit_password').on('tap', function() {
  198. window.location.href = "edit.html";
  199. });
  200. $('.inquire_order').on('tap', function() {
  201. window.location.href = "../fisrt_comprehensive/Seach.html";
  202. });
  203. </script>
  204. </html>