guoshilong
2022-09-23 3909a52d26dca085a6ead5d0fbaca0ce512e27f7
src/views/taskinfo/taskinfo.vue
@@ -163,13 +163,7 @@
          });
      },
      beforeOpen(done, type) {
        if (["edit", "view"].includes(type)) {
          getDetail(this.form.id).then(res => {
            this.form = res.data.data;
            console.log( this.form.routeRange,123456)
            // this.form.routeRange = '\'' + this.form.routeRange + '\''
          });
        } else {
        if (["add"].includes(type)) {
          const date = new Date()
          const year = date.getFullYear()
          const month = date.getMonth() + 1