Commit 3c3fdbd9 by 杨明

fixed

1 parent 528d8a3d
......@@ -144,7 +144,7 @@ export default {
label: '业务场景',
prop: 'businessType',
formatter: cellValue => {
return businessType.find(item => item.optionId == cellValue.subscribe)?.optionLabel
return businessType.find(item => item.optionId == cellValue.businessType)?.optionLabel
}
},
{
......
......@@ -192,6 +192,7 @@ export default {
},
data() {
return {
isFirst: true,
isStaffVisible: false,
size: 'small',
url: url,
......@@ -617,10 +618,13 @@ export default {
beforeSearchFn() {
return new Promise(resolve => {
const { activityId, createdStartDateStr, createdEndDateStr } = this.$route.query
if (activityId) {
if (activityId && this.isFirst) {
this.searchForm.createDate = createdStartDateStr ? [new Date(createdStartDateStr), new Date(createdEndDateStr)] : this.searchForm.createDate
this.searchForm.activityId = activityId
} else {
this.searchForm.activityId = ''
}
this.isFirst = false
this.tableSearchForm = this.getParams()
// delete this.tableSearchForm.createDate
resolve()
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!