master
xy 2 years ago
parent 2165dd66bd
commit a57321a2f0

@ -84,6 +84,18 @@ export default {
props={{ model: row._form }} props={{ model: row._form }}
label-width="120px" label-width="120px"
> >
<el-form-item label="评价要点及评分规则">
<el-input
type="textarea"
autosize={{
minRows: 3,
}}
v-model={row._form.evaluation_main}
size="small"
placeholder="请输入评价要点及评分规则"
></el-input>
</el-form-item>
<el-form-item label="实际完成值" required={true}> <el-form-item label="实际完成值" required={true}>
<el-input <el-input
type="textarea" type="textarea"
@ -224,8 +236,8 @@ export default {
minWidth: 200, minWidth: 200,
}, },
{ {
label: "评价方式", label: "建议上传佐证材料",
prop: "target.evaluation_way", prop: "evaluation_way",
minWidth: 260, minWidth: 260,
align: "left" align: "left"
}, },
@ -332,6 +344,7 @@ export default {
return { return {
_form: { _form: {
id: "", id: "",
evaluation_main: "",
socre: "", socre: "",
result: "", result: "",
remark: "", remark: "",

@ -151,7 +151,7 @@
<template #evaluation_way> <template #evaluation_way>
<div class="xy-table-item"> <div class="xy-table-item">
<div class="xy-table-item-label"> <div class="xy-table-item-label">
评价方式 建议上传佐证材料
</div> </div>
<div class="xy-table-item-content"> <div class="xy-table-item-content">
<el-input style="width: 300px" v-model="form.evaluation_way" type="textarea" :autosize="{ minRows: 2 }"></el-input> <el-input style="width: 300px" v-model="form.evaluation_way" type="textarea" :autosize="{ minRows: 2 }"></el-input>

@ -64,7 +64,7 @@
<td>{{ item.target ? item.target.name : '' }}</td> <td>{{ item.target ? item.target.name : '' }}</td>
<td>{{ targetValue(item) }}</td> <td>{{ targetValue(item) }}</td>
<td>{{ item.score }}</td> <td>{{ item.score }}</td>
<td style="max-width: 300px;">{{ item.target ? item.target.evaluation_way : '' }}</td> <td style="max-width: 300px;">{{ (item.plan_evaluates && item.plan_evaluates.find(j => j.plan_target_id === item.id)) ? item.plan_evaluates.find(j => j.plan_target_id === item.id).evaluation_main : '' }}</td>
<td>{{ actResultFormat(item) }}</td> <td>{{ actResultFormat(item) }}</td>
<td>{{ (item.plan_evaluates && item.plan_evaluates.find(j => j.plan_target_id === item.id)) ? item.plan_evaluates.find(j => j.plan_target_id === item.id).socre : '' }}</td> <td>{{ (item.plan_evaluates && item.plan_evaluates.find(j => j.plan_target_id === item.id)) ? item.plan_evaluates.find(j => j.plan_target_id === item.id).socre : '' }}</td>
</tr> </tr>

@ -106,7 +106,8 @@ export default {
data() { data() {
return { return {
select: { select: {
top_pid: 1, has_plan_target: 1,
pid: 0,
page: 1, page: 1,
page_size: 10, page_size: 10,
name: "", name: "",

@ -178,6 +178,7 @@ export default {
page: 1, page: 1,
page_size: 10, page_size: 10,
pid: 0, pid: 0,
has_plan_target: 1,
}, },
total: 0, total: 0,
table: [ table: [

@ -105,7 +105,8 @@ export default {
data() { data() {
return { return {
select: { select: {
top_pid: 1, has_plan_target: 1,
pid: 0,
page: 1, page: 1,
page_size: 10, page_size: 10,
name: "", name: "",

@ -14,7 +14,7 @@
}" }"
@click="isShowModal = true" @click="isShowModal = true"
> >
标选择</Button 标选择</Button
> >
<Button <Button
shape="circle" shape="circle"
@ -24,7 +24,7 @@
}" }"
@click="$refs['addPoint'].setType('add'),$refs['addPoint'].show()" @click="$refs['addPoint'].setType('add'),$refs['addPoint'].show()"
> >
标新增</Button 标新增</Button
> >
<xy-table :list="list" :table-item="table"> <xy-table :list="list" :table-item="table">
<template v-slot:btns> </template> <template v-slot:btns> </template>
@ -128,7 +128,7 @@ export default {
} }
}, },
{ {
label: "评价方式", label: "建议上传佐证材料",
width: 220, width: 220,
prop: "evaluation_way", prop: "evaluation_way",
customFn: row => { customFn: row => {

@ -2821,7 +2821,7 @@ export default {
}, },
created() { created() {
this.getBudgets(); this.getBudgets();
this.select.keyword = this.$route.query.keyword || ""; this.selecit.keyword = this.$route.query.keyword || "";
this.select.is_myself = this.$route.path.split('_')[1] ? Number(this.$route.path.split('_')[1]) : 0; this.select.is_myself = this.$route.path.split('_')[1] ? Number(this.$route.path.split('_')[1]) : 0;
if (/contractLedger/g.test(this.$route.path)) { if (/contractLedger/g.test(this.$route.path)) {
this.select.is_contract = 1; this.select.is_contract = 1;

Loading…
Cancel
Save