fix handle token login when loop and fix width column on task fix color default danger success scss, fix add timeout on php.ini, add scraping for execute from api, add check api for handle disabled button sync
This commit is contained in:
@@ -11,15 +11,15 @@ class RequestAssignment {
|
||||
new Grid({
|
||||
columns: [
|
||||
"ID",
|
||||
"Name",
|
||||
"Condition",
|
||||
{name: "Name", width: "15%"},
|
||||
{name: "Condition", width: "7%"},
|
||||
"Registration Number",
|
||||
"Document Number",
|
||||
"Address",
|
||||
{name: "Address", width: "30%"},
|
||||
"Status",
|
||||
"Function Type",
|
||||
"Consultation Type",
|
||||
"Due Date",
|
||||
{name: "Due Date", width: "7%"},
|
||||
],
|
||||
search: {
|
||||
server: {
|
||||
@@ -40,7 +40,9 @@ class RequestAssignment {
|
||||
url: `${GlobalConfig.apiHost}/api/request-assignments`,
|
||||
credentials: "include",
|
||||
headers: {
|
||||
Authorization: `Bearer ${localStorage.getItem("token")}`,
|
||||
Authorization: `Bearer ${document
|
||||
.querySelector('meta[name="api-token"]')
|
||||
.getAttribute("content")}`,
|
||||
"Content-Type": "application/json",
|
||||
},
|
||||
then: (data) =>
|
||||
|
||||
Reference in New Issue
Block a user