Przeglądaj źródła

双汇app,关闭关掉来电弹屏置闲功能

miaofuhao 5 lat temu
rodzic
commit
dd1daf9806

+ 9 - 9
CallCenterWeb.UI/js/index.js

@@ -88,15 +88,15 @@ $(document).ready(function() {
88 88
 		$(".WH").addClass("hidens");
89 89
 	})
90 90
 	
91
-	$(".J_menuTabs").on("click",".close_call", function(){
92
-		$(".SayBusy").addClass("active");
93
-        $(".SayFree").removeClass("active");
94
-        $(".zxzt").removeClass("br").removeClass("by").addClass("bl");
95
-        $(".hwzt").text('空闲');
96
-        $("#isml").val(0);
97
-      	obj.Type = "SayFree";
98
-		Send();
99
-	})
91
+//	$(".J_menuTabs").on("click",".close_call", function(){
92
+//		$(".SayBusy").addClass("active");
93
+//      $(".SayFree").removeClass("active");
94
+//      $(".zxzt").removeClass("br").removeClass("by").addClass("bl");
95
+//      $(".hwzt").text('空闲');
96
+//      $("#isml").val(0);
97
+//    	obj.Type = "SayFree";
98
+//		Send();
99
+//	})
100 100
 
101 101
 	//键盘事件外呼
102 102
 	document.onkeydown = function(e) {

+ 3 - 4
双汇APP-andriod/css/personal.css

@@ -279,12 +279,11 @@ body {
279 279
 	position: absolute;
280 280
 	right: 6px;
281 281
 	top: 6px;
282
-	width: 20px;
283 282
 	height: 20px;
284
-	color: #FFFFFF;
285
-	background: #FF1B41;
283
+	color: #FF1B41;
286 284
 	border-radius: 10px;
287
-	font-size: 12px;
285
+	font-size: 14px;
286
+	font-weight: bold;
288 287
 }
289 288
 
290 289
 .red {

BIN
双汇APP-andriod/img/all_check.png


BIN
双汇APP-andriod/img/check_true.png


+ 2 - 2
双汇APP-andriod/js/huayi.config.js

@@ -2,9 +2,9 @@ if(huayi == undefined) {
2 2
 	var huayi = {};
3 3
 }
4 4
 huayi.config = {
5
-	//callcenter_url: "http://oa.shuanghui.net:8046/",//生产环境
5
+	callcenter_url: "http://oa.shuanghui.net:8046/",//生产环境
6 6
 	//callcenter_url: "http://121.196.219.217:8046/",//生产环境
7
-	callcenter_url: "http://192.168.8.9:1001/",//生产环境
7
+	//callcenter_url: "http://192.168.8.9:1001/",//生产环境
8 8
 	socket_ip: "222.143.137.63", //ip
9 9
 	socket_port: "8081", //端口
10 10
 	menuworktime: 30000, //菜单工单数量刷新间隔

+ 13 - 33
双汇APP-andriod/js/personal.js

@@ -18,6 +18,7 @@ $.ajax({
18 18
 	type: 'get', //HTTP请求类型
19 19
 	
20 20
 	success: function(data) {
21
+		//alert(JSON.stringify(data.data.user.F_RoleId))
21 22
 		if(data.data.display == "1") {
22 23
 			$(".addDisplay").show()
23 24
 		} else {
@@ -26,6 +27,7 @@ $.ajax({
26 27
 		var RoleCode = data.data.user.F_See;
27 28
 		$(".F_UserName").text(data.data.user.F_UserName);
28 29
 		localStorage.setItem("F_UserName", data.data.user.F_UserName);
30
+		localStorage.setItem("F_RoleId", data.data.user.F_RoleId);
29 31
 		localStorage.setItem("F_See", data.data.user.F_See);
30 32
 		$(".rolname").text(data.data.user.rolname);
31 33
 		if(RoleCode == "0") { //调度   
@@ -61,79 +63,57 @@ function ajaxRefresh() {
61 63
 		},
62 64
 		success: function(data) {
63 65
 			
64
-			if(data.DTJ > 99) {
65
-				$(".DTJ").text("99"); //待提交
66
-			} else if(data.DTJ == 0) {
66
+			if(data.DTJ == 0) {
67 67
 				$(".DTJ").hide(); //待提交
68 68
 			} else {
69 69
 				$(".DTJ").text(data.DTJ); //待提交
70 70
 			}
71
-			if(data.DFP > 99) {
72
-				$(".DFP").text("99"); //待提交
73
-			} else if(data.DFP == 0) {
71
+			if(data.DFP == 0) {
74 72
 				$(".DFP").hide(); //待提交
75 73
 			}  else {
76 74
 				$(".DFP").text(data.DFP); //待提交
77 75
 			}
78
-			if(data.DCL > 99) {
79
-				$(".DCL").text("99"); //待处理
80
-			} else if(data.DCL == 0) {
76
+			if(data.DCL == 0) {
81 77
 				$(".DCL").hide(); //待提交
82 78
 			} else {
83 79
 				$(".DCL").text(data.DCL); //待处理
84 80
 			}
85
-			if(data.CLZ > 99) {
86
-				$(".CLZ").text("99"); //待提交
87
-			} else if(data.CLZ == 0) {
81
+			if(data.CLZ == 0) {
88 82
 				$(".CLZ").hide(); //待提交
89 83
 			}  else {
90 84
 				$(".CLZ").text(data.CLZ); //处理中
91 85
 			}
92
-			if(data.YWJ > 99) {
93
-				$(".YWJ").text("99"); //待提交
94
-			} else if(data.YWJ == 0) {
86
+			if(data.YWJ == 0) {
95 87
 				$(".YWJ").hide(); //待提交
96 88
 			}  else {
97 89
 				$(".YWJ").text(data.YWJ); //已完结
98 90
 			}
99
-			if(data.CJSL > 99) {
100
-				$(".CJSL").text("99"); //抽检工单
101
-			} else if(data.CJSL == 0) {
91
+			if(data.CJSL == 0) {
102 92
 				$(".CJSL").hide(); //待提交
103 93
 			}  else {
104 94
 				$(".CJSL").text(data.CJSL); //抽检工单
105 95
 			}
106
-			if(data.THDTJ > 99) {
107
-				$(".THDTJ").text("99"); //待提交
108
-			} else if(data.THDTJ == 0) {
96
+			if(data.THDTJ == 0) {
109 97
 				$(".THDTJ").hide(); //待提交
110 98
 			}  else {
111 99
 				$(".THDTJ").text(data.THDTJ); //退回待提交
112 100
 			}
113
-			if(data.THDFP > 99) {
114
-				$(".THDFP").text("99"); //待提交
115
-			} else if(data.THDFP == 0) {
101
+			if(data.THDFP == 0) {
116 102
 				$(".THDFP").hide(); //待提交
117 103
 			} else {
118 104
 				$(".THDFP").text(data.THDFP); //退回待分配
119 105
 			}
120
-			if(data.YJGD > 99) {
121
-				$(".YJGD").text("99"); //待提交
122
-			} else if(data.YJGD == 0) {
106
+			if(data.YJGD == 0) {
123 107
 				$(".YJGD").hide(); //待提交
124 108
 			}  else {
125 109
 				$(".YJGD").text(data.YJGD); //一级工单
126 110
 			}
127
-			if(data.EJGD > 99) {
128
-				$(".EJGD").text("99"); //待提交
129
-			} else if(data.EJGD == 0) {
111
+			if(data.EJGD == 0) {
130 112
 				$(".EJGD").hide(); //待提交
131 113
 			}  else {
132 114
 				$(".EJGD").text(data.EJGD); //二级工单
133 115
 			}
134
-			if(data.SJGD > 99) {
135
-				$(".SJGD").text("99"); //三级工单
136
-			} else if(data.SJGD == 0) {
116
+			if(data.SJGD == 0) {
137 117
 				$(".SJGD").hide(); //待提交
138 118
 			} else {
139 119
 				$(".SJGD").text(data.SJGD); //三级工单

+ 0 - 1
双汇APP-andriod/login.html

@@ -11,7 +11,6 @@
11 11
 	</head>
12 12
 
13 13
 	<body>
14
-
15 14
 		<div class="mui-content">
16 15
 			<form id='login-form' class="mui-input-group">
17 16
 				<!--logo-->

Plik diff jest za duży
+ 2108 - 2302
双汇APP-andriod/manifest.json


+ 1 - 1
双汇APP-andriod/tab-phone.html

@@ -8,7 +8,7 @@
8 8
 		<link href="css/mui.min.css" rel="stylesheet" />
9 9
 		<link href="css/mui.indexedlist.css" rel="stylesheet" />
10 10
 		<style>
11
-			html,  
11
+			html,   
12 12
 			body { 
13 13
 				height: 100%; 
14 14
 				overflow: hidden; 

+ 2 - 1
双汇APP-andriod/unpackage/.confirmed_dependencies

@@ -1474,7 +1474,8 @@
1474 1474
 			"workOrder/Work-HT.html",
1475 1475
 			"workOrder/Work-appoint.html",
1476 1476
 			"workOrder/Work-dispose.html",
1477
-			"workOrder/Work-sign.html"
1477
+			"workOrder/Work-sign.html",
1478
+			"workOrder/Work-remind.html"
1478 1479
 		]
1479 1480
 	},
1480 1481
 	"workOrder/Work-listClass.html": {

+ 48 - 1
双汇APP-andriod/workOrder/Work-list.html

@@ -12,12 +12,56 @@
12 12
 		<link href="../css/mui.poppicker.css" rel="stylesheet" />
13 13
 		<link rel="stylesheet" type="text/css" href="../css/mui.picker.min.css" />
14 14
 		<link rel="stylesheet" href="css/Work-list.css" />
15
+		<link rel="stylesheet" href="css/custom_select.css" />
15 16
 	</head>
16 17
 	<body>
18
+		<!-- End screening -->
19
+		<div class="grade-eject">
20
+		    <ul class="grade-w" id="gradew">
21
+		        <li>哈尔滨   <img src="../img/check_true.png"/></li>
22
+		        <li>全国      <img src="../img/check_true.png"/></li>
23
+		        <li>北京      <img src="../img/check_true.png"/></li>
24
+		        <li>天津      <img src="../img/check_true.png"/></li>
25
+		        <li>河北      <img src="../img/check_true.png"/></li>
26
+		        <li>山西      <img src="../img/check_true.png"/></li>
27
+		        <li>内蒙古   <img src="../img/check_true.png"/></li>
28
+		        <li>辽宁      <img src="../img/check_true.png"/></li>
29
+		        <li>吉林      <img src="../img/check_true.png"/></li>
30
+		        <li>黑龙江   <img src="../img/check_true.png"/></li>
31
+		        <li>上海      <img src="../img/check_true.png"/></li>
32
+		        <li>江苏      <img src="../img/check_true.png"/></li>
33
+		        <li>山东      <img src="../img/check_true.png"/></li>
34
+		        <li>河南      <img src="../img/check_true.png"/></li>
35
+		        <li>湖北      <img src="../img/check_true.png"/></li>
36
+		        <li>湖南      <img src="../img/check_true.png"/></li>
37
+		        <li>广东      <img src="../img/check_true.png"/></li>
38
+		        <li>广西      <img src="../img/check_true.png"/></li>
39
+		        <li>海南      <img src="../img/check_true.png"/></li>
40
+		    </ul>
41
+		    <ul class="grade-t" id="gradet">
42
+		        <li>全河北  <img src="../img/check_true.png"/> </li>
43
+		        <li>石家庄  <img src="../img/check_true.png"/></li>
44
+		        <li>唐山     <img src="../img/check_true.png"/></li>
45
+		        <li>秦皇岛  <img src="../img/check_true.png"/></li>
46
+		        <li>邢台     <img src="../img/check_true.png"/></li>
47
+		        <li>保定     <img src="../img/check_true.png"/></li>
48
+		        <li>张家口  <img src="../img/check_true.png"/></li>
49
+		        <li>承德      <img src="../img/check_true.png"/></li>
50
+		        <li>沧州      <img src="../img/check_true.png"/></li>
51
+		        <li>廊坊      <img src="../img/check_true.png"/></li>
52
+		        <li>衡水      <img src="../img/check_true.png"/></li>
53
+		    </ul>
54
+		    <div class="recet_button">
55
+		    	<button class="btn_class">重置</button>
56
+		    	<button class="btn_class">确定</button>
57
+		    </div>
58
+		    <!--<div class="all_check"><img src="../img/all_check.png"/></div>-->
59
+		</div>
60
+		
17 61
 		<header class="mui-bar mui-bar-nav" style="padding-right: 15px;color: #fff;">
18 62
 			<a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left"></a>
19 63
 			<h1 class="mui-center mui-title"><span class="Totle-box" style="color: #FFFFFF;"></span><span class="Totle" style="color: #FFFFFF;"></span></h1>
20
-			<a class=" mui-icon-tiajia mui-pull-right tjyh" style="color: #fff;" id="DW">
64
+			<a class=" mui-icon-tiajia mui-pull-right tjyh Regional" style="color: #fff;">
21 65
 				办事处筛选
22 66
 			</a>
23 67
 		</header>
@@ -35,6 +79,7 @@
35 79
 			
36 80
 			<!--右上角弹出菜单-->
37 81
 		</div>
82
+		
38 83
 		<input hidden="hidden" type="text" id='DWResult' class="ui-alert type_con" data-index="" readonly="readonly" />
39 84
 		<script src="../js/mui.min.js"></script>
40 85
 		<script src="../js/mui.poppicker.js"></script>
@@ -42,6 +87,8 @@
42 87
 		<script src="../js/zepto.js"></script>
43 88
 		<script src="../js/huayi.config.js"></script>
44 89
 		<script src="js/Work-list.js"></script>
90
+		<script src="../js/jquery-1.8.js"></script>
91
+		<script src="js/custom_select.js"></script>
45 92
 	</body>
46 93
 		
47 94
 </html>

+ 98 - 0
双汇APP-andriod/workOrder/Work-remind.html

@@ -0,0 +1,98 @@
1
+<!doctype html>
2
+<html lang="en" class="feedback">
3
+
4
+	<head>
5
+		<meta charset="UTF-8" />
6
+		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
7
+		<title>催单</title>
8
+		<link rel="stylesheet" type="text/css" href="../css/mui.min.css" />
9
+		<link rel="stylesheet" type="text/css" href="../css/feedback.css" />
10
+		<link rel="stylesheet" type="text/css" href="../css/mui.picker.min.css" />
11
+		<style>
12
+			p {
13
+				font-size: 16px;
14
+				color: #fe6604;
15
+			}
16
+			.mui-bar-nav {
17
+				background: #cd0000 !important;
18
+				color: #fff!important;
19
+			}
20
+			#question{
21
+				margin-bottom: 0;
22
+			}
23
+			.mui-btn-block{
24
+				padding: 6px;
25
+			}
26
+		</style>
27
+	</head>
28
+
29
+	<body>
30
+		<header class="mui-bar mui-bar-nav" style="">
31
+			<a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left" style="color: #fff;"></a>
32
+
33
+			<h1 class="mui-title" style="color: #fff;">催单</h1>
34
+		</header>
35
+		<div class="mui-content">
36
+
37
+			<p style="padding: 10px;">催单原因(必填)</p>
38
+			<div class="row mui-input-row" style="padding: 10px;">
39
+				<textarea id='question' class="mui-input-clear question" placeholder="请详细描述你的问题和意见..."></textarea>
40
+			</div>
41
+			<div class="" style="padding: 10px;">
42
+				<br />
43
+				<button id="submit" type="button" class="mui-btn mui-btn-block  mui-btn-danger submit">催单</button>
44
+			</div>
45
+
46
+		</div>
47
+		<script src="../js/huayi.config.js"></script>
48
+		<script src="../js/zepto.js"></script>
49
+		<script src="../js/mui.min.js"></script>
50
+		<script src="../js/mui.picker.min.js"></script>
51
+		<script type="text/javascript">
52
+			mui.init();
53
+			mui.plusReady(function() {
54
+				var wv = plus.webview.currentWebview();
55
+				var vText = wv.name;
56
+				var classImport = wv.classImport;
57
+				var token = wv.token;
58
+				document.getElementById("submit").addEventListener('tap', function() {
59
+					var question = $("#question").val();
60
+					var btnArray = ['取消', '确定'];
61
+					mui.confirm('是否催单', '提示', btnArray, function(e) {
62
+						if (e.index == 1) {
63
+							mui.ajax(huayi.config.callcenter_url + 'WorkorderApp/Reminder', {
64
+								data: {
65
+									id: vText,
66
+									cont: question, //办理人
67
+									token: token
68
+								},
69
+								dataType: 'json', //服务器返回json格式数据
70
+								type: 'post', //HTTP请求类型
71
+								timeout: 10000, //超时时间设置为10秒;
72
+								success: function(data) {
73
+									if (data.state.toLowerCase() == "success") {
74
+										mui.toast("催单成功");
75
+										if (classImport) {
76
+											var wobj = plus.webview.getWebviewById("WorkDetails");
77
+										} else {
78
+											var wobj = plus.webview.getWebviewById("WorkDetails");
79
+										}
80
+										wobj.reload(true);
81
+									} else {
82
+										mui.toast(JSON.stringify(data));
83
+									}
84
+								},
85
+								error: function(xhr, type, errorThrown) {
86
+									plus.nativeUI.toast('失败');
87
+								}
88
+							});
89
+						} else {
90
+							plus.nativeUI.toast('取消');
91
+						}
92
+					})
93
+				})
94
+			})
95
+		</script>
96
+	</body>
97
+
98
+</html>

+ 2 - 1
双汇APP-andriod/workOrder/WorkDetails.html

@@ -50,7 +50,7 @@
50 50
 						<i class="mui-icon mui-icon-phone size-16"></i>
51 51
 						联系电话:
52 52
 					</span>
53
-					<span id="F_CusPhone">18868468198</span>
53
+					<a id="F_CusPhone">18868468198</a>
54 54
 				</li>
55 55
 				<li class="work-content">
56 56
 					<span>
@@ -171,6 +171,7 @@
171 171
 			</div>
172 172
 			<!--工单进度-->
173 173
 			<div class="mui-padding GDgz"></div>
174
+			<input type="hidden" id="remind" />
174 175
 		</div>
175 176
 		<script src="../js/mui.min.js"></script>
176 177
 		<script src="../js/app.js"></script>

+ 136 - 0
双汇APP-andriod/workOrder/css/custom_select.css

@@ -0,0 +1,136 @@
1
+/* screening */
2
+ul li{
3
+	list-style: none;
4
+	padding: 0;
5
+	margin: 0;
6
+}
7
+*{ box-sizing:border-box; padding:0px; margin:0px;}
8
+div.screening{
9
+    width: 100%;
10
+    overflow: hidden;
11
+    background: #fff;
12
+    /*position: fixed;*/
13
+    z-index: 44444;
14
+}
15
+div.screening>ul{
16
+    margin: 0;
17
+    padding: 0;
18
+    list-style-type: none;
19
+    border-bottom: solid 1px #d3d3d3;
20
+    overflow: hidden;
21
+}
22
+div.screening>ul>li{
23
+    float: left;
24
+	 font-size:0.75em;
25
+    width: 25%;
26
+    text-align: center;
27
+    line-height: 3rem;
28
+    border-left: solid 1px #d3d3d3;
29
+    
30
+}
31
+div.screening>ul>li>span{
32
+	background: url("../images/on_1.png") no-repeat right center; background-size:0.75em; padding-right:15px;
33
+	}
34
+div.screening>ul>.current>span{
35
+    background: url("../images/on_2.png") no-repeat  right center;background-size:0.75em; color:#3cb9f3;
36
+}
37
+
38
+/* grade */
39
+.meishi22,.grade-eject,.Category-eject,.Sort-eject{
40
+    position:fixed;
41
+    top: -65%;
42
+    width: 100%;
43
+    height: 63%;
44
+    z-index: 1;
45
+    -webkit-transition-duration: 0.4s;
46
+}
47
+
48
+.meishi22>ul,.grade-eject>ul,.Category-eject>ul,.Sort-eject>ul{
49
+    margin: 0;
50
+    padding: 0;
51
+    overflow: auto;
52
+    height: 100%;
53
+    width: 100%;
54
+    -webkit-transition-duration: 0.4s;
55
+}
56
+.meishi22>ul>li,.grade-eject>ul>li,.Category-eject>ul>li,.Sort-eject>ul>li{
57
+	height: 3rem;
58
+    line-height: 3rem;
59
+    font-size: 0.75em;
60
+    padding-left: 1rem;
61
+    border-bottom: solid 1px #eee;
62
+}
63
+.meishi22>ul.meishia-w,.grade-eject>ul.grade-w,.Category-eject>ul.Category-w{
64
+    background: #fff;
65
+    position: absolute;
66
+    z-index: 1; 
67
+}
68
+.meishi22>ul.meishia-t,.grade-eject>ul.grade-t,.Category-eject>ul.Category-t{
69
+    background: #eee;
70
+    position: absolute;
71
+    z-index: 2;
72
+    left: 100%;
73
+}
74
+.meishi22>ul.meishia-t>li,.grade-eject>ul.grade-t>li,.Category-eject>ul.Category-t>li{
75
+    border-bottom: solid 1px #e5e5e5;
76
+}
77
+.meishi22>ul.meishia-s,.grade-eject>ul.grade-s,.Category-eject>ul.Category-s{
78
+    background: #fff;
79
+    position: absolute;
80
+    z-index: 3;
81
+    left: 100%;
82
+    list-style-type: none;
83
+}
84
+.meishi22>ul.meishia-s>li,.grade-eject>ul.grade-s>li,.Category-eject>ul.Category-s>li{
85
+    border-bottom: solid 1px #eee;
86
+    margin-left: 1rem;
87
+    padding: 0;
88
+}
89
+.grade-w-roll{
90
+	top: 3rem; 
91
+}
92
+.grade-w-roll::after{
93
+    position: fixed;
94
+    content: "";
95
+    width: 100%;
96
+    height: 100%;
97
+    display: block;
98
+    background:rgba(0,0,0,0.2);
99
+    top: 0;
100
+}
101
+
102
+.grade-w li,.grade-t li{
103
+	position: relative;
104
+}
105
+.check_active{
106
+	background: #EEEEEE;
107
+}
108
+.grade-w img,.grade-t img{
109
+	display: none;
110
+	position: absolute;
111
+	width: 20px;
112
+	height: 20px;
113
+	right: 52%;
114
+	top: 10px;
115
+}
116
+.all_check img{
117
+	position: absolute;
118
+	width: 20px;
119
+	height: 20px;
120
+	top: 10px;
121
+	right: 30px;
122
+	z-index: 1212;
123
+}
124
+.recet_button{
125
+	width: 100%;
126
+	background: #FFFFFF;
127
+	height: 50px;
128
+	border-top: 1px solid #EEEEEE;
129
+	position: absolute;
130
+	bottom: -51px;
131
+	z-index: 11;
132
+}
133
+.btn_class{
134
+	margin-top: 5px;
135
+	margin-left: 25%;
136
+}

+ 34 - 23
双汇APP-andriod/workOrder/js/Work-list.js

@@ -4,6 +4,7 @@ window.onload = function() {
4 4
 		//var isdeal=helper.request.queryString("isdeal");
5 5
 		var token = localStorage.getItem("token");
6 6
 		var F_See = localStorage.getItem("F_See");
7
+		var F_RoleId = localStorage.getItem("F_RoleId");
7 8
 		var page = 1; //页数
8 9
 		var pageSize = 10; //每页显示条目
9 10
 		var total; //数据总条数
@@ -14,6 +15,7 @@ window.onload = function() {
14 15
 		plus.nativeUI.closeWaiting();
15 16
 		//显示当前页面
16 17
 		mui.currentWebview.show();
18
+		
17 19
 		if(index == 0) {
18 20
 			$(".Totle-box").text('待提交')
19 21
 		} else if(index == 1) {
@@ -149,18 +151,23 @@ window.onload = function() {
149 151
 							} else if(data.rows[i].F_DealTimely = "普通工单"||data.rows[i].F_DealTimely =="3类问题") {
150 152
 								$(".class-icon img").eq(2).show()
151 153
 							}
152
-							if(index == 0 || index == 6) {
153
-								//待提交
154
-								$(".mui-btn-submit").text("提交")
155
-							} else if(index == 1 || index == 5) {
156
-								//待分派
157
-								$(".mui-btn-submit").text("指派")
158
-							} else if(index == 3 || index == 4) {
159
-								//待处理
160
-								$(".mui-btn-submit").text("处理")
161
-							}else if(index == 10) {
162
-								$(".mui-btn-submit").hide();
154
+							if (F_RoleId==49) {
155
+								$(".mui-btn-submit").hide()
156
+							}else{
157
+								if(index == 0 || index == 6) {
158
+									//待提交
159
+									$(".mui-btn-submit").text("提交")
160
+								} else if(index == 1 || index == 5) {
161
+									//待分派
162
+									$(".mui-btn-submit").text("指派")
163
+								} else if(index == 3 || index == 4) {
164
+									//待处理
165
+									$(".mui-btn-submit").text("处理")
166
+								}else if(index == 10) {
167
+									$(".mui-btn-submit").hide();
168
+								}
163 169
 							}
170
+							
164 171
 						}
165 172
 						
166 173
 						$(".mui-btn-submit").on("tap", function() {
@@ -255,17 +262,21 @@ window.onload = function() {
255 262
 							$(".mui-btn-submit").hide();
256 263
 						}
257 264
 
258
-						if(index == 0 || index == 6) {
259
-							//待提交
260
-							$(".mui-btn-submit").text("提交")
261
-						} else if(index == 1 || index == 5) {
262
-							//待分派
263
-							$(".mui-btn-submit").text("指派")
264
-						} else if(index == 3 || index == 4) {
265
-							//待处理
266
-							$(".mui-btn-submit").text("处理")
267
-						} else if(index == 10) {
268
-							$(".mui-btn-submit").hide();
265
+						if (F_RoleId==49) {
266
+								$(".mui-btn-submit").hide()
267
+						}else{
268
+							if(index == 0 || index == 6) {
269
+								//待提交
270
+								$(".mui-btn-submit").text("提交")
271
+							} else if(index == 1 || index == 5) {
272
+								//待分派
273
+								$(".mui-btn-submit").text("指派")
274
+							} else if(index == 3 || index == 4) {
275
+								//待处理
276
+								$(".mui-btn-submit").text("处理")
277
+							}else if(index == 10) {
278
+								$(".mui-btn-submit").hide();
279
+							}
269 280
 						}
270 281
 					}
271 282
 					$(".mui-btn-submit").on("tap", function() {
@@ -379,7 +390,7 @@ window.onload = function() {
379 390
 		var Product = [];
380 391
 		$.ajax({
381 392
 			type: "get",
382
-			url: huayi.config.callcenter_url + 'Department/GetAreaList',
393
+			url: huayi.config.callcenter_url + 'Department/GetAPPAreaList',
383 394
 			async: false,
384 395
 			data: {
385 396
 				flag: "CPDM",

+ 1 - 1
双汇APP-andriod/workOrder/js/Work-listClass.js

@@ -340,7 +340,7 @@ window.onload = function() {
340 340
 		var Product = [];
341 341
 		$.ajax({
342 342
 			type: "get",
343
-			url: huayi.config.callcenter_url + 'Department/GetAreaList',
343
+			url: huayi.config.callcenter_url + 'Department/GetAPPAreaList',
344 344
 			async: false,
345 345
 			data: {
346 346
 				flag: "CPDM",

+ 40 - 0
双汇APP-andriod/workOrder/js/custom_select.js

@@ -0,0 +1,40 @@
1
+
2
+//Regional开始
3
+$(document).ready(function(){
4
+	$('.grade-eject').addClass('grade-w-roll');
5
+	$('.grade-eject').addClass('current');
6
+    $(".Regional").click(function(){
7
+        if ($('.grade-eject').hasClass('grade-w-roll')) {
8
+            $('.grade-eject').removeClass('grade-w-roll');
9
+			$(this).removeClass('current');
10
+        } else {
11
+            $('.grade-eject').addClass('grade-w-roll');
12
+			$(this).addClass('current');
13
+        }
14
+    });
15
+});
16
+
17
+$(document).ready(function(){
18
+    $(".grade-w>li").click(function(){
19
+        $(".grade-t").css("left","50%")
20
+    });
21
+    $(".grade-w").on('click', 'li', function() {
22
+    	if ($(this).hasClass("check_active")) {
23
+    		$(this).removeClass("check_active")
24
+    		$(this).children("img").hide();
25
+    	} else{
26
+    		$(this).addClass("check_active");
27
+    		$(this).children("img").show();
28
+    	}
29
+	})
30
+    $(".grade-t").on('click', 'li', function() {
31
+    	if ($(this).hasClass("check_active")) {
32
+    		$(this).removeClass("check_active")
33
+    		$(this).children("img").hide();
34
+    	} else{
35
+    		$(this).addClass("check_active");
36
+    		$(this).children("img").show();
37
+    	}
38
+    })
39
+    
40
+});

+ 27 - 0
双汇APP-andriod/workOrder/js/detail.js

@@ -71,7 +71,9 @@ mui.plusReady(function() {
71 71
 			document.getElementById("F_CusPhone").innerHTML = Data[0].F_CusPhone; //所属大区
72 72
 			document.getElementById("F_Type").innerHTML = Data[0].F_Type; //备注
73 73
 			document.getElementById("F_CreateTime").innerHTML = Data[0].F_CreateTime; //所属大区
74
+			// href="tel:'+n.F_Mobile+'"
74 75
 			document.getElementById("F_CusPhone").innerHTML = Data[0].F_CusPhone; //备注
76
+			$("#F_CusPhone").attr("href","tel:"+Data[0].F_CusPhone)
75 77
 //			产品问题
76 78
 			document.getElementById("F_ProductType").innerHTML = Data[0].F_ProductType; //产品代码
77 79
 			document.getElementById("F_ProductName").innerHTML = Data[0].F_ProductName; //产品名称
@@ -100,6 +102,7 @@ mui.plusReady(function() {
100 102
 				})
101 103
 			}
102 104
 			//按钮显示
105
+			
103 106
 			if(data.buttons.length > 0) {
104 107
 				$('.BTS').show();
105 108
 				for(var i = 0; i < data.buttons.length; i++) {
@@ -121,6 +124,8 @@ mui.plusReady(function() {
121 124
 						backFun(); //退回
122 125
 					} else if(a == 8) {
123 126
 						signFun(); //标记
127
+					} else if(a == 9) {
128
+						remind(); //标记
124 129
 					}
125 130
 				})
126 131
 			}
@@ -167,6 +172,28 @@ mui.plusReady(function() {
167 172
 		})
168 173
 	}
169 174
 	//退回
175
+	function remind() {
176
+		mui.openWindow({
177
+			id: 'Work-remind',
178
+			url: 'Work-remind.html',
179
+			createNew:true,
180
+			show: {
181
+				aniShow: 'pop-in'
182
+			},
183
+			styles: {
184
+				popGesture: 'hide'
185
+			},
186
+			waiting: {
187
+				autoShow: true
188
+			},
189
+			extras: {
190
+				name: vText,
191
+				classImport: classImport, //区分工单等级列表参数
192
+				token: token
193
+			}
194
+		});
195
+	}
196
+	//退回
170 197
 	function backFun() {
171 198
 		mui.openWindow({
172 199
 			id: 'Work-HT',

+ 3 - 4
双汇APP/css/personal.css

@@ -279,12 +279,11 @@ body {
279 279
 	position: absolute;
280 280
 	right: 6px;
281 281
 	top: 6px;
282
-	width: 20px;
283 282
 	height: 20px;
284
-	color: #FFFFFF;
285
-	background: #FF1B41;
283
+	color: #FF1B41;
286 284
 	border-radius: 10px;
287
-	font-size: 12px;
285
+	font-size: 14px;
286
+	font-weight: bold;
288 287
 }
289 288
 
290 289
 .red {

+ 35 - 55
双汇APP/js/personal.js

@@ -16,9 +16,10 @@ $.ajax({
16 16
 	dataType: 'json', //服务器返回json格式数据
17 17
 	url: huayi.config.callcenter_url + '/UserAccount/GetNowUser',
18 18
 	type: 'get', //HTTP请求类型
19
-
19
+	
20 20
 	success: function(data) {
21
-		if (data.data.display == "1") {
21
+		//alert(JSON.stringify(data.data.user.F_RoleId))
22
+		if(data.data.display == "1") {
22 23
 			$(".addDisplay").show()
23 24
 		} else {
24 25
 			$(".addDisplay").hide()
@@ -26,19 +27,20 @@ $.ajax({
26 27
 		var RoleCode = data.data.user.F_See;
27 28
 		$(".F_UserName").text(data.data.user.F_UserName);
28 29
 		localStorage.setItem("F_UserName", data.data.user.F_UserName);
30
+		localStorage.setItem("F_RoleId", data.data.user.F_RoleId);
29 31
 		localStorage.setItem("F_See", data.data.user.F_See);
30 32
 		$(".rolname").text(data.data.user.rolname);
31
-		if (RoleCode == "0") { //调度   
33
+		if(RoleCode == "0") { //调度   
32 34
 			$(".RoleCode_0").css('display', 'block')
33
-		} else if (RoleCode == "1") {
35
+		} else if(RoleCode == "1") {
34 36
 			$(".RoleCode_1").css('display', 'block')
35
-		} else if (RoleCode == "2") {
37
+		} else if(RoleCode == "2") {
36 38
 			$(".RoleCode_2").css('display', 'block')
37
-		} else if (RoleCode == "3") {
39
+		} else if(RoleCode == "3") {
38 40
 			$(".RoleCode_3").css('display', 'block')
39
-		} else if (RoleCode == "4") {
41
+		} else if(RoleCode == "4") {
40 42
 			$(".RoleCode_4").css('display', 'block')
41
-		}
43
+		} 
42 44
 	},
43 45
 	error: function(xhr, type, errorThrown) {
44 46
 		//异常处理;
@@ -47,7 +49,7 @@ $.ajax({
47 49
 });
48 50
 
49 51
 function ajaxRefresh() {
50
-	//权限判断
52
+ 	//权限判断
51 53
 	$.ajax({
52 54
 		data: {
53 55
 			token: token,
@@ -60,80 +62,58 @@ function ajaxRefresh() {
60 62
 			'Content-Type': 'application/x-www-form-urlencoded; charset=utf-8'
61 63
 		},
62 64
 		success: function(data) {
63
-
64
-			if (data.DTJ > 99) {
65
-				$(".DTJ").text("99"); //待提交
66
-			} else if (data.DTJ == 0) {
65
+			
66
+			if(data.DTJ == 0) {
67 67
 				$(".DTJ").hide(); //待提交
68 68
 			} else {
69 69
 				$(".DTJ").text(data.DTJ); //待提交
70 70
 			}
71
-			if (data.DFP > 99) {
72
-				$(".DFP").text("99"); //待提交
73
-			} else if (data.DFP == 0) {
71
+			if(data.DFP == 0) {
74 72
 				$(".DFP").hide(); //待提交
75
-			} else {
73
+			}  else {
76 74
 				$(".DFP").text(data.DFP); //待提交
77 75
 			}
78
-			if (data.DCL > 99) {
79
-				$(".DCL").text("99"); //待处理
80
-			} else if (data.DCL == 0) {
76
+			if(data.DCL == 0) {
81 77
 				$(".DCL").hide(); //待提交
82 78
 			} else {
83 79
 				$(".DCL").text(data.DCL); //待处理
84 80
 			}
85
-			if (data.CLZ > 99) {
86
-				$(".CLZ").text("99"); //待提交
87
-			} else if (data.CLZ == 0) {
81
+			if(data.CLZ == 0) {
88 82
 				$(".CLZ").hide(); //待提交
89
-			} else {
83
+			}  else {
90 84
 				$(".CLZ").text(data.CLZ); //处理中
91 85
 			}
92
-			if (data.YWJ > 99) {
93
-				$(".YWJ").text("99"); //待提交
94
-			} else if (data.CLZ == 0) {
86
+			if(data.YWJ == 0) {
95 87
 				$(".YWJ").hide(); //待提交
96
-			} else {
88
+			}  else {
97 89
 				$(".YWJ").text(data.YWJ); //已完结
98 90
 			}
99
-			if (data.CJSL > 99) {
100
-				$(".CJSL").text("99"); //抽检工单
101
-			} else if (data.CJSL == 0) {
91
+			if(data.CJSL == 0) {
102 92
 				$(".CJSL").hide(); //待提交
103
-			} else {
93
+			}  else {
104 94
 				$(".CJSL").text(data.CJSL); //抽检工单
105 95
 			}
106
-			if (data.THDTJ > 99) {
107
-				$(".THDTJ").text("99"); //待提交
108
-			} else if (data.THDTJ == 0) {
96
+			if(data.THDTJ == 0) {
109 97
 				$(".THDTJ").hide(); //待提交
110
-			} else {
98
+			}  else {
111 99
 				$(".THDTJ").text(data.THDTJ); //退回待提交
112 100
 			}
113
-			if (data.THDFP > 99) {
114
-				$(".THDFP").text("99"); //待提交
115
-			} else if (data.THDFP == 0) {
101
+			if(data.THDFP == 0) {
116 102
 				$(".THDFP").hide(); //待提交
117 103
 			} else {
118 104
 				$(".THDFP").text(data.THDFP); //退回待分配
119 105
 			}
120
-			if (data.YJGD > 99) {
121
-				$(".YJGD").text("99"); //待提交
122
-			} else if (data.YJGD == 0) {
106
+			if(data.YJGD == 0) {
123 107
 				$(".YJGD").hide(); //待提交
124
-			} else {
108
+			}  else {
125 109
 				$(".YJGD").text(data.YJGD); //一级工单
126 110
 			}
127
-			if (data.EJGD > 99) {
128
-				$(".EJGD").text("99"); //待提交
129
-			} else if (data.EJGD == 0) {
111
+			if(data.EJGD == 0) {
130 112
 				$(".EJGD").hide(); //待提交
131
-			} else {
113
+			}  else {
132 114
 				$(".EJGD").text(data.EJGD); //二级工单
133 115
 			}
134
-			if (data.SJGD > 99) {
135
-				$(".SJGD").text("99"); //三级工单
136
-			} else if (data.SJGD == 0) {
116
+			if(data.SJGD == 0) {
137 117
 				$(".SJGD").hide(); //待提交
138 118
 			} else {
139 119
 				$(".SJGD").text(data.SJGD); //三级工单
@@ -148,7 +128,7 @@ function ajaxRefresh() {
148 128
 //一级查看-待处理列表
149 129
 $(".work-list").on('tap', function() {
150 130
 	var index = $(this).attr('index');
151
-	localStorage.setItem("DWResult", "");
131
+	
152 132
 	mui.openWindow({
153 133
 		id: 'Work-list',
154 134
 		url: 'workOrder/Work-list.html',
@@ -161,15 +141,14 @@ $(".work-list").on('tap', function() {
161 141
 		},
162 142
 		extras: {
163 143
 			index: index,
164
-
144
+			
165 145
 		}
166 146
 	});
167 147
 })
168 148
 //工单等级列表
169 149
 $(".work-class").on('tap', function() {
170 150
 	var importClass = $(this).attr('index');
171
-	var choujian = $(this).attr('choujian');
172
-
151
+	var choujian=$(this).attr('choujian');
173 152
 	mui.openWindow({
174 153
 		id: 'Work-listClass',
175 154
 		url: 'workOrder/Work-listClass.html',
@@ -197,7 +176,7 @@ mui.plusReady(function() {
197 176
 		$('.update').text(Code_);
198 177
 	});	
199 178
 	//检查更新
200
-	var server = huayi.config.callcenter_url + "ApplicationsVersion/GetIos?"; //获取升级描述文件服务器地址	
179
+	var server = huayi.config.callcenter_url + "ApplicationsVersion/GetAndroid?"; //获取升级描述文件服务器地址	
201 180
 	mui.ajax(server, {
202 181
 		data: {
203 182
 			isNew: true,
@@ -238,3 +217,4 @@ mui.plusReady(function() {
238 217
 		}
239 218
 	})
240 219
 })
220
+

+ 5 - 2
双汇APP/manifest.json

@@ -1,9 +1,9 @@
1 1
 {
2 2
     "@platforms" : [ "android", "iPhone", "ipad" ],
3
-    "id" : "io.dcloud.H5E949709", /*应用的标识,创建应用时自动生成,勿手动修改*/
3
+    "id" : "io.dcloud.H5E9497091", /*应用的标识,创建应用时自动生成,勿手动修改*/
4 4
     "name" : "双汇售后服务平台", /*应用名称,程序桌面图标名称*/
5 5
     "version" : {
6
-        "name" : "1.2.3", /*应用版本名称*/
6
+        "name" : "1.2.4", /*应用版本名称*/
7 7
         "code" : "83"
8 8
     },
9 9
     "description" : "", /*应用描述信息*/
@@ -196,6 +196,9 @@
196 196
                     "mdpi" : "", /*普通屏启动图片,分辨率:240x282*/
197 197
                     "ldpi" : ""
198 198
                 }
199
+            },
200
+            "plugins" : {
201
+                "ad" : {}
199 202
             }
200 203
         },
201 204
         "adid" : "128026090911",

+ 1 - 1
双汇APP/tab-phone.html

@@ -151,7 +151,7 @@
151 151
 									$(data).each(function(i, n) {
152 152
 										html= '<li data-group="'+n.code+'" data-value="'+n.NameOneCode+'" data-tags="'+n.NameOneCode+'" class="mui-table-view-cell mui-indexed-list-item">'+
153 153
 													'<div class="mui-slider-cell">'+
154
-												        '<a>'+
154
+												        '<a href="tel:'+n.F_Mobile+'">'+
155 155
 														'<div class="oa-contact-cell mui-table">'+
156 156
 															'<div class="oa-contact-avatar mui-table-cell">'+
157 157
 																'<img src="img/2.png"/>'+

+ 1 - 1
双汇APP/workOrder/Work-listClass.html

@@ -44,7 +44,7 @@
44 44
 					
45 45
 				</ul>				
46 46
 			</div>
47
-			<div class="mui-scroll_1" style="display: none; overflow-y:scroll;">
47
+			<div class="mui-scroll_1" style="display: none;">
48 48
 				<ul class="mui-table-view mui-table-view-striped mui-table-view-condensed order_list" id="order_listYwc">
49 49
 				</ul>				
50 50
 			</div>

+ 98 - 0
双汇APP/workOrder/Work-remind.html

@@ -0,0 +1,98 @@
1
+<!doctype html>
2
+<html lang="en" class="feedback">
3
+
4
+	<head>
5
+		<meta charset="UTF-8" />
6
+		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
7
+		<title>催单</title>
8
+		<link rel="stylesheet" type="text/css" href="../css/mui.min.css" />
9
+		<link rel="stylesheet" type="text/css" href="../css/feedback.css" />
10
+		<link rel="stylesheet" type="text/css" href="../css/mui.picker.min.css" />
11
+		<style>
12
+			p {
13
+				font-size: 16px;
14
+				color: #fe6604;
15
+			}
16
+			.mui-bar-nav {
17
+				background: #cd0000 !important;
18
+				color: #fff!important;
19
+			}
20
+			#question{
21
+				margin-bottom: 0;
22
+			}
23
+			.mui-btn-block{
24
+				padding: 6px;
25
+			}
26
+		</style>
27
+	</head>
28
+
29
+	<body>
30
+		<header class="mui-bar mui-bar-nav" style="">
31
+			<a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left" style="color: #fff;"></a>
32
+
33
+			<h1 class="mui-title" style="color: #fff;">催单</h1>
34
+		</header>
35
+		<div class="mui-content">
36
+
37
+			<p style="padding: 10px;">催单原因(必填)</p>
38
+			<div class="row mui-input-row" style="padding: 10px;">
39
+				<textarea id='question' class="mui-input-clear question" placeholder="请详细描述你的问题和意见..."></textarea>
40
+			</div>
41
+			<div class="" style="padding: 10px;">
42
+				<br />
43
+				<button id="submit" type="button" class="mui-btn mui-btn-block  mui-btn-danger submit">催单</button>
44
+			</div>
45
+
46
+		</div>
47
+		<script src="../js/huayi.config.js"></script>
48
+		<script src="../js/zepto.js"></script>
49
+		<script src="../js/mui.min.js"></script>
50
+		<script src="../js/mui.picker.min.js"></script>
51
+		<script type="text/javascript">
52
+			mui.init();
53
+			mui.plusReady(function() {
54
+				var wv = plus.webview.currentWebview();
55
+				var vText = wv.name;
56
+				var classImport = wv.classImport;
57
+				var token = wv.token;
58
+				document.getElementById("submit").addEventListener('tap', function() {
59
+					var question = $("#question").val();
60
+					var btnArray = ['取消', '确定'];
61
+					mui.confirm('是否催单', '提示', btnArray, function(e) {
62
+						if (e.index == 1) {
63
+							mui.ajax(huayi.config.callcenter_url + 'WorkorderApp/Reminder', {
64
+								data: {
65
+									id: vText,
66
+									cont: question, //办理人
67
+									token: token
68
+								},
69
+								dataType: 'json', //服务器返回json格式数据
70
+								type: 'post', //HTTP请求类型
71
+								timeout: 10000, //超时时间设置为10秒;
72
+								success: function(data) {
73
+									if (data.state.toLowerCase() == "success") {
74
+										mui.toast("催单成功");
75
+										if (classImport) {
76
+											var wobj = plus.webview.getWebviewById("WorkDetails");
77
+										} else {
78
+											var wobj = plus.webview.getWebviewById("WorkDetails");
79
+										}
80
+										wobj.reload(true);
81
+									} else {
82
+										mui.toast(JSON.stringify(data));
83
+									}
84
+								},
85
+								error: function(xhr, type, errorThrown) {
86
+									plus.nativeUI.toast('失败');
87
+								}
88
+							});
89
+						} else {
90
+							plus.nativeUI.toast('取消');
91
+						}
92
+					})
93
+				})
94
+			})
95
+		</script>
96
+	</body>
97
+
98
+</html>

+ 1 - 1
双汇APP/workOrder/WorkDetails.html

@@ -50,7 +50,7 @@
50 50
 						<i class="mui-icon mui-icon-phone size-16"></i>
51 51
 						联系电话:
52 52
 					</span>
53
-					<span id="F_CusPhone">18868468198</span>
53
+					<a href="#" id="F_CusPhone">18868468198</a>
54 54
 				</li>
55 55
 				<li class="work-content">
56 56
 					<span>

+ 34 - 23
双汇APP/workOrder/js/Work-list.js

@@ -4,6 +4,7 @@ window.onload = function() {
4 4
 		//var isdeal=helper.request.queryString("isdeal");
5 5
 		var token = localStorage.getItem("token");
6 6
 		var F_See = localStorage.getItem("F_See");
7
+		var F_RoleId = localStorage.getItem("F_RoleId");
7 8
 		var page = 1; //页数
8 9
 		var pageSize = 10; //每页显示条目
9 10
 		var total; //数据总条数
@@ -14,6 +15,7 @@ window.onload = function() {
14 15
 		plus.nativeUI.closeWaiting();
15 16
 		//显示当前页面
16 17
 		mui.currentWebview.show();
18
+		
17 19
 		if(index == 0) {
18 20
 			$(".Totle-box").text('待提交')
19 21
 		} else if(index == 1) {
@@ -149,18 +151,23 @@ window.onload = function() {
149 151
 							} else if(data.rows[i].F_DealTimely = "普通工单"||data.rows[i].F_DealTimely =="3类问题") {
150 152
 								$(".class-icon img").eq(2).show()
151 153
 							}
152
-							if(index == 0 || index == 6) {
153
-								//待提交
154
-								$(".mui-btn-submit").text("提交")
155
-							} else if(index == 1 || index == 5) {
156
-								//待分派
157
-								$(".mui-btn-submit").text("指派")
158
-							} else if(index == 3 || index == 4) {
159
-								//待处理
160
-								$(".mui-btn-submit").text("处理")
161
-							}else if(index == 10) {
162
-								$(".mui-btn-submit").hide();
154
+							if (F_RoleId==49) {
155
+								$(".mui-btn-submit").hide()
156
+							}else{
157
+								if(index == 0 || index == 6) {
158
+									//待提交
159
+									$(".mui-btn-submit").text("提交")
160
+								} else if(index == 1 || index == 5) {
161
+									//待分派
162
+									$(".mui-btn-submit").text("指派")
163
+								} else if(index == 3 || index == 4) {
164
+									//待处理
165
+									$(".mui-btn-submit").text("处理")
166
+								}else if(index == 10) {
167
+									$(".mui-btn-submit").hide();
168
+								}
163 169
 							}
170
+							
164 171
 						}
165 172
 						
166 173
 						$(".mui-btn-submit").on("tap", function() {
@@ -255,17 +262,21 @@ window.onload = function() {
255 262
 							$(".mui-btn-submit").hide();
256 263
 						}
257 264
 
258
-						if(index == 0 || index == 6) {
259
-							//待提交
260
-							$(".mui-btn-submit").text("提交")
261
-						} else if(index == 1 || index == 5) {
262
-							//待分派
263
-							$(".mui-btn-submit").text("指派")
264
-						} else if(index == 3 || index == 4) {
265
-							//待处理
266
-							$(".mui-btn-submit").text("处理")
267
-						} else if(index == 10) {
268
-							$(".mui-btn-submit").hide();
265
+						if (F_RoleId==49) {
266
+								$(".mui-btn-submit").hide()
267
+						}else{
268
+							if(index == 0 || index == 6) {
269
+								//待提交
270
+								$(".mui-btn-submit").text("提交")
271
+							} else if(index == 1 || index == 5) {
272
+								//待分派
273
+								$(".mui-btn-submit").text("指派")
274
+							} else if(index == 3 || index == 4) {
275
+								//待处理
276
+								$(".mui-btn-submit").text("处理")
277
+							}else if(index == 10) {
278
+								$(".mui-btn-submit").hide();
279
+							}
269 280
 						}
270 281
 					}
271 282
 					$(".mui-btn-submit").on("tap", function() {
@@ -379,7 +390,7 @@ window.onload = function() {
379 390
 		var Product = [];
380 391
 		$.ajax({
381 392
 			type: "get",
382
-			url: huayi.config.callcenter_url + 'Department/GetAreaList',
393
+			url: huayi.config.callcenter_url + 'Department/GetAPPAreaList',
383 394
 			async: false,
384 395
 			data: {
385 396
 				flag: "CPDM",

+ 1 - 1
双汇APP/workOrder/js/Work-listClass.js

@@ -340,7 +340,7 @@ window.onload = function() {
340 340
 		var Product = [];
341 341
 		$.ajax({
342 342
 			type: "get",
343
-			url: huayi.config.callcenter_url + 'Department/GetAreaList',
343
+			url: huayi.config.callcenter_url + 'Department/GetAPPAreaList',
344 344
 			async: false,
345 345
 			data: {
346 346
 				flag: "CPDM",

+ 27 - 0
双汇APP/workOrder/js/detail.js

@@ -71,7 +71,9 @@ mui.plusReady(function() {
71 71
 			document.getElementById("F_CusPhone").innerHTML = Data[0].F_CusPhone; //所属大区
72 72
 			document.getElementById("F_Type").innerHTML = Data[0].F_Type; //备注
73 73
 			document.getElementById("F_CreateTime").innerHTML = Data[0].F_CreateTime; //所属大区
74
+			// href="tel:'+n.F_Mobile+'"
74 75
 			document.getElementById("F_CusPhone").innerHTML = Data[0].F_CusPhone; //备注
76
+			$("#F_CusPhone").attr("href","tel:"+Data[0].F_CusPhone)
75 77
 //			产品问题
76 78
 			document.getElementById("F_ProductType").innerHTML = Data[0].F_ProductType; //产品代码
77 79
 			document.getElementById("F_ProductName").innerHTML = Data[0].F_ProductName; //产品名称
@@ -100,6 +102,7 @@ mui.plusReady(function() {
100 102
 				})
101 103
 			}
102 104
 			//按钮显示
105
+			
103 106
 			if(data.buttons.length > 0) {
104 107
 				$('.BTS').show();
105 108
 				for(var i = 0; i < data.buttons.length; i++) {
@@ -121,6 +124,8 @@ mui.plusReady(function() {
121 124
 						backFun(); //退回
122 125
 					} else if(a == 8) {
123 126
 						signFun(); //标记
127
+					} else if(a == 9) {
128
+						remind(); //标记
124 129
 					}
125 130
 				})
126 131
 			}
@@ -167,6 +172,28 @@ mui.plusReady(function() {
167 172
 		})
168 173
 	}
169 174
 	//退回
175
+	function remind() {
176
+		mui.openWindow({
177
+			id: 'Work-remind',
178
+			url: 'Work-remind.html',
179
+			createNew:true,
180
+			show: {
181
+				aniShow: 'pop-in'
182
+			},
183
+			styles: {
184
+				popGesture: 'hide'
185
+			},
186
+			waiting: {
187
+				autoShow: true
188
+			},
189
+			extras: {
190
+				name: vText,
191
+				classImport: classImport, //区分工单等级列表参数
192
+				token: token
193
+			}
194
+		});
195
+	}
196
+	//退回
170 197
 	function backFun() {
171 198
 		mui.openWindow({
172 199
 			id: 'Work-HT',