|
@@ -1,6 +1,7 @@
|
|
import { SCALE } from "@/assets/js/constants/config.js";
|
|
import { SCALE } from "@/assets/js/constants/config.js";
|
|
import { Message } from "element-ui";
|
|
import { Message } from "element-ui";
|
|
import { clearAllDataFromIndexedDB } from "@/utils/indexedDb";
|
|
import { clearAllDataFromIndexedDB } from "@/utils/indexedDb";
|
|
|
|
+import { saveData, getData } from "@/utils/indexedDb";
|
|
const _ = require("lodash");
|
|
const _ = require("lodash");
|
|
|
|
|
|
export default {
|
|
export default {
|
|
@@ -14,7 +15,6 @@ export default {
|
|
originChartList: [], // 当前文件的原始数据
|
|
originChartList: [], // 当前文件的原始数据
|
|
fileList: [], // 文件列表
|
|
fileList: [], // 文件列表
|
|
dataBaseCheckList: [], //选中数据更新
|
|
dataBaseCheckList: [], //选中数据更新
|
|
- // formFilterAlignData: [], //这个是所有图表数据筛选保存字段
|
|
|
|
},
|
|
},
|
|
mutations: {
|
|
mutations: {
|
|
setUpdateTriggerGetData(state, value) {
|
|
setUpdateTriggerGetData(state, value) {
|
|
@@ -54,7 +54,6 @@ export default {
|
|
state.currentChartList?.map((chartItem, ind) => {
|
|
state.currentChartList?.map((chartItem, ind) => {
|
|
if (chartItem.id === data.id) {
|
|
if (chartItem.id === data.id) {
|
|
state.currentChartList[ind].formFilterAlignData = data.data;
|
|
state.currentChartList[ind].formFilterAlignData = data.data;
|
|
- // state.curEdit.formFilterAlignData = data.data
|
|
|
|
}
|
|
}
|
|
});
|
|
});
|
|
},
|
|
},
|
|
@@ -112,7 +111,6 @@ export default {
|
|
fileListUpdate(state, item) {
|
|
fileListUpdate(state, item) {
|
|
state.fileList = _.cloneDeep(item);
|
|
state.fileList = _.cloneDeep(item);
|
|
},
|
|
},
|
|
-
|
|
|
|
// 记录当前文件的原始数据
|
|
// 记录当前文件的原始数据
|
|
recordOriginChartList(state, id) {
|
|
recordOriginChartList(state, id) {
|
|
const fileList = state.fileList;
|
|
const fileList = state.fileList;
|