| | |
| | | </div> |
| | | <div v-if="Editprogress == 2"> |
| | | <el-card class="box-card"> |
| | | <el-form :inline="true" :model="topicobj" class="demo-form-inline"> |
| | | <el-form :inline="true" ref="topicobj" :model="topicobj" class="demo-form-inline"> |
| | | <div class="headline"> |
| | | 指标设置详情 |
| | | <span v-if="topicobj.targetname" style="margin-left: 30px" |
| | |
| | | let scorearr = this.topicobj.svyLibScriptOptions; |
| | | let isValid = scorearr.every((score, index) => { |
| | | if (this.topicobj.scriptType == 1) { |
| | | if (score.score) { |
| | | if (score.score||score.score==0) { |
| | | if ( |
| | | Number(score.score) < 0 || |
| | | Number(score.score) > Number(this.topicobj.score) |
| | |
| | | this.topicobj.scriptType = row.scriptType; |
| | | this.topicobj.scriptContent = row.targetdesc; |
| | | this.topicobj.targetid = row.id; |
| | | this.topicobj.prompt = row.prompt; |
| | | this.topicobj.targetname = row.targetname; |
| | | this.topicobj.svyLibScriptOptions = []; |
| | | const labellist = row.targetoptionList; |