Просмотр исходного кода

提交工单、处理中工单

liuyifan лет назад: 6
Родитель
Сommit
d4e6d3e936

+ 12 - 0
.idea/ShuangHui_UI.iml

@@ -0,0 +1,12 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<module type="WEB_MODULE" version="4">
3
+  <component name="NewModuleRootManager">
4
+    <content url="file://$MODULE_DIR$">
5
+      <excludeFolder url="file://$MODULE_DIR$/.tmp" />
6
+      <excludeFolder url="file://$MODULE_DIR$/temp" />
7
+      <excludeFolder url="file://$MODULE_DIR$/tmp" />
8
+    </content>
9
+    <orderEntry type="inheritedJdk" />
10
+    <orderEntry type="sourceFolder" forTests="false" />
11
+  </component>
12
+</module>

+ 4 - 0
.idea/encodings.xml

@@ -0,0 +1,4 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<project version="4">
3
+  <component name="Encoding" addBOMForNewFiles="with NO BOM" />
4
+</project>

+ 6 - 0
.idea/misc.xml

@@ -0,0 +1,6 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<project version="4">
3
+  <component name="JavaScriptSettings">
4
+    <option name="languageLevel" value="ES6" />
5
+  </component>
6
+</project>

+ 8 - 0
.idea/modules.xml

@@ -0,0 +1,8 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<project version="4">
3
+  <component name="ProjectModuleManager">
4
+    <modules>
5
+      <module fileurl="file://$PROJECT_DIR$/.idea/ShuangHui_UI.iml" filepath="$PROJECT_DIR$/.idea/ShuangHui_UI.iml" />
6
+    </modules>
7
+  </component>
8
+</project>

+ 6 - 0
.idea/vcs.xml

@@ -0,0 +1,6 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<project version="4">
3
+  <component name="VcsDirectoryMappings">
4
+    <mapping directory="$PROJECT_DIR$" vcs="Git" />
5
+  </component>
6
+</project>

+ 122 - 0
.idea/workspace.xml

@@ -0,0 +1,122 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<project version="4">
3
+  <component name="ChangeListManager">
4
+    <list default="true" id="d3056dd9-8ad5-4e64-a7c9-940efe919759" name="默认更改列表" comment="" />
5
+    <ignored path="$PROJECT_DIR$/.tmp/" />
6
+    <ignored path="$PROJECT_DIR$/temp/" />
7
+    <ignored path="$PROJECT_DIR$/tmp/" />
8
+    <option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
9
+    <option name="SHOW_DIALOG" value="false" />
10
+    <option name="HIGHLIGHT_CONFLICTS" value="true" />
11
+    <option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
12
+    <option name="LAST_RESOLUTION" value="IGNORE" />
13
+  </component>
14
+  <component name="FileEditorManager">
15
+    <leaf SIDE_TABS_SIZE_LIMIT_KEY="300">
16
+      <file pinned="false" current-in-tab="true">
17
+        <entry file="file://$PROJECT_DIR$/CallCenterWeb.UI/login.html">
18
+          <provider selected="true" editor-type-id="text-editor" />
19
+        </entry>
20
+      </file>
21
+    </leaf>
22
+  </component>
23
+  <component name="Git.Settings">
24
+    <option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
25
+  </component>
26
+  <component name="ProjectFrameBounds" extendedState="6">
27
+    <option name="x" value="455" />
28
+    <option name="y" value="82" />
29
+    <option name="width" value="1323" />
30
+    <option name="height" value="921" />
31
+  </component>
32
+  <component name="ProjectView">
33
+    <navigator proportions="" version="1">
34
+      <foldersAlwaysOnTop value="true" />
35
+    </navigator>
36
+    <panes>
37
+      <pane id="ProjectPane">
38
+        <subPane>
39
+          <expand>
40
+            <path>
41
+              <item name="ShuangHui_UI" type="b2602c69:ProjectViewProjectNode" />
42
+              <item name="ShuangHui_UI" type="462c0819:PsiDirectoryNode" />
43
+            </path>
44
+            <path>
45
+              <item name="ShuangHui_UI" type="b2602c69:ProjectViewProjectNode" />
46
+              <item name="ShuangHui_UI" type="462c0819:PsiDirectoryNode" />
47
+              <item name="CallCenterWeb.UI" type="462c0819:PsiDirectoryNode" />
48
+            </path>
49
+          </expand>
50
+          <select />
51
+        </subPane>
52
+      </pane>
53
+      <pane id="Scope" />
54
+    </panes>
55
+  </component>
56
+  <component name="PropertiesComponent">
57
+    <property name="WebServerToolWindowFactoryState" value="false" />
58
+    <property name="last_opened_file_path" value="$PROJECT_DIR$" />
59
+    <property name="nodejs_interpreter_path.stuck_in_default_project" value="undefined stuck path" />
60
+    <property name="nodejs_npm_path_reset_for_default_project" value="true" />
61
+  </component>
62
+  <component name="RunDashboard">
63
+    <option name="ruleStates">
64
+      <list>
65
+        <RuleState>
66
+          <option name="name" value="ConfigurationTypeDashboardGroupingRule" />
67
+        </RuleState>
68
+        <RuleState>
69
+          <option name="name" value="StatusDashboardGroupingRule" />
70
+        </RuleState>
71
+      </list>
72
+    </option>
73
+  </component>
74
+  <component name="SvnConfiguration">
75
+    <configuration />
76
+  </component>
77
+  <component name="TaskManager">
78
+    <task active="true" id="Default" summary="Default task">
79
+      <changelist id="d3056dd9-8ad5-4e64-a7c9-940efe919759" name="默认更改列表" comment="" />
80
+      <created>1573008773664</created>
81
+      <option name="number" value="Default" />
82
+      <option name="presentableId" value="Default" />
83
+      <updated>1573008773664</updated>
84
+      <workItem from="1573008776015" duration="47000" />
85
+      <workItem from="1573008875704" duration="36000" />
86
+    </task>
87
+    <servers />
88
+  </component>
89
+  <component name="TimeTrackingManager">
90
+    <option name="totallyTimeSpent" value="83000" />
91
+  </component>
92
+  <component name="ToolWindowManager">
93
+    <frame x="-8" y="-8" width="1936" height="1056" extended-state="6" />
94
+    <layout>
95
+      <window_info active="true" content_ui="combo" id="Project" order="0" visible="true" weight="0.18914647" />
96
+      <window_info id="Structure" order="1" side_tool="true" weight="0.25" />
97
+      <window_info id="Favorites" order="2" side_tool="true" />
98
+      <window_info anchor="bottom" id="Message" order="0" />
99
+      <window_info anchor="bottom" id="Find" order="1" />
100
+      <window_info anchor="bottom" id="Run" order="2" />
101
+      <window_info anchor="bottom" id="Debug" order="3" weight="0.4" />
102
+      <window_info anchor="bottom" id="Cvs" order="4" weight="0.25" />
103
+      <window_info anchor="bottom" id="Inspection" order="5" weight="0.4" />
104
+      <window_info anchor="bottom" id="TODO" order="6" />
105
+      <window_info anchor="bottom" id="Docker" order="7" show_stripe_button="false" />
106
+      <window_info anchor="bottom" id="Version Control" order="8" />
107
+      <window_info anchor="bottom" id="Terminal" order="9" />
108
+      <window_info anchor="bottom" id="Event Log" order="10" side_tool="true" />
109
+      <window_info anchor="right" id="Commander" internal_type="SLIDING" order="0" type="SLIDING" weight="0.4" />
110
+      <window_info anchor="right" id="Ant Build" order="1" weight="0.25" />
111
+      <window_info anchor="right" content_ui="combo" id="Hierarchy" order="2" weight="0.25" />
112
+    </layout>
113
+  </component>
114
+  <component name="TypeScriptGeneratedFilesManager">
115
+    <option name="version" value="1" />
116
+  </component>
117
+  <component name="editorHistoryManager">
118
+    <entry file="file://$PROJECT_DIR$/CallCenterWeb.UI/login.html">
119
+      <provider selected="true" editor-type-id="text-editor" />
120
+    </entry>
121
+  </component>
122
+</project>

