Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
tl_estate
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hujun
tl_estate
Commits
ffebe7eb
Commit
ffebe7eb
authored
Jul 25, 2019
by
duxinyuan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改bootstrap-datetimePicker。js源文件
parent
81ed586d
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
29 additions
and
12 deletions
+29
-12
accountingTable.html
application/index/view/cost/accountingTable.html
+1
-1
accountingTable.js
public/resource/js/accountingTable.js
+7
-1
bootstrap-datetimepicker.js
public/resource/lib/js/bootstrap-datetimepicker.js
+21
-10
bootstrap-datetimepicker.min.js
public/resource/lib/js/bootstrap-datetimepicker.min.js
+0
-0
No files found.
application/index/view/cost/accountingTable.html
View file @
ffebe7eb
...
...
@@ -20,7 +20,7 @@
<div
class=
"panel-heading breadcrumb"
>
<li>
<span
class=
"manager-title ld-Marheight"
></span>
<input
id=
"count_time2"
class=
"form-control ld-Marheight"
type=
"text"
placeholder=
"请选择"
onclick=
"WdatePicker({el:this,dateFmt:'yyyy-MM',readOnly:'readonly' })
"
style=
"width: 150px;float: left;"
>
<input
id=
"count_time2"
class=
"form-control ld-Marheight"
placeholder=
"请选择
"
style=
"width: 150px;float: left;"
>
<input
type=
"date"
id=
"count_time"
class=
"form-control ld-Marheight"
placeholder=
"请选择"
style=
"width: 150px;float: left;"
/>
<a
class=
"btn btn-info is-print ld-Marheight"
style=
"margin-left: 20px;"
>
打印
</a>
...
...
public/resource/js/accountingTable.js
View file @
ffebe7eb
...
...
@@ -33,7 +33,13 @@ define(['doT','html2canvas','text!temp/accountingTable_list_template_tpl.html',
event
:
function
()
{
var
that
=
bargain
;
$
(
'#count_time2'
).
datetimepicker
({
onChange
:
function
()
{
alert
(
'Yo yo!'
)
}
format
:
'yyyy-mm'
,
startView
:
3
,
maxViewMode
:
1
,
minViewMode
:
1
,
autoclose
:
true
,
minView
:
3
,
onChange
:
function
()
{
}
});
$
(
'#count_time2'
).
change
(
function
(){
alert
(
"time change"
)
...
...
public/resource/lib/js/bootstrap-datetimepicker.js
View file @
ffebe7eb
...
...
@@ -1496,16 +1496,27 @@
};
$
.
fn
.
datetimepicker
.
Constructor
=
Datetimepicker
;
var
dates
=
$
.
fn
.
datetimepicker
.
dates
=
{
en
:
{
days
:
[
'Sunday'
,
'Monday'
,
'Tuesday'
,
'Wednesday'
,
'Thursday'
,
'Friday'
,
'Saturday'
,
'Sunday'
],
daysShort
:
[
'Sun'
,
'Mon'
,
'Tue'
,
'Wed'
,
'Thu'
,
'Fri'
,
'Sat'
,
'Sun'
],
daysMin
:
[
'Su'
,
'Mo'
,
'Tu'
,
'We'
,
'Th'
,
'Fr'
,
'Sa'
,
'Su'
],
months
:
[
'January'
,
'February'
,
'March'
,
'April'
,
'May'
,
'June'
,
'July'
,
'August'
,
'September'
,
'October'
,
'November'
,
'December'
],
monthsShort
:
[
'Jan'
,
'Feb'
,
'Mar'
,
'Apr'
,
'May'
,
'Jun'
,
'Jul'
,
'Aug'
,
'Sep'
,
'Oct'
,
'Nov'
,
'Dec'
],
meridiem
:
[
'am'
,
'pm'
],
suffix
:
[
'st'
,
'nd'
,
'rd'
,
'th'
],
today
:
'Today'
,
clear
:
'Clear'
// en: {
// days: ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday', 'Sunday'],
// daysShort: ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'],
// daysMin: ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa', 'Su'],
// months: ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December'],
// monthsShort: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'],
// meridiem: ['am', 'pm'],
// suffix: ['st', 'nd', 'rd', 'th'],
// today: 'Today',
// clear: 'Clear'
// },
en
:{
days
:[
"星期日"
,
"星期一"
,
"星期二"
,
"星期三"
,
"星期四"
,
"星期五"
,
"星期六"
,
"星期日"
],
daysShort
:[
"日"
,
"一"
,
"二"
,
"三"
,
"四"
,
"五"
,
"六"
,
"日"
],
daysMin
:[
"日"
,
"一"
,
"二"
,
"三"
,
"四"
,
"五"
,
"六"
,
"日"
],
months
:[
"一月"
,
"二月"
,
"三月"
,
"四月"
,
"五月"
,
"六月"
,
"七月"
,
"八月"
,
"九月"
,
"十月"
,
"十一月"
,
"十二月"
],
monthsShort
:[
"一"
,
"二"
,
"三"
,
"四"
,
"五"
,
"六"
,
"七"
,
"八"
,
"九"
,
"十"
,
"十一"
,
"十二"
],
meridiem
:[
"上午"
,
"下午"
],
suffix
:[
"st"
,
"nd"
,
"rd"
,
"th"
],
today
:
"今天"
,
clear
:
"清除"
}
};
...
...
public/resource/lib/js/bootstrap-datetimepicker.min.js
View file @
ffebe7eb
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment