|
|
@@ -221,9 +221,9 @@ export default {
|
|
|
/**
|
|
|
* 加载数据
|
|
|
*/
|
|
|
- loadData(id = '') {
|
|
|
+ loadData() {
|
|
|
this.loading = true
|
|
|
- queryPageList(this.getFormatParams(id)).then(response => {
|
|
|
+ queryPageList(this.getFormatParams()).then(response => {
|
|
|
response.data.dataResult.forEach((item)=>{
|
|
|
if(item.typeId && this.typeFiler.length>0){
|
|
|
this.typeFiler.forEach((val)=>{
|
|
|
@@ -246,9 +246,9 @@ export default {
|
|
|
/**
|
|
|
* 获取格式化参数
|
|
|
*/
|
|
|
- getFormatParams(id = '') {
|
|
|
+ getFormatParams() {
|
|
|
const params = this.$refs['crud'] ? this.$refs['crud'].getSearcFormData() : {}
|
|
|
- params['Q^TYPE_ID_^S'] = id
|
|
|
+ params['Q^TYPE_ID_^S'] = this.typeId
|
|
|
return ActionUtils.formatParams(
|
|
|
params,
|
|
|
this.pagination,
|