Browse Source

fix:弹框名称+点击事件

开发 1 tháng trước cách đây
mục cha
commit
936871c30b

+ 8 - 0
src/components/TopPanel/dataDwManage.vue

@@ -1,5 +1,6 @@
 <template>
   <div class="box">
+    <div class="title">功率数据</div>
     <div class="queryParam">
       <span>
         时间:
@@ -293,8 +294,15 @@ export default {
   z-index: 999;
 }
 
+.title {
+  font-size: 24px;
+  color: #fff;
+  margin-left: 25rem;
+}
+
 .queryParam {
   margin: 16px 32rem;
+  color: #fff;
   text-align: left;
 }
 

+ 10 - 2
src/components/TopPanel/dataManage.vue

@@ -1,5 +1,6 @@
 <template>
   <div class="box">
+    <div class="title">工务数据</div>
     <div class="queryParam">
       <span>
         时间:
@@ -416,14 +417,21 @@ export default {
   z-index: 999;
 }
 
+.title {
+  font-size: 24px;
+  color: #fff;
+  margin-left: 25rem;
+}
+
 .queryParam {
   margin: 16px 32rem;
+  color: #fff;
   text-align: left;
 }
 
-.BtnList{
+.BtnList {
   margin-top: 16px;
-  float: right
+  float: right;
 }
 
 .OneButton {

+ 8 - 0
src/components/TopPanel/dataQkManage.vue

@@ -1,5 +1,6 @@
 <template>
   <div class="box">
+    <div class="title">缺口数据</div>
     <div class="queryParam">
       <span>
         时间:
@@ -281,8 +282,15 @@ export default {
   z-index: 999;
 }
 
+.title {
+  font-size: 24px;
+  color: #fff;
+  margin-left: 25rem;
+}
+
 .queryParam {
   margin: 16px 32rem;
+  color: #fff;
   text-align: left;
 }
 

+ 12 - 0
src/components/TopPanel/top-rush.vue

@@ -21,15 +21,27 @@ defineExpose({
 
 const changeclick = () => {
   store.dispatch("changeshowmodal", !store.state.showmodal);
+  store.dispatch('changeshowDataManage', false);
+  store.dispatch('changeshowDwDataManage', false);
+  store.dispatch('changeshowQkDataManage', false);
 };
 
 const changeDataclick = () => {
+  store.dispatch("changeshowmodal", false);
   store.dispatch('changeshowDataManage', !store.state.showDataManage);
+  store.dispatch('changeshowDwDataManage', false);
+  store.dispatch('changeshowQkDataManage', false);
 };
 const changeDwDataclick = () => {
+  store.dispatch("changeshowmodal", false);
+  store.dispatch('changeshowDataManage', false);
   store.dispatch('changeshowDwDataManage', !store.state.showDwDataManage);
+  store.dispatch('changeshowQkDataManage', false);
 };
 const changeQkDataclick = () => {
+  store.dispatch("changeshowmodal", false);
+  store.dispatch('changeshowDataManage', false);
+  store.dispatch('changeshowDwDataManage', false);
   store.dispatch('changeshowQkDataManage', !store.state.showQkDataManage);
 };
 </script>