feature: task
This commit is contained in:
parent
45f3edc5cb
commit
947bb0a093
|
|
@ -250,4 +250,9 @@ class Schedule extends Backend
|
||||||
$this->success();
|
$this->success();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public function xtablesave()
|
||||||
|
{
|
||||||
|
$this->success();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefined, Backend, Table, Form) {
|
define(['jquery', 'bootstrap', 'backend', 'table', 'form', 'editable'], function ($, undefined, Backend, Table, Form) {
|
||||||
|
|
||||||
var Controller = {
|
var Controller = {
|
||||||
index: function () {
|
index: function () {
|
||||||
|
|
@ -73,6 +73,17 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
|
||||||
defaultColumnArr.push({
|
defaultColumnArr.push({
|
||||||
"title": tmpDate,
|
"title": tmpDate,
|
||||||
"field": tmpDate,
|
"field": tmpDate,
|
||||||
|
"editable" :{
|
||||||
|
type: 'select',
|
||||||
|
pk: 1,
|
||||||
|
source: [
|
||||||
|
{value: '无', text: '无'},
|
||||||
|
{value: '早班', text: '早班'},
|
||||||
|
{value: '中班', text: '中班'},
|
||||||
|
{value: '晚班', text: '晚班'},
|
||||||
|
{value: '行政班', text: '行政班'},
|
||||||
|
]
|
||||||
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -107,6 +118,17 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
|
||||||
changeColumn.push({
|
changeColumn.push({
|
||||||
"title": tmpDate,
|
"title": tmpDate,
|
||||||
"field": tmpDate,
|
"field": tmpDate,
|
||||||
|
"editable" :{
|
||||||
|
type: 'select',
|
||||||
|
pk: 1,
|
||||||
|
source: [
|
||||||
|
{value: '无', text: '无'},
|
||||||
|
{value: '早班', text: '早班'},
|
||||||
|
{value: '中班', text: '中班'},
|
||||||
|
{value: '晚班', text: '晚班'},
|
||||||
|
{value: '行政班', text: '行政班'},
|
||||||
|
]
|
||||||
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user