|
@@ -2,9 +2,9 @@
|
|
|
<div>
|
|
|
<el-form ref="formData" :rules="formRules" :model="formData" size="mini" :disabled="checkShow" label-width="80px">
|
|
|
<el-row type="flex" justify="space-around">
|
|
|
- <el-form-item label="发动机型号" prop="model" label-width="95px">
|
|
|
- <el-select v-model="formData.model" placeholder="请选择发动机型号" @change="changeEngine">
|
|
|
- <el-option v-for="item in engineModelOption" :key="item.id" :label="item.model" :value="item.id">
|
|
|
+ <el-form-item label="发动机型号" prop="engineModel" label-width="95px">
|
|
|
+ <el-select v-model="formData.engineModel" placeholder="请选择发动机型号" @change="changeEngine">
|
|
|
+ <el-option v-for="item in engineOptions" :key="item.id" :label="item.model" :value="item.id">
|
|
|
</el-option>
|
|
|
<el-option :value="undefined" style="cursor: pointer">
|
|
|
<el-button type="text" @click="onClickBtn('engine')"><i class="el-icon-plus"></i> 增加发动机型号</el-button>
|
|
@@ -28,10 +28,8 @@
|
|
|
</el-form>
|
|
|
<el-form ref="formData" :disabled="checkShow" :model="formData" :rules="formRules" size="mini" label-width="80px">
|
|
|
<el-form-item label="测量批次" prop="measurementBatch" style="margin-left: 5%">
|
|
|
- <el-select v-model="formData.measurementBatchId" placeholder="请选择测量批次">
|
|
|
+ <el-select v-model="formData.measurementBatch" placeholder="请选择测量批次">
|
|
|
<el-option v-for="item in batchOption" :key="item.id" :label="item.measurementBatch" :value="item.id">
|
|
|
- <span style="float: left">{{ item.id }}</span>
|
|
|
- <span style="float: right; color: #8492a6; font-size: 13px">{{ item.measurementBatch }}</span>
|
|
|
</el-option>
|
|
|
<el-option :value="undefined" disabled style="cursor: pointer">
|
|
|
<el-button type="text" @click="onClickBtn('measBatch')"><i class="el-icon-plus"></i> 增加测量批次</el-button>
|
|
@@ -41,11 +39,11 @@
|
|
|
</el-form>
|
|
|
<div class="box">
|
|
|
<span class="title">环境参数</span>
|
|
|
- <el-form :disabled="checkShow" :rules="formRules" ref="formData" :model="formData" size="mini" label-width="80px">
|
|
|
+ <el-form :disabled="checkShow" :rules="formRules" ref="formData" :model="formData" size="mini" label-width="80px" :validate-on-rule-change="false">
|
|
|
<el-row type="flex" justify="space-around">
|
|
|
<el-form-item label="发动机状态" label-width="100px" prop="engineStatus">
|
|
|
<el-select v-model="formData.engineStatus" placeholder="请选择发动机状态">
|
|
|
- <el-option v-for="item in engineStatusOption" :key="item" :label="item" :value="item">
|
|
|
+ <el-option v-for="item in engineStatusOptions" :key="item" :label="item" :value="item">
|
|
|
</el-option>
|
|
|
<el-option :value="undefined" disabled style="cursor: pointer">
|
|
|
<el-button type="text" @click="onClickBtn('engineStatus')"><i class="el-icon-plus"></i>
|
|
@@ -55,7 +53,7 @@
|
|
|
</el-form-item>
|
|
|
<el-form-item label="角度" prop="angle">
|
|
|
<el-select v-model="formData.angle" placeholder="请输入角度">
|
|
|
- <el-option v-for="item in angleOption" :key="item" :label="item" :value="item">
|
|
|
+ <el-option v-for="item in angleOptions" :key="item" :label="item" :value="item">
|
|
|
</el-option>
|
|
|
<el-option :value="undefined" disabled style="cursor: pointer">
|
|
|
<el-button type="text" @click="onClickBtn('engineAngle')"><i class="el-icon-plus"></i>
|
|
@@ -258,7 +256,7 @@
|
|
|
append-to-body>
|
|
|
<el-form ref="calTempForm" :model="calTempForm" label-width="60px">
|
|
|
<el-form-item label="温度" prop="temp">
|
|
|
- <el-input v-model="calTempForm.temp" placeholder="请输入温度" />
|
|
|
+ <el-input type="number" v-model.number="calTempForm.temp" placeholder="请输入温度(只能输入数字)" />
|
|
|
</el-form-item>
|
|
|
<el-form-item label="文件" prop="calTempFile">
|
|
|
<file-upload :fileSize="0" :limit="1" :isCheck="isCheck" :fileType="['txt']"
|
|
@@ -270,6 +268,70 @@
|
|
|
<el-button @click="cancelCalTemp">取 消</el-button>
|
|
|
</div>
|
|
|
</el-dialog>
|
|
|
+ <el-dialog :close-on-click-modal="false" title="增加发动机型号" :visible.sync="addDialogVisible" width="400px"
|
|
|
+ append-to-body>
|
|
|
+ <el-form ref="addEngineForm" :model="addEngineForm" :disabled="isCheck" :rules="rules" label-width="100px">
|
|
|
+ <el-form-item label="发动机型号" prop="model">
|
|
|
+ <el-input v-model="addEngineForm.model" placeholder="请输入发动机型号" />
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item label="几何模型文件" prop="geometryFiles">
|
|
|
+ <file-upload :fileSize="0" :limit="1" :fileType="['x_t', 'str']" v-model="addEngineForm.geometryFiles" />
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item label="几何模型图片" prop="geometryImage">
|
|
|
+ <image-upload :fileSize="0" :limit="1" :fileType="['jpg']" v-model="addEngineForm.geometryImage" />
|
|
|
+ </el-form-item>
|
|
|
+ </el-form>
|
|
|
+ <div slot="footer" class="dialog-footer">
|
|
|
+ <el-button type="primary" @click="addEngine()">确 定</el-button>
|
|
|
+ <el-button @click="addDialogVisible = false">取 消</el-button>
|
|
|
+ </div>
|
|
|
+ </el-dialog>
|
|
|
+ <el-dialog :close-on-click-modal="false" title="增加测量批次" :visible.sync="addMeasVisible" width="400px" append-to-body>
|
|
|
+ <el-form ref="form" :model="addMeasBatchForm" :rules="rules" label-width="110px">
|
|
|
+ <el-form-item label="发动机型号" prop="engineId">
|
|
|
+ <el-select v-model="addMeasBatchForm.engineId" placeholder="请选择发动机型号" @change="engineChange">
|
|
|
+ <el-option v-for="item in engineOptions" :key="item.id" :label="item.model" :value="item.id">
|
|
|
+ <span style="float: left">{{ item.id }}</span>
|
|
|
+ <span style="float: right; color: #8492a6; font-size: 13px">{{ item.model }}</span>
|
|
|
+ </el-option>
|
|
|
+ </el-select>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item label="测量批次" prop="measurementBatch">
|
|
|
+ <el-input v-model="addMeasBatchForm.measurementBatch" placeholder="请输入测量批次(测量年月日+发动机型号)" />
|
|
|
+ </el-form-item>
|
|
|
+ </el-form>
|
|
|
+ <div slot="footer" class="dialog-footer">
|
|
|
+ <el-button type="primary" @click="addMeas()">确 定</el-button>
|
|
|
+ <el-button @click="addMeasVisible = false">取 消</el-button>
|
|
|
+ </div>
|
|
|
+ </el-dialog>
|
|
|
+ <el-dialog :close-on-click-modal="false" title="增加发动机状态" :visible.sync="addStatusVisible" width="400px"
|
|
|
+ append-to-body>
|
|
|
+ <el-form ref="addStatusForm" :model="addStatusForm" :rules="rules" label-width="80px">
|
|
|
+ <el-form-item label="状态" prop="status">
|
|
|
+ <el-input v-model="addStatusForm.status" placeholder="请输入状态" />
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item label="排序" prop="index">
|
|
|
+ <el-input v-model="addStatusForm.index" placeholder="请输入排序" />
|
|
|
+ </el-form-item>
|
|
|
+ </el-form>
|
|
|
+ <div slot="footer" class="dialog-footer">
|
|
|
+ <el-button type="primary" @click="addStatus()">确 定</el-button>
|
|
|
+ <el-button @click="addStatusVisible = false">取 消</el-button>
|
|
|
+ </div>
|
|
|
+ </el-dialog>
|
|
|
+ <el-dialog :close-on-click-modal="false" title="增加发动机角度" :visible.sync="addAngleVisible" width="400px"
|
|
|
+ append-to-body>
|
|
|
+ <el-form ref="addAngleForm" :model="addAngleForm" :rules="rules" label-width="80px">
|
|
|
+ <el-form-item label="角度" prop="angle">
|
|
|
+ <el-input v-model="addAngleForm.angle" placeholder="请输入角度" />
|
|
|
+ </el-form-item>
|
|
|
+ </el-form>
|
|
|
+ <div slot="footer" class="dialog-footer">
|
|
|
+ <el-button type="primary" @click="addAngle()">确 定</el-button>
|
|
|
+ <el-button @click="addAngleVisible = false">取 消</el-button>
|
|
|
+ </div>
|
|
|
+ </el-dialog>
|
|
|
<el-dialog :close-on-click-modal="false" title="数据可视化" :visible.sync="fileVisible" width="70%" append-to-body>
|
|
|
<ECharts class="chartShow" :chartData="chartData" :width="chartType === 'heatmap' ? '400px' :'100%'" />
|
|
|
</el-dialog>
|
|
@@ -277,10 +339,10 @@
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
-import { listEngineModel } from "@/api/meas/engineModel";
|
|
|
-import { angleOption } from "@/api/meas/angle";
|
|
|
-import { statusOption } from "@/api/meas/status";
|
|
|
-import { listMeasBatch } from "@/api/meas/measBatch";
|
|
|
+import { listEngineModel,addEngineModel } from "@/api/meas/engineModel";
|
|
|
+import { angleOption,addAngle } from "@/api/meas/angle";
|
|
|
+import { statusOption,addStatus } from "@/api/meas/status";
|
|
|
+import { listMeasBatch,addMeasBatch } from "@/api/meas/measBatch";
|
|
|
import ECharts from "@/views/meas/envData/ECharts.vue";
|
|
|
export default {
|
|
|
name: "dialogContent",
|
|
@@ -314,37 +376,16 @@ export default {
|
|
|
type: Boolean,
|
|
|
default: false,
|
|
|
},
|
|
|
- engineModelList: {
|
|
|
- type: Array,
|
|
|
- default: null,
|
|
|
- },
|
|
|
- angleList: {
|
|
|
- type: Array,
|
|
|
- default: null,
|
|
|
- },
|
|
|
- measureBatchList: {
|
|
|
- type: Array,
|
|
|
- default: null,
|
|
|
- },
|
|
|
- engineStatusList: {
|
|
|
- type: Array,
|
|
|
- default: null,
|
|
|
- }
|
|
|
},
|
|
|
data() {
|
|
|
return {
|
|
|
baseUrl: process.env.VUE_APP_BASE_API,
|
|
|
- addDialogVisible: false,
|
|
|
- addMeasVisible: false,
|
|
|
- engineModelOption: this.engineModelList,
|
|
|
- measureBatchOption: this.measureBatchList,
|
|
|
- angleOption: this.angleList,
|
|
|
- engineStatusOption: this.engineStatusList,
|
|
|
// 热像仪测试
|
|
|
lensFViewOptions: [],
|
|
|
filterNoOptions: [],
|
|
|
fpsOptions: [],
|
|
|
spectralBandOptions: [],
|
|
|
+ rules: {},
|
|
|
// 表单校验和验证
|
|
|
formRules: {
|
|
|
model: [
|
|
@@ -460,69 +501,91 @@ export default {
|
|
|
chartType: "",
|
|
|
fileVisible: false,
|
|
|
chartData: {},
|
|
|
+ addMeasBatchForm: {
|
|
|
+ engineId: null,
|
|
|
+ measurementBatch: null,
|
|
|
+ },
|
|
|
+ addEngineForm: {
|
|
|
+ model: null,
|
|
|
+ geometryFiles: null,
|
|
|
+ geometryImage: null
|
|
|
+ },
|
|
|
+ addStatusForm: {
|
|
|
+ status: null,
|
|
|
+ index: null
|
|
|
+ },
|
|
|
+ addAngleForm: {
|
|
|
+ angle: null
|
|
|
+ },
|
|
|
+ engineOptions: [],
|
|
|
+ measureBatchOptions:[],
|
|
|
+ engineStatusOptions:[],
|
|
|
+ angleOptions:[],
|
|
|
+ addDialogVisible: false,
|
|
|
+ addMeasVisible: false,
|
|
|
+ addStatusVisible: false,
|
|
|
+ addAngleVisible: false,
|
|
|
+
|
|
|
};
|
|
|
},
|
|
|
created() {
|
|
|
+ this.getListEngineModel();
|
|
|
+ this.getListMeasBatch();
|
|
|
+ this.getAngleOption();
|
|
|
+ this.getStatusOption();
|
|
|
},
|
|
|
watch: {
|
|
|
form: {
|
|
|
- handler(newVal) {
|
|
|
+ handler(newVal,oldVal) {
|
|
|
this.formData = newVal;
|
|
|
+ if(newVal.engineModel!==oldVal?.engineModel){
|
|
|
+ this.batchOption = this.measureBatchOptions.filter(item => { return item.engineModel === newVal.engineModel })
|
|
|
+ }
|
|
|
},
|
|
|
- immediate: true
|
|
|
+ immediate: true,
|
|
|
+ deep: true
|
|
|
},
|
|
|
radiationForm: {
|
|
|
handler(newVal) {
|
|
|
this.radiationData = newVal;
|
|
|
},
|
|
|
- immediate: true
|
|
|
+ immediate: true,
|
|
|
+ deep: true
|
|
|
},
|
|
|
TIForm: {
|
|
|
handler(newVal) {
|
|
|
this.TIData = newVal;
|
|
|
},
|
|
|
- immediate: true
|
|
|
+ immediate: true,
|
|
|
+ deep: true
|
|
|
},
|
|
|
TransmittanceForm: {
|
|
|
handler(newVal) {
|
|
|
this.TransmittanceData = newVal;
|
|
|
},
|
|
|
- immediate: true
|
|
|
+ immediate: true,
|
|
|
+ deep: true
|
|
|
},
|
|
|
isCheck: {
|
|
|
handler(newVal) {
|
|
|
this.checkShow = newVal;
|
|
|
},
|
|
|
+ immediate: true
|
|
|
},
|
|
|
addFlag: {
|
|
|
handler(newVal) {
|
|
|
this.addBtn = newVal;
|
|
|
},
|
|
|
- },
|
|
|
- engineModelList: {
|
|
|
- handler(newVal) {
|
|
|
- this.engineModelOption = newVal;
|
|
|
- },
|
|
|
- },
|
|
|
- measureBatchList: {
|
|
|
- handler(newVal) {
|
|
|
- this.measureBatchOption = newVal;
|
|
|
- },
|
|
|
- },
|
|
|
- angleList: {
|
|
|
- handler(newVal) {
|
|
|
- this.angleOption = newVal;
|
|
|
- },
|
|
|
- },
|
|
|
- engineStatusList: {
|
|
|
- handler(newVal) {
|
|
|
- this.engineStatusOption = newVal;
|
|
|
- },
|
|
|
+ immediate: true
|
|
|
},
|
|
|
calTempData: {
|
|
|
handler(newVal) {
|
|
|
- this.radiationForm.calTemp = JSON.stringify(newVal);
|
|
|
+ if (this.radiationForm) {
|
|
|
+ this.radiationForm.calTemp = this.calTempData.length>0?JSON.stringify(newVal):null;
|
|
|
+ }
|
|
|
},
|
|
|
+ immediate: true,
|
|
|
+ deep: true
|
|
|
}
|
|
|
},
|
|
|
methods: {
|
|
@@ -539,24 +602,128 @@ export default {
|
|
|
return "";
|
|
|
}
|
|
|
},
|
|
|
- // 清除验证表单
|
|
|
- // clearcheck(formName){
|
|
|
- // if(this.$refs[formName]){
|
|
|
- // this.$refs[formName].clearValidate()
|
|
|
- // }
|
|
|
- // },
|
|
|
- // 点击增加按钮
|
|
|
+ addEngine() {
|
|
|
+ this.loading = true;
|
|
|
+ addEngineModel(this.addEngineForm).then((response) => {
|
|
|
+ this.$modal.msgSuccess("新增成功");
|
|
|
+ this.addDialogVisible = false;
|
|
|
+ this.getListEngineModel();
|
|
|
+ this.addEngineForm = {
|
|
|
+ model: null,
|
|
|
+ geometryFiles: null,
|
|
|
+ geometryImage: null
|
|
|
+ };
|
|
|
+ });
|
|
|
+ },
|
|
|
+ // 增加测量批次
|
|
|
+ addMeas() {
|
|
|
+ addMeasBatch(this.addMeasBatchForm).then((response) => {
|
|
|
+ this.$modal.msgSuccess("新增成功");
|
|
|
+ this.addMeasVisible = false;
|
|
|
+ this.getListMeasBatch();
|
|
|
+ this.addMeasBatchForm = {
|
|
|
+ engineId: null,
|
|
|
+ measurementBatch: null,
|
|
|
+ };
|
|
|
+ });
|
|
|
+ },
|
|
|
+ // 增加状态
|
|
|
+ addStatus() {
|
|
|
+ addStatus(this.addStatusForm).then((response) => {
|
|
|
+ this.$modal.msgSuccess("新增成功");
|
|
|
+ this.addStatusVisible = false;
|
|
|
+ this.getStatusOption();
|
|
|
+ this.addStatusForm = {
|
|
|
+ status: null,
|
|
|
+ index: null
|
|
|
+ }
|
|
|
+ });
|
|
|
+ },
|
|
|
+ // 增加角度
|
|
|
+ addAngle() {
|
|
|
+ addAngle(this.addAngleForm).then((response) => {
|
|
|
+ this.$modal.msgSuccess("新增成功");
|
|
|
+ this.getAngleOption();
|
|
|
+ this.addAngleVisible = false;
|
|
|
+ this.addAngleForm = {
|
|
|
+ angle: null
|
|
|
+ }
|
|
|
+ });
|
|
|
+ },
|
|
|
+ // 获取发电机List
|
|
|
+ getListEngineModel() {
|
|
|
+ this.loading = true;
|
|
|
+ const data = {};
|
|
|
+ listEngineModel(data).then((response) => {
|
|
|
+ this.engineOptions = response.rows;
|
|
|
+ this.loading = false;
|
|
|
+ });
|
|
|
+ },
|
|
|
+ // 获取测量批次List
|
|
|
+ getListMeasBatch() {
|
|
|
+ const data = {};
|
|
|
+ this.loading = true;
|
|
|
+ listMeasBatch(data).then((response) => {
|
|
|
+ this.measureBatchOptions = response.rows;
|
|
|
+ this.batchOption = this.measureBatchOptions.filter(item => { return item.engineModel === this.form.engineModel });
|
|
|
+ this.loading = false;
|
|
|
+ });
|
|
|
+ },
|
|
|
+ // 获取角度Option
|
|
|
+ getAngleOption() {
|
|
|
+ this.loading = true;
|
|
|
+ angleOption().then((response) => {
|
|
|
+ this.angleOptions = response.data;
|
|
|
+ this.loading = false;
|
|
|
+ });
|
|
|
+ },
|
|
|
+ // 获取状态Option
|
|
|
+ getStatusOption() {
|
|
|
+ this.loading = true;
|
|
|
+ statusOption().then((response) => {
|
|
|
+ this.engineStatusOptions = response.data;
|
|
|
+ this.loading = false;
|
|
|
+ });
|
|
|
+ },
|
|
|
onClickBtn(type) {
|
|
|
- this.$emit('on-click-btn', type)
|
|
|
+ if (type === "engine") this.addDialogVisible = true;
|
|
|
+ else if (type === "measBatch")
|
|
|
+ {
|
|
|
+ if (this.form.engineModel) {
|
|
|
+ this.addMeasBatchForm.engineId = this.form.engineModel
|
|
|
+ this.engineChange(this.form.engineModel)
|
|
|
+ }
|
|
|
+ this.addMeasVisible = true;
|
|
|
+ }
|
|
|
+ else if (type === "engineStatus") this.addStatusVisible = true;
|
|
|
+ else if (type === "engineAngle") this.addAngleVisible = true;
|
|
|
+ },
|
|
|
+ engineChange(val) {
|
|
|
+ let obj = {};
|
|
|
+ obj = this.engineOptions.find((item) => {
|
|
|
+ return item.model === val;
|
|
|
+ });
|
|
|
+ this.addMeasBatchForm.measurementBatch = this.getTime() + '-' + obj?.model
|
|
|
+ },
|
|
|
+ getTime() {
|
|
|
+ const now = new Date();
|
|
|
+ const year = now.getFullYear();
|
|
|
+ const month = ('0' + (now.getMonth() + 1)).slice(-2);
|
|
|
+ const day = ('0' + now.getDate()).slice(-2);
|
|
|
+ const hour = ('0' + now.getHours()).slice(-2);
|
|
|
+ const minute = ('0' + now.getMinutes()).slice(-2);
|
|
|
+ const second = ('0' + now.getSeconds()).slice(-2);
|
|
|
+ const time = year + month + day + hour + minute + second;
|
|
|
+ return time;
|
|
|
},
|
|
|
changeEngine(val) {
|
|
|
let obj = {};
|
|
|
- obj = this.engineModelOption.find((item) => {
|
|
|
+ obj = this.engineOptions.find((item) => {
|
|
|
return item.id === val;
|
|
|
});
|
|
|
- this.form.geometryFiles = obj.geometryFiles
|
|
|
- this.form.geometryImage = obj.geometryImage
|
|
|
- this.batchOption = this.measureBatchOption.filter(item => { return item.engineId === val })
|
|
|
+ this.form.geometryFiles = obj?.geometryFiles
|
|
|
+ this.form.geometryImage = obj?.geometryImage
|
|
|
+ this.batchOption = this.measureBatchOptions.filter(item => { return item.engineModel === val })
|
|
|
},
|
|
|
addCalTemp() {
|
|
|
this.resetCalTempForm()
|
|
@@ -584,9 +751,13 @@ export default {
|
|
|
},
|
|
|
// 环境参数保存
|
|
|
envDataSave() {
|
|
|
- if (this.$refs.formData.validate()) {
|
|
|
- this.$emit('env-data-save', this.$refs["form"])
|
|
|
- }
|
|
|
+ this.$refs.formData.validate()
|
|
|
+ .then(()=>{
|
|
|
+ this.$emit('env-data-save', this.$refs["form"])
|
|
|
+ })
|
|
|
+ .catch((err) => {
|
|
|
+ this.$message.error(`检验错误!`);
|
|
|
+ });
|
|
|
|
|
|
},
|
|
|
validateAll() {
|
|
@@ -600,23 +771,10 @@ export default {
|
|
|
submitForm() {
|
|
|
this.validateAll()
|
|
|
.then(() => {
|
|
|
- // console.log("11", this.TransmittanceForm, this.TransmittanceFlag);
|
|
|
- if (!this.isObjectEqual(this.formFlag, this.form)) {
|
|
|
- this.changeFlag.push(1)
|
|
|
- }
|
|
|
- if (!this.isObjectEqual(this.radiationFlag, this.radiationForm)) {
|
|
|
- this.changeFlag.push(2)
|
|
|
- }
|
|
|
- if (!this.isObjectEqual(this.TIFlag, this.TIForm)) {
|
|
|
- this.changeFlag.push(3)
|
|
|
- }
|
|
|
- if (!this.isObjectEqual(this.TransmittanceFlag, this.TransmittanceForm)) {
|
|
|
- this.changeFlag.push(4)
|
|
|
- }
|
|
|
- this.$emit('submit-form', this.$refs, this.changeFlag);
|
|
|
+ this.$emit('submit-form');
|
|
|
})
|
|
|
.catch((err) => {
|
|
|
- console.log('出现错误', err);
|
|
|
+ this.$message.error(`检验错误!`);
|
|
|
});
|
|
|
},
|
|
|
isObjectEqual(obj1, obj2) {
|
|
@@ -696,7 +854,6 @@ export default {
|
|
|
}
|
|
|
})
|
|
|
}
|
|
|
- console.log("customName", customName);
|
|
|
// delete data1[Object.keys(data1)[0]]
|
|
|
customName.forEach((item, index) => {
|
|
|
if (index === 0) return
|
|
@@ -717,7 +874,6 @@ export default {
|
|
|
},)
|
|
|
}
|
|
|
})
|
|
|
- console.log("11", Object.values(customName[0]));
|
|
|
const chartData = {
|
|
|
tooltip: {
|
|
|
trigger: "axis",
|
|
@@ -746,7 +902,6 @@ export default {
|
|
|
},
|
|
|
handleHeatmapChart(data) {
|
|
|
this.chartType = "heatmap";
|
|
|
- // console.log("data",data);
|
|
|
let dataSet = [],
|
|
|
xData = [],
|
|
|
yData = [];
|
|
@@ -769,7 +924,6 @@ export default {
|
|
|
y = 0;
|
|
|
}
|
|
|
}
|
|
|
- console.log("dataSet", dataSet);
|
|
|
const chartData = {
|
|
|
tooltip: {},
|
|
|
xAxis: {
|