修复时间问题
This commit is contained in:
@@ -180,6 +180,19 @@
|
|||||||
import TableHelper from '@/utils/bootstrap-table-helper';
|
import TableHelper from '@/utils/bootstrap-table-helper';
|
||||||
import { showLoading, hideLoading } from '@/utils/maintainer';
|
import { showLoading, hideLoading } from '@/utils/maintainer';
|
||||||
|
|
||||||
|
export default {
|
||||||
|
name: "GenAccountView",
|
||||||
|
setup() {
|
||||||
|
return {};
|
||||||
|
},
|
||||||
|
created() {
|
||||||
|
this.$nextTick(function () {
|
||||||
|
this.initData();
|
||||||
|
});
|
||||||
|
},
|
||||||
|
methods: {
|
||||||
|
initData() {
|
||||||
|
$(function () {
|
||||||
var picker1 = $('#startTime').datetimepicker({
|
var picker1 = $('#startTime').datetimepicker({
|
||||||
format: 'yyyy-mm-dd hh:ii:00',
|
format: 'yyyy-mm-dd hh:ii:00',
|
||||||
autoclose: true,
|
autoclose: true,
|
||||||
@@ -200,20 +213,6 @@ picker2.on('changeDate', function () {
|
|||||||
var date = $('#endTime').datetimepicker('getDate');
|
var date = $('#endTime').datetimepicker('getDate');
|
||||||
picker1.datetimepicker('setEndDate', date);
|
picker1.datetimepicker('setEndDate', date);
|
||||||
});
|
});
|
||||||
export default {
|
|
||||||
name: "GenAccountView",
|
|
||||||
setup() {
|
|
||||||
return {};
|
|
||||||
},
|
|
||||||
created() {
|
|
||||||
this.$nextTick(function () {
|
|
||||||
this.initData();
|
|
||||||
});
|
|
||||||
},
|
|
||||||
methods: {
|
|
||||||
initData() {
|
|
||||||
|
|
||||||
$(function () {
|
|
||||||
$('#table').bootstrapTable('destroy');
|
$('#table').bootstrapTable('destroy');
|
||||||
$('#table').bootstrapTable({
|
$('#table').bootstrapTable({
|
||||||
columns: [
|
columns: [
|
||||||
|
Reference in New Issue
Block a user