linwenxin hace 1 año
padre
commit
fe54c723f7

+ 3 - 3
src/components/template/operation_mixin.js

@@ -21,9 +21,9 @@ function hasCommonElements(arr1, arr2) {
 export default {
   data(){
     return {
-      pageType:this.$route.params.pageType,
-      pageCode:this.$route.params.pageCode,
-      pagePam:this.$route.params.pagePam
+      pageType:this?.$route?.params?.pageType,
+      pageCode:this?.$route?.params?.pageCode,
+      pagePam:this?.$route?.params?.pagePam
     }
   },
   methods: {

+ 2 - 1
src/views/userManagement/masterManagement/index.vue

@@ -65,7 +65,8 @@ export default {
       /** 表单变量 */
       formData: {
         type: '工程师',
-        examineRemark: ''
+        examineRemark: '',
+        examineStatus:''
       },
       examineStatus: ''
     }