+ 28 - 0
.project

@@ -0,0 +1,28 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<projectDescription>
3
+	<name>ShuangHui_UI</name>
4
+	<comment></comment>
5
+	<projects>
6
+	</projects>
7
+	<buildSpec>
8
+		<buildCommand>
9
+			<name>com.aptana.ide.core.unifiedBuilder</name>
10
+			<arguments>
11
+			</arguments>
12
+		</buildCommand>
13
+	</buildSpec>
14
+	<natures>
15
+		<nature>com.aptana.projects.webnature</nature>
16
+	</natures>
17
+	<filteredResources>
18
+		<filter>
19
+			<id>1572569985571</id>
20
+			<name></name>
21
+			<type>26</type>
22
+			<matcher>
23
+				<id>org.eclipse.ui.ide.multiFilter</id>
24
+				<arguments>1.0-name-matches-false-false-node_modules</arguments>
25
+			</matcher>
26
+		</filter>
27
+	</filteredResources>
28
+</projectDescription>

+ 12 - 0
CallCenterWeb.UI/.idea/CallCenterWeb.UI.iml

@@ -0,0 +1,12 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<module type="WEB_MODULE" version="4">
3
+  <component name="NewModuleRootManager">
4
+    <content url="file://$MODULE_DIR$">
5
+      <excludeFolder url="file://$MODULE_DIR$/.tmp" />
6
+      <excludeFolder url="file://$MODULE_DIR$/temp" />
7
+      <excludeFolder url="file://$MODULE_DIR$/tmp" />
8
+    </content>
9
+    <orderEntry type="inheritedJdk" />
10
+    <orderEntry type="sourceFolder" forTests="false" />
11
+  </component>
12
+</module>

+ 4 - 0
CallCenterWeb.UI/.idea/encodings.xml

@@ -0,0 +1,4 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<project version="4">
3
+  <component name="Encoding" addBOMForNewFiles="with NO BOM" />
4
+</project>

+ 6 - 0
CallCenterWeb.UI/.idea/misc.xml

@@ -0,0 +1,6 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<project version="4">
3
+  <component name="JavaScriptSettings">
4
+    <option name="languageLevel" value="ES6" />
5
+  </component>
6
+</project>

+ 8 - 0
CallCenterWeb.UI/.idea/modules.xml

@@ -0,0 +1,8 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<project version="4">
3
+  <component name="ProjectModuleManager">
4
+    <modules>
5
+      <module fileurl="file://$PROJECT_DIR$/.idea/CallCenterWeb.UI.iml" filepath="$PROJECT_DIR$/.idea/CallCenterWeb.UI.iml" />
6
+    </modules>
7
+  </component>
8
+</project>

+ 6 - 0
CallCenterWeb.UI/.idea/vcs.xml

@@ -0,0 +1,6 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<project version="4">
3
+  <component name="VcsDirectoryMappings">
4
+    <mapping directory="$PROJECT_DIR$/.." vcs="Git" />
5
+  </component>
6
+</project>

+ 125 - 0
CallCenterWeb.UI/.idea/workspace.xml

@@ -0,0 +1,125 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<project version="4">
3
+  <component name="ChangeListManager">
4
+    <list default="true" id="bb5ca3fb-cd7c-41fd-9747-d3089e2242cf" name="默认更改列表" comment="" />
5
+    <ignored path="$PROJECT_DIR$/.tmp/" />
6
+    <ignored path="$PROJECT_DIR$/temp/" />
7
+    <ignored path="$PROJECT_DIR$/tmp/" />
8
+    <option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
9
+    <option name="SHOW_DIALOG" value="false" />
10
+    <option name="HIGHLIGHT_CONFLICTS" value="true" />
11
+    <option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
12
+    <option name="LAST_RESOLUTION" value="IGNORE" />
13
+  </component>
14
+  <component name="FileEditorManager">
15
+    <leaf>
16
+      <file pinned="false" current-in-tab="true">
17
+        <entry file="file://$PROJECT_DIR$/login.html">
18
+          <provider selected="true" editor-type-id="text-editor">
19
+            <state relative-caret-position="390">
20
+              <caret line="13" column="21" selection-start-line="13" selection-start-column="21" selection-end-line="13" selection-end-column="21" />
21
+            </state>
22
+          </provider>
23
+        </entry>
24
+      </file>
25
+    </leaf>
26
+  </component>
27
+  <component name="Git.Settings">
28
+    <option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$/.." />
29
+  </component>
30
+  <component name="ProjectFrameBounds" extendedState="6">
31
+    <option name="x" value="455" />
32
+    <option name="y" value="82" />
33
+    <option name="width" value="1323" />
34
+    <option name="height" value="921" />
35
+  </component>
36
+  <component name="ProjectLevelVcsManager" settingsEditedManually="true" />
37
+  <component name="ProjectView">
38
+    <navigator proportions="" version="1">
39
+      <foldersAlwaysOnTop value="true" />
40
+    </navigator>
41
+    <panes>
42
+      <pane id="ProjectPane">
43
+        <subPane>
44
+          <expand>
45
+            <path>
46
+              <item name="CallCenterWeb.UI" type="b2602c69:ProjectViewProjectNode" />
47
+              <item name="CallCenterWeb.UI" type="462c0819:PsiDirectoryNode" />
48
+            </path>
49
+          </expand>
50
+          <select />
51
+        </subPane>
52
+      </pane>
53
+      <pane id="Scope" />
54
+    </panes>
55
+  </component>
56
+  <component name="PropertiesComponent">
57
+    <property name="WebServerToolWindowFactoryState" value="false" />
58
+    <property name="last_opened_file_path" value="$PROJECT_DIR$/.." />
59
+    <property name="nodejs_interpreter_path.stuck_in_default_project" value="undefined stuck path" />
60
+    <property name="nodejs_npm_path_reset_for_default_project" value="true" />
61
+  </component>
62
+  <component name="RunDashboard">
63
+    <option name="ruleStates">
64
+      <list>
65
+        <RuleState>
66
+          <option name="name" value="ConfigurationTypeDashboardGroupingRule" />
67
+        </RuleState>
68
+        <RuleState>
69
+          <option name="name" value="StatusDashboardGroupingRule" />
70
+        </RuleState>
71
+      </list>
72
+    </option>
73
+  </component>
74
+  <component name="SvnConfiguration">
75
+    <configuration />
76
+  </component>
77
+  <component name="TaskManager">
78
+    <task active="true" id="Default" summary="Default task">
79
+      <changelist id="bb5ca3fb-cd7c-41fd-9747-d3089e2242cf" name="默认更改列表" comment="" />
80
+      <created>1573008823278</created>
81
+      <option name="number" value="Default" />
82
+      <option name="presentableId" value="Default" />
83
+      <updated>1573008823278</updated>
84
+      <workItem from="1573008824637" duration="50000" />
85
+    </task>
86
+    <servers />
87
+  </component>
88
+  <component name="TimeTrackingManager">
89
+    <option name="totallyTimeSpent" value="50000" />
90
+  </component>
91
+  <component name="ToolWindowManager">
92
+    <frame x="-8" y="-8" width="1936" height="1056" extended-state="6" />
93
+    <layout>
94
+      <window_info id="Favorites" side_tool="true" />
95
+      <window_info active="true" content_ui="combo" id="Project" order="0" visible="true" weight="0.1691254" />
96
+      <window_info id="Structure" order="1" side_tool="true" weight="0.25" />
97
+      <window_info anchor="bottom" id="Docker" show_stripe_button="false" />
98
+      <window_info anchor="bottom" id="Version Control" />
99
+      <window_info anchor="bottom" id="Terminal" />
100
+      <window_info anchor="bottom" id="Event Log" side_tool="true" />
101
+      <window_info anchor="bottom" id="Message" order="0" />
102
+      <window_info anchor="bottom" id="Find" order="1" />
103
+      <window_info anchor="bottom" id="Run" order="2" />
104
+      <window_info anchor="bottom" id="Debug" order="3" weight="0.4" />
105
+      <window_info anchor="bottom" id="Cvs" order="4" weight="0.25" />
106
+      <window_info anchor="bottom" id="Inspection" order="5" weight="0.4" />
107
+      <window_info anchor="bottom" id="TODO" order="6" />
108
+      <window_info anchor="right" id="Commander" internal_type="SLIDING" order="0" type="SLIDING" weight="0.4" />
109
+      <window_info anchor="right" id="Ant Build" order="1" weight="0.25" />
110
+      <window_info anchor="right" content_ui="combo" id="Hierarchy" order="2" weight="0.25" />
111
+    </layout>
112
+  </component>
113
+  <component name="TypeScriptGeneratedFilesManager">
114
+    <option name="version" value="1" />
115
+  </component>
116
+  <component name="editorHistoryManager">
117
+    <entry file="file://$PROJECT_DIR$/login.html">
118
+      <provider selected="true" editor-type-id="text-editor">
119
+        <state relative-caret-position="390">
120
+          <caret line="13" column="21" selection-start-line="13" selection-start-column="21" selection-end-line="13" selection-end-column="21" />
121
+        </state>
122
+      </provider>
123
+    </entry>
124
+  </component>
125
+</project>

