Skip to content

Commit

Permalink
Merge pull request #13 from bosscheng/master
Browse files Browse the repository at this point in the history
fix bug
  • Loading branch information
bosscheng authored Dec 25, 2020
2 parents af8829b + 9ceeb2d commit c5d328d
Show file tree
Hide file tree
Showing 9 changed files with 128 additions and 132 deletions.
118 changes: 58 additions & 60 deletions ui/dist/plugin-gb28181.common.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion ui/dist/plugin-gb28181.common.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion ui/dist/plugin-gb28181.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

118 changes: 58 additions & 60 deletions ui/dist/plugin-gb28181.umd.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion ui/dist/plugin-gb28181.umd.js.map

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions ui/dist/plugin-gb28181.umd.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion ui/dist/plugin-gb28181.umd.min.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion ui/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
@click="invite(prop.row.ID, $index, item)"
>连接
</mu-button>
<mu-button @click="getRecords(prop.row.ID, $index,item)">录像</mu-button>
<mu-button flat @click="getRecords(prop.row.ID, $index,item)">录像</mu-button>
</td>
</template>
</mu-data-table>
Expand Down
8 changes: 4 additions & 4 deletions ui/src/components/Records.vue
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<div class="search">
<DatePicker type="date" :options="timeOptions" :value="search.time" placeholder="请选择时间"
style="width: 200px" :clearable="false"
@change="handleTimeChange"></DatePicker>
@on-change="handleTimeChange"></DatePicker>
</div>
<div>
<mu-data-table :columns="columns" :data="recordList">
Expand Down Expand Up @@ -119,8 +119,8 @@
const query = {
id: this.search.id,
channel: this.search.channel,
startTime: this.search.startTime,
endTime: this.search.endTime
startTime: this.startTime,
endTime: this.endTime
};
this.ajax.get("/gb28181/query/records", query).then((x) => {
Expand All @@ -132,7 +132,7 @@
this.$emit('close');
},
handleTimeChange(date) {
this.search.time = date;
this.search.time = new Date(date);
this._fetchList();
},
play() {
Expand Down

0 comments on commit c5d328d

Please sign in to comment.