| | |
| | | }); |
| | | }, |
| | | beforeOpen(done, type) { |
| | | this.form.timeList = []; |
| | | this.form["timeList"][0]= this.form["time"]; |
| | | this.form["timeList"][1]= this.form["endtime"]; |
| | | // console.log(type, "this.formthis.formthis.form"); |
| | | // console.log(type); |
| | | // if (["edit", "view"].includes(type)) { |
| | |
| | | done(); |
| | | return; |
| | | } |
| | | |
| | | this.form.timeList = []; |
| | | this.form["timeList"][0]= this.form["time"]; |
| | | this.form["timeList"][1]= this.form["endtime"]; |
| | | |
| | | if (this.form.line != "" && this.form != undefined) { |
| | | this.form["haveMap"] = "已绘制路径!"; |
| | | } else { |
| | |
| | | }); |
| | | }, |
| | | beforeOpen(done, type) { |
| | | this.form.timeList = []; |
| | | this.form["timeList"][0]= this.form["time"]; |
| | | this.form["timeList"][1]= this.form["endtime"]; |
| | | |
| | | // console.log(type, "this.formthis.formthis.form"); |
| | | // console.log(type); |
| | | // if (["edit", "view"].includes(type)) { |
| | |
| | | done(); |
| | | return; |
| | | } |
| | | |
| | | this.form.timeList = []; |
| | | this.form["timeList"][0]= this.form["time"]; |
| | | this.form["timeList"][1]= this.form["endtime"]; |
| | | |
| | | if (this.form.line != "" && this.form != undefined) { |
| | | this.form["haveMap"] = "已绘制路径!"; |
| | | } else { |
| | |
| | | }); |
| | | }, |
| | | beforeOpen(done, type) { |
| | | this.form.timeList = []; |
| | | this.form["timeList"][0]= this.form["time"]; |
| | | this.form["timeList"][1]= this.form["endtime"]; |
| | | |
| | | // console.log(type, "this.formthis.formthis.form"); |
| | | // console.log(type); |
| | | // if (["edit", "view"].includes(type)) { |
| | |
| | | done(); |
| | | return; |
| | | } |
| | | |
| | | this.form.timeList = []; |
| | | this.form["timeList"][0]= this.form["time"]; |
| | | this.form["timeList"][1]= this.form["endtime"]; |
| | | |
| | | if (this.form.line != "" && this.form != undefined) { |
| | | this.form["haveMap"] = "已绘制路径!"; |
| | | } else { |