+ 404 - 0
CallCenterWeb.UI/WorkOrder/WorkOrderProcessing.html

@@ -0,0 +1,404 @@
1
+<!DOCTYPE html>
2
+<html>
3
+
4
+	<head>
5
+		<meta charset="UTF-8">
6
+		<title>处理中工单</title>
7
+		<meta name="viewport" content="width=device-width, initial-scale=1.0">
8
+		<script src="../Script/Common/huayi.load.js"></script>
9
+		<script src="../Script/Common/huayi.config.js"></script>
10
+		<link rel="stylesheet" href="../js/zTree/zTreeStyle.css" />
11
+		<link rel="stylesheet" href="../js/comboSelect/combo.select.css" />
12
+		<link href="../css/init.css" rel="stylesheet" />
13
+		<link href="../css/WorkOrder/Search.css" rel="stylesheet">
14
+		<style>
15
+			.time-box {
16
+				display: inline-block;
17
+				position: relative;
18
+			}
19
+			
20
+			.search_time {
21
+				width: 228px!important;
22
+			}
23
+			
24
+			.W100 .th-inner {
25
+			    width:100px !important;
26
+			}
27
+			.W160 .th-inner {
28
+			    width:160px !important;
29
+			}
30
+			.W220 .th-inner {
31
+			   width:220px !important;
32
+			}
33
+			.W220{
34
+			   width:220px !important;
35
+			}
36
+			.toolBox{
37
+				height: 95px;	
38
+			}
39
+			.form-inline{
40
+				margin-bottom: 10px;
41
+			}
42
+		</style>
43
+
44
+	</head>
45
+
46
+	<body class="gray-bg">
47
+		<div class="daoHang clearfix">
48
+			<div class="dhLeft">
49
+				<sapn><i class="syIcon"></i>位置:
50
+					<a href="javaScript:;" id="ReIndex">首页</a>&gt;
51
+					<a href="javaScript:;">工单管理</a>&gt;
52
+					<a href="" class="nowPosition">已处理工单</a>
53
+				</sapn>
54
+			</div>
55
+			<div class="dhRight">
56
+				<a href="#" title="刷新"><i class="fa fa-refresh"></i></a>
57
+			</div>
58
+		</div>
59
+		<div class="wrapper wrapper-content animated fadeInRight">
60
+			<div class="toolBox">
61
+				<div class="th-bar clearfix">
62
+					<div class="pull-left">
63
+						<div class="form-inline">
64
+							<div class="form-group">
65
+								<select class="form-control" id="searchOrderSource">
66
+									<option value="">请选择工单来源</option>
67
+									<option value="1">PC</option>
68
+									<option value="2">APP</option>
69
+									<option value="3">微信</option>
70
+								</select>
71
+							</div>
72
+							<div class="form-group">
73
+								<select class="form-control" id="searchOrderType">
74
+									<option value="">请选择工单类型</option>
75
+									<option value="1">咨询</option>
76
+									<option value="2">投诉</option>
77
+								</select>
78
+							</div>
79
+							<div class="time-box form-group">
80
+								<i class="tub fa fa-calendar"></i>
81
+								<input class="form-control search_time" type="text" id="greetingTimes" placeholder="请选择时间">
82
+							</div>
83
+							<div class="time-box form-group">
84
+								<select class="form-control" id="searchSee">
85
+									<option value="">选择只查看负责区域单子</option>
86
+									<option value="0">所有</option>
87
+									<option value="1">管理区域</option>
88
+								</select>
89
+							</div>
90
+							<div class="time-box form-group">
91
+								<input class="form-control" type="text" id="searchCode" placeholder="请输入工单号">
92
+							</div>
93
+						</div>
94
+						<div class="form-inline">
95
+							<div class="time-box form-group">
96
+								<input class="form-control" type="text" id="searchCusName" placeholder="请输入来电人姓名">
97
+							</div>
98
+							<div class="time-box form-group">
99
+								<input class="form-control" type="text" id="searchCusPhone" placeholder="请输入来电人电话">
100
+							</div>
101
+							<div class="time-box form-group">
102
+								<input class="form-control" type="text" id="searchCreateBy" placeholder="请输入创建人">
103
+							</div>
104
+							<div class="time-box form-group">
105
+								<select class="form-control" id="searchDealTimely">
106
+									<option value="">请选择重要级别</option>
107
+								</select>
108
+							</div>
109
+							<!--<div class="time-box form-group">
110
+								<input class="form-control" type="text" id="searchKeyWords" placeholder="模糊搜索">
111
+							</div>-->
112
+							<div class="time-box form-group">
113
+								<input class="form-control" type="text" id="searchTouser" placeholder="处理人">
114
+							</div>
115
+						</div>
116
+					</div>
117
+					<div class="pull-right">
118
+						<button class="btns ss">搜索</button>
119
+					</div>
120
+				</div>
121
+			</div>
122
+			<div style="width: 100%;padding: 10px;" id="ces">
123
+				<table id="workorderlist" class="market" data-row-style="rowStyle" data-query-params="queryParams" data-pagination="true">
124
+					<thead>
125
+						<tr>
126
+							<th data-field="F_SerialNumber" data-class="W100" data-align="center">序号</th>
127
+							<th data-field="F_WorkOrderId" data-class="W160" data-formatter="View" data-align="center">工单编号</th>
128
+							<th data-field="F_Source" data-class="W100" data-formatter="workOrderSourceJudge" data-align="center">工单来源</th>
129
+							<th data-field="F_Type" data-formatter="workOrderTypeJudge" data-align="center">工单类别</th>
130
+							<th data-field="F_State" data-class="W100" data-formatter="workOrderStateJudge" data-align="center">工单状态</th>
131
+							<th data-field="F_AreaName" data-class="W100" data-align="center">区域</th>
132
+							<th data-field="F_OfficName" data-class="W100" data-align="center">办事处</th>
133
+							<th data-field="F_CreateTime" data-class="W100" data-align="center">创建时间</th>
134
+							<th data-field="F_DealTimely" data-class="W100" data-formatter="workOrderDealTimelyJudge" data-align="center">重要级别</th>
135
+							<th data-field="F_Reason" data-class="W100" data-formatter="workOrderReasonJudge" data-align="center">原因</th>
136
+							<th data-field="F_CusName" data-class="W100" data-align="center">来电人姓名</th>
137
+							<th data-field="F_CusPhone" data-class="W100" data-align="center">来电人电话</th>
138
+							<th data-field="F_AddRess" data-class="W100" data-align="center">地址</th>
139
+							<th data-field="F_ProductType" data-class="W100" data-formatter="workOrderProductTypeJudge" data-align="center">产品代码</th>
140
+							<th data-field="F_ProductName" data-class="W100" data-align="center">产品名称</th>
141
+							<th data-field="F_Specifications" data-class="W100" data-align="center">规格</th>
142
+							<th data-field="F_ProductDate" data-class="W100" data-align="center">生产日期</th>
143
+							<th data-field="F_BatchNumber" data-class="W100" data-align="center">产品编码</th>
144
+							<th data-field="F_Manufacturer" data-class="W100" data-align="center">生产厂家</th>
145
+							<th data-field="F_ProblemCode" data-class="W100" data-align="center">问题代码</th>
146
+							<th data-field="F_QualityProblem" data-class="W100" data-align="center">质量问题</th>
147
+							<th data-field="F_Notifications" data-class="W100" data-align="center">通知人</th>
148
+							<th data-field="F_ReceivingPerson" data-class="W100" data-align="center">接听人</th>
149
+							<th data-field="F_ImplementationSituation" data-class="W100" data-align="center">落实情况</th>
150
+							<th data-field="F_Duplicate" data-class="W100" data-formatter="workOrderDuplicateJudge" data-align="center">重复工单</th>
151
+							<th data-field="F_DealResult" data-class="W100" data-align="center">处理结果</th>
152
+							<th data-field="F_DealUser" data-class="W100" data-align="center">处理人</th>
153
+							<th data-field="F_DealTime" data-class="W100" data-align="center">处理时间</th>
154
+							<th data-field="F_Returnnote" data-class="W100" data-align="center">退回说明</th>
155
+							<th data-field="F_Content" data-class="W160" data-align="center">备注</th>
156
+							<th data-field="F_WorkOrderId" data-class="workOprate workOprate5 W220" data-formatter="formatterProcessing"  data-align="center">操作</th>
157
+						</tr>
158
+					</thead>
159
+				</table>
160
+			</div>
161
+			<!--查看详情-->
162
+			<div class="ckxq  Hidens">
163
+				<ul class="clearfix ckxq_ul">
164
+					<li class="Active">工单详情</li>
165
+					<li>工单记录</li>
166
+					<span class="Closed">×</span>
167
+				</ul>
168
+				<div class="gdxq">
169
+					<div class="">
170
+						<table id="gdxq_table" border="0" class="table table-bordered  table-hover " style="width: 100%;">
171
+							<tbody class="tbodys">
172
+								<tr>
173
+									<th>工单编号:</th>
174
+									<td>
175
+										<span id="detailWorkOrderId"></span>
176
+									</td>
177
+									<th>工单来源:</th>
178
+									<td>
179
+										<span id="detailSource"></span>
180
+									</td>
181
+									<th>工单类型:</th>
182
+									<td>
183
+										<span id="detailType"></span>
184
+									</td>
185
+								</tr>
186
+								<tr>
187
+									<th>大区:</th>
188
+									<td>
189
+										<span id="detailAreaName"></span>
190
+									</td>
191
+									<th>办事处:</th>
192
+									<td>
193
+										<span id="detailOfficeName"></span>
194
+									</td>
195
+									<th>投诉时间:</th>
196
+									<td>
197
+										<span id="detailCreateTime"></span>
198
+									</td>
199
+								</tr>
200
+								<tr>
201
+									<th>重要级别:</th>
202
+									<td>
203
+										<span id="detailDealTimely"></span>
204
+									</td>
205
+									<th>原因:</th>
206
+									<td>
207
+										<span id="detailReason"></span>
208
+									</td>
209
+								</tr>
210
+								<tr>
211
+									<th>来电人姓名:</th>
212
+									<td>
213
+										<span id="detailCusName"></span>
214
+									</td>
215
+									<th>来电人电话:</th>
216
+									<td>
217
+										<span id="detailCusPhone"></span>
218
+									</td>
219
+								</tr>
220
+								<tr>
221
+									<th>地址:</th>
222
+									<td>
223
+										<span id="detailAddress"></span>
224
+									</td>
225
+									<th>产品代码:</th>
226
+									<td>
227
+										<span id="detailProductType"></span>
228
+									</td>
229
+									<th>产品名称:</th>
230
+									<td>
231
+										<span id="detailProductName"></span>
232
+									</td>
233
+								</tr>
234
+								<tr>
235
+									<th>规格:</th>
236
+									<td>
237
+										<span id="detailSpecifications"></span>
238
+									</td>
239
+									<th>生产日期:</th>
240
+									<td>
241
+										<span id="detailPRoductDate"></span>
242
+									</td>
243
+									<th>产品编码:</th>
244
+									<td>
245
+										<span id="detailBatchNumber"></span>
246
+									</td>									
247
+								</tr>
248
+								<tr>
249
+									<th>生产厂家:</th>
250
+									<td>
251
+										<span id="detailManufacturer"></span>
252
+									</td>
253
+									<th>问题代码:</th>
254
+									<td>
255
+										<span id="detailProblemCode"></span>
256
+									</td>
257
+									<th>质量问题:</th>
258
+									<td>
259
+										<span id="detailQualityProblem"></span>
260
+									</td>
261
+								</tr>
262
+								<tr>
263
+									<th>通知人:</th>
264
+									<td>
265
+										<span id="detailNotifications"></span>
266
+									</td>
267
+									<th>接听人:</th>
268
+									<td>
269
+										<span id="detailReceivingPerson"></span>
270
+									</td>
271
+									<th>落实情况:</th>
272
+									<td>
273
+										<span id="detailImplementationSituation"></span>
274
+									</td>									
275
+								</tr>
276
+								<tr>
277
+									<th>序号:</th>
278
+									<td>
279
+										<span id="detailSerialNumber"></span>
280
+									</td>
281
+									<th>工单状态:</th>
282
+									<td>
283
+										<span id="detailState"></span>
284
+									</td>
285
+									<th>重复工单:</th>
286
+									<td>
287
+										<span id="detailDuplicate"></span>
288
+									</td>
289
+								</tr>
290
+								<tr>
291
+									<th>处理结果:</th>
292
+									<td>
293
+										<span id="detailDealResult"></span>
294
+									</td>
295
+									<th>处理人:</th>
296
+									<td>
297
+										<span id="detailDealUser"></span>
298
+									</td>
299
+									<th>处理时间:</th>
300
+									<td>
301
+										<span id="detailDealTime"></span>
302
+									</td>
303
+								</tr>
304
+								<tr>
305
+									<th>接听人:</th>
306
+										<td colspan="5" id="conTent">
307
+									</td>
308
+								</tr>
309
+								<tr>
310
+									<th>备注:</th>
311
+									<td colspan="5" id="detailContent">
312
+									</td>
313
+								</tr>
314
+							</tbody>
315
+						</table>
316
+					</div>
317
+				</div>
318
+				<div class="gdxq" style="display:none;">
319
+					<div class="">
320
+						<table id="workOrderRecord" data-row-style="rowStyle" data-query-params="queryParams" data-pagination="true">
321
+							<thead>
322
+								<tr>
323
+									<th data-field="F_WoState" data-width="20%" data-align="left" data-formatter="formatterWorkOrderRecordStatus">工单状态</th>
324
+									<th data-field="F_OptContent" data-align="left">内容</th>
325
+									<th data-field="F_CreateTime" data-width="10%" data-align="center">创建时间</th>
326
+								</tr>
327
+							</thead>
328
+						</table>
329
+					</div>
330
+				</div>
331
+			</div>
332
+		</div>
333
+
334
+		<script src="../js/zTree/jquery.ztree.core.js"></script>
335
+		<script src="../js/kindeditor/kindeditor.js"></script>
336
+		<script src="../js/kindeditor/lang/zh_CN.js"></script>
337
+		<script src="../js/WorkOrder/WorkOrder.js"></script>
338
+		<script src="../js/laydate/laydate.js"></script>
339
+		<script src="../js/comboSelect/jquery.combo.select.js"></script>
340
+		<script>
341
+			$(document).ready(function() {
342
+				laydate.render({
343
+					elem: '#greetingTimes',
344
+					range: '~',
345
+					theme: '#1ab394',
346
+				});
347
+			})
348
+
349
+			function initTable() {
350
+				//先销毁表格
351
+				$('#workorderlist').bootstrapTable('destroy');
352
+				//初始化表格,动态从服务器加载数据
353
+				$("#workorderlist").bootstrapTable({
354
+					method: "get", //使用get请求到服务器获取数据
355
+					url: huayi.config.callcenter_url + "WorkOrder/GetList", //获取数据的Servlet地址
356
+					contentType: 'application/x-www-form-urlencoded',
357
+					striped: true, //表格显示条纹
358
+					pagination: true, //启动分页
359
+					pageSize: 10, //每页显示的记录数
360
+					pageNumber: 1, //当前第几页
361
+					pageList: [10, 20, 50, 100], //记录数可选列表
362
+					search: false, //是否启用查询
363
+					showColumns: false, //显示下拉框勾选要显示的列
364
+					showRefresh: false, //显示刷新按钮
365
+					sidePagination: "server", //表示服务端请求
366
+					fixedColumns: true,
367
+                	fixedNumber: 14,
368
+					//设置为undefined可以获取pageNumber,pageSize,searchText,sortName,sortOrder
369
+					//设置为limit可以获取limit, offset, search, sort, order
370
+					queryParamsType: "undefined",
371
+					queryParams: function queryParams(params) { //设置查询参数
372
+						var param = {
373
+							token: $.cookie("token"),
374
+							code: $("#searchCode").val(), //工单编号
375
+							cusname: $("#searchCusName").val(), // 来电人姓名
376
+							cusphone: $("#searchCusPhone").val(), //来电人电话
377
+							createby: $("#searchCreateBy").val(),// 创建人
378
+							dealTimely: $("#searchDealTimely").val(), // 重要级别
379
+							starttime: $('#greetingTimes').val() && $('#greetingTimes').val().split(' ~ ')[0], //开始时间
380
+							endtime: $('#greetingTimes').val() && $('#greetingTimes').val().split(' ~ ')[1], // 结束时间
381
+							keywords: "", // 模糊搜索
382
+							touser: $("#searchTouser").val(), // 处理人
383
+							see: $("#searchSee").val(), //	处理专员是否只查看负责区域单子
384
+							source: $("#searchOrderSource").val(), //工单来源
385
+							type: $("#searchOrderType").val(), //工单类型
386
+							state: 4, //工单状态
387
+							pageindex: params.pageNumber, //页码
388
+							pagesize: params.pageSize, //条数
389
+						};
390
+						return param;
391
+					},
392
+					onLoadSuccess: function() { //加载成功时执行
393
+						//layer.msg("加载成功");
394
+						getLoginPersonNow();
395
+					},
396
+					onLoadError: function() { //加载失败时执行
397
+						//layer.msg("加载数据失败", { time: 1500, icon: 2 });
398
+					}
399
+				});
400
+			}
401
+		</script>
402
+	</body>
403
+
404
+</html>

+ 94 - 0
CallCenterWeb.UI/WorkOrder/WorkOrderReturn.html

@@ -0,0 +1,94 @@
1
+<!DOCTYPE html>
2
+<html>
3
+
4
+<head>
5
+    <meta charset="UTF-8">
6
+    <meta name="viewport" content="width=device-width, initial-scale=1.0">
7
+    <link href="../css/init.css" rel="stylesheet" />
8
+    <script src="../Script/Common/huayi.load.js"></script>
9
+    <script src="../Script/Common/huayi.config.js"></script>
10
+    <link href="../css/WorkOrder/Search.css" rel="stylesheet">
11
+    <link rel="stylesheet" href="../js/zTree/zTreeStyle.css" />
12
+    <link href="../js/bootstrap-select/css/bootstrap-select.css" rel="stylesheet" />
13
+    <link rel="stylesheet" href="../css/WorkOrder/jquery.editable-select.css" />
14
+    <link rel="stylesheet" href="../js/comboSelect/combo.select.css" />
15
+    <link rel="stylesheet" href="../css/init.css" />
16
+    <title>指派</title>
17
+    <style>
18
+        ul li {
19
+            float: initial;
20
+            list-style: none;
21
+        }
22
+        .common {
23
+            width: 100%;
24
+            text-align: center;
25
+            padding: 10px 15px;
26
+        }
27
+
28
+        .common table {
29
+            width: 100%;
30
+        }
31
+
32
+        .common table th {
33
+            padding: 5px 8px 5px 0;
34
+            text-align: right;
35
+            /* width: 20%;*/
36
+        }
37
+
38
+        .common table td {
39
+            padding: 6px 0 5px 10px;
40
+            text-align: left;
41
+            color: #717171;
42
+            line-height: 200%;
43
+        }
44
+
45
+        .common table td textarea {
46
+            width: 100%;
47
+            vertical-align: middle;
48
+            resize: none;
49
+            outline: none;
50
+        }
51
+
52
+    </style>
53
+</head>
54
+
55
+<body class="gray-bg">
56
+    <div class="daoHang clearfix" style="margin-bottom: 20px;">
57
+        <div class="dhLeft">
58
+            <sapn>
59
+                <i class="syIcon"></i>位置:
60
+                <a href="javaScript:;" id="ReIndex">首页</a>&gt;
61
+                <a href="javaScript:;">工单管理</a>&gt;
62
+                <a href="" class="nowPosition">手工制单</a>
63
+            </sapn>
64
+        </div>
65
+    </div>
66
+    <div class="clearfix wrapper wrapper-content animated fadeInRight">
67
+        <div class="common">
68
+            <table class="customerService">
69
+            	<tbody>
70
+					<tr>
71
+                        <th>退回内容:</th>
72
+                        <td colspan="7">
73
+                            <textarea name="" rows="5" cols="" placeholder="" id="cont" style="margin-top:10px;"></textarea>
74
+                        </td>
75
+                    </tr>
76
+                    <tr>
77
+                        <td colspan="8" style="text-align: center;">
78
+                            <button class="btns customerSubmit">确&nbsp;定</button>
79
+                        </td>
80
+                    </tr>
81
+                </tbody>
82
+            </table>
83
+        </div>
84
+    </div>
85
+
86
+    <script src="../js/zTree/jquery.ztree.core.js"></script>
87
+    <script src="../js/bootstrap-select/js/bootstrap-select.js"></script>
88
+    <script src="../js/WorkOrder/jquery.editable-select.js"></script>
89
+    <script src="../js/comboSelect/jquery.combo.select.js"></script>
90
+    <script src="../js/laydate/laydate.js"></script>
91
+    <script src="../js/WorkOrder/WorkOrderReturn.js"></script>
92
+</body>
93
+
94
+</html>

