minitiger 8 лет назад
Родитель
Сommit
29aa82339f
29 измененных файлов с 147 добавлено и 86 удалено
  1. 7 2
      VisualInspection/js/appeal_management/appeal_checked.js
  2. 3 3
      VisualInspection/js/appeal_management/appeal_list.js
  3. 5 1
      VisualInspection/js/appeal_management/appeal_submited.js
  4. 1 1
      VisualInspection/js/assess_management/assess_item.js
  5. 1 1
      VisualInspection/js/assess_management/assess_way.js
  6. 2 2
      VisualInspection/js/assess_management/assess_way_edit.js
  7. 36 0
      VisualInspection/js/main.js
  8. 1 1
      VisualInspection/js/menu/menu.js
  9. 20 1
      VisualInspection/js/mytask/check.js
  10. 33 33
      VisualInspection/js/mytask/checkDetail.js1
  11. 1 1
      VisualInspection/js/role/permision.js
  12. 1 1
      VisualInspection/js/role/role.js
  13. 1 1
      VisualInspection/js/teamClass/charge_team_schedule.js
  14. 1 1
      VisualInspection/js/teamClass/check_team_schedule.js
  15. 1 1
      VisualInspection/js/user/userManager.js
  16. 2 1
      VisualInspection/js/util/service.js
  17. 9 19
      VisualInspection/js/util/util.js
  18. 1 0
      VisualInspection/view/common/commoncsslink.html
  19. 1 0
      VisualInspection/view/common/commonscriptlink.html
  20. 4 5
      VisualInspection/view/main.html
  21. 1 0
      VisualInspection/view/mytask/check.html
  22. 1 2
      VisualInspection/view/mytask/taskDetail.html
  23. 1 1
      VisualInspection/view/statistics/static1.html
  24. 1 1
      VisualInspection/view/statistics/static2.html
  25. 1 1
      VisualInspection/view/statistics/static3.html
  26. 1 1
      VisualInspection/view/statistics/static4.html
  27. 1 1
      VisualInspection/view/statistics/static5.html
  28. 3 0
      VisualInspection_server/src/main/java/com/xintong/visualinspection/mapper/master/TaskMapper.xml
  29. 6 4
      VisualInspection_server/src/main/resources/application.properties

+ 7 - 2
VisualInspection/js/appeal_management/appeal_checked.js

@@ -11,13 +11,18 @@ function queryCheckedAppealTask(){
         "status_search_type":1,
         "check_status":14
     }
