瀏覽代碼

优化
优化

zouyuxuan 5 年之前
父節點
當前提交
c05430d5a7

+ 9 - 2
core/src/qfw/manage/loan.go

@@ -237,6 +237,7 @@ func (this *LoanAction)Evaluation_list(){
 		currentPage, _ := this.GetInteger("currentPage")
 		perPage, _ := this.GetInteger("perPage")
 		query :=make(map[string]interface{})
+		query["visit_back"] = 1
 		query["opinion"] = 0
 		ldata:=*mgo.Find("jy_loan",query,`{"application_time":1}`,nil,false,(currentPage-1)*perPage, perPage)
 		count := mgo.Count("jy_loan", query)
@@ -267,10 +268,16 @@ func (this *LoanAction)Clue_manage(){
 			"error_code":"1004",
 		})
 	}else{
+		query := make(map[string]interface{})
+		query["opinion"] = 1
+		query["visit_back"] = 1
+		query["companyName"] = map[string]interface{}{
+			"$exists":true,
+		}
 		currentPage, _ := this.GetInteger("currentPage")
 		perPage, _ := this.GetInteger("perPage")
-		data :=mgo.Find("jy_loan",`{"companyName":{"$exists":true}}`,`{"application_time":1}`,`{"companyName":1,"registration":1,"visit_person":1,"visit_time":1,"account_manager":1,"opinion_time":1,"classify_type":1,"uid":1,"application_time":1}`,false,(currentPage-1)*perPage, perPage)
-		count := mgo.Count("jy_loan",`{"companyName":{"$exists":true}}`)
+		data :=mgo.Find("jy_loan",query,`{"application_time":1}`,`{"companyName":1,"registration":1,"visit_person":1,"visit_time":1,"account_manager":1,"opinion_time":1,"classify_type":1,"uid":1,"application_time":1}`,false,(currentPage-1)*perPage, perPage)
+		count := mgo.Count("jy_loan",query)
 		if (*data!=nil){
 			this.ServeJson(map[string]interface{}{
 				"currentPage": currentPage,

+ 12 - 4
core/src/web/templates/manage/loan/classSet.html

@@ -69,8 +69,8 @@
 </head>
 <body>
   <div class="set-content">
-    <div style="width: 100px;height: 40px;position: relative;float: right;">
-      <a id="return" href="/manage/jyloan/list"> 退出系统</a>
+    <div style="width: 120px;height: 40px;position: relative;float: right;">
+      <a id="return" href="/manage/jyloan/list"> 返回上一级</a>
     </div>
     <div class="title">线索分类设置:</div>
     <div class="table-content">
@@ -142,8 +142,8 @@
           dataType:"json",
           async:false,
           success:function (d) {
-            if (d.data.status==1){
-              for (var i =1;i<d.data.data.length;i++){
+            if (d.data.status==1&&d.error_code == 0){
+              for (var i =0;i<d.data.data.length;i++){
                 str = str +  '<tr><td class="del" onclick="del(this)" data-index="'+i+'">删除</td><td>'+d.data.data[i].classify_type+'</td><td>'+d.data.data[i].discribe+'</td><td class="id" hidden>'+d.data.data[i]._id+'</td></tr>'
               }
               str = str + addStr;
@@ -151,6 +151,14 @@
               var tbody = document.createElement('tbody');
               tbody.innerHTML = str;
               table.appendChild(tbody)
+              return
+            }else if (d.error_code == 0 &&d.data.status == 0){
+              var table = document.getElementById('table');
+              var tbody = document.createElement('tbody');
+              tbody.innerHTML = addStr;
+              table.appendChild(tbody);
+              return
+
             }
           }
         })

+ 23 - 27
core/src/web/templates/manage/loan/clue.html

@@ -20,10 +20,6 @@
             left: 220px;
             top: 120px;
         }
-        .ke-container{
-            width: 425px;
-            margin-left: 100px;
-        }
 
         #content table {
             table-layout: fixed;
@@ -36,19 +32,19 @@
         }
 
         .table > thead > tr > th:nth-child(1) {
-            width: 7%;
+            width: 13%;
         }
 
         .table > thead > tr > th:nth-child(2) {
-            width: 5%;
+            width: 4%;
         }
 
         .table > thead > tr > th:nth-child(3) {
-            width: 10%;
+            width: 8%;
         }
 
         .table > thead > tr > th:nth-child(4) {
-            width: 5%;
+            width: 4%;
         }
 
         .table > thead > tr > th:nth-child(5) {
@@ -56,11 +52,11 @@
         }
 
         .table > thead > tr > th:nth-child(6) {
-            width: 5%;
+            width: 4%;
             /*text-align: center;*/
         }
         .table > thead > tr > th:nth-child(7) {
-            width: 8%;
+            width: 5%;
             /*text-align: center;*/
         }
         .table > thead > tr > th:nth-child(8) {
@@ -113,10 +109,6 @@
             background-color: rgb(202, 198, 133);
             border-color: #EAB62F;
         }
-        .ke-container{
-            width: 582px;
-            margin-left: 0px;
-        }
         #return{
             float: right;
             margin-right: 27px;
@@ -128,6 +120,9 @@
             letter-spacing: 0px;
             text-decoration: none;
         }
+        .table>tbody>tr>td, .table>tbody>tr>th, .table>tfoot>tr>td, .table>tfoot>tr>th, .table>thead>tr>td, .table>thead>tr>th{
+            vertical-align:middle;
+        }
 
     </style>
 </head>
@@ -136,8 +131,8 @@
 
 <div>
     {{include "/manage/audithead.html"}}
-    <div style="width: 100px;height: 40px;position: relative;float: right;">
-        <a id="return" href="/manage/jyloan/list"> 退出系统</a>
+    <div style="width: 120px;height: 40px;position: relative;float: right;">
+        <a id="return" href="/manage/loan/cluelist"> 返回上一级</a>
     </div>
     <div class="row" style="width:96%; margin:0 auto;">
         {{include "/manage/slider.html"}}
@@ -148,7 +143,7 @@
         <div class="record" style="display: none">
             <div style="float: left;
     position: relative;
-    margin-left: 202px;
+    margin-left: 214px;
     margin-top: -600px;
     width: 200px;
     height: 200px;
@@ -171,21 +166,21 @@ overflow-y: auto;">
             </div>
             <div style="
     position: relative;
-    float: left;
-    margin-left: 638px;
+    float: right;
+    margin-right: 10px;
     margin-top: -600px;
-    width: 200px;
+    width: 580px;
     height: 200px;
     font-size: 24px;
 ">
                 <span >3 分类意见:</span>
                 <textarea id="classify_msg" name="classify_msg" style="margin-left: 100px;"></textarea>
-                <div style="padding-left: 118px;
-    margin-top: 37px;">
+                <div style="padding-left: 97px;
+    margin-top: 30px;">
                     <input  type="button" style="width: 90px; height: 33px; left: 1166px; top: 852px; z-index: 22; background-color: rgb(202, 198, 133); border-color: rgb(187, 187, 187); border-width: 1px; border-style: solid; border-radius: 4px; font-size: 14px; text-align: center; font-weight: normal; font-style: normal; opacity: 1;" value="提交" onclick="submit()">
                 </div>
-                <div style="padding-left: 415px;
-    margin-top: -33px;">
+                <div style="padding-left: 357px;
+    margin-top: -37px;">
                     <input  type="button" style="width: 90px; height: 33px; left: 1166px; top: 852px; z-index: 22; background-color: rgb(202, 198, 133); border-color: rgb(187, 187, 187); border-width: 1px; border-style: solid; border-radius: 4px; font-size: 14px; text-align: center; font-weight: normal; font-style: normal; opacity: 1;" value="取消" onclick="cancle()">
                 </div>
             </div>
@@ -225,7 +220,8 @@ overflow-y: auto;">
 
                 {
                     title: "企业名称", field: "companyName",callback:function (d) {
-                        return d.companyName
+                        var html = '<div style="width: 145px;height: auto;overflow-x: auto;text-align: left;line-height: 37px">'+ d.companyName+'</div>'
+                        return html
                     }
                 },
                 {
@@ -288,7 +284,7 @@ overflow-y: auto;">
                             success:function (r) {
                                 if (r.data.length>0){
                                     var html = "";
-                                    for (var i =1;i<r.data.length;i++){
+                                    for (var i =0;i<r.data.length;i++){
                                         html += '<option>'+r.data[i].classify_type+'</option>';
                                     }
                                     select += html
@@ -316,7 +312,7 @@ overflow-y: auto;">
                 id:"ke_editor",
                 allowFileManager : false,
                 filterMode:true,
-                width : '10px',
+                width : '100%',
                 height:'20px',
                 items:items_simp,
                 allowImageRemoteImageRemote:false,

+ 12 - 9
core/src/web/templates/manage/loan/cluelist.html

@@ -33,11 +33,11 @@
         }
 
         .table > thead > tr > th:nth-child(1) {
-            width: 7%;
+            width: 13%;
         }
 
         .table > thead > tr > th:nth-child(2) {
-            width: 5%;
+            width: 4%;
         }
 
         .table > thead > tr > th:nth-child(3) {
@@ -49,7 +49,7 @@
         }
 
         .table > thead > tr > th:nth-child(5) {
-            width: 5%;
+            width: 4%;
         }
 
         .table > thead > tr > th:nth-child(6) {
@@ -57,7 +57,7 @@
             /*text-align: center;*/
         }
         .table > thead > tr > th:nth-child(7) {
-            width: 8%;
+            width: 5%;
             /*text-align: center;*/
         }
         .table > thead > tr > th:nth-child(8) {
@@ -125,7 +125,9 @@
             letter-spacing: 0px;
             text-decoration: none;
         }
-
+        .table>tbody>tr>td, .table>tbody>tr>th, .table>tfoot>tr>td, .table>tfoot>tr>th, .table>thead>tr>td, .table>thead>tr>th{
+            vertical-align:middle;
+        }
     </style>
 </head>
 {{include "/common/baiducc.html"}}
@@ -133,8 +135,8 @@
 
 <div>
     {{include "/manage/audithead.html"}}
-    <div style="width: 100px;height: 40px;position: relative;float: right;">
-        <a id="return" href="/manage/jyloan/list"> 退出系统</a>
+    <div style="width: 120px;height: 40px;position: relative;float: right;">
+        <a id="return" href="/manage/jyloan/list"> 返回上一级</a>
     </div>
     <div class="row" style="width:96%; margin:0 auto;">
         {{include "/manage/slider.html"}}
@@ -171,7 +173,7 @@
             ,
             classname: "table-hover"
             ,
-            css: {"height": "300px"}
+            css: {"height": "350px"}
             //,post:{"name":"ee"}
             ,
             url: '/manage/jy_loan/cluelist'
@@ -180,7 +182,8 @@
 
                 {
                     title: "企业名称", field: "companyName",callback:function (d) {
-                        return d.companyName
+                        var html = '<div style="width: 145px;height: auto;overflow-x: auto;text-align: left;line-height: 37px">'+ d.companyName+'</div>'
+                        return html
                     }
                 },
                 {

+ 19 - 15
core/src/web/templates/manage/loan/evaluationdetail.html

@@ -36,19 +36,19 @@
         }
 
         .table > thead > tr > th:nth-child(1) {
-            width: 7%;
+            width: 13%;
         }
 
         .table > thead > tr > th:nth-child(2) {
-            width: 5%;
+            width: 4%;
         }
 
         .table > thead > tr > th:nth-child(3) {
-            width: 5%;
+            width: 4%;
         }
 
         .table > thead > tr > th:nth-child(4) {
-            width: 8%;
+            width: 7%;
         }
 
         .table > thead > tr > th:nth-child(5) {
@@ -60,7 +60,7 @@
             /*text-align: center;*/
         }
         .table > thead > tr > th:nth-child(7) {
-            width: 10%;
+            width: 8%;
             /*text-align: center;*/
         }
         .table > thead > tr > th:nth-child(8) {
@@ -124,7 +124,9 @@
             letter-spacing: 0px;
             text-decoration: none;
         }
-
+        .table>tbody>tr>td, .table>tbody>tr>th, .table>tfoot>tr>td, .table>tfoot>tr>th, .table>thead>tr>td, .table>thead>tr>th{
+            vertical-align:middle;
+        }
     </style>
 </head>
 {{include "/common/baiducc.html"}}
@@ -132,8 +134,8 @@
 
 <div>
     {{include "/manage/audithead.html"}}
-    <div style="width: 100px;height: 40px;position: relative;float: right;">
-        <a id="return" href="/manage/jyloan/list"> 退出系统</a>
+    <div style="width: 120px;height: 40px;position: relative;float: right;">
+        <a id="return" href="/manage/loan/evaluationlist"> 返回上一级</a>
     </div>
     <div class="row" style="width:96%; margin:0 auto;">
         {{include "/manage/slider.html"}}
@@ -146,15 +148,15 @@
     float: left;
     margin-left: -207px;
 ">
-                <div style="position: relative;float: left;margin-left: 206px;margin-top: -366px;width: 280px;height: 300px;">
+                <div style="position: relative;float: left;margin-left: 220px;margin-top: -366px;width: 305px;height: 300px;">
                     <span style="font-size: 24px;">回访记录:</span>
-                    <span id="visit-person"></span>
-                    <span id="visit-time"></span>
+                    <span id="visit-person" style=" font-weight:400; font-size:22px; color:rgba(94, 126, 240, 1); font-style:normal; letter-spacing:0px; line-height:42px; text-decoration:none;"></span>
+                    <span id="visit-time" style=" font-weight:400; font-size:22px; color:rgba(94, 126, 240, 1); font-style:normal; letter-spacing:0px; line-height:42px; text-decoration:none;"></span>
                     <div id="visit-record" style="overflow-y: auto;">
 
                     </div>
                 </div>
-                <div style="position: relative;float: right;margin-left: 580px;margin-top: -366px;">
+                <div style="position: relative;float: right;margin-left: 605px;margin-top: -366px;">
                     <span style="font-size: 24px" >贷款评估意见:</span>
                     <textarea id="evaluation" name="evaluation" style="width: 400px;height: 200px;" placeholder="多行输入"></textarea>
                     <div>
@@ -210,7 +212,8 @@
 
                     {
                         title: "企业名称", field: "companyName",callback:function (d) {
-                            return d.companyName
+                            var html = '<div style="width: 145px;height: auto;overflow-x: auto;text-align: left;line-height: 37px">'+ d.companyName+'</div>'
+                            return html
                         }
                     },
                     {
@@ -246,7 +249,8 @@
                     },
                     {
                         title:"贷款用途",field:"remark",callback:function (d) {
-                            return d.remark
+                            var html = '<div style="width: 145px;height: auto;overflow-x: auto;text-align: left;line-height: 37px">'+ d.remark+'</div>'
+                            return html
 
                         }
                     },
@@ -266,7 +270,7 @@
                 id:"ke_editor",
                 allowFileManager : false,
                 filterMode:true,
-                width : '10px',
+                width : '87%',
                 height:'20px',
                 items:items_simp,
                 allowImageRemoteImageRemote:false,

+ 15 - 10
core/src/web/templates/manage/loan/evaluationlist.html

@@ -22,19 +22,19 @@
         }
 
         .table > thead > tr > th:nth-child(1) {
-            width: 7%;
+            width: 13%;
         }
 
         .table > thead > tr > th:nth-child(2) {
-            width: 5%;
+            width: 4%;
         }
 
         .table > thead > tr > th:nth-child(3) {
-            width: 5%;
+            width: 4%;
         }
 
         .table > thead > tr > th:nth-child(4) {
-            width: 8%;
+            width: 7%;
         }
 
         .table > thead > tr > th:nth-child(5) {
@@ -46,7 +46,7 @@
             /*text-align: center;*/
         }
         .table > thead > tr > th:nth-child(7) {
-            width: 10%;
+            width: 8%;
             /*text-align: center;*/
         }
         .table > thead > tr > th:nth-child(8) {
@@ -109,6 +109,9 @@
             letter-spacing: 0px;
             text-decoration: none;
         }
+        .table>tbody>tr>td, .table>tbody>tr>th, .table>tfoot>tr>td, .table>tfoot>tr>th, .table>thead>tr>td, .table>thead>tr>th{
+            vertical-align:middle;
+        }
     </style>
 </head>
 {{include "/common/baiducc.html"}}
@@ -116,8 +119,8 @@
 
 <div>
     {{include "/manage/audithead.html"}}
-    <div style="width: 100px;height: 40px;position: relative;float: right;">
-        <a id="return" href="/manage/jyloan/list"> 退出系统</a>
+    <div style="width: 120px;height: 40px;position: relative;float: right;">
+        <a id="return" href="/manage/jyloan/list"> 返回上一级</a>
     </div>
     <div class="row" style="width:96%; margin:0 auto;">
         {{include "/manage/slider.html"}}
@@ -152,7 +155,7 @@
             ,
             classname: "table-hover"
             ,
-            css: {"height": "300px"}
+            css: {"height": "350px"}
             //,post:{"name":"ee"}
             ,
             url: '/manage/jy_loan/evaluationlist'
@@ -161,7 +164,8 @@
 
                 {
                     title: "企业名称", field: "companyName",callback:function (d) {
-                        return d.companyName
+                        var html = '<div style="width: 145px;height: auto;overflow-x: auto;text-align: left;line-height: 37px">'+ d.companyName+'</div>'
+                        return html
                     }
                 },
                 {
@@ -197,7 +201,8 @@
                 },
                 {
                     title:"贷款用途",field:"remark",callback:function (d) {
-                        return d.remark
+                        var html = '<div style="width: 145px;height: auto;overflow-x: auto;text-align: left;line-height: 37px">'+ d.remark+'</div>'
+                        return html
 
                     }
                 },

+ 16 - 12
core/src/web/templates/manage/loan/show_clue.html

@@ -34,19 +34,19 @@
         }
 
         .table > thead > tr > th:nth-child(1) {
-            width: 7%;
+            width: 13%;
         }
 
         .table > thead > tr > th:nth-child(2) {
-            width: 5%;
+            width: 4%;
         }
 
         .table > thead > tr > th:nth-child(3) {
-            width: 10%;
+            width: 8%;
         }
 
         .table > thead > tr > th:nth-child(4) {
-            width: 5%;
+            width: 4%;
         }
 
         .table > thead > tr > th:nth-child(5) {
@@ -54,11 +54,11 @@
         }
 
         .table > thead > tr > th:nth-child(6) {
-            width: 5%;
+            width: 4%;
             /*text-align: center;*/
         }
         .table > thead > tr > th:nth-child(7) {
-            width: 8%;
+            width: 5%;
             /*text-align: center;*/
         }
         .table > thead > tr > th:nth-child(8) {
@@ -122,6 +122,9 @@
             letter-spacing: 0px;
             text-decoration: none;
         }
+        .table>tbody>tr>td, .table>tbody>tr>th, .table>tfoot>tr>td, .table>tfoot>tr>th, .table>thead>tr>td, .table>thead>tr>th{
+            vertical-align:middle;
+        }
 
     </style>
 </head>
@@ -130,8 +133,8 @@
 
 <div>
     {{include "/manage/audithead.html"}}
-    <div style="width: 100px;height: 40px;position: relative;float: right;">
-        <a id="return" href="/manage/jyloan/list"> 退出系统</a>
+    <div style="width: 120px;height: 40px;position: relative;float: right;">
+        <a id="return" href="/manage/loan/cluelist"> 返回上一级</a>
     </div>
     <div class="row" style="width:96%; margin:0 auto;">
         {{include "/manage/slider.html"}}
@@ -139,15 +142,15 @@
         <div id="content">
             <div id="audit" style="margin-top: 20px"></div>
             <div class="record" style="display: none">
-                <div style="height: 300px;width: 200px;overflow-y: auto;float: left;overflow-x: hidden">
+                <div style="height: 300px;width: 200px;overflow-y: auto;float: left;overflow-x: hidden;margin-top: 10px">
                <span style="font-size: 24px;">1 回访记录:</span>
                     <div id="visit_record"></div>
                 </div>
-                <div style="float: left;margin-left: 100px;width: 200px;height: 300px;overflow-y: auto;overflow-x: hidden">
+                <div style="float: left;margin-left: 100px;width: 200px;height: 300px;overflow-y: auto;overflow-x: hidden;margin-top: 10px">
                     <span style="font-size: 24px;">2 评估意见:</span>
                     <div id="evaluation"></div>
                 </div>
-                <div style="width:200px;height: 300px;overflow-y: auto;float: left;margin-left: 100px;overflow-x: hidden">
+                <div style="width:200px;height: 300px;overflow-y: auto;float: left;margin-left: 100px;overflow-x: hidden;margin-top: 10px">
                     <span style="font-size: 24px;">3 分类意见:</span>
                     <div id="classify"></div>
                 </div>
@@ -191,7 +194,8 @@
 
                     {
                         title: "企业名称", field: "companyName",callback:function (d) {
-                            return d.companyName
+                            var html = '<div style="width: 145px;height: auto;overflow-x: auto;text-align: left;line-height: 37px">'+ d.companyName+'</div>'
+                            return html
                         }
                     },
                     {

+ 22 - 14
core/src/web/templates/manage/loan/visit.html

@@ -31,19 +31,19 @@
         }
 
         .table > thead > tr > th:nth-child(1) {
-            width: 7%;
+            width: 13%;
         }
 
         .table > thead > tr > th:nth-child(2) {
-            width: 5%;
+            width: 4%;
         }
 
         .table > thead > tr > th:nth-child(3) {
-            width: 5%;
+            width: 4%;
         }
 
         .table > thead > tr > th:nth-child(4) {
-            width: 8%;
+            width: 7%;
         }
 
         .table > thead > tr > th:nth-child(5) {
@@ -55,7 +55,7 @@
             /*text-align: center;*/
         }
         .table > thead > tr > th:nth-child(7) {
-            width: 10%;
+            width: 8%;
             /*text-align: center;*/
         }
         .table > thead > tr > th:nth-child(8) {
@@ -118,6 +118,9 @@
             letter-spacing: 0px;
             text-decoration: none;
         }
+        .table>tbody>tr>td, .table>tbody>tr>th, .table>tfoot>tr>td, .table>tfoot>tr>th, .table>thead>tr>td, .table>thead>tr>th{
+            vertical-align:middle;
+        }
 
 
     </style>
@@ -126,8 +129,8 @@
 
 <div>
     {{include "/manage/audithead.html"}}
-    <div style="width: 100px;height: 40px;position: relative;float: right;">
-        <a id="return" href="/manage/jyloan/list"> 退出系统</a>
+    <div style="width: 120px;height: 40px;position: relative;float: right;">
+        <a id="return" href="/manage/jyloan/list"> 返回上一级</a>
     </div>
     <div class="row" style="width:96%; margin:0 auto;">
         {{include "/manage/slider.html"}}
@@ -135,11 +138,11 @@
             <div id="audit" style="margin-top: 20px"></div>
         </div>
         <div class="record" style="display: none;position: relative;margin-left: 206px;top: -467px;">
-            <div style="position: relative;float: left;margin-top: 160px;margin-left: -90px;;">
+            <div style="float: left;margin-top: 100px;margin-left: -90px;width: 600px">
                 <span  style="font-size:24px;padding-left: 100px;">回访记录:</span>
                 <textarea id="visit-record" name="visit-record" style="width: 400px;height: 200px;margin-left: 100px;"></textarea>
             </div>
-            <div style="position: relative;float: left;padding-top: 200px;padding-left: 50px;width: 200px">
+            <div style="position: relative;float: left;margin-top: 127px;padding-left: 50px;width: 200px;">
                 <span style="font-size: 24px" >回访人:</span>
                 <input  id="person" type="text" style="width: 130px" placeholder="单行输入">
                 <div>
@@ -180,7 +183,7 @@
             ,
             classname: "table-hover"
             ,
-            css: {"height": "300px"}
+            css: {"height": "350px"}
             //,post:{"name":"ee"}
             ,
             url: '/manage/jyloan/telephoneinterviews'
@@ -189,7 +192,11 @@
 
                 {
                     title: "企业名称", field: "companyName", callback: function (d) {
-                        return d.companyName
+                        $("#visit-record").val("");
+                        $("#person").val("");
+                        $(".record").hide();
+                        var html = '<div style="width: 145px;height: auto;overflow-x: auto;text-align: left;line-height: 37px">'+ d.companyName+'</div>'
+                        return html
                     }
                 },
                 {
@@ -225,7 +232,8 @@
                 },
                 {
                     title: "贷款用途", field: "remark", callback: function (d) {
-                        return d.remark
+                        var html = '<div style="width: 145px;height: auto;overflow-x: auto;text-align: left;line-height: 37px">'+ d.remark+'</div>'
+                        return html
 
                     }
                 },
@@ -245,7 +253,7 @@
             id:"ke_editor",
             allowFileManager : false,
             filterMode:true,
-            width : '10px',
+            width : '75%',
             height:'20px',
             items:items_simp,
             allowImageRemoteImageRemote:false,
@@ -271,7 +279,7 @@
         $("#person").val("");
         $(".record").show();
         $("#person").focus();
-        $(this).css("background","rgb(202, 198, 133)")
+        $(this).css("background","rgb(202, 198, 133)");
         $(this).siblings().css("background","rgb(255,255,255)");
 
     });