Commit a66bfbc9 authored by wangxl's avatar wangxl

333

parent 5be7ae9b
...@@ -57,7 +57,7 @@ ...@@ -57,7 +57,7 @@
<td class="bg-title" colspan="9">分年度指标</td> <td class="bg-title" colspan="9">分年度指标</td>
</tr> </tr>
<tr> <tr>
<td colspan="10" rowspan="2"></td> <td colspan="10" rowspan="2">{{projectKPI.yearTarget}}</td>
<td class="target-value" colspan="3">{{ moment(projectKPI.startDate).year() }}</td> <td class="target-value" colspan="3">{{ moment(projectKPI.startDate).year() }}</td>
<td class="target-value" colspan="3">{{ moment(projectKPI.startDate).add(1, 'year').year() }}</td> <td class="target-value" colspan="3">{{ moment(projectKPI.startDate).add(1, 'year').year() }}</td>
<td class="target-value" colspan="3">{{ moment(projectKPI.startDate).add(2, 'year').year() }}</td> <td class="target-value" colspan="3">{{ moment(projectKPI.startDate).add(2, 'year').year() }}</td>
...@@ -111,7 +111,7 @@ export default { ...@@ -111,7 +111,7 @@ export default {
} }
}, },
}, },
data() { data () {
return { return {
projAttributes: [ projAttributes: [
{ id: "5b9d6509-aece-11ef-b6cb-0c42a1380f01", name: "新增项目" }, { id: "5b9d6509-aece-11ef-b6cb-0c42a1380f01", name: "新增项目" },
...@@ -126,7 +126,7 @@ export default { ...@@ -126,7 +126,7 @@ export default {
}, },
methods: { methods: {
moment, moment,
LoadParameterInfo() { LoadParameterInfo () {
let pars1 = { typeId: 67 } let pars1 = { typeId: 67 }
this.$api.parameter.getParameterListByTypeId(pars1) this.$api.parameter.getParameterListByTypeId(pars1)
.then(({ data = {} }) => { .then(({ data = {} }) => {
...@@ -135,7 +135,7 @@ export default { ...@@ -135,7 +135,7 @@ export default {
}) })
.catch(() => { }); .catch(() => { });
}, },
getProjectKpitStatistic() { getProjectKpitStatistic () {
this.$api.statistical.getProjectKpitStatistic().then(({ data = {} }) => { this.$api.statistical.getProjectKpitStatistic().then(({ data = {} }) => {
if (data) { if (data) {
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment