|
@@ -264,8 +264,16 @@
|
|
|
default: () => ({})
|
|
default: () => ({})
|
|
|
},
|
|
},
|
|
|
formData: {
|
|
formData: {
|
|
|
|
|
+ type: Object,
|
|
|
|
|
+ default: () => ({})
|
|
|
|
|
+ },
|
|
|
|
|
+ firstInfo:{
|
|
|
type: Object,
|
|
type: Object,
|
|
|
default: () => ({})
|
|
default: () => ({})
|
|
|
|
|
+ },
|
|
|
|
|
+ currentInfo:{
|
|
|
|
|
+ type: Object,
|
|
|
|
|
+ default: () => ({})
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
data () {
|
|
data () {
|
|
@@ -326,15 +334,15 @@
|
|
|
this.workReport.executorJobNum = this.$store.state.user.info?.jobNumber;
|
|
this.workReport.executorJobNum = this.$store.state.user.info?.jobNumber;
|
|
|
},
|
|
},
|
|
|
watch: {
|
|
watch: {
|
|
|
- formData: {
|
|
|
|
|
- immediate: true,
|
|
|
|
|
- handler () {
|
|
|
|
|
- if (this.formData.dateType==2) {
|
|
|
|
|
- this.$set(this.workReport,'executeTime',this.formData.appointTime);
|
|
|
|
|
- }
|
|
|
|
|
- }
|
|
|
|
|
|
|
+ formData: {
|
|
|
|
|
+ immediate: true,
|
|
|
|
|
+ handler () {
|
|
|
|
|
+ if (this.formData.dateType==2) {
|
|
|
|
|
+ this.$set(this.workReport,'executeTime',this.formData.appointTime);
|
|
|
}
|
|
}
|
|
|
- },
|
|
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
methods: {
|
|
methods: {
|
|
|
getCategory (id, memo) {
|
|
getCategory (id, memo) {
|
|
|
this.$refs.catogaryDialogRef.open(id, this[memo], (res) => {
|
|
this.$refs.catogaryDialogRef.open(id, this[memo], (res) => {
|