Explorar o código

Merge branch 'pc-repair' of http://git.dashitech.com/seimin/zuel-itsm-3.0.2 into pc-repair

seimin %!s(int64=2) %!d(string=hai) anos
pai
achega
0ede033834
Modificáronse 5 ficheiros con 41 adicións e 89 borrados
  1. 35 49
      index.html
  2. 1 2
      js/index.js
  3. 3 3
      js/login.js
  4. 1 34
      login.html
  5. 1 1
      upload/development.js

+ 35 - 49
index.html

@@ -728,14 +728,12 @@
728 728
               >{{incident.handlingPersonnelUser?incident.handlingPersonnelUser.name:'暂无'}}</span
729 729
             >
730 730
           </li>
731
-          <li
732
-            class="pop1-hd__itemList pop1-hd__itemList--five pop1-hd__itemList--tag"
733
-          >
734
-            <strong>电话:</strong
735
-            ><span
736
-              >{{incident.handlingPersonnelUser?incident.handlingPersonnelUser.phone:'暂无'}}</span
737
-            >
731
+          {{if incident.directProcess != 1}}
732
+          <li class="pop1-hd__itemList pop1-hd__itemList--five pop1-hd__itemList--tag">
733
+            <strong>电话:</strong>
734
+            <span>{{incident.handlingPersonnelUser?incident.handlingPersonnelUser.phone:'暂无'}}</span>
738 735
           </li>
736
+          {{/if}}
739 737
           <li class="pop1-hd__itemList">
740 738
             <strong>处理进度:</strong>
741 739
             <div class="pop1-hd__itemListProcess clearfix">
@@ -839,14 +837,12 @@
839 837
               >{{incident.handlingPersonnelUser?incident.handlingPersonnelUser.name:'暂无'}}</span
840 838
             >
841 839
           </li>
842
-          <li
843
-            class="pop1-hd__itemList pop1-hd__itemList--five pop1-hd__itemList--tag"
844
-          >
845
-            <strong>电话:</strong
846
-            ><span
847
-              >{{incident.handlingPersonnelUser?incident.handlingPersonnelUser.phone:'暂无'}}</span
848
-            >
840
+          {{if incident.directProcess != 1}}
841
+          <li class="pop1-hd__itemList pop1-hd__itemList--five pop1-hd__itemList--tag">
842
+            <strong>电话:</strong>
843
+            <span>{{incident.handlingPersonnelUser?incident.handlingPersonnelUser.phone:'暂无'}}</span>
849 844
           </li>
845
+          {{/if}}
850 846
           <li class="pop1-hd__itemList">
851 847
             <strong>处理进度:</strong>
852 848
             <div class="pop1-hd__itemListProcess clearfix">
@@ -956,14 +952,12 @@
956 952
               >{{incident.handlingPersonnelUser?incident.handlingPersonnelUser.name:'暂无'}}</span
957 953
             >
958 954
           </li>
959
-          <li
960
-            class="pop1-hd__itemList pop1-hd__itemList--five pop1-hd__itemList--tag"
961
-          >
962
-            <strong>电话:</strong
963
-            ><span
964
-              >{{incident.handlingPersonnelUser?incident.handlingPersonnelUser.phone:'暂无'}}</span
965
-            >
955
+          {{if incident.directProcess != 1}}
956
+          <li class="pop1-hd__itemList pop1-hd__itemList--five pop1-hd__itemList--tag">
957
+            <strong>电话:</strong>
958
+            <span>{{incident.handlingPersonnelUser?incident.handlingPersonnelUser.phone:'暂无'}}</span>
966 959
           </li>
960
+          {{/if}}
967 961
           <li class="pop1-hd__itemList">
968 962
             <strong>处理进度:</strong>
969 963
             <div class="pop1-hd__itemListProcess clearfix">
@@ -1079,14 +1073,12 @@
1079 1073
               >{{incident.handlingPersonnelUser?incident.handlingPersonnelUser.name:'暂无'}}</span
1080 1074
             >
1081 1075
           </li>
