|
|
@ -190,6 +190,7 @@ |
|
|
|
} |
|
|
|
}, |
|
|
|
created() { |
|
|
|
console.log('add') |
|
|
|
// this.visible = true |
|
|
|
this.$nextTick(() => { |
|
|
|
// this.dataForm.communityId = this.dataForm.streetId = this.dataForm.gridId = null |
|
|
@ -200,11 +201,11 @@ |
|
|
|
}, |
|
|
|
methods: { |
|
|
|
init() { |
|
|
|
this.$set(this.dataForm,'testingTime', new Date()) |
|
|
|
console.log(this.dataForm.testingTime) |
|
|
|
this.visible = true |
|
|
|
this.$nextTick(() => { |
|
|
|
this.$refs['dataForm'].resetFields() |
|
|
|
// this.$set(this.dataForm,'testingTime', new Date()) |
|
|
|
this.dataForm.testingTime = new Date() |
|
|
|
if (this.dataForm.id) { |
|
|
|
this.getInfo() |
|
|
|
} |
|
|
|