Bläddra i källkod

是否新企微运营系统创建的群聊

wjx 1 dag sedan
förälder
incheckning
ccb7573c53

+ 1 - 0
src/pages/weComTask/API/global.ts

@@ -89,6 +89,7 @@ export interface ApiParamsChatListProps {
     remark?: string
     mpAccountIdIsNull?: boolean,
     mpAccountId?: number,
+    newCorpGroupChat?: boolean
 }
 
 /**

+ 2 - 2
src/pages/weComTask/components/searchBox.tsx

@@ -106,7 +106,7 @@ function SearchBox(props: SearchBoxProps) {
         ref={refBox}
     >
         {children && <div style={{ flexShrink: 1, marginRight: !show ? 20 : 0 }} >
-            <div ref={ref} style={{ height: setHeight ? 'auto' : '35px', overflow: 'hidden', width: chiMinWidth !== -1 ? chiMinWidth : 'auto' }}>
+            <div ref={ref} style={{ height: setHeight ? 'auto' : '30px', overflow: 'hidden', width: chiMinWidth !== -1 ? chiMinWidth : 'auto' }}>
                 {
                     isCustom ? children: <Space wrap >
                         {children}
@@ -138,7 +138,7 @@ function SearchBox(props: SearchBoxProps) {
                 }
             </div>
         </div>}
-        <div style={{ height: setHeight ? 'auto' : '35px', overflow: 'hidden', flexShrink: 1, display: 'flex', justifyContent: !show ? 'flex-start' : 'space-between', alignItems: 'flex-start', width: btnMinWidth === -1 ? 'auto' : btnMinWidth + 75 }} ref={refBtns}>
+        <div style={{ height: setHeight ? 'auto' : '30px', overflow: 'hidden', flexShrink: 1, display: 'flex', justifyContent: !show ? 'flex-start' : 'space-between', alignItems: 'flex-start', width: btnMinWidth === -1 ? 'auto' : btnMinWidth + 75 }} ref={refBtns}>
             <div style={{ width: btnMinWidth === -1 ? 'auto' : btnMinWidth }}>
                 <Space wrap >
                     {buttons}

+ 12 - 0
src/pages/weComTask/page/weAssociation/list/index.tsx

@@ -284,6 +284,18 @@ const WeAssociationList: React.FC = () => {
                             filterOption={(input: string, option: any) => (option?.label ?? '').toLowerCase().includes(input.toLowerCase())}
                             options={getBindMpList?.data?.data?.map((item: any) => ({ label: item.name, value: item.id }))}
                         />
+                        <Select
+                            style={{ width: 200 }}
+                            placeholder="是否新企微运营系统创建的群聊"
+                            value={listData?.newCorpGroupChat}
+                            showSearch
+                            allowClear
+                            onChange={(e) => {
+                                setListData({ ...listData, newCorpGroupChat: e, pageNum: 1 })
+                            }}
+                            filterOption={(input: string, option) => (option?.label ?? '').toLowerCase().includes(input.toLowerCase())}
+                            options={[{ label: '否', value: false }, { label: '是', value: true }]}
+                        />
                     </>
                 </SearchBox>
                 <div className={style.corpUserList_table} ref={ref}>