1082
-          <li
1083
-            class="pop1-hd__itemList pop1-hd__itemList--five pop1-hd__itemList--tag"
1084
-          >
1085
-            <strong>电话:</strong
1086
-            ><span
1087
-              >{{incident.handlingPersonnelUser?incident.handlingPersonnelUser.phone:'暂无'}}</span
1088
-            >
1076
+          {{if incident.directProcess != 1}}
1077
+          <li class="pop1-hd__itemList pop1-hd__itemList--five pop1-hd__itemList--tag">
1078
+            <strong>电话:</strong>
1079
+            <span>{{incident.handlingPersonnelUser?incident.handlingPersonnelUser.phone:'暂无'}}</span>
1089 1080
           </li>
1081
+          {{/if}}
1090 1082
           <li class="pop1-hd__itemList">
1091 1083
             <strong>处理进度:</strong>
1092 1084
             <div class="pop1-hd__itemListProcess clearfix">
@@ -1208,14 +1200,12 @@
1208 1200
               >{{incident.handlingPersonnelUser?incident.handlingPersonnelUser.name:'暂无'}}</span
1209 1201
             >
1210 1202
           </li>
1211
-          <li
1212
-            class="pop1-hd__itemList pop1-hd__itemList--five pop1-hd__itemList--tag"
1213
-          >
1214
-            <strong>电话:</strong
1215
-            ><span
1216
-              >{{incident.handlingPersonnelUser?incident.handlingPersonnelUser.phone:'暂无'}}</span
1217
-            >
1203
+          {{if incident.directProcess != 1}}
1204
+          <li class="pop1-hd__itemList pop1-hd__itemList--five pop1-hd__itemList--tag">
1205
+            <strong>电话:</strong>
1206
+            <span>{{incident.handlingPersonnelUser?incident.handlingPersonnelUser.phone:'暂无'}}</span>
1218 1207
           </li>
1208
+          {{/if}}
1219 1209
           <li class="pop1-hd__itemList">
1220 1210
             <strong>处理进度:</strong>
1221 1211
             <div class="pop1-hd__itemListProcess clearfix">
@@ -1335,14 +1325,12 @@
1335 1325
               >{{incident.handlingPersonnelUser?incident.handlingPersonnelUser.name:'暂无'}}</span
1336 1326
             >
1337 1327
           </li>
1338
-          <li
1339
-            class="pop1-hd__itemList pop1-hd__itemList--five pop1-hd__itemList--tag"
1340
-          >
1341
-            <strong>电话:</strong
1342
-            ><span
1343
-              >{{incident.handlingPersonnelUser?incident.handlingPersonnelUser.phone:'暂无'}}</span
1344
-            >
1328
+          {{if incident.directProcess != 1}}
1329
+          <li class="pop1-hd__itemList pop1-hd__itemList--five pop1-hd__itemList--tag">
1330
+            <strong>电话:</strong>
1331
+            <span>{{incident.handlingPersonnelUser?incident.handlingPersonnelUser.phone:'暂无'}}</span>
1345 1332
           </li>
1333
+          {{/if}}
1346 1334
           <li class="pop1-hd__itemList">
1347 1335
             <strong>处理进度:</strong>
1348 1336
             <div class="pop1-hd__itemListProcess clearfix">
@@ -1462,14 +1450,12 @@
1462 1450
               >{{incident.handlingPersonnelUser?incident.handlingPersonnelUser.name:'暂无'}}</span
1463 1451
             >
1464 1452
           </li>
1465
-          <li
1466
-            class="pop1-hd__itemList pop1-hd__itemList--five pop1-hd__itemList--tag"
1467
-          >
1468
-            <strong>电话:</strong
1469
-            ><span
1470
-              >{{incident.handlingPersonnelUser?incident.handlingPersonnelUser.phone:'暂无'}}</span
1471
-            >
1453
+          {{if incident.directProcess != 1}}
1454
+          <li class="pop1-hd__itemList pop1-hd__itemList--five pop1-hd__itemList--tag">
1455
+            <strong>电话:</strong>
1456
+            <span>{{incident.handlingPersonnelUser?incident.handlingPersonnelUser.phone:'暂无'}}</span>
1472 1457
           </li>
1458
+          {{/if}}
1473 1459
           <li class="pop1-hd__itemList">
1474 1460
             <strong>处理进度:</strong>
1475 1461
             <div class="pop1-hd__itemListProcess clearfix">

