|  |  |  | 
|---|
|  |  |  | <el-image | 
|---|
|  |  |  | style="width: 100px; height: 100px" | 
|---|
|  |  |  | :src="topicobj.picturePath" | 
|---|
|  |  |  | :preview-src-list="[...topicobj.picturePath]" | 
|---|
|  |  |  | :preview-src-list=" | 
|---|
|  |  |  | topicobj.picturePath ? [topicobj.picturePath] : [] | 
|---|
|  |  |  | " | 
|---|
|  |  |  | > | 
|---|
|  |  |  | </el-image> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | 
|---|
|  |  |  | </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" | 
|---|
|  |  |  | 
|---|
|  |  |  | label="ABC等级" | 
|---|
|  |  |  | > | 
|---|
|  |  |  | <el-radio-group v-model="item.score"> | 
|---|
|  |  |  | <el-radio label="A">A</el-radio> | 
|---|
|  |  |  | <el-radio label="B">B</el-radio> | 
|---|
|  |  |  | <el-radio label="C">C</el-radio> | 
|---|
|  |  |  | <el-radio :label="1">A</el-radio> | 
|---|
|  |  |  | <el-radio :label="2">B</el-radio> | 
|---|
|  |  |  | <el-radio :label="3">C</el-radio> | 
|---|
|  |  |  | </el-radio-group> | 
|---|
|  |  |  | </el-form-item> | 
|---|
|  |  |  | <el-form-item | 
|---|
|  |  |  | 
|---|
|  |  |  | <el-image | 
|---|
|  |  |  | style="width: 100px; height: 100px" | 
|---|
|  |  |  | :src="item.picturePath" | 
|---|
|  |  |  | :preview-src-list="[...item.picturePath]" | 
|---|
|  |  |  | :preview-src-list=" | 
|---|
|  |  |  | item.picturePath ? [item.picturePath] : [] | 
|---|
|  |  |  | " | 
|---|
|  |  |  | > | 
|---|
|  |  |  | </el-image> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | 
|---|
|  |  |  | // 获取数据 | 
|---|
|  |  |  | getissueinfo() { | 
|---|
|  |  |  | this.id = this.$route.query.id; | 
|---|
|  |  |  | if (this.$route.query.categoryid) { | 
|---|
|  |  |  | this.topicobj.categoryid = Number(this.$route.query.categoryid); | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | // 分类 | 
|---|
|  |  |  | getissueclassify({}).then((res) => { | 
|---|
|  |  |  | this.classifylist = res.rows; | 
|---|
|  |  |  | if (this.$route.query.categoryid) { | 
|---|
|  |  |  | this.topicobj.categoryid = Number(this.$route.query.categoryid); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | }); | 
|---|
|  |  |  | if (!this.id) { | 
|---|
|  |  |  | return; | 
|---|
|  |  |  | 
|---|
|  |  |  | 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) | 
|---|
|  |  |  | 
|---|
|  |  |  | ) | 
|---|
|  |  |  | .then(() => { | 
|---|
|  |  |  | console.log(row); | 
|---|
|  |  |  | this.topicobj.scriptTopic = row.targetname; | 
|---|
|  |  |  | // this.topicobj.scriptTopic = row.targetname; | 
|---|
|  |  |  | this.topicobj.valueType = row.valueType; | 
|---|
|  |  |  | this.topicobj.scriptType = row.scriptType; | 
|---|
|  |  |  | this.topicobj.scriptContent = row.targetdesc; | 
|---|
|  |  |  | // this.topicobj.scriptContent = row.targetdesc; | 
|---|
|  |  |  | this.topicobj.targetid = row.id; | 
|---|
|  |  |  | this.topicobj.targetname = row.targetname; | 
|---|
|  |  |  | this.topicobj.svyLibScriptOptions = []; | 
|---|