+    var hide = false;
+    
+    if(hasRole(ROLE_STATION_ADMIN) || hasRole(ROLE_STATION) ||  hasRole(ROLE_JICHA)|| roleContains('STATION')) {
+        hide = true;
+    }
     var cols = [
                 {width: 80, text: '序号', type: 'number', flex: true, colClass: 'text-center',field: 'num'},
                 {width: 160, text: '任务名称', type: 'string', flex: true, sort: 'down',field: 'name'},
                 {width: 80, text: '考核人员', type: 'string', flex: true, colClass: '',field: 'checked_person_name'},
                 {width: 160, text: '考核部门', type: 'string', flex: true, sort: 'down',field: 'checked_dept_name'},
-                // {width: 80, text: '稽查人员', type: 'string', flex: true, colClass: '',field: 'checkman_name'},
-                //  {width: 80, text: '复核人员', type: 'string', flex: true, colClass: '',field: 'recheckman_name'},
+                {width: 80, text: '稽查人员', type: 'string', flex: true, hide: hide,field: 'checkman_name'},
+                {width: 80, text: '复核人员', type: 'string', flex: true, hide: hide,field: 'recheckman_name'},
                 {width: 160, text: '稽查时间段', type: 'string', flex: true, sort: 'down',field: 'check_period'},
                 // {width: 80, text: '状态', type: 'string', flex: true, colClass: '',field: 'check_status_name'},
                 {width: 160, text: '操作', type: 'string', flex: true, field: 'id',

+ 3 - 3
VisualInspection/js/appeal_management/appeal_list.js

@@ -66,7 +66,7 @@ function queryAppeal(){
         "check_status": cur_status,
     }
     var hide = false;
-    if(hasRole(ROLE_STATION_ADMIN) || hasRole(ROLE_STATION) ||  hasRole(ROLE_JICHA)) {
+    if(hasRole(ROLE_STATION_ADMIN) || hasRole(ROLE_STATION) ||  hasRole(ROLE_JICHA) || roleContains('STATION')) {
         hide = true;
     }
     
@@ -75,8 +75,8 @@ function queryAppeal(){
             {width: 100, text: '任务名称', flex: true,colClass: '',field:'name'},
             {width: 80, text: '申诉人员',  flex: true, colClass: '',field:'checked_person_name'},
             {width: 100, text: '申诉部门',  flex: true, colClass: '',sort: 'down',field:'checked_dept_name'},
-            {width: 80, text: '稽查人员', type: 'string', flex: true, hide:hide,colClass: '',field:'checkman_name'},
-            {width: 80, text: '复核人员', type: 'string', flex: true, hide:hide,colClass: '',field:'recheckman_name'},
+            {width: 80, text: '稽查人员', type: 'string', flex: true, hide:hide,field:'checkman_name'},
+            {width: 80, text: '复核人员', type: 'string', flex: true, hide:hide,field:'recheckman_name'},
             {width: 120, text: '稽查时间段', type: 'string', flex: true, colClass: '',field:'check_period'},
             {width: 80, text: '状态', type: 'string', flex: true, colClass: '',field:'check_status_name'},
         ];

+ 5 - 1
VisualInspection/js/appeal_management/appeal_submited.js

@@ -12,12 +12,16 @@ function querySubmitedAppealTask(){
         "check_status":11,
         "check_status_end":14
     }
+    var hide = false;
+    if(hasRole(ROLE_STATION_ADMIN) || hasRole(ROLE_STATION) ||  hasRole(ROLE_JICHA) || roleContains('STATION')) {
+        hide = true;
+    }
     var cols = [
                 {width: 80, text: '序号', type: 'number', flex: true, colClass: 'text-center',field: 'num'},
                 {width: 160, text: '任务名称', type: 'string', flex: true, sort: 'down',field: 'name'},
                 {width: 80, text: '考核人员', type: 'string', flex: true, colClass: '',field: 'checked_person_name'},
                 {width: 160, text: '考核部门', type: 'string', flex: true, sort: 'down',field: 'checked_dept_name'},
-                {width: 80, text: '稽查人员', type: 'string', flex: true, colClass: '',field: 'checkman_name'},
+                {width: 80, text: '稽查人员', type: 'string', flex: true, hide: hide,field: 'checkman_name'},
                 {width: 160, text: '稽查时间段', type: 'string', flex: true, sort: 'down',field: 'check_period'},
                 // {width: 80, text: '状态', type: 'string', flex: true, colClass: '',field: 'check_status_name'},
                 {width: 160, text: '操作', type: 'string', flex: true, field: 'id',

+ 1 - 1
VisualInspection/js/assess_management/assess_item.js

@@ -31,7 +31,7 @@
  }];
  $(document).ready(function() {
 
-     $("#main_content_title").html("考核项管理")
+    //  $("#main_content_title").html("考核项管理")
 
      $('#dashboard').dashboard({ draggable: false });
      var zTreeObj;

+ 1 - 1
VisualInspection/js/assess_management/assess_way.js

@@ -143,7 +143,7 @@ function idVal(id){
 
 $(document).ready(function() {
     // 初始化标题
-    $("#main_content_title").html("考核办法管理")
+    // $("#main_content_title").html("考核办法管理")
 
     // 检索表格数据
     queryTable();

+ 2 - 2
VisualInspection/js/assess_management/assess_way_edit.js

@@ -35,8 +35,8 @@ var check_rule_tree = null ;
      colClass: 'text-center'
  }];
  $(document).ready(function() {
-
-     $("#main_content_title").html("<span><a href='#'>考核项管理</a></span><span> / </span><span>考核项</span>");
+    addBreadMenu("/view/assess_management/assess_way_edit.html", "考核项");
+    //  $("#main_content_title").html("<span><a href='#'>考核项管理</a></span><span> / </span><span>考核项</span>");
 
      $('#dashboard').dashboard({ draggable: false });
      var zTreeObj;

+ 36 - 0
VisualInspection/js/main.js

@@ -67,10 +67,13 @@ $(document).ready(function () {
                     datactemp["html"] = "<a id=\"" + mtemp.id + "\" href=\"#\"><i class=\"icon\">·</i>" + mtemp.menuname + "</a>";
                     secondMenus.push(mtemp.id);
                     datac.push(datactemp);
+
+                    $.zui.store.set(mtemp.url,mtemp.menuname); 
                 }
                 datatemp["children"] = datac;
             }
             treedata.push(datatemp)
+
         }
         // 获取 tree 实例
         var myTree = $('#treeMenu').data('zui.tree');
@@ -155,6 +158,11 @@ function changePage(url) {
         $.zui.store.set("page_params", page_params);
         $("#main_content").load(base_ui_url + url);
 
+        var name = $.zui.store.get(url); 
+        if(name){
+            // $("#breadcrumb_menu").html('<li murl="'+url+'" mname="'+name+'"><a href="#" onclick="changePage('+url+')">'+name+'</a></li>');
+            addBreadMenu(url, name, true);
+        }
         event = document.createEvent('MessageEvent');
         var origin = window.location.protocol + '//' + window.location.host;
         event.initMessageEvent('changepage', true, true, CURRENT_PAGE_URL, origin, 1234, window, null);
@@ -174,4 +182,32 @@ function GetQueryString(url)
         }
      }
      return theRequest;
+}
+
+function addBreadMenu(url, name, flag){
+    var menu = hasMenu(url, name, flag);
+    if(menu >= 0){
+        // $("#breadcrumb_menu").remove($(menu).nextAll());
+        var children = $("#breadcrumb_menu").children("li");
+        for(var i =0;i<children.length;i++) {
+            if(i>menu){
+                $(children[i]).remove();
+            }
+        }
+    }else{
+        if(flag)
+            $("#breadcrumb_menu").html('<li murl="'+url+'" mname="'+name+'"><a href="#" onclick="changePage(\''+url+'\')">'+name+'</a></li>');
+        else
+            $("#breadcrumb_menu").append('<li murl="'+url+'" mname="'+name+'"><a href="#" onclick="changePage(\''+url+'\')">'+name+'</a></li>');
+    }        
+}
+
+function hasMenu(url, name){
+    var children = $("#breadcrumb_menu").children("li");
+    for(var i =0;i<children.length;i++) {
+        if($(children[i]).attr("murl")==url && $(children[i]).attr("mname")==name){
+            return i;
+        }
+    }
+    return -1;
 }

+ 1 - 1
VisualInspection/js/menu/menu.js

@@ -1,6 +1,6 @@
 function initMenu(){
 
-     $("#main_content_title").html("菜单管理")
+    //  $("#main_content_title").html("菜单管理")
 
      $('#dashboard').dashboard({ draggable: true });
      var zTreeObj;

+ 20 - 1
VisualInspection/js/mytask/check.js

@@ -1,4 +1,5 @@
 function initCheck() {
+    addBreadMenu("/view/mytask/check.html", "视频稽查");
     $('#ex1').slider({tooltip: 'hide'});
     $("#ex1").on("slideStop", function(slideEvt) {
         setVideoProcess(slideEvt.value);
@@ -260,9 +261,12 @@ function showChangeUser() {
             var pic = "../../images/body-bg.png";
             if (data[i].pic) pic = base_image_server_url+data[i].pic;
             str = '<div style="width:90px;float:left;margin:5px;">'
-                + '<a class="card" href="javascript:void(0)" onclick="changePerson(\'' + data[i].id + '\')">'
+                + '<a class="card" href="javascript:void(0)" onclick="showBigImg(\'' + pic+ '\')">'
                 + '<img src="' + pic + '" alt="" style="height:100px;width:90px;">'
                 + '<div class="card-heading"><strong>' + name + '</strong></div>'
+                + '<div class="card-actions">'
+                +     '<button type="button" class="btn btn-mini btn-danger" onclick="changePerson(\'' + data[i].id + '\')">选择</button>'
+                +  '</div>'
                 + '</a>'
                 + '</div>';
             userStr += str;
@@ -285,6 +289,21 @@ function changePerson(id) {
         alert(error);
     });  
 }
+
+function showBigImg(src){
+    $('#userBigImg').attr("src",src);
+    layer.open({
+        offset:'r',
+        type: 1,
+        title: false,
+        closeBtn: 1,
+        area: '450px',
+        skin: 'layui-layer-nobg', //没有背景色
+        shadeClose: true,
+        shade: 0,
+        content: $('#userBigImg')
+    });
+}
 function resetUserImgInfo() {
     $("#user_img_container").empty();
     var str = '<a id="person_img" href="../../images/img4.jpg" class="lightbox-toggle">'

+ 33 - 33
VisualInspection/js/mytask/checkDetail.js → VisualInspection/js/mytask/checkDetail.js1

@@ -1,38 +1,38 @@
 function initCheck(){
     
-        // 仅选择日期
-        $("#start-time").datetimepicker({
-            language: "zh-CN",
-            weekStart: 1,
-            todayBtn: 1,
-            autoclose: 1,
-            todayHighlight: 1,
-            startView: 2,
-            minView: 2,
-            forceParse: 0,
-            format: "yyyy-mm-dd"
-        });
-        // 仅选择日期
-        $("#end-time").datetimepicker({
-            language: "zh-CN",
-            weekStart: 1,
-            todayBtn: 1,
-            autoclose: 1,
-            todayHighlight: 1,
-            startView: 2,
-            minView: 2,
-            forceParse: 0,
-            format: "yyyy-mm-dd"
-        });
-        if($.checkTask) {
-            setFeSelect("#fsList",$.checkTask.deptid);
-            setLaneSelect("#lane",$.checkTask.checked_location);
-            get_common_service('user/getUserById/'+$.checkTask.checked_person, null, function(data){
-                $("#checked_person").html(data.truename);
-            }) 
-            //查询评分情况
-            queryScores();
-        }
+    // 仅选择日期
+    $("#start-time").datetimepicker({
+        language: "zh-CN",
+        weekStart: 1,
+        todayBtn: 1,
+        autoclose: 1,
+        todayHighlight: 1,
+        startView: 2,
+        minView: 2,
+        forceParse: 0,
+        format: "yyyy-mm-dd"
+    });
+    // 仅选择日期
+    $("#end-time").datetimepicker({
+        language: "zh-CN",
+        weekStart: 1,
+        todayBtn: 1,
+        autoclose: 1,
+        todayHighlight: 1,
+        startView: 2,
+        minView: 2,
+        forceParse: 0,
+        format: "yyyy-mm-dd"
+    });
+    if($.checkTask) {
+        setFeSelect("#fsList",$.checkTask.deptid);
+        setLaneSelect("#lane",$.checkTask.checked_location);
+        get_common_service('user/getUserById/'+$.checkTask.checked_person, null, function(data){
+            $("#checked_person").html(data.truename);
+        }) 
+        //查询评分情况
+        queryScores();
+    }
 }
     // 使用data参数更新数据:
     function queryScores(){

+ 1 - 1
VisualInspection/js/role/permision.js

@@ -29,7 +29,7 @@ var cols = [{
     colClass: 'text-center'
 }];
 $(document).ready(function () {
-    $("#main_content_title").html("权限管理")
+    // $("#main_content_title").html("权限管理")
     $('#dashboard').dashboard({ draggable: true });
     var zTreeObj;
     var zNodes = [];

+ 1 - 1
VisualInspection/js/role/role.js

@@ -36,7 +36,7 @@ var pagesize = 30;
 var RoleMap = new HashMap()
 $(document).ready(function () {
 
-    $("#main_content_title").html("角色管理")
+    // $("#main_content_title").html("角色管理")
 
     $('.datatable').datatable({
         checkable: false,

+ 1 - 1
VisualInspection/js/teamClass/charge_team_schedule.js

@@ -6,7 +6,7 @@
 //    })
 
    function initChargeTeamSchedule(){
-         $("#main_content_title").html("收费人员排班")
+        //  $("#main_content_title").html("收费人员排班")
 
         var user = $.zui.store.get("user") ;  // 缓存用户信息,取出dept_id
 

+ 1 - 1
VisualInspection/js/teamClass/check_team_schedule.js

@@ -1,7 +1,7 @@
     
    $(document).ready(function() {
 
-         $("#main_content_title").html("稽查人员排班")
+        //  $("#main_content_title").html("稽查人员排班")
 
         var user = $.zui.store.get("user") ;  // 缓存用户信息,取出dept_id
         // console.log(user );

+ 1 - 1
VisualInspection/js/user/userManager.js

@@ -51,7 +51,7 @@
  var roles = [];
  $(document).ready(function() {
 
-     $("#main_content_title").html("用户管理")
+    //  $("#main_content_title").html("用户管理")
 
      $('#dashboard').dashboard({ draggable: true });
      var zTreeObj;

+ 2 - 1
VisualInspection/js/util/service.js

@@ -300,7 +300,8 @@ function no_return_common_service(url, param, success, fail) {
     ajaxPost(url, param, function(response) {
         var data = response;
         if (data.result_code == 0) {
-            success(data.result_desc)
+            if(success)
+                success(data.result_desc)
         } else {
             layer.msg(data.result_desc, {
                 time: 2000//20s后自动关闭

+ 9 - 19
VisualInspection/js/util/util.js

@@ -292,6 +292,15 @@ function hasRole(role){
     return false;
 }
 
+function roleContains(role){
+    var user = getCurrentUser();
+    var roles = user.roles;
+    for(var i in roles){
+        if(roles[i].name.indexOf(role) >= 0) return true;
+    }
+    return false;
+}
+
 function setCheckmanSelect(div, selectId, notHaveUserId){
     post_common_service("/user/getAllCheckman",null,function(data){
         var optStr = '';
@@ -368,22 +377,3 @@ function showClientImg(src){
 function downloadClientfile(src){
     callFunc("downloadfile", src);
 }
-
-// function initDateFormat(){
-//     Date.prototype.Format = function (fmt) { //author: meizz 
-//     var o = {
-//         "M+": this.getMonth() + 1, //月份 
-//         "d+": this.getDate(), //日 
-//         "H+": this.getHours(), //小时 
-//         "m+": this.getMinutes(), //分 
-//         "s+": this.getSeconds(), //秒 
-//         "q+": Math.floor((this.getMonth() + 3) / 3), //季度 
-//         "S": this.getMilliseconds() //毫秒 
-//     };
-//     if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
-//     for (var k in o)
-//     if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
-//     return fmt;
-//     }
-// }
-// initDateFormat();

+ 1 - 0
VisualInspection/view/common/commoncsslink.html

@@ -9,3 +9,4 @@
 <link rel="stylesheet" type="text/css" href="/node_modules/zui/dist/lib/calendar/zui.calendar.css">
 <link rel="stylesheet" type="text/css" href="/js/lib/webuploader/webuploader.css">  
 <link rel="stylesheet" type="text/css" href="/node_modules/zui/dist/lib/uploader/zui.uploader.min.css">
+<link rel="stylesheet" type="text/css" href="/js/lib/zoom/css/zoom.css">

+ 1 - 0
VisualInspection/view/common/commonscriptlink.html

@@ -18,6 +18,7 @@
 <script src="/js/lib/kkpager.min.js"></script>
 <script src="/js/lib/slide/js/bootstrap-slider.min.js"></script>
 <script src="/js/lib/webuploader/webuploader.js"></script>
+<script src="/js/lib/zoom/js/zoom.js"></script>
 <script src="/js/util/util.js"></script>
 <script src="/js/util/service.js"></script>
 <script src="/js/constant/constant.js"></script>

+ 4 - 5
VisualInspection/view/main.html

@@ -10,6 +10,7 @@
     <link rel="stylesheet" type="text/css" href="/css/main.css">
     <link rel="import" href="/view/common/commonscriptlink.html?__inline">
     <style>
+        html{overflow:auto;}
         img.lightbox-img{width:600px;}
     </style>
     <script src="/js/mytask/check.js"></script>
@@ -34,11 +35,9 @@
 
                     <div class="panel">
                         <div class="panel-heading" id="main_content_title">
-                            <!--<ol class="breadcrumb" style="margin-bottom: 0;padding:0px;">
-                                <li><a href="your/url/">视频稽查</a></li>
-                                <li><a href="your/url/">已稽查</a></li>
-                                <li class="active">稽查详情</li>
-                            </ol>-->
+                            <ol class="breadcrumb" id="breadcrumb_menu" style="margin-bottom: 0;padding:0px;">
+                               
+                            </ol>
                         </div>
                         <div class="panel-body" id="main_content">
                             <!--<link rel="import" href="/view/mytask/unchecked.html?__inline">-->

+ 1 - 0
VisualInspection/view/mytask/check.html

@@ -178,6 +178,7 @@
         </div>
     </div>
 </div>
+<img id="userBigImg" style="display:none;margin-right:20px;"/>
 <script>
     var curVideo;
     $(document).ready(function () {

+ 1 - 2
VisualInspection/view/mytask/taskDetail.html

@@ -94,6 +94,7 @@
 </style>
 <script>
     $(document).ready(function() {
+        addBreadMenu("/view/mytask/taskDetail.html", "稽查详情");
         checkAuth();
         $("#name").html($.checkTask.name);
         $("#checkman").html($.checkTask.checkman_name);
@@ -113,8 +114,6 @@
 
         genFlow();
         queryScores();
-       
-       
     });
     
     //初始化表行按钮

+ 1 - 1
VisualInspection/view/statistics/static1.html

@@ -1,5 +1,5 @@
 <img src="/images/static1.png"></img>
 <script type="text/javascript">
 
- $("#main_content_title").html("总体考核分析")
+//  $("#main_content_title").html("总体考核分析")
 </script>

+ 1 - 1
VisualInspection/view/statistics/static2.html

@@ -1,5 +1,5 @@
 <img src="/images/static2.png"></img>
 <script type="text/javascript">
 
- $("#main_content_title").html("考核扣分等级分析")
+//  $("#main_content_title").html("考核扣分等级分析")
 </script>

+ 1 - 1
VisualInspection/view/statistics/static3.html

@@ -1,5 +1,5 @@
 <img src="/images/static3.png"></img>
 <script type="text/javascript">
 
- $("#main_content_title").html("考核问题分布")
+//  $("#main_content_title").html("考核问题分布")
 </script>

+ 1 - 1
VisualInspection/view/statistics/static4.html

@@ -1,5 +1,5 @@
 <img src="/images/static4.png"></img>
 <script type="text/javascript">
 
- $("#main_content_title").html("员工排名分析")
+//  $("#main_content_title").html("员工排名分析")
 </script>

+ 1 - 1
VisualInspection/view/statistics/static5.html

@@ -1,5 +1,5 @@
 <img src="/images/static5.png"></img>
 <script type="text/javascript">
 
- $("#main_content_title").html("个人考核情况")
+//  $("#main_content_title").html("个人考核情况")
 </script>

+ 3 - 0
VisualInspection_server/src/main/java/com/xintong/visualinspection/mapper/master/TaskMapper.xml

@@ -60,6 +60,7 @@
         	<if test="end_time != null">AND end_time &lt;= #{end_time}</if>
         	<if test="checked_dept != null">AND checked_dept = #{checked_dept}</if>
         	<if test="checkman != null">AND checkman = #{checkman}</if>
+        	<if test="recheckman != null">AND recheckman = #{recheckman}</if>
         	<if test="checked_person != null">AND checked_person = #{checked_person}</if>
     </select>
     
@@ -74,6 +75,7 @@
         	<if test="end_time != null">AND end_time &lt;= #{end_time}</if>
         	<if test="checked_dept != null">AND checked_dept = #{checked_dept}</if>
         	<if test="checkman != null">AND checkman = #{checkman}</if>
+        	<if test="recheckman != null">AND recheckman = #{recheckman}</if>
         	<if test="checked_person != null">AND checked_person = #{checked_person}</if>
     </select>
 
@@ -89,6 +91,7 @@
         	<if test="end_time != null">AND end_time &lt;= #{end_time}</if>
         	<if test="checked_dept != null">AND checked_dept = #{checked_dept}</if>
         	<if test="checkman != null">AND checkman = #{checkman}</if>
+        	<if test="recheckman != null">AND recheckman = #{recheckman}</if>
         	<if test="checked_person != null">AND checked_person = #{checked_person}</if>
     </select>
     <insert id="insert" parameterType="com.xintong.visualinspection.bean.Task" >

+ 6 - 4
VisualInspection_server/src/main/resources/application.properties

@@ -2,17 +2,18 @@ server.port=8089
 spring.thymeleaf.cache=false
 context.listener.classes=com.xintong.SystemInit
 
-master.datasource.url = jdbc:mysql://10.112.0.199:3306/visualinspection?useUnicode=true&characterEncoding=utf-8
+#master.datasource.url = jdbc:mysql://10.112.0.199:3306/visualinspection?useUnicode=true&characterEncoding=utf-8
 #master.datasource.url = jdbc:mysql://git.topm.win:6381/visualinspection?useUnicode=true&characterEncoding=utf-8
-#master.datasource.url = jdbc:mysql://192.168.8.236:3306/visualinspection?useUnicode=true&characterEncoding=utf-8
+master.datasource.url = jdbc:mysql://10.112.0.199:7002/visualinspection?useUnicode=true&characterEncoding=utf-8
 master.datasource.username = root
 master.datasource.password = root
 master.datasource.driver-class-name = com.mysql.jdbc.Driver
 master.mapper-locations=classpath:com/xintong/visualinspection/mapper/master/*.xml
 
 ## \u7528\u6237\u6570\u636e\u6e90\u914d\u7f6e
-cluster.datasource.url=jdbc:mysql://10.112.0.199:3306/yanhai?useUnicode=true&characterEncoding=utf8
+#cluster.datasource.url=jdbc:mysql://10.112.0.199:3306/yanhai?useUnicode=true&characterEncoding=utf8
 #cluster.datasource.url=jdbc:mysql://git.topm.win:6381/yanhai?useUnicode=true&characterEncoding=utf8
+cluster.datasource.url=jdbc:mysql://10.112.0.199:7002/yanhai?useUnicode=true&characterEncoding=utf8
 cluster.datasource.username=root
 cluster.datasource.password=root
 cluster.datasource.driver-class-name = com.mysql.jdbc.Driver
@@ -57,7 +58,8 @@ spring.redis.host=10.112.0.199
 #spring.redis.host=git.topm.win
 # Redis\u670d\u52a1\u5668\u8fde\u63a5\u7aef\u53e3
 #spring.redis.port=6380
-spring.redis.port=6379 
+spring.redis.port=7003
+#spring.redis.port=6379 
 # Redis\u670d\u52a1\u5668\u8fde\u63a5\u5bc6\u7801\uff08\u9ed8\u8ba4\u4e3a\u7a7a\uff09
 spring.redis.password=xintong
 # \u8fde\u63a5\u6c60\u6700\u5927\u8fde\u63a5\u6570\uff08\u4f7f\u7528\u8d1f\u503c\u8868\u793a\u6ca1\u6709\u9650\u5236\uff09