rsbi hace 4 años
padre
commit
844c302887

BIN
src/assets/image/exchangexs1.gif


BIN
src/assets/image/exchangexs2.gif


BIN
src/assets/image/reload.png


+ 26 - 0
src/style/common.less

@@ -124,4 +124,30 @@ html,body{
 .el-menu--horizontal>.el-submenu .el-submenu__title {
     height:35px;
     line-height: 35px;
+}
+.btn-default {
+    color: #58666e !important;
+    background-color: #fcfdfd;
+    background-color: #fff;
+    border-color: #dee5e7;
+    border-bottom-color: #d8e1e3;
+    -webkit-box-shadow: 0 1px 1px rgba(90, 90, 90, 0.1);
+    box-shadow: 0 1px 1px rgba(90, 90, 90, 0.1);
+}
+.btn-default:hover,
+.btn-default:focus,
+.btn-default:active,
+.btn-default.active {
+    color: #58666e !important;
+    background-color: #edf1f2;
+    border-color: #c7d3d6;
+}
+.btn-rounded {
+    border-radius: 50px;
+}
+.btn-outline {
+    color: inherit;
+    background-color: transparent;
+    -webkit-transition: all .5s;
+    transition: all .5s;
 }

La diferencia del archivo ha sido suprimido porque es demasiado grande
+ 275 - 11
src/view/bireport/ReportChart.vue


+ 19 - 0
src/view/bireport/chartUtils.js

@@ -0,0 +1,19 @@
+/**
+ * 图形的工具类
+ */
+import $ from 'jquery'
+import * as tools from '@/view/bireport/bireportUtils'
+
+export function findDimById(dimId, dims){
+	var ret = null;
+	if(!dims || dims == null){
+		return ret;
+	}
+	for(var i=0; i<dims.length; i++){
+		if(dims[i].id == dimId){
+			ret = dims[i];
+			break;
+		}
+	}
+	return ret;
+}

+ 0 - 1
src/view/bireport/tableUtils.js

@@ -3,7 +3,6 @@
  */
 import $ from 'jquery'
 import * as tools from '@/view/bireport/bireportUtils'
-import { lte } from 'semver';
 
 export const dimsort = (tp, dim, pos, comp, cb)=>{
 	dim.dimord = tp;