| | |
| | | ><el-form-item label="是否可用"> |
| | | <el-radio-group v-model="topicobj.isavailable"> |
| | | <el-radio |
| | | @change="$forceUpdate()" |
| | | v-for="(item, index) in usable" |
| | | :label="item.value" |
| | | >{{ item.label }}</el-radio |
| | |
| | | <el-form-item label="是否必填"> |
| | | <el-radio-group v-model="topicobj.ismandatory"> |
| | | <el-radio |
| | | @change="$forceUpdate()" |
| | | v-for="(item, index) in required" |
| | | :label="item.value" |
| | | >{{ item.label }}</el-radio |
| | |
| | | if (this.$route.query.categoryid) { |
| | | this.topicobj.categoryid = Number(this.$route.query.categoryid); |
| | | } |
| | | this.topicobj.isavailable = "1"; |
| | | this.topicobj.language = "普通话"; |
| | | |
| | | // 分类 |
| | | getissueclassify({}).then((res) => { |
| | | this.classifylist = res.rows; |
| | | console.log(this.classifylist, "分类"); |
| | | }); |
| | | if (!this.id) { |
| | | return; |
| | |
| | | this.topicobj.scriptContent = row.targetdesc; |
| | | this.topicobj.targetid = row.id; |
| | | this.topicobj.targetname = row.targetname; |
| | | this.topicobj.isavailable = "0"; |
| | | this.topicobj.language = "普通话"; |
| | | this.topicobj.svyLibScriptOptions = []; |
| | | const labellist = row.targetoptionList; |
| | | labellist.forEach((item) => { |