yangzhou-cyber pirms 3 gadiem
vecāks
revīzija
28a327b2f0
3 mainītis faili ar 52 papildinājumiem un 28 dzēšanām
  1. +40
    -23
      src/views/assessingTarget/basicTarget.vue
  2. +1
    -2
      src/views/assessingTarget/constraint.vue
  3. +11
    -3
      src/views/assessingTarget/reward.vue

+ 40
- 23
src/views/assessingTarget/basicTarget.vue Parādīt failu

@@ -13,27 +13,42 @@
>
<el-table-column type="index" label="序号" align="center" width="50">
</el-table-column>
<template>
<el-table-column
label="一级指标"
min-width="100"
align="center"
prop="quota1"
></el-table-column>
<el-table-column
label="二级指标"
min-width="100"
align="center"
prop="quota2"
></el-table-column>
</template>
<el-table-column
label="一级指标"
min-width="100"
align="center"
prop="quota1"
></el-table-column>


<el-table-column
label="二级指标"
min-width="100"
align="center"
prop="quota2"
></el-table-column>


<el-table-column
label="考核内容和计分细则"
align="center"
min-width="200"
prop="content"
></el-table-column>


<el-table-column
label="分值"
min-width="60"
align="center"
prop="points"
></el-table-column>
<el-table-column label="预计扣分" min-width="60" align="center" v-if="type.type==1">

<el-table-column
label="预计扣分"
min-width="60"
align="center"
>
<template slot-scope="{ row, $index }">
<div @dblclick="showText($index, true)" style="height: 100%">
<el-input
@@ -48,34 +63,35 @@
</div>
</template>
</el-table-column>


<el-table-column
label="区牵头单位"
min-width="80"
align="center"
prop="leaderUnit"
></el-table-column>


<el-table-column label="牵头部门" min-width="150" align="center">
<template slot-scope="{ row }">
<span>{{ row.leaderDeptList | formatList }}</span>
</template>
</el-table-column>
<el-table-column
label="责任领导"
min-width="80"
align="center"
prop="leaderPrincipal"
>

<el-table-column label="责任领导" min-width="80" align="center">
<template slot-scope="{ row }">
{{ row.leaderPrincipalList | formatList }}
</template>
</el-table-column>

<el-table-column
label="备注"
align="center"
min-width="150"
prop="note"
v-if="type.type==1"
></el-table-column>

<el-table-column label="操作" min-width="100" align="center">
<template slot-scope="{ row }">
<el-link
@@ -89,6 +105,7 @@
</template>
</el-table-column>
</el-table>

<el-pagination
:current-page.sync="page.page"
:page-size="page.limit"
@@ -260,7 +277,7 @@ export default {
return item;
});
this.dataList = this.reduceData(data);
console.log(this.dataList)
console.log(this.dataList);
this.count = res.data.data.total;
})
.catch(() => {

+ 1
- 2
src/views/assessingTarget/constraint.vue Parādīt failu

@@ -25,7 +25,7 @@
align="center"
prop="content"
></el-table-column>
<el-table-column label="预计扣分" width="80" align="center" v-if="type.type==1">
<el-table-column label="预计扣分" width="80" align="center">
<template slot-scope="{ row, $index }">
<div @dblclick="showText($index, true)" style="height: 100%">
<el-input
@@ -66,7 +66,6 @@
align="center"
min-width="100"
prop="note"
v-if="type.type==1"
></el-table-column>
<el-table-column label="操作" min-width="80" align="center">
<template slot-scope="{ row }">

+ 11
- 3
src/views/assessingTarget/reward.vue Parādīt failu

@@ -27,14 +27,23 @@
prop="quota2"
></el-table-column>
</template>

<el-table-column
label="考核内容和计分细则"
align="center"
min-width="200"
prop="content"
></el-table-column>
<el-table-column
label="封顶分值"
min-width="60"
align="center"
prop="points"
></el-table-column>
<el-table-column label="预计加分" min-width="60" align="center" v-if="type.type==1">
<el-table-column
label="预计加分"
min-width="60"
align="center"
>
<template slot-scope="{ row, $index }">
<div @dblclick="showText($index, true)" style="height: 100%">
<el-input
@@ -75,7 +84,6 @@
align="center"
min-width="150"
prop="note"
v-if="type.type==1"
></el-table-column>
<el-table-column label="操作" min-width="100" align="center">
<template slot-scope="{ row }">

Notiek ielāde…
Atcelt
Saglabāt