Merge branch 'master' of https://gitlab.chiefsoft.net/WrenchBoard/Users-Wrench into faq-display
This commit is contained in:
@@ -89,10 +89,10 @@ export default function MyWaitingJobTable({ MyJobList, className }) {
|
||||
</span>
|
||||
</span>
|
||||
<span className="text-sm text-thin-light-gray">
|
||||
Sent to:{" "}
|
||||
Sent :{" "}
|
||||
<span className="text-purple">
|
||||
{" "}
|
||||
{value.job_to}
|
||||
{value.sent}
|
||||
</span>
|
||||
</span>
|
||||
</div>
|
||||
|
||||
+5
-1
@@ -26,6 +26,7 @@
|
||||
text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
|
||||
font-family: sans; color: white;
|
||||
font-size: 42px;
|
||||
font-family: Circular, Helvetica Neue, Helvetica, Roboto, Arial, sans-serif;
|
||||
}
|
||||
|
||||
.job-action{
|
||||
@@ -52,10 +53,13 @@
|
||||
}
|
||||
.siderCardDescription{
|
||||
margin: 10px 45px 10px 45px;
|
||||
font-size: 18px;
|
||||
background-color: aliceblue;
|
||||
padding: 5px;
|
||||
border-radius: 5px;
|
||||
font-family: Circular, Helvetica Neue, Helvetica, Roboto, Arial, sans-serif;
|
||||
font-weight: 400;
|
||||
font-size: 1.125rem;
|
||||
line-height: 1.56;
|
||||
}
|
||||
.siderCardButton{
|
||||
margin-top: 10px;
|
||||
|
||||
@@ -289,6 +289,18 @@ class usersService {
|
||||
};
|
||||
return this.postAuxEnd("/jobmanageroffers", postData);
|
||||
}
|
||||
|
||||
getMyWiatingJobList() { // jobs you have shown inteterest in
|
||||
var postData = {
|
||||
uuid: localStorage.getItem("uid"),
|
||||
member_id: localStorage.getItem("member_id"),
|
||||
sessionid: localStorage.getItem("session_token"),
|
||||
page: 0,
|
||||
offset: 0,
|
||||
limit: 100,
|
||||
};
|
||||
return this.postAuxEnd("/waitinginterest", postData);
|
||||
}
|
||||
getMyJobList() {
|
||||
var postData = {
|
||||
uuid: localStorage.getItem("uid"),
|
||||
|
||||
@@ -11,7 +11,7 @@ export default function MyWaitingJobsPage() {
|
||||
|
||||
const getMyJobList = async () => {
|
||||
try {
|
||||
const res = await api.getMyPendingJobList();
|
||||
const res = await api.getMyWiatingJobList();
|
||||
setMyJobList(res.data);
|
||||
} catch (error) {
|
||||
console.log("Error getting mode");
|
||||
|
||||
Reference in New Issue
Block a user