|
|
@@ -121,6 +121,10 @@ export default {
|
|
|
// 动态参数
|
|
|
type: Object
|
|
|
},
|
|
|
+ searchParams: {
|
|
|
+ // 手动传参
|
|
|
+ type: Object
|
|
|
+ },
|
|
|
data: {
|
|
|
type: Array
|
|
|
},
|
|
|
@@ -584,8 +588,10 @@ export default {
|
|
|
responseData.datasetKey = this.dataTemplate.datasetKey
|
|
|
responseData.unique = this.pkKey
|
|
|
responseData['key'] = this.templateKey
|
|
|
- if (this.$utils.isNotEmpty(this.dynamicParams)) {
|
|
|
- formParams = this.getSearcFormData(this.dynamicParams)
|
|
|
+ responseData['dynamic_params'] = this.dynamicParams
|
|
|
+ console.log('this.dynamicParams=>', this.dynamicParams)
|
|
|
+ if (this.$utils.isNotEmpty(this.searchParams)) {
|
|
|
+ formParams = this.getSearcFormData(this.searchParams)
|
|
|
}
|
|
|
formParams['response_data'] = JSON.stringify(responseData)
|
|
|
formParams['filter_condition_key'] = this.filterConditionKey || ''
|