|
|
|
@ -97,7 +97,7 @@ export default class index extends Component {
|
|
|
|
|
payload = { |
|
|
|
|
"paging": {"start": start, "length": this.state.rowsPerPage}, |
|
|
|
|
"columns": [ |
|
|
|
|
{"name": "keterangan", "logic_operator": "like", "value": this.state.search, "operator": "AND"}, |
|
|
|
|
{"name": "keterangan", "logic_operator": "ilike", "value": this.state.search, "operator": "AND"}, |
|
|
|
|
{"name": "created_at", "logic_operator": "range", "value": dateStart, "value1": dateEnd, "operator": "AND"} |
|
|
|
|
], |
|
|
|
|
"joins": [ |
|
|
|
@ -115,7 +115,7 @@ export default class index extends Component {
|
|
|
|
|
payload = { |
|
|
|
|
"paging": {"start": start, "length": this.state.rowsPerPage}, |
|
|
|
|
"columns": [ |
|
|
|
|
{"name": "keterangan", "logic_operator": "like", "value": this.state.search, "operator": "AND","table_name":"alert"}, |
|
|
|
|
{"name": "keterangan", "logic_operator": "ilike", "value": this.state.search, "operator": "AND","table_name":"alert"}, |
|
|
|
|
{"name": "created_at", "logic_operator": "range", "value": dateStart, "value1": dateEnd, "operator": "AND"}, |
|
|
|
|
{"name": "user_id", "logic_operator": "=", "value": localStorage.getItem('user_id'), "operator": "AND"}, |
|
|
|
|
], |
|
|
|
@ -337,7 +337,7 @@ export default class index extends Component {
|
|
|
|
|
payload = { |
|
|
|
|
"paging": {"start": 0, "length": -1}, |
|
|
|
|
"columns": [ |
|
|
|
|
{"name": "keterangan", "logic_operator": "like", "value": this.state.search, "operator": "AND"}, |
|
|
|
|
{"name": "keterangan", "logic_operator": "ilike", "value": this.state.search, "operator": "AND"}, |
|
|
|
|
{"name": "created_at", "logic_operator": "range", "value": dateStart, "value1": dateEnd, "operator": "AND"}, |
|
|
|
|
], |
|
|
|
|
"joins": [ |
|
|
|
@ -355,7 +355,7 @@ export default class index extends Component {
|
|
|
|
|
payload = { |
|
|
|
|
"paging": {"start": 0, "length": -1}, |
|
|
|
|
"columns": [ |
|
|
|
|
{"name": "keterangan", "logic_operator": "like", "value": this.state.search, "operator": "AND","table_name":"alert"}, |
|
|
|
|
{"name": "keterangan", "logic_operator": "ilike", "value": this.state.search, "operator": "AND","table_name":"alert"}, |
|
|
|
|
{"name": "created_at", "logic_operator": "range", "value": dateStart, "value1": dateEnd, "operator": "AND"}, |
|
|
|
|
{"name": "id", "logic_operator": "=", "value": localStorage.getItem('user_id'), "operator": "AND","table_name":'m_users'}, |
|
|
|
|
], |
|
|
|
|