| | |
| | | }, |
| | | //修改提交 |
| | | async setEditLayerSubmit() { |
| | | if (this.editLayer.url) { |
| | | var url = this.editLayer.url; |
| | | this.editLayer.url = url.replace(iisHost, "{host}"); |
| | | } |
| | | const data = await publish_update(this.editLayer); |
| | | if (data.code != 200) { |
| | | this.$message.error("数据修改失败") |
| | |
| | | if (this.active == "first") { |
| | | this.listData = { |
| | | pageIndex: 1, |
| | | pageSize: 100, |
| | | pageSize: 10, |
| | | count: 0 |
| | | } |
| | | this.showPageSize = [100, 200, 500, 1000] |
| | | this.showPageSize = [10, 50, 100, 200] |
| | | } else { |
| | | this.listData = { |
| | | pageIndex: 1, |
| | | pageSize: 10, |
| | | count: 0 |
| | | } |
| | | this.showPageSize = [10, 20, 50, 100] |
| | | this.showPageSize = [10, 50, 100, 200] |
| | | } |
| | | |
| | | this.formInline.type = this.typeOption[0].value; |
| | |
| | | async getTableData() { |
| | | this.tableData = []; |
| | | this.listData.count = 0; |
| | | this.listData.pageIndex = 1; |
| | | if (this.active == "first") { |
| | | |
| | | this.listData.depcode = this.formInline.depid; |