+ 1 - 2
js/index.js

@@ -1282,7 +1282,6 @@ $(function () {
1282 1282
     if (type === 0) {
1283 1283
       $(".opcBg_searchBox").hide();
1284 1284
       postData = {
1285
-        assignee: loginUser.account,
1286 1285
         state: 0,
1287 1286
         idx: bx_pageNum,
1288 1287
         sum: 10,
@@ -1720,7 +1719,7 @@ $(function () {
1720 1719
       sessionStorage.removeItem("loginUser");
1721 1720
       sessionStorage.removeItem("repair_main");
1722 1721
       sessionStorage.removeItem("isSSo");
1723
-      location.href = "http://" + location.hostname + ":8080/pcreq_logout.jsp";
1722
+      location.href = "http://" + location.hostname + "/pcreq_logout.jsp";
1724 1723
     } else {
1725 1724
       $.ajax({
1726 1725
         type: "POST",

+ 3 - 3
js/login.js

@@ -18,9 +18,9 @@ $(function () {
18 18
   $("#head").append(
19 19
     template("favicon_temp", { isVersion: sessionStorage.getItem("version_qd") })
20 20
   );
21
-  $("#logo").html(
22
-    template("logo_temp", { isVersion: sessionStorage.getItem("version_qd") })
23
-  );
21
+  // $("#logo").html(
22
+  //   template("logo_temp", { isVersion: sessionStorage.getItem("version_qd") })
23
+  // );
24 24
   var isSSo = location.search.length > 0; //是否单点登录
25 25
   if (isSSo) {
26 26
     $(".container").hide();

+ 1 - 34
login.html

@@ -16,29 +16,7 @@
16 16
   </head>
17 17
 
18 18
   <body>
19
-    <div class="container">
20
-      <div class="content">
21
-        <div class="logo" id="logo">
22
-          <!-- <img src="./imgs/logo.png" alt="" />
23
-          <span>网络与信息运维报修平台</span> -->
24
-        </div>
25
-        <div class="login">
26
-          <div class="title">用户登录</div>
27
-          <input id="name" type="text" placeholder="请输入用户名" />
28
-          <input id="pwd" type="password" placeholder="请输入密码" />
29
-          <button id="login">登录</button>
30
-          <p>推荐使用Google浏览器,其他浏览器可能出现兼容性问题</p>
31
-          <!-- <p class="login_reset" style="color: #005395;">账号为您的学工号,初始密码为您的学工号后4位</p> -->
32
-        </div>
33
-        <div class="shadow">
34
-          <img src="./imgs/shadow_login.png" alt="" />
35
-        </div>
36
-      </div>
37
-      <div class="camp">
38
-        <img src="./imgs/logo-ds.png" alt="" />
39
-        <span>武汉大势恒通科技有限责任公司</span>
40
-      </div>
41
-    </div>
19
+
42 20
   </body>
43 21
   <script src="./libs/template-web.min.js"></script>
44 22
   <!-- favicon -->
@@ -61,17 +39,6 @@
61 39
     />
62 40
     {{/if}}
63 41
   </script>
64
-  <!-- logo -->
65
-  <script id="logo_temp" type="text/html">
66
-    {{if isVersion === 'isZncd'}}
67
-    <img src="./imgs/logo_zuel.png" alt="" />
68
-    {{else if isVersion === 'isHk'}}
69
-    <img src="./imgs/logo_hk.png" alt="" />
70
-    {{else}}
71
-    <img src="./imgs/logo_default.png" alt="" />
72
-    {{/if}}
73
-    <span>网络与信息运维报修平台</span>
74
-  </script>
75 42
   <script src="./js/base.js"></script>
76 43
   <script src="./js/login.js"></script>
77 44
 </html>

+ 1 - 1
upload/development.js

@@ -4,7 +4,7 @@ const config = {
4 4
   ip: "192.168.3.110", // ssh地址
5 5
   username: "root", // ssh 用户名
6 6
   port: 22,      //端口
7
-  password: "DStech@123", // ssh 密码
7
+  password: "123456", // ssh 密码
8 8
   path: '/home/itsm/project/web/pcReq', // 上传地址,删除地址
9 9
   buildPath: '../dist' // 本地打包后文件地址
10 10
 }