Commit 6100d9c2 authored by 姬鋆屾's avatar 姬鋆屾

推自评绩效功能模块

parent a1c3e20c
......@@ -46,7 +46,9 @@
style="width: auto;"
v-for="val in form.bonusarrText"
:key="val.id"
>{{ val.content }}</span
>{{ val.content }}{{
dict.subAddType[val.subAddType] + val.score
}}分)</span
>
</span>
<span v-else>--</span>
......@@ -75,7 +77,9 @@
style="width: auto;"
v-for="val in form.deductarrText"
:key="val.id"
>{{ val.content }}</span
>{{ val.content }}{{
dict.subAddType[val.subAddType] + val.score
}}分)</span
>
</span>
<span v-else>--</span>
......@@ -457,6 +461,7 @@ export default {
size: -1,
}).then((responsed) => {
if (responsed.code == 1) {
this.dict = { ...this.dict, ...responsed.dict };
if (this.form.bonusReport && this.form.bonusReport != "[]") {
let bonusArr = [];
bonusArr = JSON.parse(this.form.bonusReport);
......@@ -554,6 +559,7 @@ export default {
size: -1,
}).then((responsed) => {
if (responsed.code == 1) {
this.dict = { ...this.dict, ...responsed.dict };
if (this.form.bonusReport && this.form.bonusReport != "[]") {
let bonusArr = [];
bonusArr = JSON.parse(this.form.bonusReport);
......
......@@ -46,7 +46,9 @@
style="width: auto;"
v-for="val in form.bonusarrText"
:key="val.id"
>{{ val.content }}</span
>{{ val.content }}{{
dict.subAddType[val.subAddType] + val.score
}}分)</span
>
</span>
<span v-else>--</span>
......@@ -75,8 +77,10 @@
style="width: auto;"
v-for="val in form.deductarrText"
:key="val.id"
>{{ val.content }}</span
>
>{{ val.content }}{{
dict.subAddType[val.subAddType] + val.score
}}分)
</span>
</span>
<span v-else>--</span>
</div>
......@@ -456,6 +460,7 @@ export default {
size: -1,
}).then((responsed) => {
if (responsed.code == 1) {
this.dict = { ...this.dict, ...responsed.dict };
if (this.form.bonusReport && this.form.bonusReport != "[]") {
let bonusArr = [];
bonusArr = JSON.parse(this.form.bonusReport);
......@@ -553,6 +558,7 @@ export default {
size: -1,
}).then((responsed) => {
if (responsed.code == 1) {
this.dict = { ...this.dict, ...responsed.dict };
if (this.form.bonusReport && this.form.bonusReport != "[]") {
let bonusArr = [];
bonusArr = JSON.parse(this.form.bonusReport);
......
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