@@ -200,7 +200,9 @@ export default {
workerImgs: [],
user: {},
workerImgsCp: [{ type: '', number: '', startTime: '', endTime: '', reexamineTime: '', filesList: [] }],
- workerPolicies: []
+ workerPolicies: [],
+ nickName: '',
+ mobile: ''
},
examineStatus: '',
openType: 0,
@@ -832,6 +834,15 @@ export default {
]
}
+ watch: {
+ 'formData.user': {
+ deep: true,
+ handler(val) {
+ this.formData.user = this.formData.nickName
+ this.formData.user = this.formData.mobile
+ }
+ },
methods: {
// 切换状态
changeType(val) {