修改禅道已知bug

This commit is contained in:
sunFlower
2022-10-26 10:05:22 +08:00
parent 58624887e7
commit 6a205514f8
2 changed files with 19 additions and 0 deletions
@@ -9,6 +9,17 @@
@ok="handleOk"
@cancel="handleCancel"
>
<template slot="footer">
<a-button key="back" @click="handleCancel">
{{$t('cancel')}}
</a-button>
<a-button type="danger" :loading="confirmLoading" v-if="taskDefinitionKey == 'dreqr'" @click="sendBackClick">
{{$t('sendBack')}}
</a-button>
<a-button type="primary" :loading="confirmLoading" @click="handleOk">
{{$t('confirm')}}
</a-button>
</template>
<a-form-model :model="formInline" class="formAdd" :rules="rules" ref="ruleForm">
<a-row :gutter="24" v-if="taskDefinitionKey != 'dreqr'">
<a-col :span="24">
@@ -68,6 +79,7 @@
</a-col>
</a-row>
</a-form-model>
</a-modal>
</div>
</template>
@@ -138,6 +150,10 @@
this.$refs.ruleForm.clearValidate()
})
},
sendBackClick() {
this.formInline.flag = '1'
this.handleOk()
},
flagChange(event) {
if (event.target.value == 3) {
this.isTrue = true
@@ -181,6 +181,7 @@
window.open(newUrl.href, '_blank')
},
batchProcessingForm() {
this.selectedRowKeys = []
this.getList()
},
batchProcessingClick() {
@@ -202,10 +203,12 @@
}
},
searchQuery() {
this.selectedRowKeys = []
this.pageNo = 1
this.getList()
},
searchReset() {
this.selectedRowKeys = []
this.pageNo = 1
this.queryParam = {}
this.getList()