🐛 超管业务列表默认查全部组织,并简化区划编号录入

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-09-29 21:41:48 +08:00
co-authored by Cursor
parent 2210e33643
commit e5a7ad616c
7 changed files with 63 additions and 45 deletions
@@ -537,7 +537,11 @@ export default {
onLoad(page, params = {}) {
this.loading = true;
this.api
.getList(page.currentPage, page.pageSize, { ...params, ...this.query })
.getList(page.currentPage, page.pageSize, {
...params,
...this.query,
allDept: this.isAdmin ? 1 : 0,
})
.then(res => {
const result = res.data?.data || {};
this.page.total = result.total || 0;
@@ -942,7 +946,7 @@ export default {
NProgress.start();
exportBlob(
this.config.exportUrl,
{ ...this.query, ids: this.ids, [this.website.tokenHeader]: getToken() },
{ ...this.query, allDept: this.isAdmin ? 1 : 0, ids: this.ids, [this.website.tokenHeader]: getToken() },
{ feedback: true }
)
.then(res => {