onSaveConfirm() {
      let that = this;

      let dataT = {
        targetDataTime:that.filter.targetDataTime,
        // eslint-disable-next-line no-undef
        fromDataTime:that.filter.dataTime|| dayjs().format("YYYY-MM-01")
      };

      dataT.batO = "ui";
      that.$store.dispatch("dataLoading", true);
      that.$bsAjax
        .doCopy(
          "idc-resource-statistics",
          "month",
          {
            _menuId: that.filter._menuId,
          },
          dataT,
          null
        )
        .then((res) => {
          if (res && res.data && res.data.success === true) {
            that.$msgBox.success("保存成功。");
          }
          that.$store.dispatch("dataLoading", false);
        });
    },
文档更新时间: 2021-06-26 08:00   作者:admin