|
|
@@ -117,7 +117,27 @@ |
|
|
|
<span v-else>{{ row.itemContent }}</span> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column label="分值" align="center" width="80" v-if="type!=3"> |
|
|
|
<el-table-column |
|
|
|
label="* 分值" |
|
|
|
align="center" |
|
|
|
width="80" |
|
|
|
v-if="type == 1" |
|
|
|
> |
|
|
|
<template slot-scope="{ row }"> |
|
|
|
<el-input |
|
|
|
placeholder="请输入分值" |
|
|
|
v-if="row.edit || row.add" |
|
|
|
v-model="form.points" |
|
|
|
></el-input> |
|
|
|
<span v-else>{{ row.points }}</span> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column |
|
|
|
label="分值" |
|
|
|
align="center" |
|
|
|
width="80" |
|
|
|
v-if="type == 2" |
|
|
|
> |
|
|
|
<template slot-scope="{ row }"> |
|
|
|
<el-input |
|
|
|
placeholder="请输入分值" |
|
|
@@ -869,7 +889,7 @@ export default { |
|
|
|
} |
|
|
|
} |
|
|
|
} else { |
|
|
|
if (this.type == 2||this.type==3) { |
|
|
|
if (this.type == 2 || this.type == 3) { |
|
|
|
if (param != "points" && !form[param]) { |
|
|
|
this.$message({ |
|
|
|
type: "warning", |
|
|
@@ -877,7 +897,7 @@ export default { |
|
|
|
}); |
|
|
|
return; |
|
|
|
} |
|
|
|
}else{ |
|
|
|
} else { |
|
|
|
if (!form[param]) { |
|
|
|
this.$message({ |
|
|
|
type: "warning", |
|
|
@@ -910,6 +930,9 @@ export default { |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
if (!form.points && form.points != 0) { |
|
|
|
form.points = ""; |
|
|
|
} |
|
|
|
this.allLoading = true; |
|
|
|
form.cooperateDept = form.cooperateDept && form.cooperateDept.join(","); |
|
|
|
form.cooperatePrincipal = |