src/views/desk/notice.vue
@@ -264,6 +264,7 @@ }else{ row.category = 2; } row['type'] = 1; row.deptId = this.deptId; add(row).then( () => { @@ -281,7 +282,11 @@ ); }, rowUpdate(row, index, done, loading) { row.category = 1; // if (this.deptCategory) { // row.category = 1; // }else{ // row.category = 2; // } row.deptId = this.deptId; update(row).then( () => { @@ -386,6 +391,7 @@ const { releaseTimeRange } = this.query; params["jurisdiction"] = this.jurisdiction; params["type"] = 1; let values = { ...params, };