修改提交流程的传参
This commit is contained in:
@@ -16,6 +16,9 @@
|
||||
<a-button class="header-btn issue" v-if="isIssue" @click="issue" type="primary" ghost>{{$t('issue')}}</a-button>
|
||||
<!-- 提交-->
|
||||
<a-button class="header-btn submit" v-if="isSubmit" @click="submit" type="primary">{{$t('submit')}}</a-button>
|
||||
<a-button class="header-btn termin" v-if="isSendBack" @click="sendBackCkick" type="danger" ghost>
|
||||
{{$t('sendBack')}}
|
||||
</a-button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -50,7 +53,12 @@
|
||||
isPreservation: {
|
||||
type: Boolean,
|
||||
default: false
|
||||
}
|
||||
},
|
||||
//是否显示退回按钮
|
||||
isSendBack:{
|
||||
type: Boolean,
|
||||
default: false
|
||||
},
|
||||
},
|
||||
methods: {
|
||||
terminationProcess() {
|
||||
@@ -67,6 +75,10 @@
|
||||
let handlingTime = moment(new Date()).format('YYYY-MM-DD HH:mm:ss')
|
||||
this.$emit('submit',handlingTime)
|
||||
},
|
||||
sendBackCkick(){
|
||||
let handlingTime = moment(new Date()).format('YYYY-MM-DD HH:mm:ss')
|
||||
this.$emit('sendBack',handlingTime)
|
||||
},
|
||||
backTo() {
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user