Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
Tia-dev
Project
Project
Details
Activity
Releases
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
Dida Adams Arizona
Tia-dev
Commits
0016a7b5
Commit
0016a7b5
authored
Apr 20, 2021
by
faisalhamdi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cat pq!
parent
937d2578
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
72 additions
and
9 deletions
+72
-9
SubHolding.js
src/container/Laporan/SubHolding.js
+2
-2
TableSubHolding.js
src/container/Laporan/TableSubHolding.js
+70
-7
No files found.
src/container/Laporan/SubHolding.js
View file @
0016a7b5
...
@@ -2917,7 +2917,7 @@ export default class SubHolding extends Component {
...
@@ -2917,7 +2917,7 @@ export default class SubHolding extends Component {
item
.
corporate_annual_target
.
thisYearActualQx
,
item
.
corporate_annual_target
.
thisYearActualQx
,
item
.
corporate_annual_target
.
thisYearPercentAch
,
item
.
corporate_annual_target
.
thisYearPercentAch
,
item
.
corporate_annual_target
.
thisYearPercentGrowthYoy
,
item
.
corporate_annual_target
.
thisYearPercentGrowthYoy
,
item
.
corporate_annual_target
.
thisYearScore
,
item
.
corporate_annual_target
.
thisYearScore
===
null
?
"0"
:
item
.
corporate_annual_target
.
thisYearScore
,
item
.
corporate_annual_target
.
thisYearScoreXWeight
,
item
.
corporate_annual_target
.
thisYearScoreXWeight
,
item
.
corporate_annual_target
.
thisYearBudgetYtd
,
item
.
corporate_annual_target
.
thisYearBudgetYtd
,
...
@@ -2927,7 +2927,7 @@ export default class SubHolding extends Component {
...
@@ -2927,7 +2927,7 @@ export default class SubHolding extends Component {
item
.
corporate_annual_target
.
thisYearBudgetFy
,
item
.
corporate_annual_target
.
thisYearBudgetFy
,
item
.
corporate_annual_target
.
thisYearOlFy
,
item
.
corporate_annual_target
.
thisYearOlFy
,
item
.
corporate_annual_target
.
thisYearPercentAchFy
,
item
.
corporate_annual_target
.
thisYearPercentAchFy
,
item
.
corporate_annual_target
.
thisYearScoreFy
,
item
.
corporate_annual_target
.
thisYearScoreFy
===
null
?
"0"
:
item
.
corporate_annual_target
.
thisYearScoreFy
,
item
.
corporate_annual_target
.
thisYearScoreXWeightFy
,
item
.
corporate_annual_target
.
thisYearScoreXWeightFy
,
item
.
orders
item
.
orders
...
...
src/container/Laporan/TableSubHolding.js
View file @
0016a7b5
...
@@ -58,7 +58,7 @@ export default class TableSubHolding extends Component {
...
@@ -58,7 +58,7 @@ export default class TableSubHolding extends Component {
api.create().getParameterByGroupName({
api.create().getParameterByGroupName({
"group_name": 'ACHIEVEMENT_KPI'
"group_name": 'ACHIEVEMENT_KPI'
}).then((response) => {
}).then((response) => {
console.log(response.data)
//
console.log(response.data)
if (response.data) {
if (response.data) {
this.setState({ parameterScore: response.data.data })
this.setState({ parameterScore: response.data.data })
}
}
...
@@ -69,7 +69,7 @@ export default class TableSubHolding extends Component {
...
@@ -69,7 +69,7 @@ export default class TableSubHolding extends Component {
api.create().getParameterByGroupName({
api.create().getParameterByGroupName({
"group_name": "PERFORMANCE_KPI"
"group_name": "PERFORMANCE_KPI"
}).then((response) => {
}).then((response) => {
console.log(response.data)
//
console.log(response.data)
if (response.data) {
if (response.data) {
this.setState({ parameterPerfom: response.data.data }, () => {
this.setState({ parameterPerfom: response.data.data }, () => {
this.handleTotalScore(this.props.dataTable)
this.handleTotalScore(this.props.dataTable)
...
@@ -24355,6 +24355,9 @@ export default class TableSubHolding extends Component {
...
@@ -24355,6 +24355,9 @@ export default class TableSubHolding extends Component {
},
},
]
]
const totalArray = (item) => {
console.log(item);
}
const columnCatPQ = [
const columnCatPQ = [
{
{
name: "",
name: "",
...
@@ -24683,7 +24686,7 @@ export default class TableSubHolding extends Component {
...
@@ -24683,7 +24686,7 @@ export default class TableSubHolding extends Component {
placeholder=""
placeholder=""
suffix={`%`}
suffix={`%`}
disabled={true}
disabled={true}
value={
value
}
value={
tableMeta.rowData[15]
}
/>
/>
}
}
/>
/>
...
@@ -24728,7 +24731,7 @@ export default class TableSubHolding extends Component {
...
@@ -24728,7 +24731,7 @@ export default class TableSubHolding extends Component {
type="text"
type="text"
placeholder=""
placeholder=""
disabled={true}
disabled={true}
value={
Number(value).toFixed(1)
}
value={
tableMeta.rowData[17]
}
/>
/>
}
}
/>
/>
...
@@ -24843,7 +24846,7 @@ export default class TableSubHolding extends Component {
...
@@ -24843,7 +24846,7 @@ export default class TableSubHolding extends Component {
placeholder=""
placeholder=""
suffix={`%`}
suffix={`%`}
disabled={true}
disabled={true}
value={
value
}
value={
tableMeta.rowIndex[21]
}
/>
/>
}
}
/>
/>
...
@@ -24942,7 +24945,7 @@ export default class TableSubHolding extends Component {
...
@@ -24942,7 +24945,7 @@ export default class TableSubHolding extends Component {
placeholder=""
placeholder=""
suffix={`%`}
suffix={`%`}
disabled={true}
disabled={true}
value={
value
}
value={
tableMeta.rowData[24]
}
/>
/>
}
}
/>
/>
...
@@ -24963,7 +24966,7 @@ export default class TableSubHolding extends Component {
...
@@ -24963,7 +24966,7 @@ export default class TableSubHolding extends Component {
type="text"
type="text"
placeholder=""
placeholder=""
disabled={true}
disabled={true}
value={
Number(value).toFixed(1)
}
value={
tableMeta.rowData[25]
}
/>
/>
}
}
/>
/>
...
@@ -25001,6 +25004,66 @@ export default class TableSubHolding extends Component {
...
@@ -25001,6 +25004,66 @@ export default class TableSubHolding extends Component {
options: {
options: {
display: false
display: false
}
}
}, {
name: "",
options: {
display: false
}
}, {
name: "",
options: {
display: false
}
}, {
name: "",
options: {
display: false
}
}, {
name: "",
options: {
display: false
}
}, {
name: "",
options: {
display: false
}
}, {
name: "",
options: {
display: false
}
}, {
name: "",
options: {
display: false
}
}, {
name: "",
options: {
display: false
}
}, {
name: "",
options: {
display: false
}
}, {
name: "",
options: {
display: false
}
}, {
name: "",
options: {
display: false
}
}, {
name: "",
options: {
display: false
}
}
}
]
]
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