| | |
| | | probeSum: 0,
|
| | | cronText: "",
|
| | | loading:false,
|
| | | loadingText:"",
|
| | | cronValueObj: {
|
| | | min: "*",
|
| | | hour: "*",
|
| | |
| | | mounted() {
|
| | | this.getRebootCron();
|
| | | },
|
| | | beforeDestroy() {},
|
| | | methods: {
|
| | | resolveExp() {
|
| | | // "准备反解析", this.expression;
|
| | |
| | | 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);
|