+ 385 - 0
CallCenterWeb.UI/WorkOrder/WorkOrderSubmit.html

@@ -0,0 +1,385 @@
1
+<!DOCTYPE html>
2
+<html>
3
+<head>
4
+    <meta charset="UTF-8">
5
+    <title>待提交列表</title>
6
+    <meta name="viewport" content="width=device-width, initial-scale=1.0">
7
+    <script src="../Script/Common/huayi.load.js"></script>
8
+	<script src="../Script/Common/huayi.config.js"></script>
9
+	<link rel="stylesheet" href="../js/zTree/zTreeStyle.css" />
10
+	<link href="../css/WorkOrder/Search.css" rel="stylesheet">
11
+	<link rel="stylesheet" href="../js/comboSelect/combo.select.css" />
12
+	<link href="../css/init.css" rel="stylesheet" />
13
+    <style>
14
+		.toolBox{
15
+			height: 95px;	
16
+		}
17
+		.form-inline{
18
+			margin-bottom: 10px;
19
+		}
20
+		.W60margin .th-inner {
21
+		    width:160px !important;
22
+		    margin-right: 220px !important;
23
+		}
24
+		.W60margin{
25
+		    width:160px !important;
26
+		    text-align: left !important;
27
+		}
28
+		.W100 .th-inner {
29
+		    width:100px !important;
30
+		}
31
+		.W160 .th-inner {
32
+		    width:160px !important;
33
+		}
34
+		.W220 .th-inner {
35
+		   width:220px !important;
36
+		}
37
+		.W220{
38
+		   width:220px !important;
39
+		}
40
+    </style>
41
+</head>
42
+<body class="gray-bg">
43
+    <div class="wrapper wrapper-content animated fadeInRight">
44
+        <div class="daoHang clearfix">
45
+            <div class="dhLeft">
46
+                <sapn><i class="syIcon"></i>位置:<a href="javaScript:;" id="ReIndex">首页</a>&gt;<a href="javaScript:;">工单管理</a>&gt;<a href=""class="nowPosition">待提交列表</a></sapn>
47
+            </div>
48
+            <div class="dhRight">
49
+            	<a href="#" title="刷新"><i class="fa fa-refresh"></i></a>
50
+            </div>
51
+        </div>
52
+        <div class="wrapper wrapper-content animated fadeInRight">
53
+			<div class="toolBox">
54
+				<div class="th-bar clearfix">
55
+					<div class="pull-left">
56
+						<div class="form-inline">
57
+							<div class="form-group">
58
+								<select class="form-control" id="searchOrderSource">
59
+									<option value="">请选择工单来源</option>
60
+									<option value="1">PC</option>
61
+									<option value="2">APP</option>
62
+									<option value="3">微信</option>
63
+								</select>
64
+							</div>
65
+							<div class="form-group">
66
+								<select class="form-control" id="searchOrderType">
67
+									<option value="">请选择工单类型</option>
68
+									<option value="1">咨询</option>
69
+									<option value="2">投诉</option>
70
+								</select>
71
+							</div>
72
+							<div class="time-box form-group">
73
+								<i class="tub fa fa-calendar"></i>
74
+								<input class="form-control search_time" type="text" id="greetingTimes" placeholder="请选择时间">
75
+							</div>
76
+							<div class="time-box form-group">
77
+								<select class="form-control" id="searchSee">
78
+									<option value="">选择只查看负责区域单子</option>
79
+									<option value="0">所有</option>
80
+									<option value="1">管理区域</option>
81
+								</select>
82
+							</div>
83
+							<div class="time-box form-group">
84
+								<input class="form-control" type="text" id="searchCode" placeholder="请输入工单号">
85
+							</div>
86
+						</div>
87
+						<div class="form-inline">
88
+							<div class="time-box form-group">
89
+								<input class="form-control" type="text" id="searchCusName" placeholder="请输入来电人姓名">
90
+							</div>
91
+							<div class="time-box form-group">
92
+								<input class="form-control" type="text" id="searchCusPhone" placeholder="请输入来电人电话">
93
+							</div>
94
+							<div class="time-box form-group">
95
+								<input class="form-control" type="text" id="searchCreateBy" placeholder="请输入创建人">
96
+							</div>
97
+							<div class="time-box form-group">
98
+								<select class="form-control" id="searchDealTimely">
99
+									<option value="">请选择重要级别</option>
100
+								</select>
101
+							</div>
102
+						</div>
103
+					</div>
104
+
105
+					<div class="pull-right">
106
+						<button class="btns ss">搜索</button>
107
+					</div>
108
+				</div>
109
+			</div>
110
+        <div style="width: 100%;padding: 10px;">
111
+			<table id="workorderlist" class="market" data-row-style="rowStyle" data-query-params="queryParams" data-pagination="true">
112
+                <thead>
113
+                    <tr>
114
+						<th data-field="F_SerialNumber" data-class="W100" data-align="center">序号</th>
115
+						<th data-field="F_WorkOrderId" data-class="W160" data-formatter="View" data-align="center">工单编号</th>
116
+						<th data-field="F_Source" data-class="W100" data-formatter="workOrderSourceJudge" data-align="center">工单来源</th>
117
+						<th data-field="F_Type" data-class="W100" data-formatter="workOrderTypeJudge" data-align="center">工单类别</th>
118
+						<th data-field="F_State" data-class="W100" data-formatter="workOrderStateJudge" data-align="center">工单状态</th>
119
+						<th data-field="F_AreaName" data-class="W100" data-align="center">区域</th>
120
+						<th data-field="F_OfficName" data-class="W100" data-align="center">办事处</th>
121
+						<th data-field="F_CreateTime" data-class="W100" data-align="center">创建时间</th>
122
+						<th data-field="F_DealTimely" data-class="W100" data-formatter="workOrderDealTimelyJudge" data-align="center">重要级别</th>
123
+						<th data-field="F_Reason" data-class="W100" data-formatter="workOrderReasonJudge" data-align="center">原因</th>
124
+						<th data-field="F_CusName" data-class="W100" data-align="center">来电人姓名</th>
125
+						<th data-field="F_CusPhone" data-class="W100" data-align="center">来电人电话</th>
126
+						<th data-field="F_AddRess" data-class="W100" data-align="center">地址</th>
127
+						<th data-field="F_ProductType" data-class="W100" data-formatter="workOrderProductTypeJudge" data-align="center">产品代码</th>
128
+						<th data-field="F_ProductName" data-class="W100" data-align="center">产品名称</th>
129
+						<th data-field="F_Specifications" data-class="W100" data-align="center">规格</th>
130
+						<th data-field="F_ProductDate" data-class="W100" data-align="center">生产日期</th>
131
+						<th data-field="F_BatchNumber" data-class="W100" data-align="center">产品编码</th>
132
+						<th data-field="F_Manufacturer" data-class="W100" data-align="center">生产厂家</th>
133
+						<th data-field="F_ProblemCode" data-class="W100" data-align="center">问题代码</th>
134
+						<th data-field="F_QualityProblem" data-class="W100" data-align="center">质量问题</th>
135
+						<th data-field="F_ReceivingPerson" data-class="W100" data-align="center">接听人</th>
136
+						<th data-field="F_Duplicate" data-class="W100" data-formatter="workOrderDuplicateJudge" data-align="center">重复工单</th>
137
+						<th data-field="F_Returnnote" data-class="W100" data-align="center">退回说明</th>
138
+						<th data-field="F_Content" data-class="W160" data-align="center">备注</th>
139
+						<th data-field="F_WorkOrderId" data-class="workOprate workOprate1 W220" data-formatter="formatterSubmit" data-align="center">操作</th>
140
+					</tr>
141
+                </thead>
142
+            </table>
143
+        </div>
144
+        <!--查看详情-->
145
+        <div class="ckxq  Hidens">
146
+			<ul class="clearfix ckxq_ul">
147
+				<li class="Active">工单详情</li>
148
+				<li>工单记录</li>
149
+				<span class="Closed">×</span>
150
+			</ul>
151
+			<div class="gdxq">
152
+				<div class="">
153
+					<table id="gdxq_table" border="0" class="table table-bordered  table-hover " style="width: 100%;">
154
+						<tbody class="tbodys">
155
+							<tr>
156
+								<th>工单编号:</th>
157
+								<td>
158
+									<span id="detailWorkOrderId"></span>
159
+								</td>
160
+								<th>工单来源:</th>
161
+								<td>
162
+									<span id="detailSource"></span>
163
+								</td>
164
+								<th>工单类型:</th>
165
+								<td>
166
+									<span id="detailType"></span>
167
+								</td>
168
+							</tr>
169
+							<tr>
170
+								<th>大区:</th>
171
+								<td>
172
+									<span id="detailAreaName"></span>
173
+								</td>
174
+								<th>办事处:</th>
175
+								<td>
176
+									<span id="detailOfficeName"></span>
177
+								</td>
178
+								<th>投诉时间:</th>
179
+								<td>
180
+									<span id="detailCreateTime"></span>
181
+								</td>
182
+							</tr>
183
+							<tr>
184
+								<th>重要级别:</th>
185
+								<td>
186
+									<span id="detailDealTimely"></span>
187
+								</td>
188
+								<th>原因:</th>
189
+								<td>
190
+									<span id="detailReason"></span>
191
+								</td>
192
+							</tr>
193
+							<tr>
194
+								<th>来电人姓名:</th>
195
+								<td>
196
+									<span id="detailCusName"></span>
197
+								</td>
198
+								<th>来电人电话:</th>
199
+								<td>
200
+									<span id="detailCusPhone"></span>
201
+								</td>
202
+							</tr>
203
+							<tr>
204
+								<th>地址:</th>
205
+								<td>
206
+									<span id="detailAddress"></span>
207
+								</td>
208
+								<th>产品代码:</th>
209
+								<td>
210
+									<span id="detailProductType"></span>
211
+								</td>
212
+								<th>产品名称:</th>
213
+								<td>
214
+									<span id="detailProductName"></span>
215
+								</td>
216
+							</tr>
217
+							<tr>
218
+								<th>规格:</th>
219
+								<td>
220
+									<span id="detailSpecifications"></span>
221
+								</td>
222
+								<th>生产日期:</th>
223
+								<td>
224
+									<span id="detailPRoductDate"></span>
225
+								</td>
226
+								<th>产品编码:</th>
227
+								<td>
228
+									<span id="detailBatchNumber"></span>
229
+								</td>									
230
+							</tr>
231
+							<tr>
232
+								<th>生产厂家:</th>
233
+								<td>
234
+									<span id="detailManufacturer"></span>
235
+								</td>
236
+								<th>问题代码:</th>
237
+								<td>
238
+									<span id="detailProblemCode"></span>
239
+								</td>
240
+								<th>质量问题:</th>
241
+								<td>
242
+									<span id="detailQualityProblem"></span>
243
+								</td>
244
+							</tr>
245
+							<tr>
246
+								<th>通知人:</th>
247
+								<td>
248
+									<span id="detailNotifications"></span>
249
+								</td>
250
+								<th>接听人:</th>
251
+								<td>
252
+									<span id="detailReceivingPerson"></span>
253
+								</td>
254
+								<th>落实情况:</th>
255
+								<td>
256
+									<span id="detailImplementationSituation"></span>
257
+								</td>									
258
+							</tr>
259
+							<tr>
260
+								<th>序号:</th>
261
+								<td>
262
+									<span id="detailSerialNumber"></span>
263
+								</td>
264
+								<th>工单状态:</th>
265
+								<td>
266
+									<span id="detailState"></span>
267
+								</td>
268
+								<th>重复工单:</th>
269
+								<td>
270
+									<span id="detailDuplicate"></span>
271
+								</td>
272
+							</tr>
273
+							<tr>
274
+								<th>处理结果:</th>
275
+								<td>
276
+									<span id="detailDealResult"></span>
277
+								</td>
278
+								<th>处理人:</th>
279
+								<td>
280
+									<span id="detailDealUser"></span>
281
+								</td>
282
+								<th>处理时间:</th>
283
+								<td>
284
+									<span id="detailDealTime"></span>
285
+								</td>
286
+							</tr>
287
+							<tr>
288
+								<th>接听人:</th>
289
+									<td colspan="5" id="conTent">
290
+								</td>
291
+							</tr>
292
+							<tr>
293
+								<th>备注:</th>
294
+								<td colspan="5" id="detailContent">
295
+								</td>
296
+							</tr>
297
+						</tbody>
298
+					</table>
299
+				</div>
300
+			</div>
301
+			<div class="gdxq" style="display:none;">
302
+				<div class="">
303
+					<table id="workOrderRecord" data-row-style="rowStyle" data-query-params="queryParams" data-pagination="true">
304
+						<thead>
305
+							<tr>
306
+								<th data-field="F_WoState" data-width="20%" data-align="left" data-formatter="formatterWorkOrderRecordStatus">工单状态</th>
307
+								<th data-field="F_OptContent" data-align="left">内容</th>
308
+								<th data-field="F_CreateTime" data-width="10%" data-align="center">创建时间</th>
309
+							</tr>
310
+						</thead>
311
+					</table>
312
+				</div>
313
+			</div>
314
+		</div>
315
+	<script src="../js/laydate/laydate.js"></script>
316
+	<script src="../js/comboSelect/jquery.combo.select.js"></script>
317
+	<script src="../js/kindeditor/kindeditor.js"></script>
318
+	<script src="../js/kindeditor/lang/zh_CN.js"></script>
319
+	<script src="../js/WorkOrder/WorkOrder.js"></script>
320
+    <script>
321
+        $(document).ready(function () {
322
+        	// 时间组件
323
+        	laydate.render({
324
+				elem: '#greetingTimes',
325
+				range: '~',
326
+				theme: '#1ab394',
327
+				calendar: 'true'
328
+				//type: 'datetime',
329
+				//max : 31,
330
+				//min: 0,
331
+			});
332
+        })
333
+        function initTable() {
334
+            //先销毁表格
335
+            $('#workorderlist').bootstrapTable('destroy');
336
+            //初始化表格,动态从服务器加载数据
337
+            $("#workorderlist").bootstrapTable({
338
+                method: "get",  //使用get请求到服务器获取数据
339
+                url: huayi.config.callcenter_url + "WorkOrder/GetList", //获取数据的Servlet地址
340
+                contentType: 'application/x-www-form-urlencoded',
341
+                striped: true,  //表格显示条纹
342
+                pagination: true, //启动分页
343
+                pageSize: 10,  //每页显示的记录数
344
+                pageNumber: 1, //当前第几页
345
+                pageList: [10, 20, 50, 100],  //记录数可选列表
346
+                search: false,  //是否启用查询
347
+                showColumns: false,  //显示下拉框勾选要显示的列
348
+                showRefresh: false,  //显示刷新按钮
349
+                sidePagination: "server", //表示服务端请求
350
+                //设置为undefined可以获取pageNumber,pageSize,searchText,sortName,sortOrder
351
+                //设置为limit可以获取limit, offset, search, sort, order
352
+                queryParamsType: "undefined",
353
+                queryParams: function queryParams(params) { //设置查询参数
354
+						var param = {
355
+							state: 0,
356
+							token: $.cookie("token"),
357
+							code: $("#searchCode").val(), //工单编号
358
+							cusname: $("#searchCusName").val(), // 来电人姓名
359
+							cusphone: $("#searchCusPhone").val(), //来电人电话
360
+							createby: $("#searchCreateBy").val(),// 创建人
361
+							dealTimely: $("#searchDealTimely").val(), // 重要级别
362
+							starttime: $('#greetingTimes').val() && $('#greetingTimes').val().split(' ~ ')[0], //开始时间
363
+							endtime: $('#greetingTimes').val() && $('#greetingTimes').val().split(' ~ ')[1], //结束时间
364
+							keywords: $("#searchKeyWords").val(), // 模糊搜索
365
+							touser: "", // 处理人
366
+							see: $("#searchSee").val(), //	处理专员是否只查看负责区域单子
367
+							source: $("#searchOrderSource").val(), //工单来源
368
+							type: $("#searchOrderType").val(), //工单类型
369
+							pageindex: params.pageNumber, //页码
370
+							pagesize: params.pageSize, //条数
371
+						};
372
+						return param;
373
+					},
374
+                onLoadSuccess: function () {  //加载成功时执行
375
+                    //layer.msg("加载成功");
376
+                    getLoginPersonNow();
377
+                },
378
+                onLoadError: function () {  //加载失败时执行
379
+                    //layer.msg("加载数据失败", { time: 1500, icon: 2 });
380
+                }
381
+            });
382
+        }
383
+    </script>
384
+</body>
385
+</html>

