service-sheet-analysis.html 7.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="UTF-8">
  5. <title>服务工单分析</title>
  6. <meta name="author" content="yihu.com" />
  7. <meta name="format-detection" content="telephone=no" />
  8. <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0" />
  9. <meta name="apple-mobile-web-app-capable" content="yes" />
  10. <meta name="apple-mobile-web-app-status-bar-style" content="black" />
  11. <link rel="shortcut icon" href="../../../favicon.ico">
  12. <link rel="stylesheet" type="text/css" href="../../../css/font-awesome.min.css" />
  13. <link rel="stylesheet" type="text/css" href="../../../css/style.min.css" />
  14. <link rel="stylesheet" type="text/css" href="../../../css/flex.css" />
  15. <link rel="stylesheet" type="text/css" href="../../../css/bootstrap.min.css" />
  16. <link rel="stylesheet" type="text/css" href="../../../css/cross.css" />
  17. <link href="../../../plugins/toastr/toastr.min.css" rel="stylesheet">
  18. <link rel="stylesheet" type="text/css" href="../../../css/element-ui.css" />
  19. <link rel="stylesheet" type="text/css" href="../css/common.css" />
  20. </head>
  21. <style>
  22. .el-table th{
  23. background: #F5F5FA;
  24. }
  25. .font-normal{
  26. line-height: 28px;
  27. }
  28. .wenhao{
  29. background: url(../../../images/icon_wenhao2.png) no-repeat;
  30. background-size: contain;
  31. color: #999;
  32. }
  33. </style>
  34. <body>
  35. <div id="main" class="c-hide" v-cloak>
  36. <header-tab appname="服务工单分析" isback="true" isrefresh="true"></header-tab>
  37. <div class="mt20 plr10">
  38. <div class="flex searchDiv">
  39. <div class="f_s_0">
  40. <span class="c-f16 c-333 pr10">时&emsp;&emsp;间</span>
  41. <el-date-picker v-model="dateValue[0]" type="date" unlink-panels placeholder="开始日期" value-format="yyyy-MM-dd" :clearable="false" :picker-options="pickerOptions" >
  42. </el-date-picker>
  43. <span>—</span>
  44. <el-date-picker v-model="dateValue[1]" type="date" unlink-panels placeholder="结束日期" value-format="yyyy-MM-dd" :clearable="false" :picker-options="pickerOptions">
  45. </el-date-picker>
  46. </div>
  47. <div class="f_s_0 ml20">
  48. <span class="c-f16 c-333 pr10">区域范围</span>
  49. <el-select v-model="valueArea" placeholder="请选择">
  50. <el-option v-for="item in optionsArea" :key="item.code" :label="item.name" :value="item.code">
  51. </el-option>
  52. </el-select>
  53. </div>
  54. <div class="f_s_0 ml20">
  55. <span class="c-f16 c-333 pr10">类型</span>
  56. <el-select v-model="valueType" placeholder="请选择" @change="seleType">
  57. <el-option v-for="item in optionsType" :key="item.code" :label="item.name" :value="item.code" >
  58. </el-option>
  59. </el-select>
  60. </div>
  61. <div class="f_g_1 ml20">
  62. <span class="btn bgc-12B7F5 fl" @click="initData()">搜索</span>
  63. <span class="btn bgc-FF9630 ml20 fr" @click="exportData()">导出</span>
  64. </div>
  65. </div>
  66. <el-table border :data="tableData" style="width: 100%" class="mt20" v-loading="isloading">
  67. <el-table-column prop="area" label="地区/机构" min-width="200">
  68. <template slot-scope="scope">
  69. <div @click="treeClick(scope.row,scope.$index)" style="cursor: pointer;">
  70. <template v-if="scope.row.children && scope.row.children.length > 0">
  71. <i class="el-icon-arrow-down" :style="'margin-left:'+(scope.row.level-1)*2+'em;'" v-if="scope.row.open"></i>
  72. <i class="el-icon-arrow-right" :style="'margin-left:'+(scope.row.level-1)*2+'em;'" v-else></i>
  73. <span>{{ scope.row.area }}</span>
  74. </template>
  75. <span v-else :style="'margin-left:'+(scope.row.level-1)*2+'em;'">{{ scope.row.area }}</span>
  76. </div>
  77. </template>
  78. </el-table-column>
  79. <el-table-column prop="all" label="合计(个)" align="right" header-align="center">
  80. </el-table-column>
  81. <el-table-column prop="waitinglist" label="待派单(个)" align="right" header-align="center">
  82. </el-table-column>
  83. <el-table-column prop="waitingorder" label="待接单(个)" align="right" header-align="center">
  84. </el-table-column>
  85. <el-table-column prop="waitingservice" label="已接单(个)" align="right" header-align="center">
  86. </el-table-column>
  87. <el-table-column prop="waitingpay" label="待服务(个)" align="right" header-align="center">
  88. </el-table-column>
  89. <el-table-column prop="waitingcomment" label="待评价(个)" align="right" header-align="center">
  90. </el-table-column>
  91. <el-table-column prop="completed" label="已完成(个)" align="right" header-align="center">
  92. </el-table-column>
  93. <el-table-column prop="cancelled" label="已取消(个)" align="right" header-align="center">
  94. </el-table-column>
  95. <el-table-column prop="evaluateSplit" align="right" header-align="center" :render-header="customFieldColumn" width="150px">
  96. </el-table-column>
  97. </el-table>
  98. </div>
  99. <!--模态框组件-->
  100. <vuedals></vuedals>
  101. </div>
  102. <script src="../../../js/vue.js" type="text/javascript" charset="utf-8"></script>
  103. <script src="../../../js/jquery-2.2.4.js" type="text/javascript" charset="utf-8"></script>
  104. <script src="../../../plugins/toastr/toastr.min.js"></script>
  105. <script src="../../../js/es6-promise.js" type="text/javascript" charset="utf-8"></script>
  106. <script src="../../../js/underscore.js" type="text/javascript" charset="utf-8"></script>
  107. <script src="../../../js/util.js" type="text/javascript" charset="utf-8"></script>
  108. <script src="../../../plugins/echarts/3.8.5/echarts.min.js" type="text/javascript" charset="utf-8"></script>
  109. <script src="../../../api/http-request.js" type="text/javascript" charset="utf-8"></script>
  110. <script src="../../../api/statistics-api.js" type="text/javascript" charset="utf-8"></script>
  111. <script src="../../../api/home-api.js" type="text/javascript" charset="utf-8"></script>
  112. <script src="../../../js/element-ui.js" type="text/javascript" charset="utf-8"></script>
  113. <script src="../../../component/common/event-bus.js"></script>
  114. <script src="../../../component/common/vuedals.js" type="text/javascript" charset="utf-8"></script>
  115. <script src="../../../component/statistics/header-tab.js" type="text/javascript" charset="utf-8"></script>
  116. <script src="../js/common.js" type="text/javascript" charset="utf-8"></script>
  117. <script src="../js/xlsx.core.min.js" type="text/javascript" charset="utf-8"></script>
  118. <script src="../js/exportExcel.js" type="text/javascript" charset="utf-8"></script>
  119. <script src="../js/service-sheet-analysis.js" type="text/javascript" charset="utf-8"></script>
  120. </body>
  121. </html>