|
@@ -347,10 +347,10 @@
|
|
|
<a-popconfirm title="确定放弃编辑?" @confirm="handleCancel" okText="确定" cancelText="取消">
|
|
|
<a-button :style="{ marginRight: '8px' }">取消</a-button>
|
|
|
</a-popconfirm>
|
|
|
- <a-button type="primary" @click="myHandSave" :loading="btnLoading" v-preventReClick="2000">
|
|
|
+ <a-button type="primary" @click="myHandSave" :disabled="btnLoading" >
|
|
|
保存
|
|
|
</a-button>
|
|
|
- <a-button type="primary" @click="myHandSubmit" style="margin-left: 8px">
|
|
|
+ <a-button type="primary" :disabled="btnLoading" @click="myHandSubmit" style="margin-left: 8px">
|
|
|
保存并提交
|
|
|
</a-button>
|
|
|
</div>
|
|
@@ -781,8 +781,8 @@ export default {
|
|
|
}
|
|
|
if(this.judge == 0){
|
|
|
if(this.editDecide === 'edit'){
|
|
|
- editById(newObj).then(res => {
|
|
|
this.btnLoading = true
|
|
|
+ editById(newObj).then(res => {
|
|
|
if (res.success) {
|
|
|
if(newObj.status == '1'){
|
|
|
this.$message.success('编辑并提交成功')
|