noaccept(row) {
this.$prompt('确认受理不通过吗?', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
inputPattern: /.+/,
inputErrorMessage: '请输入受理不通过原因',
closeOnClickModal: false,
customClass: 'custom-prompt',
inputType: 'textarea',
inputPlaceholder: '请输入受理不通过原因',
iconClass: 'el-icon-warning'
}).then(({ value }) => {
const params = {
setlDclaNo: row.setlDclaNo,
feeChkRea: value
}
Api.saveDeclAcceptFalse(params)
.then(res => {
if (res.code === 0) {
this.$msgSuccess(res.message)
this.search()
} else {
this.$msgError(res.message)
}
})
.catch(() => {
})
})
},
```
prompt弹窗,适用备注、审核等等
于 2024-07-29 09:03:05 首次发布