|
@@ -209,17 +209,22 @@ export default {
|
|
|
//设置待审核的id
|
|
|
this.editId = id;
|
|
|
console.log(id)
|
|
|
- this.$confirm('将此商品通过审核吗?', '提示', {
|
|
|
+ this.$confirm('将此通知通过审核吗?', '提示', {
|
|
|
confirmButtonText: '通过',
|
|
|
cancelButtonText: '拒绝',
|
|
|
+ distinguishCancelAndClose: true, // 关键配置项,用于区分取消和关闭按钮
|
|
|
type: 'warning'
|
|
|
}).then(() => {
|
|
|
|
|
|
this.upRow(id, 2)
|
|
|
- }).catch(() => {
|
|
|
+ }).catch((the_reback) => {
|
|
|
//输入驳回理由
|
|
|
- console.log("驳回")
|
|
|
- this.examineWindow = true;
|
|
|
+ if (the_reback == "cancel") {
|
|
|
+ //输入驳回理由
|
|
|
+ // console.log("驳回" )
|
|
|
+ this.examineWindow = true;
|
|
|
+ }
|
|
|
+
|
|
|
})
|
|
|
},
|
|
|
|