CN-154 chart列表页面开发

CN-155 chart编辑页面开发
This commit is contained in:
hyx
2021-10-15 16:42:15 +08:00
parent 3c492fdad9
commit 7c45b758ef
7 changed files with 654 additions and 2 deletions

View File

@@ -69,7 +69,11 @@ export default {
this.searchLabel = { ...this.searchLabel, ...this.pageObj }
this.tools.loading = true
delete this.searchLabel.total
get(this.url, this.searchLabel).then(response => {
let listUrl = this.url
if (this.listUrl) {
listUrl = this.listUrl
}
get(listUrl, this.searchLabel).then(response => {
this.tools.loading = false
if (response.code === 200) {
for (let i = 0; i < response.data.list.length; i++) {