Browse Source

修改

master
yangzhou-cyber 3 years ago
parent
commit
6ac44d699b
1 changed files with 26 additions and 3 deletions
  1. +26
    -3
      src/views/second/segmentation/contentDetail.vue

+ 26
- 3
src/views/second/segmentation/contentDetail.vue View File

@@ -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 =

Loading…
Cancel
Save