|
|
@@ -231,12 +231,6 @@ export default {
|
|
|
AIResultOption: [],
|
|
|
};
|
|
|
},
|
|
|
- created() {
|
|
|
- this.visitsId = this.$route.query.visitId;
|
|
|
- this.dataform.visitsId = this.$route.query.visitId;
|
|
|
- this.getVisitsDetailFn();
|
|
|
- this.getPhotoTypeList();
|
|
|
- },
|
|
|
// watch: {
|
|
|
// $route(to, from) {
|
|
|
// console.log(to.path)
|
|
|
@@ -246,11 +240,14 @@ export default {
|
|
|
// }
|
|
|
// },
|
|
|
activated() {
|
|
|
+ this.visitsId = this.$route.query.visitId;
|
|
|
+ this.dataform.visitsId = this.$route.query.visitId;
|
|
|
this.getVisitsDetailFn();
|
|
|
// 获取店招异常原因字典
|
|
|
getDictOption({}, 'feedback_error_msg').then((res) => {
|
|
|
this.AIResultOption = res.data;
|
|
|
});
|
|
|
+ this.getPhotoTypeList();
|
|
|
},
|
|
|
methods: {
|
|
|
resultCorrect(resultCorrect) {
|