|
@@ -55,7 +55,7 @@
|
|
|
<div class="group_11 flex-col"></div>
|
|
|
<div class="group_12 flex-row justify-between">
|
|
|
<div class="text-wrapper_19 flex-col justify-between">
|
|
|
- <span class="text_100">待评价</span>
|
|
|
+ <span class="text_100">已评价</span>
|
|
|
<span class="text_101">{{dongdannu.dpj}}</span>
|
|
|
</div>
|
|
|
<img
|
|
@@ -157,6 +157,27 @@
|
|
|
/>
|
|
|
</div>
|
|
|
<div class="group_4 flex-col" v-if="fuweush">
|
|
|
+ <span class="text_13" >{{fuwudong[0].createTime}}</span>
|
|
|
+ <div class="text-wrapper_2" >
|
|
|
+ <span style="color: #161616;">{{fuwudong[0].record == null?'暂无数据' : fuwudong[0].record}}</span>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <!-- 1 -->
|
|
|
+ <span class="text_22" >{{fuwudong[1].createTime}}</span>
|
|
|
+ <div class="text-wrapper_2" >
|
|
|
+ <span style="color: #161616;">{{fuwudong[1].record == null?'暂无数据' : fuwudong[1].record}}</span>
|
|
|
+ </div>
|
|
|
+
|
|
|
+
|
|
|
+ <span class="text_29" >{{fuwudong[2].createTime}}</span>
|
|
|
+
|
|
|
+ </div>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <!-- <div class="group_4 flex-col" v-if="fuweush">
|
|
|
<span class="text_13" v-if="fuwudong[0].serviceProgress == 0">{{fuwudong[0].createTime}}</span>
|
|
|
<span class="text_13" v-if="fuwudong[0].serviceProgress == 1">{{fuwudong[0].takeTime}}</span>
|
|
|
<span class="text_13" v-if="fuwudong[0].serviceProgress == 2">{{fuwudong[0].updateTime}}</span>
|
|
@@ -182,9 +203,6 @@
|
|
|
<span style="color: #161616;">{{fuwudong[0].type == null?'暂无数据' : fuwudong[0].type}}</span>工单已完成;客户评价
|
|
|
<span style="color: #161616;">{{fuwudong[0].evaluation == null?'暂无数据' : fuwudong[0].evaluation}}</span>
|
|
|
</div>
|
|
|
-
|
|
|
- <!-- 1 -->
|
|
|
-
|
|
|
<span class="text_22" v-if="fuwudong[1].serviceProgress == 0">{{fuwudong[1].createTime}}</span>
|
|
|
<span class="text_22" v-if="fuwudong[1].serviceProgress == 1">{{fuwudong[1].takeTime}}</span>
|
|
|
<span class="text_22" v-if="fuwudong[1].serviceProgress == 2">{{fuwudong[1].updateTime}}</span>
|
|
@@ -216,8 +234,7 @@
|
|
|
<span class="text_29" v-if="fuwudong[2].serviceProgress == 1">{{fuwudong[2].takeTime}}</span>
|
|
|
<span class="text_29" v-if="fuwudong[2].serviceProgress == 2">{{fuwudong[2].updateTime}}</span>
|
|
|
<span class="text_29" v-if="fuwudong[2].serviceProgress == 3">{{fuwudong[2].updateTime}}</span>
|
|
|
-
|
|
|
- </div>
|
|
|
+ </div> -->
|
|
|
</div>
|
|
|
<div class="group_5 flex-col"></div>
|
|
|
<div class="group_6 flex-col"></div>
|
|
@@ -255,7 +272,7 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <div class="box_19 flex-col">
|
|
|
+ <div class="box_19 flex-col" v-if="isshue">
|
|
|
<span class="text_60">员工业绩Top6排名</span>
|
|
|
<div class="group_7 " style="margin-top: 20px;">
|
|
|
<el-row>
|
|
@@ -282,7 +299,7 @@
|
|
|
</el-row>
|
|
|
|
|
|
</div>
|
|
|
- <div class="group_8 ">
|
|
|
+ <div class="group_8 " >
|
|
|
<el-row>
|
|
|
<el-col :span="3">
|
|
|
<img
|
|
@@ -292,13 +309,13 @@
|
|
|
/>
|
|
|
</el-col>
|
|
|
<el-col :span="7" style="display: flex;justify-content: center;">
|
|
|
- <span class="text_64">孙丽</span>
|
|
|
+ <span class="text_64">{{topwlist[0].name}}</span>
|
|
|
</el-col>
|
|
|
<el-col :span="7" style="display: flex;justify-content: flex-end;">
|
|
|
- <span class="text_64">开发部</span>
|
|
|
+ <span class="text_64">{{topwlist[0].deptName}}</span>
|
|
|
</el-col>
|
|
|
<el-col :span="7" style="display: flex;justify-content: flex-end;">
|
|
|
- <span class="text_64">14单</span>
|
|
|
+ <span class="text_64">{{topwlist[0].num}}单</span>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
</div>
|
|
@@ -312,13 +329,13 @@
|
|
|
/>
|
|
|
</el-col>
|
|
|
<el-col :span="7" style="display: flex;justify-content: center;">
|
|
|
- <span class="text_64">王伟民</span>
|
|
|
+ <span class="text_64">{{topwlist[1].name}}</span>
|
|
|
</el-col>
|
|
|
<el-col :span="7" style="display: flex;justify-content: flex-end;">
|
|
|
- <span class="text_64">网络服务部</span>
|
|
|
+ <span class="text_64">{{topwlist[1].deptName}}</span>
|
|
|
</el-col>
|
|
|
<el-col :span="7" style="display: flex;justify-content: flex-end;">
|
|
|
- <span class="text_64">14单</span>
|
|
|
+ <span class="text_64">{{topwlist[1].num}}单</span>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
</div>
|
|
@@ -332,13 +349,13 @@
|
|
|
/>
|
|
|
</el-col>
|
|
|
<el-col :span="7" style="display: flex;justify-content: center;">
|
|
|
- <span class="text_64">王伟民</span>
|
|
|
+ <span class="text_64">{{topwlist[2].name}}</span>
|
|
|
</el-col>
|
|
|
<el-col :span="7" style="display: flex;justify-content: flex-end;">
|
|
|
- <span class="text_64">网络服务部</span>
|
|
|
+ <span class="text_64">{{topwlist[2].deptName}}</span>
|
|
|
</el-col>
|
|
|
<el-col :span="7" style="display: flex;justify-content: flex-end;">
|
|
|
- <span class="text_64">14单</span>
|
|
|
+ <span class="text_64">{{topwlist[2].num}}单</span>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
</div>
|
|
@@ -348,13 +365,13 @@
|
|
|
<span class="text_81">4</span>
|
|
|
</el-col>
|
|
|
<el-col :span="7" style="display: flex;justify-content: center;">
|
|
|
- <span class="text_64">王伟民</span>
|
|
|
+ <span class="text_64">{{topwlist[3].name}}</span>
|
|
|
</el-col>
|
|
|
<el-col :span="7" style="display: flex;justify-content: flex-end;">
|
|
|
- <span class="text_64">开发部</span>
|
|
|
+ <span class="text_64">{{topwlist[3].deptName}}</span>
|
|
|
</el-col>
|
|
|
<el-col :span="7" style="display: flex;justify-content: flex-end;">
|
|
|
- <span class="text_64">14单</span>
|
|
|
+ <span class="text_64">{{topwlist[3].num}}单</span>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
</div>
|
|
@@ -364,13 +381,13 @@
|
|
|
<span class="text_81">5</span>
|
|
|
</el-col>
|
|
|
<el-col :span="7" style="display: flex;justify-content: center;">
|
|
|
- <span class="text_64">王伟民</span>
|
|
|
+ <span class="text_64">{{topwlist[4].name}}</span>
|
|
|
</el-col>
|
|
|
<el-col :span="7" style="display: flex;justify-content: flex-end;">
|
|
|
- <span class="text_64">开发部</span>
|
|
|
+ <span class="text_64">{{topwlist[4].deptName}}</span>
|
|
|
</el-col>
|
|
|
<el-col :span="7" style="display: flex;justify-content: flex-end;">
|
|
|
- <span class="text_64">14单</span>
|
|
|
+ <span class="text_64">{{topwlist[4].num}}单</span>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
</div>
|
|
@@ -380,13 +397,13 @@
|
|
|
<span class="text_81">6</span>
|
|
|
</el-col>
|
|
|
<el-col :span="7" style="display: flex;justify-content: center;">
|
|
|
- <span class="text_64">刘琪琪</span>
|
|
|
+ <span class="text_64">{{topwlist[5].name}}</span>
|
|
|
</el-col>
|
|
|
<el-col :span="7" style="display: flex;justify-content: flex-end;">
|
|
|
- <span class="text_64">运维部</span>
|
|
|
+ <span class="text_64">{{topwlist[5].deptName}}</span>
|
|
|
</el-col>
|
|
|
<el-col :span="7" style="display: flex;justify-content: flex-end;">
|
|
|
- <span class="text_64">14单</span>
|
|
|
+ <span class="text_64">{{topwlist[5].num}}单</span>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
</div>
|
|
@@ -430,7 +447,7 @@
|
|
|
>您有<span style="color: #F06011;margin-right: 8px;margin-left: 5px;">{{dabnum}}</span>条新消息等待处理!</span
|
|
|
>
|
|
|
<span class="text_152"
|
|
|
- >上次登录时间:{{getyer}}年{{getmor}}月{{getday}}日 {{getshifL}}</span
|
|
|
+ >上次登录时间:{{dateFormat('YYYY年mm月dd日 HH:MM:',this.$store.state.user.loginDate) + '00'}} </span
|
|
|
>
|
|
|
</div>
|
|
|
<div class="box_25 flex-col">
|
|
@@ -448,7 +465,7 @@
|
|
|
</div>
|
|
|
|
|
|
<span class="text_128">客户工单</span>
|
|
|
- <div :class="item == 2? 'group_18 group_18it flex-col' : 'group_18 flex-col'" v-for="(item,index) in infoList" :key="index">
|
|
|
+ <div :class="{'co77b flex-col group_18':item.type==1,' group_18 co06b flex-col':item.type==2,' group_18 cofbb flex-col':item.type==3,' group_18 coafb flex-col':item.type==4,'group_18 coafsb flex-col':item.type==5,'group_18 coafssb flex-col':item.type==6,}" v-for="(item,index) in infoList" :key="index">
|
|
|
<div class="group_19 flex-row justify-between">
|
|
|
<span class="text_129">{{item.unitName == null ? '暂无数据' : item.unitName}}</span>
|
|
|
<img
|
|
@@ -514,7 +531,8 @@
|
|
|
/>
|
|
|
<div class="text-group_5">
|
|
|
<span class="text_132">服务类型:</span>
|
|
|
- <div class="text_133" style="color: #5470C6;"><dict-tag :options="dict.type.work_order_type" :value="item.type"/></div>
|
|
|
+ <div class="text_133" :class="{'co77':item.type==1,'co06':item.type==2,'cofb':item.type==3,'coaf':item.type==4,'coafs':item.type==5,'coafss':item.type==6,}">
|
|
|
+ <dict-tag :options="dict.type.work_order_type" :value="item.type"/></div>
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
@@ -547,7 +565,7 @@
|
|
|
<span style="position: absolute;bottom: 14px;left: 175px;font-weight: bold;
|
|
|
font-size: 18px;color: #FFFFFF;"> 服务类型单量统计</span>
|
|
|
</div>
|
|
|
- <pie-chartone :chart-data="huanxi"/>
|
|
|
+ <pie-chartone :chart-data="yearfuwulist"/>
|
|
|
<div class="section_6 flex-row" style="justify-content: space-between;margin-top: 45px; padding: 0 20px;">
|
|
|
<div style="flex: 1;display: flex;justify-content: center;">
|
|
|
<div class="section_7 flex-col"></div>
|
|
@@ -579,37 +597,37 @@
|
|
|
<el-row :gutter="20" style="padding: 20px;">
|
|
|
<el-col :span="8" style="margin-bottom: 10px;">
|
|
|
<div style="width: 100%;height: 56px;background: #E6ECFE;border-radius: 10px;text-align: center;padding-top: 10px;">
|
|
|
- <i style="font-weight: bold;font-size: 16px;color: #333333;">47</i>
|
|
|
+ <i style="font-weight: bold;font-size: 16px;color: #333333;">{{yearfuwulist.wlfw}}</i>
|
|
|
<p style="margin: 0;font-weight: 500;font-size: 16px;color: #333333;">网络服务</p>
|
|
|
</div>
|
|
|
</el-col>
|
|
|
<el-col :span="8" style="margin-bottom: 10px;">
|
|
|
<div style="width: 100%;height: 56px;background: #E6ECFE;border-radius: 10px;text-align: center;padding-top: 10px;">
|
|
|
- <i style="font-weight: bold;font-size: 16px;color: #333333;">47</i>
|
|
|
+ <i style="font-weight: bold;font-size: 16px;color: #333333;">{{yearfuwulist.sbfw}}</i>
|
|
|
<p style="margin: 0;font-weight: 500;font-size: 16px;color: #333333;">设备服务</p>
|
|
|
</div>
|
|
|
</el-col>
|
|
|
<el-col :span="8" style="margin-bottom: 10px;">
|
|
|
<div style="width: 100%;height: 56px;background: #E6ECFE;border-radius: 10px;text-align: center;padding-top: 10px;">
|
|
|
- <i style="font-weight: bold;font-size: 16px;color: #333333;">47</i>
|
|
|
+ <i style="font-weight: bold;font-size: 16px;color: #333333;">{{yearfuwulist.rjfw}}</i>
|
|
|
<p style="margin: 0;font-weight: 500;font-size: 16px;color: #333333;">软件服务</p>
|
|
|
</div>
|
|
|
</el-col>
|
|
|
<el-col :span="8" style="margin-bottom: 10px;">
|
|
|
<div style="width: 100%;height: 56px;background: #E6ECFE;border-radius: 10px;text-align: center;padding-top: 10px;">
|
|
|
- <i style="font-weight: bold;font-size: 16px;color: #333333;">47</i>
|
|
|
+ <i style="font-weight: bold;font-size: 16px;color: #333333;">{{yearfuwulist.kffw}}</i>
|
|
|
<p style="margin: 0;font-weight: 500;font-size: 16px;color: #333333;">开发服务</p>
|
|
|
</div>
|
|
|
</el-col>
|
|
|
<el-col :span="8">
|
|
|
<div style="width: 100%;height: 56px;background: #E6ECFE;border-radius: 10px;text-align: center;padding-top: 10px;">
|
|
|
- <i style="font-weight: bold;font-size: 16px;color: #333333;">47</i>
|
|
|
+ <i style="font-weight: bold;font-size: 16px;color: #333333;">{{yearfuwulist.sjfw}}</i>
|
|
|
<p style="margin: 0;font-weight: 500;font-size: 16px;color: #333333;">设计服务</p>
|
|
|
</div>
|
|
|
</el-col>
|
|
|
<el-col :span="8">
|
|
|
<div style="width: 100%;height: 56px;background: #E6ECFE;border-radius: 10px;text-align: center;padding-top: 10px;">
|
|
|
- <i style="font-weight: bold;font-size: 16px;color: #333333;">47</i>
|
|
|
+ <i style="font-weight: bold;font-size: 16px;color: #333333;">{{yearfuwulist.qtfw}}</i>
|
|
|
<p style="margin: 0;font-weight: 500;font-size: 16px;color: #333333;">其他服务</p>
|
|
|
</div>
|
|
|
</el-col>
|
|
@@ -623,22 +641,22 @@
|
|
|
<span style="position: absolute;bottom: 14px;left: 175px;font-weight: bold;
|
|
|
font-size: 18px;color: #FFFFFF;"> 年度单量统计</span>
|
|
|
</div>
|
|
|
- <line-chart :chart-data="lineChartData" />
|
|
|
+ <line-chart :chart-data="monthlist" />
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
</div>
|
|
|
- <div style="padding: 20px; background-color: rgba(255,255,255,0.5);">
|
|
|
+ <div style="padding: 20px; background-color: rgba(255,255,255,0.5);" v-if="isyearsh">
|
|
|
<div class=" flex-col" style="margin-top: 0;padding-top: 0;background-color: rgba(255,243,224,0.5); padding: 0 20px 20px 20px; " >
|
|
|
<div style="position: relative;">
|
|
|
<img src="../assets/images/pic_ndzj_bt_orang.png" alt=""style="width: 100%;height: 46px;">
|
|
|
- <span style="position: absolute;bottom: 14px;left: 175px;font-weight: bold;
|
|
|
+ <span style="position: absolute;bottom: 14px;left: 114px;font-weight: bold;
|
|
|
font-size: 18px;color: #FFFFFF;"> 员工业绩Top 6</span>
|
|
|
</div>
|
|
|
<div class="box_19 flex-col" style="background-color: #FBEFDC;">
|
|
|
<div class="group_7 " style="margin-top: 20px; width: 100%;">
|
|
|
- <el-row>
|
|
|
+ <el-row >
|
|
|
<el-col :span="3">
|
|
|
<div style="width: 100%;height: 26px;">
|
|
|
|
|
@@ -672,13 +690,13 @@
|
|
|
/>
|
|
|
</el-col>
|
|
|
<el-col :span="7" style="display: flex;justify-content: center;">
|
|
|
- <span class="text_64">孙丽</span>
|
|
|
+ <span class="text_64">{{topyearwlist[0].name}}</span>
|
|
|
</el-col>
|
|
|
<el-col :span="7" style="display: flex;justify-content: flex-end;">
|
|
|
- <span class="text_64">开发部</span>
|
|
|
+ <span class="text_64">{{topyearwlist[0].deptName}}</span>
|
|
|
</el-col>
|
|
|
<el-col :span="7" style="display: flex;justify-content: flex-end;">
|
|
|
- <span class="text_64">14单</span>
|
|
|
+ <span class="text_64">{{topyearwlist[0].num}}单</span>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
</div>
|
|
@@ -692,13 +710,13 @@
|
|
|
/>
|
|
|
</el-col>
|
|
|
<el-col :span="7" style="display: flex;justify-content: center;">
|
|
|
- <span class="text_64">王伟民</span>
|
|
|
+ <span class="text_64">{{topyearwlist[1].name}}</span>
|
|
|
</el-col>
|
|
|
<el-col :span="7" style="display: flex;justify-content: flex-end;">
|
|
|
- <span class="text_64">网络服务部</span>
|
|
|
+ <span class="text_64">{{topyearwlist[1].deptName}}</span>
|
|
|
</el-col>
|
|
|
<el-col :span="7" style="display: flex;justify-content: flex-end;">
|
|
|
- <span class="text_64">14单</span>
|
|
|
+ <span class="text_64">{{topyearwlist[1].num}}单</span>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
</div>
|
|
@@ -712,13 +730,13 @@
|
|
|
/>
|
|
|
</el-col>
|
|
|
<el-col :span="7" style="display: flex;justify-content: center;">
|
|
|
- <span class="text_64">王伟民</span>
|
|
|
+ <span class="text_64">{{topyearwlist[2].name}}</span>
|
|
|
</el-col>
|
|
|
<el-col :span="7" style="display: flex;justify-content: flex-end;">
|
|
|
- <span class="text_64">网络服务部</span>
|
|
|
+ <span class="text_64">{{topyearwlist[2].deptName}}</span>
|
|
|
</el-col>
|
|
|
<el-col :span="7" style="display: flex;justify-content: flex-end;">
|
|
|
- <span class="text_64">14单</span>
|
|
|
+ <span class="text_64">{{topyearwlist[2].num}}单</span>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
</div>
|
|
@@ -728,13 +746,13 @@
|
|
|
<span class="text_81">4</span>
|
|
|
</el-col>
|
|
|
<el-col :span="7" style="display: flex;justify-content: center;">
|
|
|
- <span class="text_64">王伟民</span>
|
|
|
+ <span class="text_64">{{topyearwlist[3].name}}</span>
|
|
|
</el-col>
|
|
|
<el-col :span="7" style="display: flex;justify-content: flex-end;">
|
|
|
- <span class="text_64">开发部</span>
|
|
|
+ <span class="text_64">{{topyearwlist[3].deptName}}</span>
|
|
|
</el-col>
|
|
|
<el-col :span="7" style="display: flex;justify-content: flex-end;">
|
|
|
- <span class="text_64">14单</span>
|
|
|
+ <span class="text_64">{{topyearwlist[3].num}}单</span>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
</div>
|
|
@@ -744,13 +762,13 @@
|
|
|
<span class="text_81">5</span>
|
|
|
</el-col>
|
|
|
<el-col :span="7" style="display: flex;justify-content: center;">
|
|
|
- <span class="text_64">王伟民</span>
|
|
|
+ <span class="text_64">{{topyearwlist[4].name}}</span>
|
|
|
</el-col>
|
|
|
<el-col :span="7" style="display: flex;justify-content: flex-end;">
|
|
|
- <span class="text_64">开发部</span>
|
|
|
+ <span class="text_64">{{topyearwlist[4].deptName}}</span>
|
|
|
</el-col>
|
|
|
<el-col :span="7" style="display: flex;justify-content: flex-end;">
|
|
|
- <span class="text_64">14单</span>
|
|
|
+ <span class="text_64">{{topyearwlist[4].num}}单</span>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
</div>
|
|
@@ -760,13 +778,13 @@
|
|
|
<span class="text_81">6</span>
|
|
|
</el-col>
|
|
|
<el-col :span="7" style="display: flex;justify-content: center;">
|
|
|
- <span class="text_64">刘琪琪</span>
|
|
|
+ <span class="text_64">{{topyearwlist[5].name}}</span>
|
|
|
</el-col>
|
|
|
<el-col :span="7" style="display: flex;justify-content: flex-end;">
|
|
|
- <span class="text_64">运维部</span>
|
|
|
+ <span class="text_64">{{topyearwlist[5].deptName}}</span>
|
|
|
</el-col>
|
|
|
<el-col :span="7" style="display: flex;justify-content: flex-end;">
|
|
|
- <span class="text_64">14单</span>
|
|
|
+ <span class="text_64">{{topyearwlist[5].num}}单</span>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
</div>
|
|
@@ -784,7 +802,7 @@
|
|
|
|
|
|
<script>
|
|
|
import { listInfo, getInfo, delInfo, addInfo, updateInfo,jd,listStaffManageNoPage } from "@/api/system/info"
|
|
|
- import { lc,fw,bj,num,recordlist,px } from "@/api/index"
|
|
|
+ import { lc,fw,bj,num,recordlist,px,yearpx,fwlx,month } from "@/api/index"
|
|
|
import PanelGroup from './dashboard/PanelGroup'
|
|
|
import LineChart from './dashboard/LineChart'
|
|
|
import RaddarChart from './dashboard/RaddarChart'
|
|
@@ -845,11 +863,18 @@ export default {
|
|
|
fuweush:false,
|
|
|
buyTypeOptions:[],
|
|
|
buyTypeOptionsmy:[],
|
|
|
- isgegs:[]
|
|
|
+ isgegs:[],
|
|
|
+ topwlist:[],
|
|
|
+ topyearwlist:[],
|
|
|
+ yearfuwulist:[],
|
|
|
+ monthlist:{},
|
|
|
+ isshue:false,
|
|
|
+ isyearsh:false
|
|
|
}
|
|
|
},
|
|
|
created() {
|
|
|
this.avatar = this.$store.state.user.avatar
|
|
|
+ console.log(this.dateFormat('YYYY年mm月dd日 HH时MM分',this.$store.state.user.loginDate))
|
|
|
this.getDicts("work_order_type").then(response => {
|
|
|
this.buyTypeOptions = response.data;
|
|
|
this.buyTypeOptions.filter(rou=>{
|
|
@@ -871,6 +896,11 @@ export default {
|
|
|
this.getzhuzh()
|
|
|
this.getdaiban()
|
|
|
this.fuwudongg()
|
|
|
+ this.gettop()
|
|
|
+ // 年度总结
|
|
|
+ this.yeartop()
|
|
|
+ this.getyearfu()
|
|
|
+ this.getmonth()
|
|
|
},
|
|
|
methods: {
|
|
|
// 工单数量
|
|
@@ -899,28 +929,21 @@ export default {
|
|
|
this.fuweush = false
|
|
|
recordlist(nsgh).then(response => {
|
|
|
this.fuwudong = response.rows
|
|
|
+ let gd={unitName:null,responsibleName:'暂无数据',type:'暂无数据',orderId:'暂无数据',record:'暂无数据',
|
|
|
+ updateTime:'暂无数据',takeTime:'暂无数据',createTime:'暂无数据',serviceProgress:0,evaluation:'暂无数据'
|
|
|
+ }
|
|
|
this.fuwudong.filter(rou=>{
|
|
|
rou.type = this.selectDictLabel(this.buyTypeOptions ,rou.type)
|
|
|
rou.evaluation = this.selectDictLabel(this.buyTypeOptionsmy ,rou.evaluation)
|
|
|
})
|
|
|
-
|
|
|
if(this.fuwudong.length == 0){
|
|
|
- let gd={unitName:null,responsibleName:'暂无数据',type:'暂无数据',orderId:'暂无数据',
|
|
|
- updateTime:'暂无数据',takeTime:'暂无数据',createTime:'暂无数据',serviceProgress:0,evaluation:'暂无数据'
|
|
|
- }
|
|
|
this.fuwudong.push(gd)
|
|
|
this.fuwudong.push(gd)
|
|
|
this.fuwudong.push(gd)
|
|
|
}else if(this.fuwudong.length == 1){
|
|
|
- let gd={unitName:null,responsibleName:'暂无数据',type:'暂无数据',orderId:'暂无数据',
|
|
|
- updateTime:'暂无数据',takeTime:'暂无数据',createTime:'暂无数据',serviceProgress:0,evaluation:'暂无数据'
|
|
|
- }
|
|
|
this.fuwudong.push(gd)
|
|
|
this.fuwudong.push(gd)
|
|
|
}else if(this.fuwudong.length == 2){
|
|
|
- let gd={unitName:null,responsibleName:'暂无数据',type:'暂无数据',orderId:'暂无数据',
|
|
|
- updateTime:'暂无数据',takeTime:'暂无数据',createTime:'暂无数据',serviceProgress:0,evaluation:'暂无数据'
|
|
|
- }
|
|
|
this.fuwudong.push(gd)
|
|
|
}
|
|
|
// console.log(this.fuwudong)
|
|
@@ -936,8 +959,91 @@ export default {
|
|
|
},
|
|
|
// 月top6
|
|
|
gettop(){
|
|
|
+ this.isshue = false
|
|
|
+ px().then(response => {
|
|
|
+ this.topwlist = response.data
|
|
|
+ let snge={xh:'暂无数据','name':'暂无数据','deptName':'暂无数据','num':'暂无数据'}
|
|
|
+ if(this.topwlist.length == 0){
|
|
|
+ this.topwlist.push(snge)
|
|
|
+ this.topwlist.push(snge)
|
|
|
+ this.topwlist.push(snge)
|
|
|
+ this.topwlist.push(snge)
|
|
|
+ this.topwlist.push(snge)
|
|
|
+ this.topwlist.push(snge)
|
|
|
+ }else if(this.topwlist.length == 1){
|
|
|
+ this.topwlist.push(snge)
|
|
|
+ this.topwlist.push(snge)
|
|
|
+ this.topwlist.push(snge)
|
|
|
+ this.topwlist.push(snge)
|
|
|
+ this.topwlist.push(snge)
|
|
|
+ }else if(this.topwlist.length == 2){
|
|
|
+ this.topwlist.push(snge)
|
|
|
+ this.topwlist.push(snge)
|
|
|
+ this.topwlist.push(snge)
|
|
|
+ this.topwlist.push(snge)
|
|
|
+ }else if(this.topwlist.length == 3){
|
|
|
+ this.topwlist.push(snge)
|
|
|
+ this.topwlist.push(snge)
|
|
|
+ this.topwlist.push(snge)
|
|
|
+ }else if(this.topwlist.length == 4){
|
|
|
+ this.topwlist.push(snge)
|
|
|
+ this.topwlist.push(snge)
|
|
|
+ }else if(this.topwlist.length == 5){
|
|
|
+ this.topwlist.push(snge)
|
|
|
+ }
|
|
|
+ this.isshue = true
|
|
|
+ })
|
|
|
+ },
|
|
|
+ // 年度总结统计
|
|
|
+ yeartop(){
|
|
|
+ this.isyearsh = false
|
|
|
+ yearpx().then(response => {
|
|
|
+ this.topyearwlist = response.data
|
|
|
+ let snge={xh:'暂无数据','name':'暂无数据','deptName':'暂无数据','num':'暂无数据'}
|
|
|
+ if(this.topyearwlist.length == 0){
|
|
|
+ this.topyearwlist.push(snge)
|
|
|
+ this.topyearwlist.push(snge)
|
|
|
+ this.topyearwlist.push(snge)
|
|
|
+ this.topyearwlist.push(snge)
|
|
|
+ this.topyearwlist.push(snge)
|
|
|
+ this.topyearwlist.push(snge)
|
|
|
+ }else if(this.topyearwlist.length == 1){
|
|
|
+ this.topyearwlist.push(snge)
|
|
|
+ this.topyearwlist.push(snge)
|
|
|
+ this.topyearwlist.push(snge)
|
|
|
+ this.topyearwlist.push(snge)
|
|
|
+ this.topyearwlist.push(snge)
|
|
|
+ }else if(this.topyearwlist.length == 2){
|
|
|
+ this.topyearwlist.push(snge)
|
|
|
+ this.topyearwlist.push(snge)
|
|
|
+ this.topyearwlist.push(snge)
|
|
|
+ this.topyearwlist.push(snge)
|
|
|
+ }else if(this.topyearwlist.length == 3){
|
|
|
+ this.topyearwlist.push(snge)
|
|
|
+ this.topyearwlist.push(snge)
|
|
|
+ this.topyearwlist.push(snge)
|
|
|
+ }else if(this.topyearwlist.length == 4){
|
|
|
+ this.topyearwlist.push(snge)
|
|
|
+ this.topyearwlist.push(snge)
|
|
|
+ }else if(this.topyearwlist.length == 5){
|
|
|
+ this.topyearwlist.push(snge)
|
|
|
+ }
|
|
|
+ this.isyearsh = true
|
|
|
+ })
|
|
|
|
|
|
},
|
|
|
+ // 年度服务类型单量统计
|
|
|
+ getyearfu(){
|
|
|
+ fwlx().then(response => {
|
|
|
+ this.yearfuwulist = response.data
|
|
|
+ })
|
|
|
+ },
|
|
|
+ // 年度单量统计
|
|
|
+ getmonth(){
|
|
|
+ month().then(response => {
|
|
|
+ this.monthlist = response.data
|
|
|
+ })
|
|
|
+ },
|
|
|
// 日历
|
|
|
getList(row) {
|
|
|
this.loading = true;
|
|
@@ -996,11 +1102,35 @@ export default {
|
|
|
_this.getyer = yy;
|
|
|
_this.getmor = mm;
|
|
|
_this.getday = dd;
|
|
|
- _this.getshifL = hh + ':' + mf + ':' + ss;
|
|
|
+ _this.getshifL = ss;
|
|
|
// _this.getweek = week;
|
|
|
|
|
|
// console.log(this.gettime)
|
|
|
},
|
|
|
+ // 日期转换
|
|
|
+ dateFormat(fmt, date) {
|
|
|
+ let ret="";
|
|
|
+ date=new Date(date);
|
|
|
+ const opt = {
|
|
|
+ 'Y+': date.getFullYear().toString(), // 年
|
|
|
+ 'm+': (date.getMonth() + 1).toString(), // 月
|
|
|
+ 'd+': date.getDate().toString(), // 日
|
|
|
+ 'H+': date.getHours().toString(), // 时
|
|
|
+ 'M+': date.getMinutes().toString(), // 分
|
|
|
+ 'S+': date.getSeconds().toString() // 秒
|
|
|
+ // 有其他格式化字符需求可以继续添加,必须转化成字符串
|
|
|
+ }
|
|
|
+ for (let k in opt) {
|
|
|
+ ret = new RegExp('(' + k + ')').exec(fmt)
|
|
|
+ if (ret) {
|
|
|
+ fmt = fmt.replace(
|
|
|
+ ret[1],
|
|
|
+ ret[1].length == 1 ? opt[k] : opt[k].padStart(ret[1].length, '0')
|
|
|
+ )
|
|
|
+ }
|
|
|
+ }
|
|
|
+ return fmt
|
|
|
+ },
|
|
|
// 快捷方式跳转
|
|
|
tiaoz(row){
|
|
|
if(row == 0){
|
|
@@ -2419,7 +2549,6 @@ export default {
|
|
|
}
|
|
|
|
|
|
.group_7 {
|
|
|
- width: 240px;
|
|
|
height: 26px;
|
|
|
// margin: 14px 0 0 66px;
|
|
|
}
|
|
@@ -4557,5 +4686,43 @@ button:active {
|
|
|
background: #00A06E !important;
|
|
|
border-radius: 2px !important;
|
|
|
}
|
|
|
+ .co77{
|
|
|
+ color: #779AF9 !important;
|
|
|
+
|
|
|
+ }
|
|
|
+ .co06{
|
|
|
+ color: #AF88B8 !important;
|
|
|
+ }
|
|
|
+ .cofb{
|
|
|
+ color: #FFA20C !important;
|
|
|
+ }
|
|
|
+ .coaf{
|
|
|
+ color: #5470C6 !important;
|
|
|
+ }
|
|
|
+ .coafs{
|
|
|
+ color: #00B278 !important;
|
|
|
+ }
|
|
|
+ .coafss{
|
|
|
+ color: #FF6969 !important;
|
|
|
+ }
|
|
|
+ .co77{
|
|
|
+ color: #779AF9 !important;
|
|
|
+
|
|
|
+ }
|
|
|
+ .co06b{
|
|
|
+ border-color: #AF88B8 !important;
|
|
|
+ }
|
|
|
+ .cofbb{
|
|
|
+ border-color: #FFA20C !important;
|
|
|
+ }
|
|
|
+ .coafb{
|
|
|
+ border-color: #5470C6 !important;
|
|
|
+ }
|
|
|
+ .coafsb{
|
|
|
+ border-color: #00B278 !important;
|
|
|
+ }
|
|
|
+ .coafssb{
|
|
|
+ border-color: #FF6969 !important;
|
|
|
+ }
|
|
|
</style>
|
|
|
|