+ 43 - 0
CallCenterWeb.UI/js/WorkOrder/WorkOrderReturn.js

@@ -0,0 +1,43 @@
1
+var id = helper.request.queryString("id");
2
+$(document).ready(function () {
3
+    //保存
4
+    $('.customerSubmit').click(function() {
5
+        saveCustomer();
6
+    });
7
+})
8
+
9
+//保存
10
+function saveCustomer() {
11
+    $.ajax({
12
+        type: "post",
13
+        url: huayi.config.callcenter_url + "WorkOrder/Return",
14
+        dataType: 'json',
15
+        async: true,
16
+        beforeSend: function() { //触发ajax请求开始时执行
17
+            $('.customerSubmit').attr("disabled", true);
18
+            $('.customerSubmit').text('确定中...');
19
+        },
20
+        data: {
21
+            token: $.cookie("token"),
22
+            id: id,
23
+            cont: $('#cont').val(), //提交内容
24
+        },
25
+        success: function(data) {
26
+            if (data.state.toLowerCase() == 'success') {
27
+                $('.customerSubmit').attr("disabled", false);
28
+	            $('.customerSubmit').text('确定');
29
+            	var index = parent.layer.getFrameIndex(window.name); //先得到当前iframe层的索引
30
+				parent.layer.close(index); //再执行关闭
31
+				parent.layer.msg("保存成功!");
32
+//				parent.$('#workorderlist').bootstrapTable('refresh');
33
+//				parent.$('#workorderlist_').bootstrapTable('refresh');
34
+//				parent.$('#orderlist').bootstrapTable('refresh');
35
+				parent.initTable();
36
+            } else {
37
+            	$('.customerSubmit').attr("disabled", false);
38
+	            $('.customerSubmit').text('确定');
39
+            }
40
+        }
41
+    });
42
+
43
+}