修改提交流程的传参

This commit is contained in:
qq787203167
2022-04-26 19:47:53 +08:00
parent 1d78fcbb68
commit 071bf00865
3 changed files with 14 additions and 9 deletions
@@ -22,6 +22,8 @@
</template>
<script>
import moment from 'moment'
export default {
name: 'headerProcess',
props: {
@@ -52,7 +54,8 @@
},
methods: {
terminationProcess() {
this.$emit('terminationProcess')
let handlingTime = moment(new Date()).format('YYYY-MM-DD HH:mm:ss')
this.$emit('terminationProcess',handlingTime)
},
preservation() {
this.$emit('preservation')
@@ -61,7 +64,8 @@
this.$emit('issue')
},
submit() {
this.$emit('submit')
let handlingTime = moment(new Date()).format('YYYY-MM-DD HH:mm:ss')
this.$emit('submit',handlingTime)
},
backTo() {