| | |
| | | <div><el-text tag="b" size="large">产品生成选项</el-text></div> |
| | | </template> |
| | | <SearchBar |
| | | v-show="active" |
| | | ref="refSearchBar" |
| | | :btn-show="false" |
| | | :init="false" |
| | |
| | | > |
| | | </SearchBar> |
| | | <template #footer> |
| | | <el-row justify="space-around"> |
| | | <el-row v-show="active" justify="end"> |
| | | <el-button |
| | | type="primary" |
| | | size="default" |
| | |
| | | loading: { |
| | | type: Boolean, |
| | | default: false |
| | | }, |
| | | active:{ |
| | | type: Boolean, |
| | | default: true |
| | | } |
| | | }); |
| | | const emit = defineEmits(['submit']); |
| | |
| | | const search = (options) => { |
| | | const opt = { |
| | | topTaskId: options.topTask.tguid, |
| | | topTaskName: options.topTask.name, |
| | | provinceCode: options.topTask.provincecode, |
| | | provinceName: options.topTask.provincename, |
| | | cityCode: options.topTask.citycode, |
| | | cityName: options.topTask.cityname, |
| | | districtCode: options.topTask.districtcode, |
| | | districtName: options.topTask.districtname, |
| | | townCode: options.topTask.towncode, |
| | | townName: options.topTask.townname, |
| | | startTime: dayjs(options.topTask.starttime).format('YYYY-MM-DD HH:mm:ss'), |
| | | endTime: dayjs(options.topTask.endtime) |
| | | .add(1, 'day') |
| | | .add(-1, 'second') |
| | | .format('YYYY-MM-DD HH:mm:ss'), |
| | | sceneTypeId: options.sceneTypeId, |
| | | sceneTypeName: options.sceneTypeName, |
| | | needCache: true |
| | | }; |
| | | emit('submit', opt); |