diff --git a/src/components/CaseCommon/caseDetail.vue b/src/components/CaseCommon/caseDetail.vue index abe9f13..c5e8129 100644 --- a/src/components/CaseCommon/caseDetail.vue +++ b/src/components/CaseCommon/caseDetail.vue @@ -430,6 +430,14 @@ } } }, + mounted() { + console.log('mounted') + this.id = this.$route.query.id + this.showProcess = (this.$route.query.showProcess || this.$route.query.showProcess === false) ? this.$route.query.showProcess : true + this.showNeedVisit = this.$route.query.showNeedVisit ? this.$route.query.showNeedVisit : false + this.resetData() + this.initData() + }, activated() { console.log('activated') this.id = this.$route.query.id @@ -490,6 +498,7 @@ this.commonLanguage = '' this.processCompShow = '' this.processCompObj = {} + this.$refs['processForm'].resetFields() }, /** diff --git a/src/components/CaseCommon/caseDetail.vue b/src/components/CaseCommon/caseDetail.vue index abe9f13..c5e8129 100644 --- a/src/components/CaseCommon/caseDetail.vue +++ b/src/components/CaseCommon/caseDetail.vue @@ -430,6 +430,14 @@ } } }, + mounted() { + console.log('mounted') + this.id = this.$route.query.id + this.showProcess = (this.$route.query.showProcess || this.$route.query.showProcess === false) ? this.$route.query.showProcess : true + this.showNeedVisit = this.$route.query.showNeedVisit ? this.$route.query.showNeedVisit : false + this.resetData() + this.initData() + }, activated() { console.log('activated') this.id = this.$route.query.id @@ -490,6 +498,7 @@ this.commonLanguage = '' this.processCompShow = '' this.processCompObj = {} + this.$refs['processForm'].resetFields() }, /** diff --git a/src/components/CaseCommon/caseDetailRead.vue b/src/components/CaseCommon/caseDetailRead.vue index 8e33af7..6f163ce 100644 --- a/src/components/CaseCommon/caseDetailRead.vue +++ b/src/components/CaseCommon/caseDetailRead.vue @@ -1,6 +1,6 @@ - diff --git a/src/components/CaseCommon/caseDetail.vue b/src/components/CaseCommon/caseDetail.vue index abe9f13..c5e8129 100644 --- a/src/components/CaseCommon/caseDetail.vue +++ b/src/components/CaseCommon/caseDetail.vue @@ -430,6 +430,14 @@ } } }, + mounted() { + console.log('mounted') + this.id = this.$route.query.id + this.showProcess = (this.$route.query.showProcess || this.$route.query.showProcess === false) ? this.$route.query.showProcess : true + this.showNeedVisit = this.$route.query.showNeedVisit ? this.$route.query.showNeedVisit : false + this.resetData() + this.initData() + }, activated() { console.log('activated') this.id = this.$route.query.id @@ -490,6 +498,7 @@ this.commonLanguage = '' this.processCompShow = '' this.processCompObj = {} + this.$refs['processForm'].resetFields() }, /** diff --git a/src/components/CaseCommon/caseDetailRead.vue b/src/components/CaseCommon/caseDetailRead.vue index 8e33af7..6f163ce 100644 --- a/src/components/CaseCommon/caseDetailRead.vue +++ b/src/components/CaseCommon/caseDetailRead.vue @@ -1,6 +1,6 @@ - diff --git a/src/components/CaseCommon/searchForm.vue b/src/components/CaseCommon/searchForm.vue index 4347d3a..723d24e 100644 --- a/src/components/CaseCommon/searchForm.vue +++ b/src/components/CaseCommon/searchForm.vue @@ -1,64 +1,108 @@ - + + + + + + + + + - + + + + + + + + diff --git a/src/components/CaseCommon/caseDetail.vue b/src/components/CaseCommon/caseDetail.vue index abe9f13..c5e8129 100644 --- a/src/components/CaseCommon/caseDetail.vue +++ b/src/components/CaseCommon/caseDetail.vue @@ -430,6 +430,14 @@ } } }, + mounted() { + console.log('mounted') + this.id = this.$route.query.id + this.showProcess = (this.$route.query.showProcess || this.$route.query.showProcess === false) ? this.$route.query.showProcess : true + this.showNeedVisit = this.$route.query.showNeedVisit ? this.$route.query.showNeedVisit : false + this.resetData() + this.initData() + }, activated() { console.log('activated') this.id = this.$route.query.id @@ -490,6 +498,7 @@ this.commonLanguage = '' this.processCompShow = '' this.processCompObj = {} + this.$refs['processForm'].resetFields() }, /** diff --git a/src/components/CaseCommon/caseDetailRead.vue b/src/components/CaseCommon/caseDetailRead.vue index 8e33af7..6f163ce 100644 --- a/src/components/CaseCommon/caseDetailRead.vue +++ b/src/components/CaseCommon/caseDetailRead.vue @@ -1,6 +1,6 @@ - diff --git a/src/components/CaseCommon/searchForm.vue b/src/components/CaseCommon/searchForm.vue index 4347d3a..723d24e 100644 --- a/src/components/CaseCommon/searchForm.vue +++ b/src/components/CaseCommon/searchForm.vue @@ -1,64 +1,108 @@ - + + + + + + + + + - + + + + + + + + diff --git a/src/views/callCase/callCase.vue b/src/views/callCase/callCase.vue index c7f2a64..7a8cd6b 100644 --- a/src/views/callCase/callCase.vue +++ b/src/views/callCase/callCase.vue @@ -1,184 +1,183 @@ - diff --git a/src/components/CaseCommon/searchForm.vue b/src/components/CaseCommon/searchForm.vue index 4347d3a..723d24e 100644 --- a/src/components/CaseCommon/searchForm.vue +++ b/src/components/CaseCommon/searchForm.vue @@ -1,64 +1,108 @@ - + + + + + + + + + - + + + + + + + + diff --git a/src/views/callCase/callCase.vue b/src/views/callCase/callCase.vue index c7f2a64..7a8cd6b 100644 --- a/src/views/callCase/callCase.vue +++ b/src/views/callCase/callCase.vue @@ -1,184 +1,183 @@ diff --git a/src/components/CaseCommon/searchForm.vue b/src/components/CaseCommon/searchForm.vue index 4347d3a..723d24e 100644 --- a/src/components/CaseCommon/searchForm.vue +++ b/src/components/CaseCommon/searchForm.vue @@ -1,64 +1,108 @@ - + + + + + + + + + - + + + + + + + + diff --git a/src/views/callCase/callCase.vue b/src/views/callCase/callCase.vue index c7f2a64..7a8cd6b 100644 --- a/src/views/callCase/callCase.vue +++ b/src/views/callCase/callCase.vue @@ -1,184 +1,183 @@ diff --git a/src/components/CaseCommon/searchForm.vue b/src/components/CaseCommon/searchForm.vue index 4347d3a..723d24e 100644 --- a/src/components/CaseCommon/searchForm.vue +++ b/src/components/CaseCommon/searchForm.vue @@ -1,64 +1,108 @@ - + + + + + + + + + - + + + + + + + + diff --git a/src/views/callCase/callCase.vue b/src/views/callCase/callCase.vue index c7f2a64..7a8cd6b 100644 --- a/src/views/callCase/callCase.vue +++ b/src/views/callCase/callCase.vue @@ -1,184 +1,183 @@ diff --git a/src/components/CaseCommon/searchForm.vue b/src/components/CaseCommon/searchForm.vue index 4347d3a..723d24e 100644 --- a/src/components/CaseCommon/searchForm.vue +++ b/src/components/CaseCommon/searchForm.vue @@ -1,64 +1,108 @@ - + + + + + + + + + - + + + + + + + + diff --git a/src/views/callCase/callCase.vue b/src/views/callCase/callCase.vue index c7f2a64..7a8cd6b 100644 --- a/src/views/callCase/callCase.vue +++ b/src/views/callCase/callCase.vue @@ -1,184 +1,183 @@ diff --git a/src/components/CaseCommon/searchForm.vue b/src/components/CaseCommon/searchForm.vue index 4347d3a..723d24e 100644 --- a/src/components/CaseCommon/searchForm.vue +++ b/src/components/CaseCommon/searchForm.vue @@ -1,64 +1,108 @@ - + + + + + + + + + - + + + + + + + + diff --git a/src/views/callCase/callCase.vue b/src/views/callCase/callCase.vue index c7f2a64..7a8cd6b 100644 --- a/src/views/callCase/callCase.vue +++ b/src/views/callCase/callCase.vue @@ -1,184 +1,183 @@ diff --git a/src/components/CaseCommon/searchForm.vue b/src/components/CaseCommon/searchForm.vue index 4347d3a..723d24e 100644 --- a/src/components/CaseCommon/searchForm.vue +++ b/src/components/CaseCommon/searchForm.vue @@ -1,64 +1,108 @@ - + + + + + + + + + - + + + + + + + + diff --git a/src/views/callCase/callCase.vue b/src/views/callCase/callCase.vue index c7f2a64..7a8cd6b 100644 --- a/src/views/callCase/callCase.vue +++ b/src/views/callCase/callCase.vue @@ -1,184 +1,183 @@ diff --git a/src/components/CaseCommon/searchForm.vue b/src/components/CaseCommon/searchForm.vue index 4347d3a..723d24e 100644 --- a/src/components/CaseCommon/searchForm.vue +++ b/src/components/CaseCommon/searchForm.vue @@ -1,64 +1,108 @@ - + + + + + + + + + - + + + + + + + + diff --git a/src/views/callCase/callCase.vue b/src/views/callCase/callCase.vue index c7f2a64..7a8cd6b 100644 --- a/src/views/callCase/callCase.vue +++ b/src/views/callCase/callCase.vue @@ -1,184 +1,183 @@ diff --git a/src/components/CaseCommon/searchForm.vue b/src/components/CaseCommon/searchForm.vue index 4347d3a..723d24e 100644 --- a/src/components/CaseCommon/searchForm.vue +++ b/src/components/CaseCommon/searchForm.vue @@ -1,64 +1,108 @@ - + + + + + + + + + - + + + + + + + + diff --git a/src/views/callCase/callCase.vue b/src/views/callCase/callCase.vue index c7f2a64..7a8cd6b 100644 --- a/src/views/callCase/callCase.vue +++ b/src/views/callCase/callCase.vue @@ -1,184 +1,183 @@ diff --git a/src/components/CaseCommon/searchForm.vue b/src/components/CaseCommon/searchForm.vue index 4347d3a..723d24e 100644 --- a/src/components/CaseCommon/searchForm.vue +++ b/src/components/CaseCommon/searchForm.vue @@ -1,64 +1,108 @@ - + + + + + + + + + - + + + + + + + + diff --git a/src/views/callCase/callCase.vue b/src/views/callCase/callCase.vue index c7f2a64..7a8cd6b 100644 --- a/src/views/callCase/callCase.vue +++ b/src/views/callCase/callCase.vue @@ -1,184 +1,183 @@