Commit 9143cef0 authored by zL's avatar zL

去掉存证id整数转换

parent 21318ee6
...@@ -26,7 +26,8 @@ export default { ...@@ -26,7 +26,8 @@ export default {
deleteRemark: "", deleteRemark: "",
}; };
}, },
created() {}, mounted() {
},
methods: { methods: {
checkReason() { checkReason() {
if (this.deleteRemark.trim() === "") { if (this.deleteRemark.trim() === "") {
...@@ -48,7 +49,7 @@ export default { ...@@ -48,7 +49,7 @@ export default {
Determine() { Determine() {
switch (this.status) { switch (this.status) {
case 0: case 0:
this.deleteConfirm({ id: Number(this.id) }); this.deleteConfirm({ id: this.id });
break; break;
default: default:
this.checkReason(); this.checkReason();
...@@ -72,6 +73,7 @@ export default { ...@@ -72,6 +73,7 @@ export default {
// 删除存证 // 删除存证
async deleteConfirm(params) { async deleteConfirm(params) {
// return
const res = await this.$ajax({ const res = await this.$ajax({
type: "delete", type: "delete",
url: GO_URLS.delete, url: GO_URLS.delete,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment