| | |
| | | :size="size" |
| | | :type="type" |
| | | @click.stop="rowDel(row)" |
| | | v-if="row.type == '2'" |
| | | >许可审批 |
| | | </el-button> |
| | | <el-button |
| | |
| | | ); |
| | | }, |
| | | rowDel(row) { |
| | | this.$confirm("确定对选择的许可进行审批?", { |
| | | this.$confirm("是否通过?", { |
| | | confirmButtonText: "通过", |
| | | cancelButtonText: "不通过", |
| | | type: "warning", |
| | |
| | | }, |
| | | rowDel(row) { |
| | | this.$confirm("是否通过?", { |
| | | confirmButtonText: "是", |
| | | cancelButtonText: "否", |
| | | confirmButtonText: "通过", |
| | | cancelButtonText: "不通过", |
| | | type: "warning", |
| | | }) |
| | | .then(() => { |
| | | row.type = "0"; |
| | | row.examinetime = this.getCurrentTime(); |
| | | return update(row); |
| | | }) |
| | | .then(() => { |
| | |
| | | .catch(() => { |
| | | row.type = "1"; |
| | | return update(row); |
| | | // update(row); |
| | | // this.onLoad(this.page); |
| | | // this.$message({ |
| | | // type: "warning", |
| | | // message: "操作成功!", |
| | | // }); |
| | | }); |
| | | }, |
| | | // 审批打印 |