Browse Source

短视频增加搜索手机号,健康播放统计添加字段显示

DESKTOP-6ESHLVF\admin 4 years ago
parent
commit
928f16f9e5

+ 2 - 1
UI/src/pages/vedioManage/hotKeyword.js

@@ -19,7 +19,8 @@ class HotKeyword extends React.Component {
             keywordColums: [
                 { title: '序号', dataIndex: 'index', id: 'index', render: (a,b,index) => (<div>{ this.state.currentPage * 10 + index+1}</div>) },
                 { title: '关键词', dataIndex: 'superiorName', id: 'superiorName' },
-                { title: '搜索次数', dataIndex: 'totalSearch', id: 'totalSearch' },
+                { title: '总搜索次数', dataIndex: 'totalSearch', id: 'totalSearch' },
+                { title: '新增搜索次数', dataIndex: 'tempSearch', id: 'tempSearch' },
                 { title: '最新时间', dataIndex: 'lastSearchTime', id: 'lastSearchTime' },
             ],
             keywordList: []

+ 2 - 0
UI/src/pages/vedioManage/hotVedioList.js

@@ -19,6 +19,8 @@ class HotVedioList extends React.Component {
             vedioColums: [
                 { title: '序号', dataIndex: 'index', id: 'index', render: (a,b,index) => (<div>{ this.state.currentPage * 10 + index+1}</div>) },
                 { title: '视频名称', dataIndex: 'videoTitle', id: 'videoTitle' },
+                { title: '总播放量', dataIndex: 'totalFrequencyOfPlay', id: 'totalFrequencyOfPlay' },
+                { title: '总点赞量', dataIndex: 'totalLikeFrequency', id: 'totalLikeFrequency' },
                 { title: '新增播放量', dataIndex: 'tempFrequencyOfPlay', id: 'tempFrequencyOfPlay' },
                 { title: '新增点赞量', dataIndex: 'tempLikeFrequency', id: 'tempLikeFrequency' },
             ],

+ 15 - 0
UI/src/pages/vedioManage/vedioList.js

@@ -163,6 +163,7 @@ class VedioList extends React.Component{
             doctorModal: false,        //选择医生弹窗
             selectedDocdtorId: '',
             searchDoctorName: '',      //搜索医生姓名 
+            searchDoctorPhone: '',     //搜索医生手机号
             deparmentModal: false,     //科室弹窗
             deparmentColumns: [
                 { title: '科室ID', dataIndex: 'id', id: 'id' },
@@ -405,6 +406,11 @@ class VedioList extends React.Component{
                         field: "doctorName",
                         operate: "contains",
                         value: this.state.searchDoctorName
+                    },
+                    {
+                        field: "phone",
+                        operate: "contains",
+                        value: this.state.searchDoctorPhone
                     }
                 ]
             }
@@ -1063,6 +1069,15 @@ class VedioList extends React.Component{
                                 }}
                              />
                         </Col>
+                        <Col span={8}>
+                            <Input 
+                                placeholder="手机号"
+                                value={this.state.searchDoctorPhone}
+                                onChange={(e) => {
+                                    this.setState({searchDoctorPhone: e.target.value})
+                                }}
+                             />
+                        </Col>
                         <Col span={8}>
                             <Button type="primary" onClick={() => { 
                                 this.setState({