Commit 4cca8a43 authored by zhengke's avatar zhengke

修改国际化

parent 5e1b84c1
......@@ -47,6 +47,9 @@ export const pub={
area:'地域',
edit:'編集',
Brand:'ブランド',
Customer:'顧客',
ChoiceTime:'選択時間',
remarkInfo:'備考情報',
}
export const login = {
......
......@@ -47,6 +47,14 @@ export const pub={
area:'地区',
edit:'编辑',
Brand:'品牌',
Customer:'客户',
ChoiceTime:'选择时间',
remarkInfo:'备注信息',
KM:'公里',
SignIN:'签到',
Ci:'次',
PleaseKeyWords:'请输入关键词',
pubRemark:'备注',
}
export const login = {
......@@ -1429,6 +1437,7 @@ export const Operation = {
Op_tripCopy:'行程复制',
}
export const rule = {
ldType: '请选择抽奖类型',
company: '请选择公司',
qxzxuanlu: '请选择线路',
qsryhqmingcheng: '请输入优惠券名称',
......@@ -1747,6 +1756,44 @@ export const visaT = {
dxzhanghu: '对象账户',
guazdanju: '挂账单'
}
//营销活动
export const MarketingActi={
usingRange:'使用范围',
car:'车辆',
free:'自由行',
local:'当地游',
huangoujia:'换购价',
huodongtime:'活动时间',
alltongyong:'全场通用',
endTime:'结束时间',
addCommType:'新增商品类型',
commTypeState:'商品类型状态',
commTypeImg:'商品类型展示图片',
commTypelogo:'商品类型logo',
commTypetubiao:'商品类型图标',
commTypename:'商品类型名称',
typeNum:'类型编号',
notShow:'不显示',
commName:'商品名称',
commType:'商品类型',
commActivity:'商品活动',
addComm:'新增商品',
commNum:'商品编号',
commNums:'商品数量',
buydegnjiyq:'购买等级要求',
Marketvalue:'市场价',
RestrictionNumber:'限购数',
DistributionInstructions:'配送说明',
ActivitiesInvolved:'所属活动',
commState:'商品状态',
ActivityNum:'活动编号',
ActivityName:'活动名称',
ActivityImg:'活动图片',
ActivityDes:'活动描述',
commActivityName:'商品活动名称',
ActivityPro:'活动介绍',
CommActivitytubiao:'商品活动图标',
}
//销售模块
export const salesModule={
keyWords:'关键字',
......@@ -1776,6 +1823,132 @@ export const salesModule={
doorPhoto:'门牌照片',
businessPhoto:'营业照片',
BrandName:'品牌名称',
VisitPlan:'拜访计划日历看板',
Today:'今日',
noVisitPlan:'今日暂无拜访计划哦',
RecentVisitPlan:'近期拜访计划',
RecentNoPlan:'近期暂无拜访计划哦',
addVisit:'新增拜访',
VisitingCustomers:'拜访客户',
NewCustomer:'开发新客户',
VisitOldCustomer:'拜访老客户',
beforeVisitPlan:'上次拜访信息',
goutong:'沟通内容',
VisitDate:'拜访日期',
VisitTime:'拜访时间',
belongProcess:'所属流程',
VisitDetail:'拜访说明',
IsSignCustomer:'是否预填客户资料:',
kaifaDetail:'开发说明',
bookDate:'预订日期',
VisitRecordList:'拜访记录列表',
VisitRecord:'拜访记录',
noVisited:'未访问',
haveGoutong:'已沟通',
fwRecord:'访问记录',
gjx:'共进行',
ghs:'共耗时',
ZixunHotLine:'近期最热咨询路线',
LinshiCustomer:'临时客户',
XunwenLine:'询问路线',
PriceExpect:'价格预计',
PeopleCount:'人数预计',
ReleaseTask:'发布任务',
BaseInfo:'基本信息',
TaskName:'任务名称',
TaskType:'任务类型',
TaskTotal:'任务总数',
KeFenNum:'可分数量',
TimeRange:'时间范围',
EndTime:'结束时间',
TaskRemark:'任务备注',
JoinDepart:'参与部门/人员',
JoinPart:'参与部门',
JoinPeople:'参与人员',
TaskFenPei:'任务分配',
PositiveInteger:'请输入正整数',
SimilarTask:'同类任务完成率',
LastComplete:'上次完成',
NoHistoryTask:'暂无历史任务',
DepartNewTask:'部门新任务',
NoTasks:'未收到新的任务哦',
IssuedPeople:'下发人',
IssuedTime:'下发时间',
TaskYaoQiu:'任务要求',
TaskStart:'开始任务',
NowTask:'当前任务',
NoTaskIn:'当前没有正在进行中的任务哦',
DepartmentExecution:'部门执行力',
HistoryTask:'查看历史任务',
MyTasks:'我发布的任务',
AddTasks:'新增任务',
ClickAddTasks:'点击右上方“+”按钮,新增一个任务吧',
TodayTask:'今日任务动态',
NoActive:'大家好像都还没有行动起来哦',
Contribution:'贡献',
MyNewTasks:'我的新任务',
LijiActive:'立即行动',
MyZhiXing:'我的执行力',
ZB:'占比',
NoConfiguration:'您还没有配置',
ClickToEdit:'请点击卡片中的编辑按钮“',
LJPZ:'立即配置,否则无法评分',
reMindNow:'当前还剩余',
ZBFP:'的占比没有分配,',
ZBFPYX:'占比分配不全会影响销售的综合能力评估,',
CXFP:'重新分配',
NLPG:'能力评定修改',
NLMC:'能力名称',
NLMFYQ:'能力满分要求',
ShruNum:'请输入相应数字',
ShruBFB:'请输入百分比',
NLZB:'能力占比',
SalesGuiji:'销售轨迹管理',
GuijiSearch:'轨迹查询',
OnLine:'在线',
OutLine:'离线',
EmployeeSearch:'请输入员工姓名查询',
ShowAll:'全部显示',
EquipNum:'当前视野设备数量',
GuijiJP:'轨迹纠偏',
QZ:'去燥',
CX:'抽稀',
BL:'绑路',
MoveStyle:'移动方式',
Auto:'自动',
Drive:'驾车',
Cycling:'骑行',
Walk:'步行',
Personnel:'人员',
WorkPlan:'工作计划',
Pending:'待审批',
YSP:'已审批',
SaveTime:'提交时间',
TheName:'名',
HistoryVisit:'历史访问',
ProcessType:'流程类型',
BusinessLicense:'营业执照',
VisitJG:'拜访结果',
SPYJ:'审批意见',
ApprovalRejected:'审批已拒绝',
ApprovalPassed:'审批已通过',
RejectJJ:'审批意见(拒绝)',
ChoiceCustomer:'选择客户类型',
NormalCustomer:'普通客户',
MemberCustomer:'会员客户',
AllApproval:'全部审批',
Stores:'门店',
Laiyuan:'来源',
CheckDetails:'查看详情',
ManagementArea:'管理区域',
NewArea:'新增区域',
SpecialLine:'特殊线路',
AllArea:'全部区域',
AreaManage:'区域管理',
MapDetails:'地图详情',
Registered:'注册',
AutoRelease:'自动释放',
}
import invoicesManager from './H/h-invoicesManager'
export const ios = invoicesManager
\ No newline at end of file
......@@ -5,7 +5,7 @@
<div class="top">
<i class="iconfont" :class="item.icon"></i>
<p class="tit">{{item.taskTypeStr}}</p>
<p class="num">占比{{item.ratio}}%</p>
<p class="num">{{$t('salesModule.ZB')}}{{item.ratio}}%</p>
</div>
<div class="bottom">
{{item.requireScore}}<i class="iconfont icon-bianji-smal" @click="getDetail(item)"></i>
......@@ -14,36 +14,36 @@
<div class="dateNotice" v-if="isOk==1">
<i class="iconfont icon-zanwushuju"></i>
<p>您还没有配置{{messageNotice}}</p>
<p>请点击卡片中的编辑按钮“<i class="iconfont icon-bianji-smal"></i>”立即配置,否则无法评分</p>
<p>{{$t('salesModule.NoConfiguration')}}{{messageNotice}}</p>
<p>{{$t('salesModule.ClickToEdit')}}<i class="iconfont icon-bianji-smal"></i>{{$t('salesModule.LJPZ')}}</p>
</div>
<div class="dateNotice" v-else-if="isOk==2">
<i class="iconfont icon-kong-zhanbifenpeibudui"></i>
<p>当前还剩余<span style="color:#E95252;">{{num}}%</span>的占比没有分配,</p>
<p>占比分配不全会影响销售的综合能力评估,</p>
<p>请点击卡片中的编辑按钮“<i class="iconfont icon-bianji-smal"></i>”重新分配</p>
<p>{{$t('salesModule.reMindNow')}}<span style="color:#E95252;">{{num}}%</span>{{$t('salesModule.ZBFP')}}</p>
<p>{{$t('salesModule.ZBFPYX')}}</p>
<p>{{$t('salesModule.ClickToEdit')}}<i class="iconfont icon-bianji-smal"></i>{{$t('salesModule.CXFP')}}</p>
</div>
</div>
<div class="SalesAssessmentLayer" v-if="isShow">
<p class="addTaskTitle">
能力评定修改
{{$t('salesModule.NLPG')}}
<span class="fr">
<input type="button" value="取消" class="hollowFixedBtn" @click="resetForm(),isShow=false"/>
<input type="button" value="保存" class="normalBtn" @click="submitForm('msg')"/>
<input type="button" :value="$t('pub.cancelBtn')" class="hollowFixedBtn" @click="resetForm(),isShow=false"/>
<input type="button" :value="$t('pub.saveBtn')" class="normalBtn" @click="submitForm('msg')"/>
</span>
</p>
<el-form :model="msg" :rules="rules" ref="msg" label-width="120px" >
<el-form-item label="能力名称" >
<el-form-item :label="$t('salesModule.NLMC')" >
<el-input class='w150' v-model='name' type="text" disabled ></el-input>
</el-form-item>
<el-form-item label="能力满分要求" prop='RequireScore'>
<el-input class='w150' placeholder='请输入相应数字' v-model='msg.RequireScore' type="text" ></el-input>
<el-form-item :label="$t('salesModule.NLMFYQ')" prop='RequireScore'>
<el-input class='w150' :placeholder="$t('salesModule.ShruNum')" v-model='msg.RequireScore' type="text" ></el-input>
</el-form-item>
<el-form-item label="能力占比" prop='Ratio'>
<el-input class='w150' placeholder='请输入百分比' v-model='msg.Ratio' type="text" ></el-input>
<el-form-item :label="$t('salesModule.NLZB')" prop='Ratio'>
<el-input class='w150' :placeholder="$t('salesModule.ShruBFB')" v-model='msg.Ratio' type="text" ></el-input>
</el-form-item>
</el-form>
</div>
......
This diff is collapsed.
......@@ -49,24 +49,24 @@
<template>
<div class="page_VisitRecord clearfix">
<div class="_vr_left fl">
<p class="_tit">拜访记录列表</p>
<p class="_tit">{{$t('salesModule.VisitRecordList')}}</p>
<ul class="clearfix _scrollbar">
<li v-for="(item,index) in VisitLineList">
<span class="_time">{{item.dateStr}}</span>
<span class="_dot"></span>
<div class="_box" @click="getTodayVisitList(item.date),thisDay=item.dateStr">
<p>行程&nbsp;&nbsp;&nbsp;<span>{{item.tripDistance==null?'0':item.tripDistance}}公里</span></p>
<p>{{$t('Airticket.Air_Trip')}}&nbsp;&nbsp;&nbsp;<span>{{item.tripDistance==null?'0':item.tripDistance}}{{$t('pub.KM')}}</span></p>
<div class="_info">
<div><i class="iconfont icon-xinzengkehu-copy"></i>&nbsp;新增客户&nbsp;&nbsp;&nbsp;{{item.addNewCustomerCount}}</div>
<div><i class="iconfont el-icon-view"></i>&nbsp;拜访客户&nbsp;&nbsp;&nbsp;{{item.visitOldCustomerCount}}</div>
<div style="margin-left:10px;"><i class="iconfont icon-qianming"></i>&nbsp;签到&nbsp;&nbsp;&nbsp;{{item.signInCount}}</div>
<div><i class="iconfont icon-xinzengkehu-copy"></i>&nbsp;{{$t('salesModule.addCustomer')}}&nbsp;&nbsp;&nbsp;{{item.addNewCustomerCount}}</div>
<div><i class="iconfont el-icon-view"></i>&nbsp;{{$t('salesModule.VisitingCustomers')}}&nbsp;&nbsp;&nbsp;{{item.visitOldCustomerCount}}</div>
<div style="margin-left:10px;"><i class="iconfont icon-qianming"></i>&nbsp;{{$t('pub.SignIN')}}&nbsp;&nbsp;&nbsp;{{item.signInCount}}</div>
</div>
</div>
</li>
</ul>
</div>
<div class="_vr_right fl">
<p class="_tit">{{thisDay}}拜访记录&nbsp;&nbsp;&nbsp;&nbsp;<i class="iconfont icon-ditu" @click="getYingyan"></i></p>
<p class="_tit">{{thisDay}}{{$t('salesModule.VisitRecord')}}&nbsp;&nbsp;&nbsp;&nbsp;<i class="iconfont icon-ditu" @click="getYingyan"></i></p>
<ul>
<li v-for="(item,index) in TodayVisitList">
<img class="_head" src="../../assets/img/bg_z1@3x.png" alt="">
......@@ -81,16 +81,16 @@
</div>
</div>
<div class="_status">
<p v-if="item.createFromType==1&&item.visitState==1"><i class="iconfont icon-yiquxiao"></i>&nbsp;&nbsp;未访问</p>
<p v-if="item.createFromType==1&&item.visitState==2"><i class="iconfont icon-yiqueren"></i>&nbsp;&nbsp;已沟通</p>
<p v-if="item.createFromType==2">新增客户</p>
<p v-if="item.createFromType==1&&item.visitState==1"><i class="iconfont icon-yiquxiao"></i>&nbsp;&nbsp;{{$t('salesModule.noVisited')}}</p>
<p v-if="item.createFromType==1&&item.visitState==2"><i class="iconfont icon-yiqueren"></i>&nbsp;&nbsp;{{$t('salesModule.haveGoutong')}}</p>
<p v-if="item.createFromType==2">{{$t('salesModule.addCustomer')}}</p>
</div>
<div class="_time" v-if="item.visitState==2">
<p><i class="iconfont icon-qingjia"></i>&nbsp;{{item.visitDateTime}}</p>
</div>
<div class="_record" v-if="item.visitState==2">
<div>
<p><i class="iconfont icon-dingdanhao"></i>&nbsp;&nbsp;访问记录</p>
<p><i class="iconfont icon-dingdanhao"></i>&nbsp;&nbsp;{{$t('salesModule.fwRecord')}}</p>
<p>{{item.visitRecord}}</p>
</div>
</div>
......@@ -111,12 +111,12 @@
<p style="font-size: 14px; color: #4D4D4D; -webkit-text-stroke: 0.1px #fff;">{{DepartName}}·{{PostName}}</p>
<div class="tripDistanceDiv">
<div>
<p class="_top">共进行</p>
<p class="_top">{{$t('salesModule.gjx')}}</p>
<p class="_bottom">{{tripDistance=='km'?'0km':tripDistance}}</p>
</div>
<div style="width: 1px; height: 36px; background: #e6e6e6;"></div>
<div>
<p class="_top">共耗时</p>
<p class="_top">{{$t('salesModule.ghs')}}</p>
<p class="_bottom">{{costTime}}</p>
</div>
</div>
......
......@@ -30,15 +30,15 @@
<template>
<div class="page_demandInquiry">
<div class="_mc_addbox">
<button class="hollowFixedBtn" @click="addShow=true">新增</button>
<button class="hollowFixedBtn" @click="addShow=true">{{$t('pub.addBtn')}}</button>
</div>
<div class="_mc_list _scrollbar" :class="addShow==true?'_edHeight':''">
<div class="_vr_left fl">
<p class="_tit">询价与需求 </p>
<p class="_tit">{{$t('salesModule.InquiryAndDemand')}}</p>
<ul>
<li v-for="(item,index) in inquireLineStatistical" @click="goUrl('demandStatistics',item.lineId,item.lineName)">
<div>
<p class="PingFangSC">{{item.inquireCount}}</p>
<p class="PingFangSC">{{item.inquireCount}}{{$t('pub.Ci')}}</p>
<p>{{item.inqiurePercent}}%</p>
</div>
<p>{{item.lineName}}</p>
......@@ -49,7 +49,7 @@
</div>
</div>
<div class="_vr_right fl">
<p class="_tit">近期最热咨询路线</p>
<p class="_tit">{{$t('salesModule.ZixunHotLine')}}</p>
<div class="charts" style="margin-top: 20px;">
<el-col :span='24'>
<div id="chartsMap" style="height:630px;width:850px;"></div>
......@@ -58,7 +58,7 @@
</div>
</div>
<div class="_mc_edit _scrollbar" :class="addShow==true?'edHeight':''">
<p class="_tit">新增客户
<p class="_tit">{{$t('salesModule.addCustomer')}}
<span class="fr">
<button class="hollowFixedBtn" type="button" @click="cancelEdit(),resetForm('addMsg')">{{$t('pub.cancelBtn')}}</button>
<button type="button" class="normalBtn" @click="submitForm('addMsg')">{{$t('pub.saveBtn')}}</button>
......@@ -67,40 +67,40 @@
<el-form class="_info_box clearfix" :model="addMsg" :rules="rules" ref="addMsg" label-width="120px">
<ul class="_form clearfix">
<li>
<el-form-item label="客户类型:" prop="linshig">
<el-form-item :label="$t('fnc.khleixing')" prop="linshig">
<div class="w210">
<el-radio v-model="addMsg.linshig" @change="addMsg.CustomerName = '', addMsg.CustomerInfoId = 0, AppCoustomer = []" label="1">正式客户</el-radio>
<el-radio v-model="addMsg.linshig" @change="addMsg.CustomerName = '', addMsg.CustomerInfoId = 0, AppCoustomer = []" label="2">临时客户</el-radio>
<el-radio v-model="addMsg.linshig" @change="addMsg.CustomerName = '', addMsg.CustomerInfoId = 0, AppCoustomer = []" label="1">{{$t('salesModule.InformalClient')}}</el-radio>
<el-radio v-model="addMsg.linshig" @change="addMsg.CustomerName = '', addMsg.CustomerInfoId = 0, AppCoustomer = []" label="2">{{$t('salesModule.LinshiCustomer')}}</el-radio>
</div>
</el-form-item>
</li>
<li>
<el-form-item label="客户:" prop="CustomerInfoId" >
<el-form-item :label="$t('pub.Customer')" prop="CustomerInfoId" >
<el-select
:multiple="false"
filterable
remote
reserve-keyword
placeholder="请输入关键词"
:placeholder="$t('pub.PleaseKeyWords')"
:remote-method="getAppCoustomer"
@change="getAppCoustomerName"
:loading="loading" v-model="addMsg.CustomerInfoId" v-if="addMsg.linshig == '1'" class="w210 height-auto">
<el-option
placeholder="请选择"
:placeholder="$t('pub.pleaseSel')"
v-for="item in AppCoustomer"
:key="item.customerId"
:label="`${item.customerName}(${item.contact})`"
:value="item.customerId">
</el-option>
</el-select>
<el-input v-else v-model="addMsg.CustomerName" placeholder="请输入" class="w210"></el-input>
<el-input v-else v-model="addMsg.CustomerName" :placeholder="$t('pub.pleaseImport')" class="w210"></el-input>
</el-form-item>
</li>
<li>
<el-form-item label="询问路线:" prop="LineId">
<el-form-item :label="$t('salesModule.XunwenLine')" prop="LineId">
<el-select v-model="addMsg.LineId" class="w210" :placeholder="$t('pub.pleaseSel')" @change="getLineTeamList(addMsg.LineId)">
<el-option
placeholder="请选择"
:placeholder="$t('pub.pleaseSel')"
v-for="item in InquireLineList"
:key="item.LineID"
:label="item.LineName"
......@@ -110,11 +110,11 @@
</el-form-item>
</li>
<li>
<el-form-item label="系列:">
<el-form-item :label="$t('advmanager.v_xilie')">
<el-select v-model="addMsg.LineteamId" class="w210" :placeholder="$t('pub.pleaseSel')">
<el-option label="不限" value=''></el-option>
<el-option :label="$t('system.ph_buxian')" value=''></el-option>
<el-option
placeholder="请选择"
:placeholder="$t('pub.pleaseSel')"
v-for="item in LineteamList"
:key="item.id"
:label="item.name"
......@@ -124,7 +124,7 @@
</el-form-item>
</li>
<li>
<el-form-item label="出发时间:" prop="DepartTime">
<el-form-item :label="$t('Airticket.Air_StartTime')" prop="DepartTime">
<el-date-picker clearable class="w210"
v-model="addMsg.DepartTime"
type="datetime"
......@@ -134,17 +134,17 @@
</el-form-item>
</li>
<li>
<el-form-item label="价格预计:" prop="BudgetPrice">
<el-input v-model="addMsg.BudgetPrice" placeholder="请输入" class="w210"></el-input>
<el-form-item :label="$t('salesModule.PriceExpect')" prop="BudgetPrice">
<el-input v-model="addMsg.BudgetPrice" :placeholder="$t('pub.pleaseImport')" class="w210"></el-input>
</el-form-item>
</li>
<li>
<el-form-item label="人数预计:" prop="PeopleNumber">
<el-input v-model="addMsg.PeopleNumber" placeholder="请输入" class="w210"></el-input>
<el-form-item :label="$t('salesModule.PeopleCount')" prop="PeopleNumber">
<el-input v-model="addMsg.PeopleNumber" :placeholder="$t('pub.pleaseImport')" class="w210"></el-input>
</el-form-item>
</li>
<li>
<el-form-item label="备注" >
<el-form-item :label="$t('pub.pubRemark')" >
<el-input v-model='addMsg.Remark' class="w210" type='textarea' maxlength='500'></el-input>
</el-form-item>
</li>
......
......@@ -2,11 +2,11 @@
<div class="saleTaskList">
<ul>
<li>
<p>我的新任务</p>
<p>{{$t('salesModule.MyNewTasks')}}</p>
<div class="itemCont" id='deparmentTask'>
<div class="noDataNotice" v-if='departmetTaskList.length==0'>
<i class="iconfont icon-kong"></i>
<p>未收到新的任务哦</p>
<p>{{$t('salesModule.NoTasks')}}</p>
</div>
<div class="contTypeOne" v-for="(item,index) in departmetTaskList">
<p>
......@@ -15,23 +15,23 @@
<p style="font-size: 14px;font-weight: bold; color: #333; margin: 10px 0;">{{item.TaskName}}</p>
<table class="saleTaskpopoverTable" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="80"><i class="iconfont icon-img-ren"></i>下发人</td>
<td width="80"><i class="iconfont icon-img-ren"></i>{{$t('salesModule.IssuedPeople')}} </td>
<td>{{item.CreateBy}}</td>
</tr>
<tr>
<td><i class="iconfont icon-ico-time"></i>下发时间</td>
<td><i class="iconfont icon-ico-time"></i>{{$t('salesModule.IssuedTime')}}</td>
<td>{{item.CreateDate}}</td>
</tr>
<tr>
<td><i class="iconfont icon-ico-renwuyaoqiu"></i>任务要求</td>
<td><i class="iconfont icon-ico-renwuyaoqiu"></i>{{$t('salesModule.TaskYaoQiu')}}</td>
<td><span style="color: #257BF1;">{{item.TaskNum}}</span></td>
</tr>
<tr>
<td><i class="iconfont icon-ico-shijianfanwei"></i>时间范围</td>
<td>{{item.StartTime}}{{item.EndTime}}</td>
<td><i class="iconfont icon-ico-shijianfanwei"></i>{{$t('salesModule.TimeRange')}}</td>
<td>{{item.StartTime}}{{$t('restaurant.res_To')}}{{item.EndTime}}</td>
</tr>
<tr>
<td><i class="iconfont icon-ico-beizhu"></i>任务备注</td>
<td><i class="iconfont icon-ico-beizhu"></i>{{$t('salesModule.TaskRemark')}}</td>
<td>{{item.Remarks}}</td>
</tr>
</table>
......@@ -45,21 +45,21 @@
</div>
</li>
<li>
<p>当前任务</p>
<p>{{$t('salesModule.NowTask')}}</p>
<div class="itemCont width530" id='nowTask'>
<div class="noDataNotice" v-if='nowTaskList.length==0'>
<i class="iconfont icon-kong"></i>
<p>当前没有正在进行中的任务哦</p>
<p>{{$t('salesModule.NoTaskIn')}}</p>
</div>
<div class="contTypeTwo" v-for="(item,index) in nowTaskList">
<el-progress type="circle" width='88' stroke-width='7' :percentage="item.rate" :color="item.color"></el-progress>
<p class="goSaleTaskDetail" @click="goUrl('saleTaskDetail',item.id,'任务详情')">{{item.taskName}}</p>
<p class="nowgo"><span @click="goNowUrl(item.taskType)">立即行动</span></p>
<p class="nowgo"><span @click="goNowUrl(item.taskType)">{{$t('salesModule.LijiActive')}}</span></p>
</div>
</div>
</li>
<li>
<p>我的执行力<span @click="goUrl('saleTaskHistory',0,'历史任务')">查看历史任务</span></p>
<p>{{$t('salesModule.MyZhiXing')}}<span @click="goUrl('saleTaskHistory',0,'历史任务')">{{$t('salesModule.HistoryTask')}}</span></p>
<div class="itemCont width590 myChatList">
<div id="mychart0" style="width: 130px; height: 130px;"></div>
<div id="mychart1" style="width: 130px; height: 130px;"></div>
......
<style>
.saleDepartmet{}
.saleDepartmetTable{width: 100%; font-size:14px; color: #333; }
.saleDepartmetTable tr{border-bottom: 2px solid #333;}
.saleDepartmetTable tr th{background: #E6E6E6;height:30px; font-size: 12px; text-align: left; text-indent: 25px;}
......@@ -20,19 +19,19 @@
<template>
<div class="saleDepartmet">
<div class="saleDepartmetbottomLayer ownScrollbarStyle" v-show="showLayer">
<p>编辑</p>
<p>{{$t('pub.edit')}}</p>
<div class="layerFlex">
<div class="fleft">
<p class="fz12 color333">管理区域</p>
<p class="fz12 color333">{{$t('salesModule.ManagementArea')}}</p>
<ul style="max-height: 160px;overflow-y: auto;" class="ownScrollbarStyle">
<li v-show="sellAreaList.length==0">暂无</li>
<li v-show="sellAreaList.length==0">{{$t('active.cl_zanwu')}}</li>
<li v-for="(item,index) in sellAreaList">
{{item.AreaName}}
<i class="el-icon-error" @click="deleteItem(index)"></i>
</li>
</ul>
<p class="fz12 color666 mt20">
新增区域
{{$t('salesModule.NewArea')}}
<el-select class='w150' filterable v-model='provinceId' @change='getCity'>
<el-option v-for='item in provinceList'
:label='item.Name'
......@@ -54,13 +53,13 @@
:key='item.ID'>
</el-option>
</el-select>
<input type="button" class="hollowFixedBtn" value="确定" @click="addItem"/>
<input type="button" class="hollowFixedBtn" :value="$t('pub.sureBtn')" @click="addItem"/>
</p>
</div>
<div class="fright">
<p class="fz12 color333">特殊线路</p>
<p class="fz12 color333">{{$t('salesModule.SpecialLine')}}</p>
<p class="fz12 color666 mt20">
特殊线路
{{$t('salesModule.SpecialLine')}}
<el-select class='w300 multiple_input' v-model='addMsg.SellLineList' multiple>
<el-option v-for='item in lineList'
:label='item.LineName'
......@@ -72,19 +71,19 @@
</div>
</div>
<p style="border: none; text-align: right;">
<input type="button" value="取消" class="cancelBtn" @click="showLayer=false"/>
<input type="button" value="保存" class="normalBtn" @click="saveData"/>
<input type="button" :value="$t('pub.cancelBtn')" class="cancelBtn" @click="showLayer=false"/>
<input type="button" :value="$t('pub.saveBtn')" class="normalBtn" @click="saveData"/>
</p>
</div>
<input type="button" class="normalBtn fr mt10" style="margin-bottom: 10px;" value="全部区域" @click="goUrl('saleDepartmentMap',-1)"/>
<input type="button" class="normalBtn fr mt10" style="margin-bottom: 10px;" :value="$t('salesModule.AllArea')" @click="goUrl('saleDepartmentMap',-1)"/>
<table class="saleDepartmetTable" border="0" cellspacing="0" cellpadding="0" v-loading='loading'>
<tr>
<th width="20%">部门名称</th>
<th width="20%">负责人</th>
<th width="20%">区域管理</th>
<th width="20%">特殊线路</th>
<th width="20%">操作</th>
<th width="20%">{{$t('admin.admin_department')}}</th>
<th width="20%">{{$t('admin.admin_leader')}}</th>
<th width="20%">{{$t('salesModule.AreaManage')}}</th>
<th width="20%">{{$t('salesModule.SpecialLine')}}</th>
<th width="20%">{{$t('system.table_operation')}}</th>
</tr>
<tr v-for='item in list'>
<td>{{item.departmentName}}</td>
......@@ -97,7 +96,7 @@
<i class="iconfont icon-tubiao" ></i>
<el-popover width="200" trigger="click" >
<div>
<p class="fz14 fbold mt10" style="margin-bottom: 20px;">管理区域:{{item.sellAreaCount}}</p>
<p class="fz14 fbold mt10" style="margin-bottom: 20px;">{{$t('salesModule.ManagementArea')}}:{{item.sellAreaCount}}</p>
<p v-for="i in item.sellAreaList" class="fz12 color666 mt5">
{{i.areaName}}
</p>
......@@ -111,18 +110,18 @@
<!--{{item.sellLine==''?'无':item.sellLine}}-->
<el-popover trigger="click" >
<div>
<p class="fz14 fbold mt10" style="margin-bottom: 20px;">特殊线路</p>
<p class="fz14 fbold mt10" style="margin-bottom: 20px;">{{$t('salesModule.SpecialLine')}}</p>
<p class="fz12 mt10" v-for="i in item.sellLineList">{{i.lineName}}</p>
<p class="fz12 mt10" v-if="item.sellLineList.length==0"></p>
<p class="fz12 mt10" v-if="item.sellLineList.length==0">{{$t('fnc.no')}}</p>
</div>
<span slot="reference" class="cursorpointer">{{item.sellLine}}<em class="fnormal" style="color:#1BC594;">&nbsp;({{item.sellLineList.length}})</em></span>
</el-popover>
</td>
<td>
<el-tooltip class="item" effect="dark" content="修改" placement="top-start" popper-class="max-w250">
<el-tooltip class="item" effect="dark" :content="$t('system.table_edit')" placement="top-start" popper-class="max-w250">
<i @click="getDetail(item)" class="iconfont icon-bianji-smal" style="background: #2C6ED5; color: #fff; padding: 0 5px; border-radius: 14px; cursor: pointer;"></i>
</el-tooltip>
<el-tooltip class="item" effect="dark" content="地图详情" placement="top-start" popper-class="max-w250">
<el-tooltip class="item" effect="dark" :content="$t('salesModule.MapDetails')" placement="top-start" popper-class="max-w250">
<i @click="goUrl('saleDepartmentMap',item.departmentID,item.departmentName)" class="iconfont icon-ditu" style="background: #E95252; color: #fff; padding: 0 5px; border-radius: 14px; cursor: pointer;"></i>
</el-tooltip>
</td>
......
......@@ -28,11 +28,11 @@
<div class="salesApproval">
<div class="salesApprovalNav">
<li :class="{active:type==1}" @click="type=1">
人员
{{$t('salesModule.Personnel')}}
<div class="divActive" v-show="type==1"></div>
</li>
<li :class="{active:type==2}" @click="type=2">
工作计划
{{$t('salesModule.WorkPlan')}}
<div class="divActive" v-show="type==2"></div>
</li>
</div>
......@@ -52,10 +52,10 @@
<img v-if='item.Photo' :onerror="defaultImg" :src='item.Photo'/>
<p class="fz14 color333">{{item.AccountName}}</p>
<p class="style">{{item.CreateTime}}</p>
<p class="style1" >待审批{{item.WaringAudit}}</p>
<p class="style2" >已审批{{item.Audited}}</p>
<p class="style1" >{{$t('salesModule.Pending')}}{{item.WaringAudit}}</p>
<p class="style2" >{{$t('salesModule.YSP')}}{{item.Audited}}</p>
</li>
<p v-show="list.length==0" class="alcenter fz14 color333">暂无数据</p>
<p v-show="list.length==0" class="alcenter fz14 color333">{{$t('system.content_noData')}}</p>
</ul>
</div>
<el-pagination
......@@ -70,24 +70,24 @@
<div class="salesApprovalListWork" v-loading='loading' v-show="type==2">
<div class="query-box">
<ul class="user_time_picker">
<li><span><em>提交时间</em><el-date-picker v-model='msg1.ExpectVisitDateTime' value-format="yyyy-MM-dd" type="date"></el-date-picker></span></li>
<li><span><em>{{$t('salesModule.SaveTime')}}</em><el-date-picker v-model='msg1.ExpectVisitDateTime' value-format="yyyy-MM-dd" type="date"></el-date-picker></span></li>
<li style="margin-right: 0; top:0!important">
<input type="button" class="hollowFixedBtn" value="查询" @click="getList1()"/>
<input type="button" class="hollowFixedBtn" :value="$t('pub.searchBtn')" @click="getList1()"/>
</li>
</ul>
</div>
<ul>
<li v-for="item in list1" @click="goUrl('salesApprovalDetail',item.createBy)">
<em v-show="item.isAdvertising=='0'" style="background:#257BF1;">待审批</em>
<em v-show="item.isAdvertising!='0'" style="background:#0ED6A0;">已审批</em>
<em v-show="item.isAdvertising=='0'" style="background:#257BF1;">{{$t('salesModule.Pending')}}</em>
<em v-show="item.isAdvertising!='0'" style="background:#0ED6A0;">{{$t('salesModule.YSP')}}</em>
<img v-if='!item.createPhoto' src="../../assets/img/litheader.png"/>
<img v-if='item.createPhoto' :onerror="defaultImg" :src='item.createPhoto'/>
<p class="fz14 color333">{{item.emName}}</p>
<p class="style">{{msg1.ExpectVisitDateTime}}</p>
<p class="style1" >1.新增客户{{item.addNewCustomerCount}}</p>
<p class="style1" >2.拜访老客户{{item.visitOldCustomerCount}}</p>
<p class="style1" >1.{{$t('salesModule.addCustomer')}}{{item.addNewCustomerCount}}{{$t('salesModule.TheName')}}</p>
<p class="style1" >2.{{$t('salesModule.VisitOldCustomer')}}{{item.visitOldCustomerCount}}{{$t('salesModule.TheName')}}</p>
</li>
<p v-show="list1.length==0" class="alcenter fz14 color333">暂无数据</p>
<p v-show="list1.length==0" class="alcenter fz14 color333">{{$t('system.content_noData')}}</p>
</ul>
</div>
<el-pagination
......
<template>
<div style="position: relative;width: 100%; height: 100%;">
<div style="position: absolute; left: -20px; top: 0; width: 300px; color: #fff; line-height: 40px; text-align: center; height: 40px; background:#0a8cff; z-index: 50;border-bottom: 1px solid #2f9dff">
<!-- <input type="button" value="1" @click="playGj"/> --> 销售轨迹管理
<!-- <input type="button" value="1" @click="playGj"/> --> {{$t('salesModule.SalesGuiji')}}
<span @click="toggleDiv" style="float: right; width: 40px; height: 40px; text-align: center; color: #fff; cursor: pointer;">
<i v-show="isToggle==1" class="el-icon-caret-top"></i>
<i v-show="isToggle==2" class="el-icon-caret-bottom"></i>
......@@ -10,11 +10,11 @@
<div class="yingyanMeta" id='yingyanMeta'>
<div class="title">
<div @click="getType(1)">
<i class="iconfont icon-shipinjiankong"></i> 当前状态
<i class="iconfont icon-shipinjiankong"></i>{{$t('fnc.dqzhuangtai')}}
<div v-show="mapType==1" class="titleSjx"></div>
</div>
<div @click="getType(2)">
<i class="iconfont icon-guijitu"></i> 轨迹查询
<i class="iconfont icon-guijitu"></i> {{$t('fnc.dqzhuangtai')}} {{$t('salesModule.GuijiSearch')}}
<div v-show="mapType==2" class="titleSjx"></div>
</div>
</div>
......@@ -22,18 +22,18 @@
<div v-show="mapType==1">
<div class="isOnlineType">
<li @click="online=1">
全部{{personData.length}}
{{$t('advmanager.v_all')}}{{personData.length}}
<div class="cked" v-show="online==1"></div>
</li>
<li @click="online=2,filterText1=''">在线{{onlinePerson}}
<li @click="online=2,filterText1=''">{{$t('salesModule.OnLine')}}{{onlinePerson}}
<div class="cked" v-show="online==2"></div>
</li>
<li @click="online=3,filterText1=''">离线{{personData.length-onlinePerson}}
<li @click="online=3,filterText1=''">{{$t('salesModule.OutLine')}}{{personData.length-onlinePerson}}
<div class="cked" v-show="online==3"></div>
</li>
</div>
<p v-show="online==1" style="margin:14px 0; padding: 0 14px; ">
<el-input class='w272' placeholder="请输入员工姓名查询" v-model="filterText1"><i slot="prefix" class="el-input__icon el-icon-search"></i> </el-input>
<el-input class='w272' :placeholder="$t('salesModule.EmployeeSearch')" v-model="filterText1"><i slot="prefix" class="el-input__icon el-icon-search"></i> </el-input>
</p>
<div class="yingyanMetacont">
<div style="margin-bottom:70px;" v-if="online==1">
......@@ -74,7 +74,7 @@
<el-date-picker class='w272' value-format="yyyy-MM-dd" v-model='dateTime' type="date" @change='getPersonListByTime'></el-date-picker>
</p>
<p style="margin:14px 0; padding: 0 14px; ">
<el-input class='w272' placeholder="请输入员工姓名查询" v-model="filterText"><i slot="prefix" class="el-input__icon el-icon-search"></i> </el-input>
<el-input class='w272' :placeholder="$t('salesModule.EmployeeSearch')" v-model="filterText"><i slot="prefix" class="el-input__icon el-icon-search"></i> </el-input>
</p>
<!-- -->
<div v-if="FinalYingYan" class="yingyanMetacont">
......@@ -97,27 +97,27 @@
</div>
<div class="yingyanRightMeta" v-show='mapType==1'>
<p>
全部显示
{{$t('salesModule.ShowAll')}}
<el-switch v-model="isShowAll" active-value="1" inactive-value="0" @change='isShowAllMarkers'></el-switch>
</p>
<p>
当前视野设备数量:{{totalNum}}
{{$t('salesModule.EquipNum')}}:{{totalNum}}
</p>
</div>
<div class="yingyanRightMeta" v-show='mapType==2'>
<p>轨迹纠偏
<p>{{$t('salesModule.GuijiJP')}}
<el-switch v-model="isjiuzheng" active-value="1" inactive-value="0" @change='isJZ'></el-switch>
</p>
<p v-show="isjiuzheng==1">
<label><input value="need_denoise" v-model="isCkedAll" type="checkbox" @change="isJZ">去燥</label>
<label><input value="need_vacuate" v-model="isCkedAll" type="checkbox" @change="isJZ">抽稀</label>
<label><input value="need_mapmatch" v-model="isCkedAll" type="checkbox" @change="isJZ">绑路</label>
<label><input value="need_denoise" v-model="isCkedAll" type="checkbox" @change="isJZ">{{$t('salesModule.QZ')}}</label>
<label><input value="need_vacuate" v-model="isCkedAll" type="checkbox" @change="isJZ">{{$t('salesModule.CX')}}</label>
<label><input value="need_mapmatch" v-model="isCkedAll" type="checkbox" @change="isJZ">{{$t('salesModule.BL')}}</label>
</p>
<p v-show="isjiuzheng==1">移动方式
<label><input type="radio" v-model="transportMode" value="auto" @change="isJZ">自动</label>
<label><input type="radio" v-model="transportMode" value="driving" @change="isJZ">驾车</label>
<label><input type="radio" v-model="transportMode" value="riding" @change="isJZ">骑行</label>
<label><input type="radio" v-model="transportMode" value="walking" @change="isJZ">步行</label>
<p v-show="isjiuzheng==1">{{$t('salesModule.MoveStyle')}}
<label><input type="radio" v-model="transportMode" value="auto" @change="isJZ">{{$t('salesModule.Auto')}}</label>
<label><input type="radio" v-model="transportMode" value="driving" @change="isJZ">{{$t('salesModule.Drive')}}</label>
<label><input type="radio" v-model="transportMode" value="riding" @change="isJZ">{{$t('salesModule.Cycling')}}</label>
<label><input type="radio" v-model="transportMode" value="walking" @change="isJZ">{{$t('salesModule.Walk')}}</label>
</p>
</div>
<div style="width:100%;height:100%; border:1px solid #eee" id="container"></div>
......
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