Commit 992592c0 authored by xinzhedeai's avatar xinzhedeai

危险备案功能开发弯沉

parent 48af1bf3
...@@ -188,10 +188,6 @@ window.addEventListener("load", function() { ...@@ -188,10 +188,6 @@ window.addEventListener("load", function() {
} }
// this.form.companyId = this.companyId // this.form.companyId = this.companyId
this.form.workTime = [this.form.startTime, this.form.endTime] this.form.workTime = [this.form.startTime, this.form.endTime]
// const tempStartTime = this.form['startTime']
// const tempEndTime = this.form['endTime']
delete this.form['startTime']
delete this.form['endTime']
vant.Toast.loading({ vant.Toast.loading({
message: '正在处理...', message: '正在处理...',
forbidClick: true, forbidClick: true,
...@@ -209,8 +205,6 @@ window.addEventListener("load", function() { ...@@ -209,8 +205,6 @@ window.addEventListener("load", function() {
vant.Toast({ vant.Toast({
message: '操作成功', message: '操作成功',
}) })
this.form['startTime'] = tempStartTime
this.form['endTime'] = tempEndTime
if (!this.form.id) { // 添加时则 if (!this.form.id) { // 添加时则
location.reload() location.reload()
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment