|
|
@@ -164,8 +164,6 @@
|
|
|
methods: {
|
|
|
rowSave(row, done, loading) {
|
|
|
row.noticeId = this.noticeId;
|
|
|
- row.agencyName = row.$agencyId;
|
|
|
- row.residentialName = row.$residentialId;
|
|
|
add(row).then(() => {
|
|
|
this.onLoad(this.page);
|
|
|
this.$message({
|
|
|
@@ -180,8 +178,6 @@
|
|
|
},
|
|
|
rowUpdate(row, index, done, loading) {
|
|
|
row.noticeId = this.noticeId;
|
|
|
- row.agencyName = row.$agencyId;
|
|
|
- row.residentialName = row.$residentialId;
|
|
|
update(row).then(() => {
|
|
|
this.onLoad(this.page);
|
|
|
this.$message({
|
|
|
@@ -267,7 +263,8 @@
|
|
|
refreshChange() {
|
|
|
this.onLoad(this.page, this.query);
|
|
|
},
|
|
|
- onLoad(page, params = {"noticeId": this.noticeId}) {
|
|
|
+ onLoad(page, params = {}) {
|
|
|
+ params["noticeId"] = this.noticeId
|
|
|
this.loading = true;
|
|
|
getList(page.currentPage, page.pageSize, Object.assign(params, this.query)).then(res => {
|
|
|
const data = res.data.data;
|