【更新】更新一些 表格查询 loadData命名规范

pull/52/head v2.0.5
小诺 2022-10-27 11:47:09 +08:00
parent db9e29a2d1
commit 32cf2ec404
13 changed files with 26 additions and 26 deletions

View File

@ -39,7 +39,7 @@
<s-table
ref="table"
:columns="columns"
:data="loadDate"
:data="loadData"
:expand-row-by-click="true"
:alert="options.alert.show"
bordered
@ -129,7 +129,7 @@
const cardLoading = ref(true)
// Promise
const loadDate = (parameter) => {
const loadData = (parameter) => {
loadTreeData()
return bizOrgApi.orgPage(Object.assign(parameter, searchFormState)).then((res) => {
return res

View File

@ -39,7 +39,7 @@
<s-table
ref="table"
:columns="columns"
:data="loadDate"
:data="loadData"
:expand-row-by-click="true"
:alert="options.alert.show"
bordered
@ -130,7 +130,7 @@
const cardLoading = ref(true)
// Promise
const loadDate = (parameter) => {
const loadData = (parameter) => {
return bizPositionApi.positionPage(Object.assign(parameter, searchFormState)).then((res) => {
return res
})

View File

@ -18,7 +18,7 @@
<s-table
ref="table"
:columns="columns"
:data="loadDate"
:data="loadData"
:expand-row-by-click="true"
bordered
:alert="options.alert.show"
@ -183,7 +183,7 @@
const cardLoading = ref(true)
// Promise
const loadDate = (parameter) => {
const loadData = (parameter) => {
return bizUserApi.userPage(Object.assign(parameter, searchFormState)).then((res) => {
return res
})

View File

@ -15,7 +15,7 @@
<s-table
ref="table"
:columns="columns"
:data="loadDate"
:data="loadData"
:expand-row-by-click="true"
bordered
:row-key="(record) => record.id"
@ -99,7 +99,7 @@
const treeFieldNames = { children: 'children', title: 'dictLabel', key: 'id' }
// Promise
const loadDate = (parameter) => {
const loadData = (parameter) => {
loadTreeData()
parameter.category = 'BIZ'
return dictApi.dictPage(Object.assign(parameter, searchFormState)).then((res) => {

View File

@ -15,7 +15,7 @@
<s-table
ref="table"
:columns="columns"
:data="loadDate"
:data="loadData"
:expand-row-by-click="true"
bordered
:row-key="(record) => record.id"
@ -98,7 +98,7 @@
const treeFieldNames = { children: 'children', title: 'dictLabel', key: 'id' }
// Promise
const loadDate = (parameter) => {
const loadData = (parameter) => {
loadTreeData()
parameter.category = 'FRM'
return dictApi.dictPage(Object.assign(parameter, searchFormState)).then((res) => {

View File

@ -34,7 +34,7 @@
<s-table
ref="table"
:columns="columns"
:data="loadDate"
:data="loadData"
:expand-row-by-click="true"
:alert="options.alert.show"
bordered
@ -135,7 +135,7 @@
}
// Promise
const loadDate = (parameter) => {
const loadData = (parameter) => {
return emailApi.emailPage(Object.assign(parameter, searchFormState)).then((data) => {
return data
})

View File

@ -30,7 +30,7 @@
<s-table
ref="table"
:columns="columns"
:data="loadDate"
:data="loadData"
:expand-row-by-click="true"
:alert="options.alert.show"
bordered
@ -165,7 +165,7 @@
}
}
// Promise
const loadDate = (parameter) => {
const loadData = (parameter) => {
return fileApi.filePage(Object.assign(parameter, searchFormState)).then((data) => {
return data
})

View File

@ -24,7 +24,7 @@
<s-table
ref="table"
:columns="columns"
:data="loadDate"
:data="loadData"
:expand-row-by-click="true"
:alert="options.alert.show"
bordered
@ -105,7 +105,7 @@
let searchFormState = reactive({})
const detailRef = ref()
// Promise
const loadDate = (parameter) => {
const loadData = (parameter) => {
return messageApi.messagePage(Object.assign(parameter, searchFormState)).then((data) => {
return data
})

View File

@ -34,7 +34,7 @@
<s-table
ref="table"
:columns="columns"
:data="loadDate"
:data="loadData"
:expand-row-by-click="true"
:alert="options.alert.show"
bordered
@ -135,7 +135,7 @@
}
}
// Promise
const loadDate = (parameter) => {
const loadData = (parameter) => {
return smsApi.smsPage(Object.assign(parameter, searchFormState)).then((data) => {
return data
})

View File

@ -39,7 +39,7 @@
<s-table
ref="table"
:columns="columns"
:data="loadDate"
:data="loadData"
:expand-row-by-click="true"
:alert="options.alert.show"
bordered
@ -127,7 +127,7 @@
const cardLoading = ref(true)
// Promise
const loadDate = (parameter) => {
const loadData = (parameter) => {
loadTreeData()
return orgApi.orgPage(Object.assign(parameter, searchFormState)).then((res) => {
return res

View File

@ -39,7 +39,7 @@
<s-table
ref="table"
:columns="columns"
:data="loadDate"
:data="loadData"
:expand-row-by-click="true"
:alert="options.alert.show"
bordered
@ -128,7 +128,7 @@
const cardLoading = ref(true)
// Promise
const loadDate = (parameter) => {
const loadData = (parameter) => {
return positionApi.positionPage(Object.assign(parameter, searchFormState)).then((res) => {
return res
})

View File

@ -39,7 +39,7 @@
<s-table
ref="table"
:columns="columns"
:data="loadDate"
:data="loadData"
:expand-row-by-click="true"
:alert="options.alert.show"
bordered
@ -178,7 +178,7 @@
const recordCacheData = ref({})
// Promise
const loadDate = (parameter) => {
const loadData = (parameter) => {
let param = Object.assign(parameter, searchFormState)
summaryDataReq(param)
return roleApi.rolePage(param).then((res) => {

View File

@ -18,7 +18,7 @@
<s-table
ref="table"
:columns="columns"
:data="loadDate"
:data="loadData"
:expand-row-by-click="true"
bordered
:alert="options.alert.show"
@ -179,7 +179,7 @@
const cardLoading = ref(true)
// Promise
const loadDate = (parameter) => {
const loadData = (parameter) => {
return userApi.userPage(Object.assign(parameter, searchFormState)).then((res) => {
return res
})