燕山石化溯源三维电子沙盘-【前端】-Web
WX
2023-08-11 b4494b8196c25917f5b5cf8e9e1228db5c8be2f3
src/components/dateTimePicker.vue
@@ -91,12 +91,12 @@
      value: "",
      fetch: "",
      start: 0,
      end: 0,
      end: 30,
    });
    let btnState = false;
    let CS = {
      start: "",
      end: "",
      start: 0,
      end: 30,
      Classify: "",
    };
    const selectBtn = () => {
@@ -130,10 +130,13 @@
        }
        emit("changeTime", { data: newTimeStr, week: week });
        if (props.tpData == "d2") {
          if (!btnState) {
            return ElMessage.error("请先选择风区");
          }
        if (props.tpData == "d21") {
          menuTool.createFC("sj", newTimeStr);
        } else if (props.tpData == "d22") {
          CS.Classify = "West";
          menuTool.createFC("sj", newTimeStr, CS);
        } else if (props.tpData == "d23") {
          CS.Classify = "East";
          menuTool.createFC("sj", newTimeStr, CS);
        } else {
          menuTool.createWRW("sj", newTimeStr);
@@ -141,7 +144,6 @@
      }
    };
    function FQselectBtn() {
      btnState = true;
      selectform.value = "";
      CS.start = selectform.start;
      CS.end = selectform.end;
@@ -150,7 +152,13 @@
        CS.start = selectform.end;
        CS.end = selectform.start;
      }
      if (props.tpData == "d22") {
        CS.Classify = "West";
      menuTool.createFC("fc", "", CS);
      } else if (props.tpData == "d23") {
        CS.Classify = "East";
        menuTool.createFC("fc", "", CS);
      }
    }
    function changeTime() {}
    return {
@@ -213,6 +221,13 @@
        color: #ffffff;
        padding-right: 10px;
      }
      i {
        font-size: 24px;
        font-weight: 400;
        color: #ffffff;
        padding-right: 10px;
        padding-left: 10px;
      }
      :deep(.el-date-editor) {
        height: 64px;
      }