Przeglądaj źródła

短视频列表,收益账户信息

DESKTOP-6ESHLVF\admin 4 lat temu
rodzic
commit
31d339ff4f

+ 5 - 4
UI/src/pages/vedioManage/vedioList.js

@@ -96,7 +96,7 @@ class VedioList extends React.Component{
                 {title: '状态', dataIndex: 'recommendStatus', id: 'recommendStatus',
                     render: (e, item) => {
                         return (
-                            <div>{item.recommendStatus == -1 ? '下线' : (item.recommendStatus == 2 ? '推荐' : '正常' )}</div>
+                            <div>{item.recommendStatus == -1 ? '下线' : (item.recommendStatus == 2 ? '推荐' : '正常' )}</div>
                         )
                     }
                 },
@@ -973,7 +973,8 @@ class VedioList extends React.Component{
                     visible={this.state.tagModal}
                     onCancel={() => {
                         this.setState({
-                            tagModal: false
+                            tagModal: false,
+                            selectedTagId: []
                         })
                     }}
                     onOk={() => {
@@ -987,9 +988,9 @@ class VedioList extends React.Component{
                                 style={{ width: 200 }}
                                 onChange={(e) => {
                                     console.log('选中的标签key', e)
-                                    if(e == 'all') return
+                                    // if(e == 'all') return
                                     this.setState({
-                                        tagGroupId: e
+                                        tagGroupId: e == 'all' ? '' : e
                                     })
                                 }} >
                                 <Option key='all'>全部</Option>

+ 2 - 0
UI/src/pages/ymall/accountDetails.js

@@ -446,6 +446,7 @@ class AccountDetails extends React.Component {
                     <Col span={10}>
                         开始时间: 
                         <DatePicker
+                            allowClear={false}
                             showNow={true}
                             value={moment(this.state.startTime)}
                             defaultValue={ moment(this.state.startTime, 'YYYY-MM-DD hh:mm')}
@@ -466,6 +467,7 @@ class AccountDetails extends React.Component {
                     <Col span={10}>
                         结束时间:
                         <DatePicker
+                            allowClear={false}
                             showNow={true}
                             value={moment(this.state.endTime)}
                             defaultValue={moment(this.state.endTime, 'YYYY-MM-DD hh:mm')}