修改一直问题

This commit is contained in:
qq787203167
2022-03-24 18:36:45 +08:00
parent 920190e305
commit 7b691a7378
4 changed files with 57 additions and 5 deletions
@@ -11,7 +11,7 @@
<div class="text-text-right"
:class="{ 'null-input':item.checked }">
<div class="text-header">
<span :title="item.module_type">{{item.module_type}}</span>
<span :title="item.module_type" v-html="item.module_type"></span>
<span style="cursor: pointer" :title="item.serial_number"
@click="titleClick(item)" v-html="item.serial_number"></span>
<span style="cursor: pointer" :title="item.title" v-html="item.title" @click="titleClick(item)"></span>
@@ -39,6 +39,7 @@
<div class="noData" v-else>
暂无数据
</div>
<div class="page" v-if="conList.length > 0">
<a-pagination
:show-total="total => $t('total')+` ${total} `+$t('strip')"
@@ -101,6 +102,7 @@
} else {
this.checkboxText.push(item.id)
}
console.log(this.checkboxText)
},
pageOnChange(page, pageSize) {
this.pageNo = page
@@ -125,9 +127,13 @@
queryParam[val] = queryParam[val].join(',')
}
})
this.loading = true
console.log(this.checkboxText)
let checkboxText = JSON.parse(JSON.stringify(this.checkboxText))
let query = {
pageNo: this.pageNo,
pageSize: this.pageSize,
ids: checkboxText.join(','),
...queryParam
}
postAction(this.url.getInfoList, query).then((res) => {