yf_zd 5 years ago
parent
commit
3c26f16f08

+ 1 - 1
bigdata2/src/components/UserManger.vue

@@ -289,7 +289,7 @@ export default {
 				// autoCropHeight: 200, // 默认生成截图框高度
 				// autoCropHeight: 200, // 默认生成截图框高度
 				// fixedBox: true, // 固定截图框大小 不允许改变
 				// fixedBox: true, // 固定截图框大小 不允许改变
 				fixed: true, // 是否开启截图框宽高固定比例
 				fixed: true, // 是否开启截图框宽高固定比例
-				fixedNumber: [230, 165], // 截图框的宽高比例
+				fixedNumber: [136, 32], // 截图框的宽高比例
 				full: true, // 是否输出原图比例的截图
 				full: true, // 是否输出原图比例的截图
 				canMoveBox: false, // 截图框能否拖动
 				canMoveBox: false, // 截图框能否拖动
 				original: false, // 上传图片按照原始比例渲染
 				original: false, // 上传图片按照原始比例渲染

+ 8 - 0
bigdata2/src/main.js

@@ -47,6 +47,14 @@ promise.polyfill();
 
 
 
 
 import VueHighcharts from 'vue-highcharts';
 import VueHighcharts from 'vue-highcharts';
+import Highcharts from 'highcharts';
+Highcharts.setOptions({
+// 所有语言文字相关配置都设置在 lang 里
+    lang: {
+    resetZoom: '重置',
+    resetZoomTitle: '重置缩放比例'
+  }
+})
 Vue.use(VueHighcharts);
 Vue.use(VueHighcharts);
 import Viewer from 'v-viewer'
 import Viewer from 'v-viewer'
 Vue.use(Viewer, {
 Vue.use(Viewer, {

+ 2 - 2
bigdata2/src/pages/forecasting/bzy/Bzy.vue

@@ -49,7 +49,7 @@
 								<div slot="content" class="content">
 								<div slot="content" class="content">
 									<p>
 									<p>
 										<i class="iconfont icon-yonghu"></i>
 										<i class="iconfont icon-yonghu"></i>
-										设备ID:{{item.device_id.slice(-8)}}
+										设备ID:{{item.device_id}}
 									</p>
 									</p>
 									<p>
 									<p>
 										<i class="iconfont icon-biaoqian"></i>
 										<i class="iconfont icon-biaoqian"></i>
@@ -85,7 +85,7 @@
 				<el-card class="box-card">
 				<el-card class="box-card">
 					<el-table :data="equipList" stripe style="width: 100%">
 					<el-table :data="equipList" stripe style="width: 100%">
 						<el-table-column prop="device_id" label="设备ID" width="180">
 						<el-table-column prop="device_id" label="设备ID" width="180">
-							<template slot-scope="scope">{{scope.row.device_id.slice(-8)}}</template>
+							<template slot-scope="scope">{{scope.row.device_id}}</template>
 						</el-table-column>
 						</el-table-column>
 						<el-table-column prop="device_name" label="设备名称" width="180">
 						<el-table-column prop="device_name" label="设备名称" width="180">
 							<template slot-scope="scope">{{scope.row.device_name==""?"无":scope.row.device_name}}</template>
 							<template slot-scope="scope">{{scope.row.device_name==""?"无":scope.row.device_name}}</template>