|
@@ -254,10 +254,15 @@ function Monitor(props: { onChange: () => void }) {
|
|
style={{ minWidth: 180, maxWidth: 250 }}
|
|
style={{ minWidth: 180, maxWidth: 250 }}
|
|
mode='multiple'
|
|
mode='multiple'
|
|
maxTagCount={1}
|
|
maxTagCount={1}
|
|
- disabled={queryForm?.accountId?.length > 0}
|
|
|
|
allowClear placeholder="请选择投手"
|
|
allowClear placeholder="请选择投手"
|
|
|
|
+ disabled={queryForm?.adgroup || queryForm?.accountId?.length > 0}
|
|
onChange={(value: number[]) => {
|
|
onChange={(value: number[]) => {
|
|
setQueryForm({ ...queryForm, sysUserId: value, pageNum: 1 })
|
|
setQueryForm({ ...queryForm, sysUserId: value, pageNum: 1 })
|
|
|
|
+ if (mode === 'detail') {
|
|
|
|
+ getDetailList(queryForm.adgroup, queryForm?.accountId)
|
|
|
|
+ } else if (mode === 'minute') {
|
|
|
|
+ getMinuList(queryForm.adgroup, queryForm?.accountId)
|
|
|
|
+ }
|
|
}}
|
|
}}
|
|
filterOption={(input, option) =>
|
|
filterOption={(input, option) =>
|
|
(option?.children as any).toLowerCase().indexOf(input.toLowerCase()) >= 0
|
|
(option?.children as any).toLowerCase().indexOf(input.toLowerCase()) >= 0
|