diff --git a/.history/src/api/user_20231109193911.js b/.history/src/api/user_20231109193911.js new file mode 100644 index 0000000..8aff1b4 --- /dev/null +++ b/.history/src/api/user_20231109193911.js @@ -0,0 +1,35 @@ +import axios from "axios"; +export const GetDbwirldList = () => { + return axios.get("/wangguan?action=queryanswer&mark=DB-IotLite_yx"); +}; +export const SaveUserAnswer = (data) => { + return axios.post( + `/wangguan?action=updatecache&mark=${data.mark}&user_id=${data.user_id}&mark_value=${data.mark_value}` + ); +}; +export const GetUserAnswer = (data) => { + return axios.get( + `/wangguan?action=querycache&mark=${data.mark}&user_id=${data.user_id}` + ); +}; +export const GetTree = (data) => { + return axios.get( + `/wangguan?action=queryacquisition&user_id=${data.user_id}&type=${data.type}` + ) +} +export const SendTree = (data) => { + return axios.get( + `/wangguan?action=updateacquisition&user_id=${data.user_id}&data=${data.data}&type=${data.type}` + ) +} +//最新拿缓存请求接口 +// export let GetUserAnswer = (data) => { +// return axios.get( +// `/Handler/Config.ashx?action=querycache&mark=${data.mark}&user_id=${data.user_id}` +// ); +// }; + +//避免考生中途换电脑的解决方案 在每次拿取考试缓存数据的时候本地存储一份 +// function(mark,data) { +// sessionStorage.setItem(`${mark}`,JSON.stringify(data)) +// } diff --git a/.history/src/api/user_20231109193914.js b/.history/src/api/user_20231109193914.js new file mode 100644 index 0000000..8aff1b4 --- /dev/null +++ b/.history/src/api/user_20231109193914.js @@ -0,0 +1,35 @@ +import axios from "axios"; +export const GetDbwirldList = () => { + return axios.get("/wangguan?action=queryanswer&mark=DB-IotLite_yx"); +}; +export const SaveUserAnswer = (data) => { + return axios.post( + `/wangguan?action=updatecache&mark=${data.mark}&user_id=${data.user_id}&mark_value=${data.mark_value}` + ); +}; +export const GetUserAnswer = (data) => { + return axios.get( + `/wangguan?action=querycache&mark=${data.mark}&user_id=${data.user_id}` + ); +}; +export const GetTree = (data) => { + return axios.get( + `/wangguan?action=queryacquisition&user_id=${data.user_id}&type=${data.type}` + ) +} +export const SendTree = (data) => { + return axios.get( + `/wangguan?action=updateacquisition&user_id=${data.user_id}&data=${data.data}&type=${data.type}` + ) +} +//最新拿缓存请求接口 +// export let GetUserAnswer = (data) => { +// return axios.get( +// `/Handler/Config.ashx?action=querycache&mark=${data.mark}&user_id=${data.user_id}` +// ); +// }; + +//避免考生中途换电脑的解决方案 在每次拿取考试缓存数据的时候本地存储一份 +// function(mark,data) { +// sessionStorage.setItem(`${mark}`,JSON.stringify(data)) +// } diff --git a/.history/src/components/CloneView_20231109195332.vue b/.history/src/components/CloneView_20231109195332.vue new file mode 100644 index 0000000..9a62e65 --- /dev/null +++ b/.history/src/components/CloneView_20231109195332.vue @@ -0,0 +1,862 @@ + + + + + + diff --git a/.history/src/components/CloneView_20231109195334.vue b/.history/src/components/CloneView_20231109195334.vue new file mode 100644 index 0000000..41327a0 --- /dev/null +++ b/.history/src/components/CloneView_20231109195334.vue @@ -0,0 +1,764 @@ + + + + + + diff --git a/.history/src/components/CloneView_20231109195415.vue b/.history/src/components/CloneView_20231109195415.vue new file mode 100644 index 0000000..754ce47 --- /dev/null +++ b/.history/src/components/CloneView_20231109195415.vue @@ -0,0 +1,774 @@ + + + + + + diff --git a/.history/src/components/CloneView_20231109195438.vue b/.history/src/components/CloneView_20231109195438.vue new file mode 100644 index 0000000..e39cc99 --- /dev/null +++ b/.history/src/components/CloneView_20231109195438.vue @@ -0,0 +1,777 @@ + + + + + + diff --git a/.history/src/components/CloneView_20231109195457.vue b/.history/src/components/CloneView_20231109195457.vue new file mode 100644 index 0000000..25d6730 --- /dev/null +++ b/.history/src/components/CloneView_20231109195457.vue @@ -0,0 +1,777 @@ + + + + + + diff --git a/.history/src/components/CloneView_20231109195531.vue b/.history/src/components/CloneView_20231109195531.vue new file mode 100644 index 0000000..94970f0 --- /dev/null +++ b/.history/src/components/CloneView_20231109195531.vue @@ -0,0 +1,785 @@ + + + + + + diff --git a/.history/src/components/CloneView_20231109195545.vue b/.history/src/components/CloneView_20231109195545.vue new file mode 100644 index 0000000..94970f0 --- /dev/null +++ b/.history/src/components/CloneView_20231109195545.vue @@ -0,0 +1,785 @@ + + + + + + diff --git a/.history/src/components/CloneView_20231109195748.vue b/.history/src/components/CloneView_20231109195748.vue new file mode 100644 index 0000000..44e566b --- /dev/null +++ b/.history/src/components/CloneView_20231109195748.vue @@ -0,0 +1,799 @@ + + + + + + diff --git a/.history/src/components/CloneView_20231109195900.vue b/.history/src/components/CloneView_20231109195900.vue new file mode 100644 index 0000000..938c08f --- /dev/null +++ b/.history/src/components/CloneView_20231109195900.vue @@ -0,0 +1,799 @@ + + + + + + diff --git a/.history/src/components/CloneView_20231109195953.vue b/.history/src/components/CloneView_20231109195953.vue new file mode 100644 index 0000000..938c08f --- /dev/null +++ b/.history/src/components/CloneView_20231109195953.vue @@ -0,0 +1,799 @@ + + + + + + diff --git a/.history/src/components/CloneView_20231109200225.vue b/.history/src/components/CloneView_20231109200225.vue new file mode 100644 index 0000000..938c08f --- /dev/null +++ b/.history/src/components/CloneView_20231109200225.vue @@ -0,0 +1,799 @@ + + + + + + diff --git a/.history/src/components/CloneView_20231109200519.vue b/.history/src/components/CloneView_20231109200519.vue new file mode 100644 index 0000000..6e04f45 --- /dev/null +++ b/.history/src/components/CloneView_20231109200519.vue @@ -0,0 +1,797 @@ + + + + + + diff --git a/.history/src/components/CloneView_20231109200528.vue b/.history/src/components/CloneView_20231109200528.vue new file mode 100644 index 0000000..2deccf1 --- /dev/null +++ b/.history/src/components/CloneView_20231109200528.vue @@ -0,0 +1,798 @@ + + + + + + diff --git a/.history/src/components/CloneView_20231109200529.vue b/.history/src/components/CloneView_20231109200529.vue new file mode 100644 index 0000000..2deccf1 --- /dev/null +++ b/.history/src/components/CloneView_20231109200529.vue @@ -0,0 +1,798 @@ + + + + + + diff --git a/.history/src/components/CloneView_20231109200747.vue b/.history/src/components/CloneView_20231109200747.vue new file mode 100644 index 0000000..4ade20c --- /dev/null +++ b/.history/src/components/CloneView_20231109200747.vue @@ -0,0 +1,799 @@ + + + + + + diff --git a/.history/src/components/CloneView_20231109200900.vue b/.history/src/components/CloneView_20231109200900.vue new file mode 100644 index 0000000..4ade20c --- /dev/null +++ b/.history/src/components/CloneView_20231109200900.vue @@ -0,0 +1,799 @@ + + + + + + diff --git a/.history/src/components/CollectionView_20231109194834.vue b/.history/src/components/CollectionView_20231109194834.vue new file mode 100644 index 0000000..e98f4d0 --- /dev/null +++ b/.history/src/components/CollectionView_20231109194834.vue @@ -0,0 +1,694 @@ + + + + + + \ No newline at end of file diff --git a/.history/src/components/CollectionView_20231109194936.vue b/.history/src/components/CollectionView_20231109194936.vue new file mode 100644 index 0000000..8a23af3 --- /dev/null +++ b/.history/src/components/CollectionView_20231109194936.vue @@ -0,0 +1,702 @@ + + + + + + \ No newline at end of file diff --git a/.history/src/components/CollectionView_20231109194938.vue b/.history/src/components/CollectionView_20231109194938.vue new file mode 100644 index 0000000..824964a --- /dev/null +++ b/.history/src/components/CollectionView_20231109194938.vue @@ -0,0 +1,702 @@ + + + + + + \ No newline at end of file diff --git a/.history/src/components/CollectionView_20231109195019.vue b/.history/src/components/CollectionView_20231109195019.vue new file mode 100644 index 0000000..4dfb4e4 --- /dev/null +++ b/.history/src/components/CollectionView_20231109195019.vue @@ -0,0 +1,702 @@ + + + + + + \ No newline at end of file diff --git a/.history/src/components/CollectionView_20231109195050.vue b/.history/src/components/CollectionView_20231109195050.vue new file mode 100644 index 0000000..56cdeaf --- /dev/null +++ b/.history/src/components/CollectionView_20231109195050.vue @@ -0,0 +1,710 @@ + + + + + + \ No newline at end of file diff --git a/.history/src/components/CollectionView_20231109195308.vue b/.history/src/components/CollectionView_20231109195308.vue new file mode 100644 index 0000000..56cdeaf --- /dev/null +++ b/.history/src/components/CollectionView_20231109195308.vue @@ -0,0 +1,710 @@ + + + + + + \ No newline at end of file diff --git a/.history/src/components/CollectionView_20231109195620.vue b/.history/src/components/CollectionView_20231109195620.vue new file mode 100644 index 0000000..8f0bf89 --- /dev/null +++ b/.history/src/components/CollectionView_20231109195620.vue @@ -0,0 +1,710 @@ + + + + + + \ No newline at end of file diff --git a/.history/src/components/CollectionView_20231109195921.vue b/.history/src/components/CollectionView_20231109195921.vue new file mode 100644 index 0000000..9ee38eb --- /dev/null +++ b/.history/src/components/CollectionView_20231109195921.vue @@ -0,0 +1,710 @@ + + + + + + \ No newline at end of file diff --git a/.history/src/components/CollectionView_20231109195922.vue b/.history/src/components/CollectionView_20231109195922.vue new file mode 100644 index 0000000..9ee38eb --- /dev/null +++ b/.history/src/components/CollectionView_20231109195922.vue @@ -0,0 +1,710 @@ + + + + + + \ No newline at end of file diff --git a/.history/src/components/DeviceVIew_20231109194156.vue b/.history/src/components/DeviceVIew_20231109194156.vue new file mode 100644 index 0000000..df3f79c --- /dev/null +++ b/.history/src/components/DeviceVIew_20231109194156.vue @@ -0,0 +1,469 @@ + + + + + + diff --git a/.history/src/components/DeviceVIew_20231109194413.vue b/.history/src/components/DeviceVIew_20231109194413.vue new file mode 100644 index 0000000..ebd0cb9 --- /dev/null +++ b/.history/src/components/DeviceVIew_20231109194413.vue @@ -0,0 +1,470 @@ + + + + + + diff --git a/.history/src/components/DeviceVIew_20231109194640.vue b/.history/src/components/DeviceVIew_20231109194640.vue new file mode 100644 index 0000000..8afd474 --- /dev/null +++ b/.history/src/components/DeviceVIew_20231109194640.vue @@ -0,0 +1,474 @@ + + + + + + diff --git a/.history/src/components/TreeView_20231109193711.vue b/.history/src/components/TreeView_20231109193711.vue new file mode 100644 index 0000000..487db70 --- /dev/null +++ b/.history/src/components/TreeView_20231109193711.vue @@ -0,0 +1,771 @@ + + + + + + diff --git a/.history/src/components/TreeView_20231109193834.vue b/.history/src/components/TreeView_20231109193834.vue new file mode 100644 index 0000000..cfabb00 --- /dev/null +++ b/.history/src/components/TreeView_20231109193834.vue @@ -0,0 +1,765 @@ + + + + + + diff --git a/.history/src/components/TreeView_20231109193840.vue b/.history/src/components/TreeView_20231109193840.vue new file mode 100644 index 0000000..76a9519 --- /dev/null +++ b/.history/src/components/TreeView_20231109193840.vue @@ -0,0 +1,773 @@ + + + + + + diff --git a/.history/src/components/TreeView_20231109193843.vue b/.history/src/components/TreeView_20231109193843.vue new file mode 100644 index 0000000..76a9519 --- /dev/null +++ b/.history/src/components/TreeView_20231109193843.vue @@ -0,0 +1,773 @@ + + + + + + diff --git a/.history/src/components/TreeView_20231109194147.vue b/.history/src/components/TreeView_20231109194147.vue new file mode 100644 index 0000000..3cdcdb6 --- /dev/null +++ b/.history/src/components/TreeView_20231109194147.vue @@ -0,0 +1,774 @@ + + + + + + diff --git a/src/api/user.js b/src/api/user.js index 8890907..8aff1b4 100644 --- a/src/api/user.js +++ b/src/api/user.js @@ -8,7 +8,7 @@ export const SaveUserAnswer = (data) => { ); }; export const GetUserAnswer = (data) => { - axios.get( + return axios.get( `/wangguan?action=querycache&mark=${data.mark}&user_id=${data.user_id}` ); }; diff --git a/src/components/CloneView.vue b/src/components/CloneView.vue index 550e6c9..4ade20c 100644 --- a/src/components/CloneView.vue +++ b/src/components/CloneView.vue @@ -4,12 +4,21 @@
- + + + + + + +
@@ -19,12 +28,7 @@ MQTT Client - + @@ -34,50 +38,30 @@ - + - + . - + . - + . - + @@ -86,63 +70,29 @@ - - + + - - + + - + - + - - + + @@ -157,39 +107,19 @@ - - + + - - + + - + @@ -218,24 +148,16 @@ @@ -246,14 +168,8 @@
- + 保 存 @@ -265,13 +181,16 @@