Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
work-order-system
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
xueyuanyuan
work-order-system
Commits
4595a821
Commit
4595a821
authored
Jul 27, 2018
by
Jie Feng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add work order detail logic
parent
14b81e0b
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
426 additions
and
457 deletions
+426
-457
index.js
js/index.js
+1
-1
woDetail.js
js/woDetail.js
+132
-186
woDetail.html
woDetail.html
+293
-270
No files found.
js/index.js
View file @
4595a821
...
...
@@ -10,7 +10,7 @@ jQuery(document).ready(function ($) {
woDetail
:
function
(
wo
)
{
console
.
log
(
wo
.
id
);
// 获取工单详情
window
.
location
.
href
=
"/woDetail.html?
wo.
id="
+
wo
.
id
;
window
.
location
.
href
=
"/woDetail.html?id="
+
wo
.
id
;
}
}
})
...
...
js/woDetail.js
View file @
4595a821
jQuery
(
document
).
ready
(
function
(
$
)
{
// 工单列表逻辑
var
orderList
=
new
Vue
({
el
:
'#
order-list
'
,
var
woDetail
=
new
Vue
({
el
:
'#
woDetail
'
,
data
:
{
workOrders
:
[]
callStatus
:
0
,
callRemark
:
''
,
smsStatus
:
0
,
smsRemark
:
''
,
consultStatus
:
0
,
consultRemark
:
''
,
assistStatus
:
0
,
assistRemark
:
''
,
unPleasureStatus
:
0
,
unPleasureEntity
:
0
,
unPleasureDetail
:
''
,
unPleasureDeptName
:
[],
unPleasureSolution
:
''
,
userAdvice
:
''
,
revisitStatus
:
0
,
revisitRemark
:
''
,
consultStates
:
[
{
value
:
0
,
text
:
'请选择'
},
{
value
:
1
,
text
:
'满意'
},
{
value
:
2
,
text
:
'一般'
},
{
value
:
3
,
text
:
'不满意'
}
],
consultStates
:
[
{
value
:
0
,
text
:
'请选择'
},
{
value
:
1
,
text
:
'督导'
},
{
value
:
2
,
text
:
'接通拒听'
},
{
value
:
3
,
text
:
'未接听'
},
{
value
:
4
,
text
:
'未接通拒绝'
},
{
value
:
5
,
text
:
'无法呼出'
},
{
value
:
6
,
text
:
'用户不便'
},
{
value
:
7
,
text
:
'助理添加标签'
}
],
smsStates
:
[
{
value
:
0
,
text
:
'请选择'
},
{
value
:
1
,
text
:
'是'
},
{
value
:
2
,
text
:
'否'
}
],
assistStates
:
[
{
value
:
0
,
text
:
'请选择'
},
{
value
:
1
,
text
:
'满意'
},
{
value
:
2
,
text
:
'一般'
},
{
value
:
3
,
text
:
'不满意'
}
],
revisitStates
:
[
{
value
:
0
,
text
:
'请选择'
},
{
value
:
1
,
text
:
'未回访'
},
{
value
:
2
,
text
:
'推迟回访'
},
{
value
:
3
,
text
:
'不回访'
},
{
value
:
4
,
text
:
'已回访'
},
{
value
:
5
,
text
:
'无法呼出'
},
{
value
:
6
,
text
:
'用户不便'
},
{
value
:
7
,
text
:
'助理添加标签'
}
],
unpleasureEntities
:
[
{
value
:
0
,
text
:
'请选择'
},
{
value
:
1
,
text
:
'咨询师'
},
{
value
:
2
,
text
:
'接通拒听'
},
{
value
:
3
,
text
:
'未接听'
},
{
value
:
4
,
text
:
'未接通拒绝'
},
{
value
:
5
,
text
:
'无法呼出'
},
{
value
:
6
,
text
:
'用户不便'
},
{
value
:
7
,
text
:
'助理添加标签'
}
],
unpleasureStates
:[
{
value
:
0
,
text
:
'请选择'
},
{
value
:
1
,
text
:
'未处理'
},
{
value
:
2
,
text
:
'处理中'
},
{
value
:
3
,
text
:
'已处理'
}
]
},
methods
:
{
woDetail
:
function
(
wo
)
{
console
.
log
(
wo
.
id
);
// 获取工单详情
saveWODetail
:
function
()
{
var
url
=
"/work/wo/saveDetail"
;
var
urlParams
=
new
URLSearchParams
(
window
.
location
.
search
);
var
woId
=
urlParams
.
get
(
'id'
);
var
data
=
JSON
.
stringify
(
{
"id"
:
wo
.
id
,
"woStatus"
:
wo
.
woStatus
,
"woType"
:
wo
.
woType
,
"woProcessUid"
:
1
"assistRemark"
:
woDetail
.
assistRemark
,
"assistStatus"
:
woDetail
.
assistStatus
,
"callRemark"
:
woDetail
.
callRemark
,
"callStatus"
:
woDetail
.
callStatus
,
"consultRemark"
:
woDetail
.
consultRemark
,
"consultStatus"
:
woDetail
.
consultStatus
,
"customerName"
:
woDetail
.
customerName
,
"customerUid"
:
woDetail
.
customerUid
,
"doctorName"
:
woDetail
.
doctorName
,
"doctorUid"
:
woDetail
.
doctorUid
,
"orderNum"
:
woDetail
.
orderNum
,
"phoneNum"
:
woDetail
.
phoneNum
,
"processName"
:
woDetail
.
processName
,
"processUid"
:
woDetail
.
processUid
,
"revisitRemark"
:
woDetail
.
revisitRemark
,
"revisitStatus"
:
woDetail
.
revisitStatus
,
"smsRemark"
:
woDetail
.
smsRemark
,
"smsStatus"
:
woDetail
.
smsStatus
,
"unpleasureDeptName"
:
woDetail
.
unpleasureDeptName
,
"unpleasureDetail"
:
woDetail
.
unpleasureDetail
,
"unpleasureEntity"
:
woDetail
.
unpleasureEntity
,
"unpleasureSolution"
:
woDetail
.
unpleasureSolution
,
"unpleasureStatus"
:
woDetail
.
unpleasureStatus
,
"userAdvice"
:
woDetail
.
userAdvice
,
"woId"
:
woId
}
);
console
.
log
(
data
);
$
.
ajax
({
url
:
url
,
dataType
:
"json"
,
...
...
@@ -26,203 +118,57 @@ jQuery(document).ready(function ($) {
contentType
:
"application/json; charset=utf-8"
,
success
:
function
(
res
)
{
console
.
log
(
res
);
orderList
.
workOrders
=
res
.
data
.
list
;
// 计算页数
if
(
Math
.
round
(
res
.
data
.
total
%
res
.
data
.
size
)
==
0
)
{
pager
.
totalPage
=
Math
.
round
(
res
.
data
.
total
/
res
.
data
.
size
);
}
else
{
console
.
log
(
res
.
data
.
total
/
res
.
data
.
size
);
pager
.
totalPage
=
Math
.
round
(
res
.
data
.
total
/
res
.
data
.
size
)
+
1
;
}
},
fail
:
function
(
msg
)
{
console
.
log
(
msg
);
window
.
location
.
href
=
'/index.html'
}
});
}
}
})
function
initLoadWO
()
{
var
url
=
"/work/wo/list?page=1&limit=10"
;
var
data
=
JSON
.
stringify
({
"woStatus"
:
0
,
"woType"
:
"revisit"
,
"woProcessUid"
:
1
});
function
initDetail
()
{
var
urlParams
=
new
URLSearchParams
(
window
.
location
.
search
);
var
woId
=
urlParams
.
get
(
'id'
);
console
.
log
(
urlParams
.
get
(
'id'
));
var
data
=
JSON
.
stringify
(
{
"woId"
:
woId
,
"processUid"
:
1
}
);
$
.
ajax
({
url
:
url
,
url
:
'/work/wo/detail'
,
dataType
:
"json"
,
data
:
data
,
type
:
'post'
,
contentType
:
"application/json; charset=utf-8"
,
success
:
function
(
res
)
{
console
.
log
(
res
);
orderList
.
workOrders
=
res
.
data
.
list
;
numCount
.
message
=
res
.
data
.
total
;
// 计算页数
if
(
Math
.
round
(
res
.
data
.
total
%
res
.
data
.
size
)
==
0
)
{
pager
.
totalPage
=
Math
.
round
(
res
.
data
.
total
/
res
.
data
.
size
);
}
else
{
console
.
log
(
res
.
data
.
total
/
res
.
data
.
size
);
pager
.
totalPage
=
Math
.
round
(
res
.
data
.
total
/
res
.
data
.
size
)
+
1
;
}
}
});
}
var
host
=
"http://localhost:8083"
;
// 初始化加载回访工单列表
initLoadWO
();
// 员工工作状态逻辑
var
workStatus
=
new
Vue
({
el
:
'#workStatus'
,
selected
:
{},
methods
:
{
updateWOStatus
:
function
(
val
)
{
console
.
log
(
'updateWOStatus:'
+
val
.
target
.
value
);
var
url
=
"/work/ws/update"
;
var
data
=
JSON
.
stringify
({
"woStatus"
:
val
.
target
.
value
,
"statusDisplay"
:
""
,
"userId"
:
1
});
$
.
ajax
({
url
:
url
,
dataType
:
"json"
,
data
:
data
,
type
:
'post'
,
contentType
:
"application/json; charset=utf-8"
,
success
:
function
(
res
)
{
console
.
log
(
res
);
console
.
log
(
"用户状态修改成功!"
);
}
});
var
data
=
JSON
.
stringify
(
{
"fieldValue"
:
woId
,
"processUid"
:
1
,
"tableName"
:
'wo_revisit_detail'
}
},
data
:
{
woStates
:
[
{
value
:
0
,
text
:
'空闲中'
},
{
value
:
1
,
text
:
'下班'
},
{
value
:
2
,
text
:
'挂起'
},
{
value
:
3
,
text
:
'接待中'
},
{
value
:
4
,
text
:
'会议中'
},
{
value
:
5
,
text
:
'午饭中'
}
]
}
})
);
$
.
ajax
({
url
:
'/work/auditTrace/list'
,
dataType
:
"json"
,
data
:
data
,
type
:
'post'
,
contentType
:
"application/json; charset=utf-8"
,
success
:
function
(
res
)
{
console
.
log
(
res
);
// 数据提示条
var
numCount
=
new
Vue
({
el
:
'#numCount'
,
data
:
{
message
:
"100"
}
})
// 页面分页按钮逻辑
var
pager
=
new
Vue
({
el
:
'#pager'
,
data
:
{
curPage
:
1
,
totalPage
:
1
},
methods
:
{
prePage
:
function
()
{
if
(
this
.
curPage
-
1
<
1
)
{
return
;
}
else
{
this
.
curPage
=
this
.
curPage
-
1
;
}
},
nextPage
:
function
()
{
if
(
this
.
curPage
+
1
>
this
.
totalPage
)
{
return
;
}
else
{
this
.
curPage
=
this
.
curPage
+
1
;
}
}
}
})
// 工单状态选择Tab逻辑
var
url
=
"/work/wo/list?page=1&limit=10"
;
var
statusTab
=
new
Vue
({
el
:
'#statusTab'
,
methods
:
{
unprocessed
:
function
()
{
var
data
=
JSON
.
stringify
(
{
"woStatus"
:
0
,
"woType"
:
"revisit"
,
"woProcessUid"
:
1
}
);
$
.
ajax
({
url
:
url
,
dataType
:
"json"
,
data
:
data
,
type
:
'post'
,
contentType
:
"application/json; charset=utf-8"
,
success
:
function
(
res
)
{
console
.
log
(
res
);
orderList
.
workOrders
=
res
.
data
.
list
;
// 计算页数
if
(
res
.
data
.
total
%
res
.
data
.
size
==
0
)
{
pager
.
totalPage
=
Math
.
round
(
res
.
data
.
total
/
res
.
data
.
size
);
}
else
{
console
.
log
(
res
.
data
.
total
/
res
.
data
.
size
);
pager
.
totalPage
=
Math
.
round
(
res
.
data
.
total
/
res
.
data
.
size
)
+
1
;
}
},
fail
:
function
(
msg
)
{
console
.
log
(
"Error happened, Please contact Administrator. "
+
msg
);
}
});
},
processed
:
function
()
{
var
data
=
JSON
.
stringify
(
{
"woStatus"
:
1
,
"woType"
:
"revisit"
,
"woProcessUid"
:
1
}
);
$
.
ajax
({
url
:
url
,
dataType
:
"json"
,
data
:
data
,
type
:
'post'
,
contentType
:
"application/json; charset=utf-8"
,
success
:
function
(
res
)
{
console
.
log
(
res
);
orderList
.
workOrders
=
res
.
data
.
list
;
// 计算页数
if
(
Math
.
round
(
res
.
data
.
total
%
res
.
data
.
size
)
==
0
)
{
pager
.
totalPage
=
Math
.
round
(
res
.
data
.
total
/
res
.
data
.
size
);
}
else
{
console
.
log
(
res
.
data
.
total
/
res
.
data
.
size
);
pager
.
totalPage
=
Math
.
round
(
res
.
data
.
total
/
res
.
data
.
size
)
+
1
;
}
},
fail
:
function
(
msg
)
{
console
.
log
(
msg
);
});
}
}
});
}
}
})
initDetail
();
// 将回访工单列表做页面渲染
console
.
log
(
'Finished.'
);
});
woDetail.html
View file @
4595a821
<!DOCTYPE html>
<html
lang=
"en"
>
<html
lang=
"en"
xmlns:v-on=
"http://www.w3.org/1999/xhtml"
xmlns:v-bind=
"http://www.w3.org/1999/xhtml"
>
<head>
<meta
charset=
"UTF-8"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1.0"
>
<meta
http-equiv=
"X-UA-Compatible"
content=
"ie=edge"
>
<title>
回访工单
</title>
<!-- Bootstrap 核心 CSS 文件 -->
<link
rel=
"stylesheet"
href=
"https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css"
integrity=
"sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u"
crossorigin=
"anonymous"
>
<link
rel=
"stylesheet"
href=
"https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css"
integrity=
"sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u"
crossorigin=
"anonymous"
>
<link
rel=
"stylesheet"
href=
"https://cdn.bootcss.com/font-awesome/4.7.0/css/font-awesome.min.css"
>
<link
rel=
"stylesheet"
href=
"./css/return-order-index.css"
>
<link
rel=
"stylesheet"
href=
"./css/return-order-type.css"
>
<script
src=
"./js/jquery.min.js"
></script>
<script
src=
"./js/jquery-1.11.2.min.js"
></script>
<script
src=
"https://cdn.jsdelivr.net/npm/vue/dist/vue.js"
></script>
<script
src=
"./js/woDetail.js"
></script>
<script
src=
"https://cdn.bootcss.com/bootstrap/3.3.7/js/bootstrap.min.js"
integrity=
"sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa"
crossorigin=
"anonymous"
></script>
<script
src=
"https://cdn.bootcss.com/bootstrap/3.3.7/js/bootstrap.min.js"
integrity=
"sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa"
crossorigin=
"anonymous"
></script>
</head>
<body>
<!-- 头部 -->
<header>
<div
class=
"container-fluid"
>
<div
class=
"row"
>
<div
class=
"col-xs-4 col-sm-4 col-md-3"
>
<a
href=
"#"
class=
"home"
><i
class=
"fa fa-home"
aria-hidden=
"true"
></i>
YiDianLing.com
</a>
</div>
<div
class=
"col-xs-8 col-sm-8 col-md-9"
>
<div
class=
"row"
>
<div
class=
"col-sm-2 col-md-2 col-lg-5"
>
<a
href=
"#"
class=
"bar"
><i
class=
"fa fa-bars"
aria-hidden=
"true"
></i></a>
</div>
<div
class=
"col-sm-10 col-md-10 col-lg-7 info"
>
<a
href=
"#"
>
即将回收的客户
<i
class=
"circle"
>
5
</i></a>
<!--<a href="#"><i class="fa fa-upload" aria-hidden="true"></i>上传</a>
<a href="#"><i class="fa fa-upload" aria-hidden="true"></i>备用上传</a>
<a href="#"><i class="fa fa-upload" aria-hidden="true"></i>海外收款</a>-->
<a
href=
"#"
class=
"user-img"
><img
src=
"./images/avatar.jpg"
alt=
""
>
admin
</a>
</div>
<!-- 头部 -->
<header>
<div
class=
"container-fluid"
>
<div
class=
"row"
>
<div
class=
"col-xs-4 col-sm-4 col-md-3"
>
<a
href=
"#"
class=
"home"
><i
class=
"fa fa-home"
aria-hidden=
"true"
></i>
YiDianLing.com
</a>
</div>
<div
class=
"col-xs-8 col-sm-8 col-md-9"
>
<div
class=
"row"
>
<div
class=
"col-sm-2 col-md-2 col-lg-5"
>
<a
href=
"#"
class=
"bar"
><i
class=
"fa fa-bars"
aria-hidden=
"true"
></i></a>
</div>
<div
class=
"col-sm-10 col-md-10 col-lg-7 info"
>
<a
href=
"#"
>
即将回收的客户
<i
class=
"circle"
>
5
</i></a>
<!--<a href="#"><i class="fa fa-upload" aria-hidden="true"></i>上传</a>
<a href="#"><i class="fa fa-upload" aria-hidden="true"></i>备用上传</a>
<a href="#"><i class="fa fa-upload" aria-hidden="true"></i>海外收款</a>-->
<a
href=
"#"
class=
"user-img"
><img
src=
"./images/avatar.jpg"
alt=
""
>
admin
</a>
</div>
</div>
</div>
</div>
</header>
<!-- 主体部分 -->
<div
class=
"main"
>
<div
class=
"container-fluid main-container"
>
<div
class=
"row"
>
<!-- 左侧边栏 -->
<div
class=
"col-xs-6 col-sm-4 col-md-2 aside"
>
<div
class=
"panel-group"
id=
"accordion"
role=
"tablist"
aria-multiselectable=
"true"
>
<div
class=
"panel panel-default"
>
<div
class=
"panel-heading"
role=
"tab"
id=
"headingOne"
>
<h4
class=
"panel-title"
>
<a
role=
"button"
data-toggle=
"collapse"
data-parent=
"#accordion"
href=
"#collapseOne"
aria-expanded=
"true"
aria-controls=
"collapseOne"
>
<i
class=
"fa fa-user"
aria-hidden=
"true"
></i><span>
</div>
</div>
</header>
<!-- 主体部分 -->
<div
class=
"main"
id=
"app"
>
<!--<div v-for="item in abc">{{item}}</div>-->
<!--<select name="on-state" v-for="(item,index) in abc">-->
<!--<option :value='index'> {{item}}-->
<!--</option>-->
<!--</select>-->
<div
class=
"container-fluid main-container"
>
<div
class=
"row"
>
<!-- 左侧边栏 -->
<div
class=
"col-xs-6 col-sm-4 col-md-2 aside"
>
<div
class=
"panel-group"
id=
"accordion"
role=
"tablist"
aria-multiselectable=
"true"
>
<div
class=
"panel panel-default"
>
<div
class=
"panel-heading"
role=
"tab"
id=
"headingOne"
>
<h4
class=
"panel-title"
>
<a
role=
"button"
data-toggle=
"collapse"
data-parent=
"#accordion"
href=
"#collapseOne"
aria-expanded=
"true"
aria-controls=
"collapseOne"
>
<i
class=
"fa fa-user"
aria-hidden=
"true"
></i><span>
用户
</span>
<i
class=
"fa fa-angle-left right"
aria-hidden=
"true"
></i>
</a>
</h4>
</div>
<div
id=
"collapseOne"
class=
"panel-collapse collapse"
role=
"tabpanel"
aria-labelledby=
"headingOne"
>
<div
class=
"panel-body"
>
<!--<a href="#">我的工作台</a>
<a href="#">我的工作台</a>
<a href="#">我的工作台</a>
<a href="#">我的工作台</a>
<a href="#">我的工作台</a>-->
</div>
</div>
</div>
<div
class=
"panel panel-default"
>
<div
class=
"panel-heading"
role=
"tab"
id=
"headingTwo"
>
<h4
class=
"panel-title"
>
<a
class=
"collapsed"
role=
"button"
data-toggle=
"collapse"
data-parent=
"#accordion"
href=
"#collapseTwo"
aria-expanded=
"false"
aria-controls=
"collapseTwo"
>
<i
class=
"fa fa-diamond"
aria-hidden=
"true"
></i>
业务
<i
class=
"fa fa-angle-left right"
aria-hidden=
"true"
></i>
</a>
</h4>
</div>
<div
id=
"collapseTwo"
class=
"panel-collapse collapse"
role=
"tabpanel"
aria-labelledby=
"headingTwo"
>
<div
class=
"panel-body"
>
<!--<a href="#">我的工作台</a>
<a href="#">我的工作台</a>
<a href="#">我的工作台</a>
<a href="#">我的工作台</a>
<a href="#">我的工作台</a>-->
</div>
</div>
</div>
<div
class=
"panel panel-default"
>
<div
class=
"panel-heading"
role=
"tab"
id=
"headingThree"
>
<h4
class=
"panel-title"
>
<a
class=
"collapsed"
role=
"button"
data-toggle=
"collapse"
data-parent=
"#accordion"
href=
"#collapseThree"
aria-expanded=
"false"
aria-controls=
"collapseThree"
>
<i
class=
"fa fa-user-secret"
aria-hidden=
"true"
></i>
专家
<i
class=
"fa fa-angle-left right"
aria-hidden=
"true"
></i>
</a>
</h4>
</div>
<div
id=
"collapseThree"
class=
"panel-collapse collapse"
role=
"tabpanel"
aria-labelledby=
"headingThree"
>
<div
class=
"panel-body"
>
<!--<a href="#">我的工作台</a>
<a href="#">我的工作台</a>
<a href="#">我的工作台</a>
<a href="#">我的工作台</a>
<a href="#">我的工作台</a>-->
</div>
</div>
</div>
<div
class=
"panel panel-default"
>
<div
class=
"panel-heading"
role=
"tab"
id=
"headingFour"
>
<h4
class=
"panel-title"
>
<a
class=
"collapsed"
role=
"button"
data-toggle=
"collapse"
data-parent=
"#accordion"
href=
"#collapseFour"
aria-expanded=
"false"
aria-controls=
"collapseFour"
>
<i
class=
"fa fa-bar-chart"
aria-hidden=
"true"
></i>
市场运营
<i
class=
"fa fa-angle-left right"
aria-hidden=
"true"
></i>
</a>
</h4>
</div>
<div
id=
"collapseFour"
class=
"panel-collapse collapse"
role=
"tabpanel"
aria-labelledby=
"headingFour"
>
<div
class=
"panel-body"
>
<!--<a href="#">我的工作台</a>
<a href="#">我的工作台</a>
<a href="#">我的工作台</a>
<a href="#">我的工作台</a>
<a href="#">我的工作台</a>-->
</div>
</div>
</div>
<div
class=
"panel panel-default"
>
<div
class=
"panel-heading"
role=
"tab"
id=
"headingFive"
>
<h4
class=
"panel-title"
>
<a
class=
"collapsed"
role=
"button"
data-toggle=
"collapse"
data-parent=
"#accordion"
href=
"#collapseFive"
aria-expanded=
"false"
aria-controls=
"collapseFive"
>
<i
class=
"fa fa-bookmark"
aria-hidden=
"true"
></i>
工单管理
<i
class=
"fa fa-angle-left right"
aria-hidden=
"true"
></i>
</a>
</h4>
</div>
<div
id=
"collapseFive"
class=
"panel-collapse collapse in"
role=
"tabpanel"
aria-labelledby=
"headingFive"
>
<div
class=
"panel-body"
>
<a
href=
"/index.html"
>
我的工作台
</a>
<a
href=
"/sysWoConfig.html"
>
系统工单规则配置
</a>
</div>
</div>
</div>
<i
class=
"fa fa-angle-left right"
aria-hidden=
"true"
></i>
</a>
</h4>
</div>
<div
id=
"collapseOne"
class=
"panel-collapse collapse"
role=
"tabpanel"
aria-labelledby=
"headingOne"
>
<div
class=
"panel-body"
>
<!--<a href="#">我的工作台</a>
<a href="#">我的工作台</a>
<a href="#">我的工作台</a>
<a href="#">我的工作台</a>
<a href="#">我的工作台</a>-->
</div>
</div>
</div>
<div
class=
"col-xs-6 col-sm-8 col-md-10 digital-container type-container"
>
<div
class=
"breadcell"
>
<a
href=
"#"
>
首页
</a><span>
/
</span><a
href=
"#"
>
回访订单列表
</a>
</div>
<h4
class=
"particulars"
>
回访记录
</h4>
<div
class=
"subnav"
>
<p>
订单号:
<span
class=
"colorspan"
>
921348348925429
</span></p>
<p>
咨询师:
<span
class=
"colorspan"
>
蓝奥
</span></p>
<p>
手机号:
<a
class=
"phone"
>
查看手机号
</a></p>
<p>
接受客服:
<span>
范丽娜
</span></p>
<p>
回访人员(已分配):
<span>
范丽娜
</span></p>
</div>
<div
class=
"particulars"
>
<span
class=
"bg"
></span>
<div
class=
"title"
>
<span>
接通状态:
</span>
<select
name=
"on-state"
>
<option
value=
""
>
请选择
</option>
<option
value=
""
>
接通状态
</option>
</select>
</div>
<div
class=
"beizhu"
>
<span>
备
注:
</span><textarea
name=
"beizhu"
id=
""
cols=
"150"
rows=
"2"
></textarea>
</div>
<div
class=
"panel panel-default"
>
<div
class=
"panel-heading"
role=
"tab"
id=
"headingTwo"
>
<h4
class=
"panel-title"
>
<a
class=
"collapsed"
role=
"button"
data-toggle=
"collapse"
data-parent=
"#accordion"
href=
"#collapseTwo"
aria-expanded=
"false"
aria-controls=
"collapseTwo"
>
<i
class=
"fa fa-diamond"
aria-hidden=
"true"
></i>
业务
<i
class=
"fa fa-angle-left right"
aria-hidden=
"true"
></i>
</a>
</h4>
</div>
<div
id=
"collapseTwo"
class=
"panel-collapse collapse"
role=
"tabpanel"
aria-labelledby=
"headingTwo"
>
<div
class=
"panel-body"
>
<!--<a href="#">我的工作台</a>
<a href="#">我的工作台</a>
<a href="#">我的工作台</a>
<a href="#">我的工作台</a>
<a href="#">我的工作台</a>-->
</div>
</div>
</div>
<div
class=
"particulars"
>
<span
class=
"bg"
></span>
<div
class=
"title"
>
<span>
短信发送:
</span>
<select
name=
"on-state"
>
<option
value=
""
>
请选择
</option>
<option
value=
""
>
短信发送
</option>
</select>
<div
class=
"panel panel-default"
>
<div
class=
"panel-heading"
role=
"tab"
id=
"headingThree"
>
<h4
class=
"panel-title"
>
<a
class=
"collapsed"
role=
"button"
data-toggle=
"collapse"
data-parent=
"#accordion"
href=
"#collapseThree"
aria-expanded=
"false"
aria-controls=
"collapseThree"
>
<i
class=
"fa fa-user-secret"
aria-hidden=
"true"
></i>
专家
<i
class=
"fa fa-angle-left right"
aria-hidden=
"true"
></i>
</a>
</h4>
</div>
<div
class=
"beizhu"
>
<span>
备
注:
</span><textarea
name=
"beizhu"
id=
""
cols=
"150"
rows=
"2"
></textarea>
<div
id=
"collapseThree"
class=
"panel-collapse collapse"
role=
"tabpanel"
aria-labelledby=
"headingThree"
>
<div
class=
"panel-body"
>
<!--<a href="#">我的工作台</a>
<a href="#">我的工作台</a>
<a href="#">我的工作台</a>
<a href="#">我的工作台</a>
<a href="#">我的工作台</a>-->
</div>
</div>
</div>
<div
class=
"particulars"
>
<span
class=
"bg"
></span>
<div
class=
"title"
>
<span>
咨询效果:
</span>
<select
name=
"on-state"
>
<option
value=
""
>
请选择
</option>
<option
value=
""
>
咨询效果
</option>
</select>
</div>
<div
class=
"beizhu"
>
<span>
理
由:
</span><textarea
name=
"beizhu"
id=
""
cols=
"150"
rows=
"2"
></textarea>
</div>
<div
class=
"panel panel-default"
>
<div
class=
"panel-heading"
role=
"tab"
id=
"headingFour"
>
<h4
class=
"panel-title"
>
<a
class=
"collapsed"
role=
"button"
data-toggle=
"collapse"
data-parent=
"#accordion"
href=
"#collapseFour"
aria-expanded=
"false"
aria-controls=
"collapseFour"
>
<i
class=
"fa fa-bar-chart"
aria-hidden=
"true"
></i>
市场运营
<i
class=
"fa fa-angle-left right"
aria-hidden=
"true"
></i>
</a>
</h4>
</div>
<div
id=
"collapseFour"
class=
"panel-collapse collapse"
role=
"tabpanel"
aria-labelledby=
"headingFour"
>
<div
class=
"panel-body"
>
<!--<a href="#">我的工作台</a>
<a href="#">我的工作台</a>
<a href="#">我的工作台</a>
<a href="#">我的工作台</a>
<a href="#">我的工作台</a>-->
</div>
</div>
</div>
<div
class=
"particulars"
>
<span
class=
"bg"
></span>
<div
class=
"title"
>
<span>
助理服务:
</span>
<select
name=
"on-state"
>
<option
value=
""
>
请选择
</option>
<option
value=
""
>
咨询效果
</option>
</select>
<div
class=
"panel panel-default"
>
<div
class=
"panel-heading"
role=
"tab"
id=
"headingFive"
>
<h4
class=
"panel-title"
>
<a
class=
"collapsed"
role=
"button"
data-toggle=
"collapse"
data-parent=
"#accordion"
href=
"#collapseFive"
aria-expanded=
"false"
aria-controls=
"collapseFive"
>
<i
class=
"fa fa-bookmark"
aria-hidden=
"true"
></i>
工单管理
<i
class=
"fa fa-angle-left right"
aria-hidden=
"true"
></i>
</a>
</h4>
</div>
<div
class=
"beizhu"
>
<span>
理
由:
</span><textarea
name=
"beizhu"
id=
""
cols=
"150"
rows=
"2"
></textarea>
<div
id=
"collapseFive"
class=
"panel-collapse collapse in"
role=
"tabpanel"
aria-labelledby=
"headingFive"
>
<div
class=
"panel-body"
>
<a
href=
"/index.html"
>
我的工作台
</a>
<a
href=
"/sysWoConfig.html"
>
系统工单规则配置
</a>
</div>
</div>
</div>
<div
class=
"particulars"
>
<span
class=
"bg"
></span>
<div
class=
"title"
>
</div>
</div>
</div>
<div
class=
"col-xs-6 col-sm-8 col-md-10 digital-container type-container"
id=
"woDetail"
>
<div
class=
"breadcell"
>
<a
href=
"#"
>
首页
</a><span>
/
</span><a
href=
"#"
>
回访订单列表
</a>
</div>
<h4
class=
"particulars"
>
回访记录
</h4>
<div
class=
"subnav"
>
<p>
订单号:
<span
class=
"colorspan"
>
921348348925429
</span></p>
<p>
咨询师:
<span
class=
"colorspan"
>
蓝奥
</span></p>
<p>
手机号:
<a
class=
"phone"
>
查看手机号
</a></p>
<p>
接受客服:
<span>
范丽娜
</span></p>
<p>
回访人员(已分配):
<span>
范丽娜
</span></p>
</div>
<div
class=
"particulars"
>
<span
class=
"bg"
></span>
<div
class=
"title"
>
<span>
接通状态:
</span>
<select
v-model=
"callStatus"
>
<option
v-for=
"(item,index) in consultStates"
:value=
'index'
>
{{item.text}}
</option>
</select>
</div>
<div
class=
"beizhu"
>
<span>
备
注:
</span><textarea
name=
"beizhu"
id=
"1231"
cols=
"150"
rows=
"2"
></textarea>
</div>
</div>
<div
class=
"particulars"
>
<span
class=
"bg"
></span>
<div
class=
"title"
>
<span>
短信发送:
</span>
<select
name=
"on-state"
v-model=
"smsStatus"
>
<option
v-for=
"(item,index) in smsStates"
:value=
'index'
>
{{item.text}}
</option>
</select>
</div>
<div
class=
"beizhu"
>
<span>
备
注:
</span><textarea
name=
"beizhu"
id=
"123ff"
cols=
"150"
rows=
"2"
></textarea>
</div>
</div>
<div
class=
"particulars"
>
<span
class=
"bg"
></span>
<div
class=
"title"
>
<span>
咨询效果:
</span>
<select
name=
"on-state"
v-model=
"consultStatus"
>
<option
v-for=
"(item,index) in consultStates"
:value=
'index'
>
{{item.text}}
</option>
</select>
</div>
<div
class=
"beizhu"
>
<span>
理
由:
</span><textarea
name=
"beizhu"
cols=
"150"
rows=
"2"
></textarea>
</div>
</div>
<div
class=
"particulars"
>
<span
class=
"bg"
></span>
<div
class=
"title"
>
<span>
助理服务:
</span>
<select
name=
"on-state"
>
<option
value=
""
>
请选择
</option>
<option
value=
""
>
咨询效果
</option>
<select
name=
"on-state"
v-model=
"assistStatus"
>
<option
v-for=
"(item,index) in assistStates"
:value=
'index'
>
{{item.text}}
</option>
</select>
</div>
<div
class=
"beizhu"
>
<span>
理
由:
</span><textarea
name=
"beizhu"
id=
""
cols=
"150"
rows=
"2"
></textarea>
</div>
</div>
<div
class=
"beizhu"
>
<span>
理
由:
</span><textarea
name=
"beizhu"
id=
"xvasfd1"
cols=
"150"
rows=
"2"
></textarea>
</div>
</div>
<div
class=
"particulars"
>
<div
class=
"pink"
>
<span
class=
"bg"
></span>
<div
class=
"title"
>
<span>
处理状态:
</span>
<select
name=
"on-state"
>
<option
value=
""
>
请选择
</option>
<option
value=
""
>
短信发送
</option>
</select>
<span>
处理状态:
</span>
<select
name=
"on-state"
v-model=
"unPleasureStatus"
>
<option
v-for=
"(item,index) in unpleasureStates"
:value=
'index'
>
{{item.text}}
</select>
</div>
<div
class=
"beizhu"
>
<span>
不满意内容:
</span><textarea
name=
"beizhu"
id=
"
"
cols=
"150"
rows=
"2"
></textarea>
<span>
不满意内容:
</span><textarea
name=
"beizhu"
id=
"asfasdf
"
cols=
"150"
rows=
"2"
></textarea>
</div>
</div>
</div>
...
...
@@ -237,98 +258,99 @@
<div
class=
"pink"
>
<span
class=
"bg"
></span>
<div
class=
"title"
>
<span>
不满意对象:
</span>
<select
name=
"on-state"
>
<option
value=
""
>
请选择
</option>
<option
value=
""
>
咨询效果
</option>
</select>
<input
type=
"text"
>
<span>
不满意对象:
</span>
<select
name=
"on-state"
v-model=
"unPleasureEntity"
>
<option
v-for=
"(item,index) in unpleasureEntities"
:value=
'index'
>
{{item.text}}
</select>
<input
type=
"text"
>
</div>
<div
class=
"title"
>
<span>
归属部门:
</span>
<div
class=
"checkbox"
>
<label
class=
"checkbox-inline"
>
<input
type=
"checkbox"
v
alue=
"option1
"
>
心暖
</label>
<label
class=
"checkbox-inline"
>
<input
type=
"checkbox"
v
alue=
"option2
"
>
好柿
</label>
<label
class=
"checkbox-inline"
>
<input
type=
"checkbox"
v
alue=
"option3
"
>
心期天旗舰店
</label>
<label
class=
"checkbox-inline"
>
<input
type=
"checkbox"
value=
"option4
"
>
壹点灵旗舰店
</label>
<label
class=
"checkbox-inline"
>
<input
type=
"checkbox"
value=
"option5
"
>
师资部
</label>
<label
class=
"checkbox-inline"
>
<input
type=
"checkbox"
value=
"option6
"
>
客服中心
</label>
<label
class=
"checkbox-inline"
>
<input
type=
"checkbox"
value=
"option7
"
>
产品部
</label>
<label
class=
"checkbox-inline"
>
<input
type=
"checkbox"
value=
"option8
"
>
技术部
</label>
<label
class=
"checkbox-inline"
>
<input
type=
"checkbox"
value=
"option9
"
>
财务部
</label>
<input
type=
"checkbox"
v
-model=
"unPleasureDeptName"
value=
'0'
id=
"xn
"
>
心暖
</label>
<label
class=
"checkbox-inline"
>
<input
type=
"checkbox"
v
-model=
"unPleasureDeptName"
value=
'1'
id=
"hs
"
>
好柿
</label>
<label
class=
"checkbox-inline"
>
<input
type=
"checkbox"
v
-model=
"unPleasureDeptName"
value=
'2'
id=
"xqtqjd
"
>
心期天旗舰店
</label>
<label
class=
"checkbox-inline"
>
<input
type=
"checkbox"
v-model=
"unPleasureDeptName"
value=
'3'
id=
"ydlqjd
"
>
壹点灵旗舰店
</label>
<label
class=
"checkbox-inline"
>
<input
type=
"checkbox"
v-model=
"unPleasureDeptName"
value=
'3'
id=
"szb
"
>
师资部
</label>
<label
class=
"checkbox-inline"
>
<input
type=
"checkbox"
v-model=
"unPleasureDeptName"
value=
'4'
id=
"kfzx
"
>
客服中心
</label>
<label
class=
"checkbox-inline"
>
<input
type=
"checkbox"
v-model=
"unPleasureDeptName"
value=
'5'
id=
"cpb
"
>
产品部
</label>
<label
class=
"checkbox-inline"
>
<input
type=
"checkbox"
v-model=
"unPleasureDeptName"
value=
'6'
id=
"jsb
"
>
技术部
</label>
<label
class=
"checkbox-inline"
>
<input
type=
"checkbox"
v-model=
"unPleasureDeptName"
value=
'7'
id=
"cwb
"
>
财务部
</label>
</div>
</div>
</div>
<div
class=
"beizhu"
>
<span>
处理方案:
</span><textarea
name=
"beizhu"
id=
""
cols=
"150"
rows=
"2
"
></textarea>
<span>
处理方案:
</span><textarea
name=
"beizhu"
cols=
"150"
rows=
"2"
v-model=
"unPleasureSolution
"
></textarea>
</div>
</div>
</div>
<div
class=
"particulars"
>
<span
class=
"bg"
></span>
<div
class=
"beizhu"
>
<span>
用户建议:
</span><textarea
name=
"beizhu"
id=
""
cols=
"150"
rows=
"2"
></textarea>
<span>
用户建议:
</span><textarea
name=
"beizhu"
cols=
"150"
rows=
"2"
></textarea>
</div>
</div>
<div
class=
"particulars"
>
<span
class=
"bg"
></span>
<div
class=
"title"
>
<span>
回访状态:
</span>
<select
name=
"on-state"
>
<option
value=
""
>
未回访
</option>
<option
value=
""
>
回访
</option>
</select>
</div>
<div
class=
"beizhu"
>
<span>
备
注:
</span><textarea
name=
"beizhu"
id=
""
cols=
"150"
rows=
"2"
></textarea>
</div>
</div>
<button
type=
"button"
class=
"btn btn-primary"
>
处理完成
</button>
<!-- 操作记录 -->
<div
class=
"operation-record particulars"
>
<h4>
操作记录
</h4>
<table
class=
"table"
>
<thead>
<tr>
<th>
时间
</th>
<th>
操作人
</th>
<th>
操作类型
</th>
<th>
操作内容
</th>
</tr>
</thead>
<tbody>
<tr>
<td
scope=
"row"
>
2018-06-23 13:42:23
</td>
<td>
王丽品
</td>
<td>
分配
</td>
<td>
分配订单,回访人员改成:范丽娜
</td>
</tr>
</tbody>
</table>
</div>
<div
class=
"particulars"
>
<span
class=
"bg"
></span>
<div
class=
"title"
>
<span>
回访状态:
</span>
<select
name=
"on-state"
v-model=
"revisitStatus"
>
<option
v-for=
"(item,index) in revisitStates"
:value=
"index"
>
{{item.text}}
</option>
</select>
</div>
<div
class=
"beizhu"
>
<span>
备
注:
</span><textarea
name=
"beizhu"
v-model=
"revisitRemark"
cols=
"150"
rows=
"2"
></textarea>
</div>
</div>
<button
type=
"button"
class=
"btn btn-primary"
@
click=
"saveWODetail"
>
处理完成
</button>
<!-- 操作记录 -->
<div
class=
"operation-record particulars"
>
<h4>
操作记录
</h4>
<table
class=
"table"
>
<thead>
<tr>
<th>
时间
</th>
<th>
操作人
</th>
<th>
操作类型
</th>
<th>
操作内容
</th>
</tr>
</thead>
<tbody>
<tr>
<td
scope=
"row"
>
2018-06-23 13:42:23
</td>
<td>
王丽品
</td>
<td>
分配
</td>
<td>
分配订单,回访人员改成:范丽娜
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
<script>
$
(
'.bar'
).
click
(
function
(){
</div>
<script>
$
(
document
).
ready
(
function
()
{
$
(
'.bar'
).
click
(
function
()
{
$
(
'.aside'
).
toggleClass
(
'visible'
);
$
(
'.digital-container'
).
toggleClass
(
'width'
);
})
...
...
@@ -337,6 +359,7 @@
e
.
preventDefault
()
$
(
this
).
tab
(
'show'
)
})
</script>
});
</script>
</body>
</html>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment