Commit 527f11e5 by Jie Feng

fix conflict for merging code

parents 5e424636 2d852f4c
......@@ -64,7 +64,7 @@ jQuery(document).ready(function ($) {
console.log('updateWOStatus:' + val.target.value);
var url = "/work/ws/update";
var data = JSON.stringify({
"woStatus": val.target.value,
"userStatus": val.target.value,
"statusDisplay": "",
"userId": 1
});
......@@ -82,7 +82,7 @@ jQuery(document).ready(function ($) {
}
},
data: {
woStates: [
woStates: [
{value: 1, text: '空闲中'},
{value: 2, text: '下班'},
{value: 3, text: '接待中'},
......@@ -91,7 +91,7 @@ jQuery(document).ready(function ($) {
]
}
})
// 数据提示条
var numCount = new Vue({
......
jQuery(document).ready(function ($) {
var auditTableName = "wo_work_order"
var woType = "revisit"
// 工单列表逻辑
var woDetail = new Vue({
el: '#woDetail',
data: {
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: [
orderDetail:{
id: 0,
orderNum: 0,
doctorUid: 0,
doctorName: '',
processUid: 0,
processName: '',
phoneNum: '',
customerUid: 0,
customerName: '',
callStatus: 0,
callRemark: '',
smsStatus: 0,
smsRemark: '',
consultStatus: 0,
consultRemark: '',
assistStatus: 0,
assistRemark: '',
unpleasureStatus: 0,
unpleasureEntity: 0,
unpleasureDetail: '',
unpleasureDeptName: [],
unpleasureSolution: '',
userAdvice: '',
revisitStatus: 0,
revisitRemark: ''
},
callStates: [
{value: 0, text: '请选择'},
{value: 1, text: '督导'},
{value: 2, text: '接通拒听'},
......@@ -41,38 +50,39 @@ jQuery(document).ready(function ($) {
{value: 1, text: '是'},
{value: 2, text: '否'}
],
consultStates: [
{value: 0, text: '请选择'},
{value: 1, text: '满意'},
{value: 2, text: '一般'},
{value: 3, text: '不满意'}
],
assistStates: [
{value: 0, text: '请选择'},
{value: 1, text: '满意'},
{value: 2, text: '一般'},
{value: 3, text: '不满意'}
],
revisitStates: [
unpleasureStates:[
{value: 0, text: '请选择'},
{value: 1, text: '未回访'},
{value: 2, text: '推迟回访'},
{value: 3, text: '不回访'},
{value: 4, text: '已回访'},
{value: 5, text: '无法呼出'},
{value: 6, text: '用户不便'},
{value: 7, text: '助理添加标签'}
{value: 1, text: '未处理'},
{value: 2, text: '处理中'},
{value: 3, 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: '助理添加标签'}
{value: 2, text: '咨询师助理'},
{value: 3, text: '平台'},
{value: 4, text: '其他'}
],
unpleasureStates:[
revisitStates: [
{value: 0, text: '请选择'},
{value: 1, text: '未处理'},
{value: 2, text: '处理中'},
{value: 3, text: '已处理'}
]
{value: 1, text: '未回访'},
{value: 2, text: '推迟回访'},
{value: 3, text: '不回访'},
{value: 4, text: '已回访'}
],
auditDetails:[]
},
methods: {
......@@ -82,30 +92,31 @@ jQuery(document).ready(function ($) {
var woId = urlParams.get('id');
var data = JSON.stringify(
{
"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,
"id":woDetail.orderDetail.id,
"customerName": woDetail.orderDetail.customerName,
"customerUid": woDetail.orderDetail.customerUid,
"doctorName": woDetail.orderDetail.doctorName,
"doctorUid": woDetail.orderDetail.doctorUid,
"orderNum": woDetail.orderDetail.orderNum,
"phoneNum": woDetail.orderDetail.phoneNum,
"processName": woDetail.orderDetail.processName,
"processUid": woDetail.orderDetail.processUid,
"callStatus": woDetail.orderDetail.callStatus,
"callRemark": woDetail.orderDetail.callRemark,
"smsRemark": woDetail.orderDetail.smsRemark,
"smsStatus": woDetail.orderDetail.smsStatus,
"consultStatus": woDetail.orderDetail.consultStatus,
"consultRemark": woDetail.orderDetail.consultRemark,
"assistStatus": woDetail.orderDetail.assistStatus,
"assistRemark": woDetail.orderDetail.assistRemark,
"unpleasureStatus": woDetail.orderDetail.unpleasureStatus,
"unpleasureDetail": woDetail.orderDetail.unpleasureDetail,
"unpleasureEntity": woDetail.orderDetail.unpleasureEntity,
"unpleasureDeptName": woDetail.orderDetail.unpleasureDeptName,
"unpleasureSolution": woDetail.orderDetail.unpleasureSolution,
"userAdvice": woDetail.orderDetail.userAdvice,
"revisitStatus": woDetail.orderDetail.revisitStatus,
"revisitRemark": woDetail.orderDetail.revisitRemark,
"woId": woId
}
);
......@@ -121,10 +132,38 @@ jQuery(document).ready(function ($) {
window.location.href = '/index.html'
}
});
var data = JSON.stringify(
{
"id":woId,
"woProcessName": woDetail.orderDetail.processName,
"woProcessUid": woDetail.orderDetail.processUid,
"woType": woType,
"woStatus": 1,
"statusDisplay": "处理完成",
"orderNum": woDetail.orderDetail.orderNum
}
);
console.log(data);
$.ajax({
url: "/work/wo/update",
dataType: "json",
data: data,
type: 'post',
contentType: "application/json; charset=utf-8",
success: function (res) {
console.log(res);
window.location.href = '/index.html'
}
});
},
navigateToOrderList :function () {
window.location.href="/";
}
}
})
function initDetail() {
var urlParams = new URLSearchParams(window.location.search);
var woId = urlParams.get('id');
......@@ -137,32 +176,33 @@ jQuery(document).ready(function ($) {
}
);
$.ajax({
url: '/work/wo/detail',
url: "/work/wo/detail",
dataType: "json",
data: data,
type: 'post',
contentType: "application/json; charset=utf-8",
success: function (res) {
console.log(res);
console.log(res.data);
woDetail.orderDetail = res.data;
}
});
var data = JSON.stringify(
{
"fieldValue": woId,
"processUid": 1,
"tableName":'wo_revisit_detail'
"tableName":auditTableName
}
);
$.ajax({
url: '/work/auditTrace/list',
url: "/work/auditTrace/list",
dataType: "json",
data: data,
type: 'post',
contentType: "application/json; charset=utf-8",
success: function (res) {
console.log(res);
console.log(res.data);
woDetail.auditDetails = res.data;
}
});
}
......
<!DOCTYPE html>
<html lang="en" xmlns:v-on="http://www.w3.org/1999/xhtml" xmlns:v-bind="http://www.w3.org/1999/xhtml">
<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">
......@@ -18,347 +20,374 @@
<script src="./js/bootstrap.min.js"></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>
<!-- 头部 -->
<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>
</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>-->
<a href="#" class="user-img"><img src="./images/avatar.jpg"
alt="">admin</a>
</div>
</div>
</div>
</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>
<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>
</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>
</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>
</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>
</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>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;注:</span><textarea name="beizhu" id="1231"
cols="150"
rows="2"></textarea>
</div>
</div>
</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>
</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="#" v-on:click="navigateToOrderList()">回访订单列表</a>
</div>
<h4 class="particulars">回访记录</h4>
<div class="subnav">
<!-- <p>订单号:<span class="colorspan">921348348925429</span></p> -->
<p>
订单号:<span class="colorspan">{{orderDetail.orderNum}}</span>
</p>
<p>
咨询师:<span class="colorspan">{{orderDetail.doctorName}}</span>
</p>
<p>
手机号:<a class="phone">查看手机号</a>
</p>
<p>
接受客服:<span>{{orderDetail.customerName}}</span>
</p>
<p>
回访人员(已分配):<span>{{orderDetail.processName}}</span>
</p>
</div>
<div class="particulars">
<span class="bg"></span>
<div class="title">
<span>接通状态:</span> <select name="on-state"
v-model="orderDetail.callStatus">
<option v-for="(item,index) in callStates" :value='index'>
{{item.text}}</option>
</select>
</div>
<div class="beizhu">
<span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;注:</span>
<textarea name="beizhu" id="1231" cols="150" rows="2"
v-model="orderDetail.callRemark"></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>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;注:</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>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;由:</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" v-model="assistStatus">
<option v-for="(item,index) in assistStates" :value='index'> {{item.text}}
</option>
</select>
</div>
<div class="beizhu">
<span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;由:</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" 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="asfasdf" cols="150" rows="2"></textarea>
</div>
</div>
</div>
<div class="particulars">
<div class="pink">
<span class="bg"></span>
<div class="title">
<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-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 class="beizhu">
<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" 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="revisitStatus">
<option v-for="(item,index) in revisitStates" :value="index">{{item.text}}</option>
</select>
</div>
<div class="beizhu">
<span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;注:</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>
</div>
<script>
$(document).ready(function () {
$('.bar').click(function () {
$('.aside').toggleClass('visible');
$('.digital-container').toggleClass('width');
})
<div class="particulars">
<span class="bg"></span>
<div class="title">
<span>短信发送:</span> <select name="on-state"
v-model="orderDetail.smsStatus">
<option v-for="(item,index) in smsStates" :value='index'>
{{item.text}}</option>
</select>
</div>
<div class="beizhu">
<span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;注:</span>
<textarea name="beizhu" id="123ff" cols="150" rows="2"
v-model="orderDetail.smsRemark"></textarea>
</div>
</div>
<div class="particulars">
<span class="bg"></span>
<div class="title">
<span>咨询效果:</span> <select name="on-state"
v-model="orderDetail.consultStatus">
<option v-for="(item,index) in consultStates" :value='index'>
{{item.text}}</option>
</select>
</div>
<div class="beizhu">
<span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;由:</span>
<textarea name="beizhu" cols="150" rows="2"
v-model="orderDetail.consultRemark"></textarea>
</div>
</div>
<div class="particulars">
<span class="bg"></span>
<div class="title">
<span>助理服务:</span> <select name="on-state"
v-model="orderDetail.assistStatus">
<option v-for="(item,index) in assistStates" :value='index'>
{{item.text}}</option>
</select>
</div>
<div class="beizhu">
<span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;由:</span>
<textarea name="beizhu" id="xvasfd1" cols="150" rows="2"
v-model="orderDetail.assistRemark"></textarea>
</div>
</div>
<div class="particulars">
<div class="pink">
<span class="bg"></span>
<div class="title">
<span>处理状态:</span> <select name="on-state"
v-model="orderDetail.unpleasureStatus">
<option v-for="(item,index) in unpleasureStates" :value='index'>
{{item.text}}
</select>
</div>
<div class="beizhu">
<span>不满意内容:</span>
<textarea name="beizhu" id="asfasdf" cols="150" rows="2"
v-model="orderDetail.unpleasureRemark"></textarea>
</div>
</div>
</div>
<div class="particulars">
<div class="pink">
<span class="bg"></span>
<div class="title">
<span>不满意对象:</span> <select name="on-state"
v-model="orderDetail.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-model="orderDetail.unpleasureDeptName" value='0' id="xn">
心暖
</label> <label class="checkbox-inline"> <input type="checkbox"
v-model="orderDetail.unpleasureDeptName" value='1' id="hs">
好柿
</label> <label class="checkbox-inline"> <input type="checkbox"
v-model="orderDetail.unpleasureDeptName" value='2' id="xqtqjd">
心期天旗舰店
</label> <label class="checkbox-inline"> <input type="checkbox"
v-model="orderDetail.unpleasureDeptName" value='3' id="ydlqjd">
壹点灵旗舰店
</label> <label class="checkbox-inline"> <input type="checkbox"
v-model="orderDetail.unpleasureDeptName" value='3' id="szb">
师资部
</label> <label class="checkbox-inline"> <input type="checkbox"
v-model="orderDetail.unpleasureDeptName" value='4' id="kfzx">
客服中心
</label> <label class="checkbox-inline"> <input type="checkbox"
v-model="orderDetail.unpleasureDeptName" value='5' id="cpb">
产品部
</label> <label class="checkbox-inline"> <input type="checkbox"
v-model="orderDetail.unpleasureDeptName" value='6' id="jsb">
技术部
</label> <label class="checkbox-inline"> <input type="checkbox"
v-model="orderDetail.unpleasureDeptName" value='7' id="cwb">
财务部
</label>
</div>
</div>
<div class="beizhu">
<span>处理方案:</span>
<textarea name="beizhu" cols="150" rows="2"
v-model="orderDetail.unpleasureSolution"></textarea>
</div>
</div>
</div>
<div class="particulars">
<span class="bg"></span>
<div class="beizhu">
<span>用户建议:</span>
<textarea name="beizhu" cols="150" rows="2"
v-model="orderDetail.userAdvice"></textarea>
</div>
</div>
<div class="particulars">
<span class="bg"></span>
<div class="title">
<span>回访状态:</span> <select name="on-state"
v-model="orderDetail.revisitStatus">
<option v-for="(item,index) in revisitStates" :value="index">{{item.text}}</option>
</select>
</div>
<div class="beizhu">
<span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;注:</span>
<textarea name="beizhu" cols="150" rows="2"
v-model="orderDetail.revisitRemark"></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 class="active" v-for="detail in auditDetails" v-bind:key="detail.id">
<td>{{ detail.operateTime }}</td>
<td>{{ detail.operatorName }}</td>
<td>{{ detail.actionType }}</td>
<td>{{ detail.actionDetail }}</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
<script>
$(document).ready(function() {
$('.bar').click(function() {
$('.aside').toggleClass('visible');
$('.digital-container').toggleClass('width');
})
$('.nav-tabs a').click(function (e) {
e.preventDefault()
$(this).tab('show')
})
});
</script>
$('.nav-tabs a').click(function(e) {
e.preventDefault()
$(this).tab('show')
})
});
</script>
</body>
</html>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment