heyujie
2021-07-30 4b43bfb3f6f499f480712dd29bef52275466afd6
src/pages/vindicate/views/restartSettings.vue
@@ -107,6 +107,7 @@
      probeSum: 0,
      cronText: "",
      loading:false,
      loadingText:"",
      cronValueObj: {
        min: "*",
        hour: "*",
@@ -151,7 +152,6 @@
  mounted() {
    this.getRebootCron();
  },
  beforeDestroy() {},
  methods: {
    resolveExp() {
      // "准备反解析", this.expression;
@@ -195,14 +195,13 @@
      this.$router.push("/");
    },
    restart() {
      this.$confirm("确定要重启该节点吗?", {
        center: true,
      this.$confirm("确定要重启该节点吗?","提示", {
        type:"warning",
        cancelButtonClass: "comfirm-class-cancle",
        confirmButtonClass: "comfirm-class-sure",
      }).then(() => {
        this.loading = true;
        this.loadingText = "智能计算节点正在重启,请耐心等待..."
        rebootServer()
          .then((rsp) => {
            this.probeServer(this.reLogin);