| | |
| | | <template> |
| | | <div> |
| | | <div class="topicxq" v-for="item in TargetoptionList"> |
| | | <el-form :inline="true" :rules="rules" :model="item"> |
| | | <el-form :inline="true" :rules="rules" :model="item" label-width="80px"> |
| | | <el-row :gutter="10"> |
| | | <el-col :span="12" |
| | | ><el-form-item prop="targetvalue" label="选项名称"> |
| | |
| | | <el-col :span="20" |
| | | ><el-form-item label="选项说明"> |
| | | <el-input |
| | | style="width: 500px;" |
| | | style="width: 500px" |
| | | type="textarea" |
| | | :rows="2" |
| | | placeholder="请输入" |
| | |
| | | </el-input> </el-form-item |
| | | ></el-col> |
| | | </el-row> |
| | | <el-form-item label="关键字(含)" prop="desc" v-if="hasValue"> |
| | | <div class="xinz-inf"> |
| | | <el-tag |
| | | :key="crux" |
| | | type="success" |
| | | v-for="crux in item.dynamiccruxs" |
| | | closable |
| | | effect="dark" |
| | | :disable-transitions="false" |
| | | @close="handleClosecrux(crux, item, 1)" |
| | | > |
| | | {{ crux }} |
| | | </el-tag> |
| | | <el-select |
| | | v-model="inputValue" |
| | | v-if="item.inputVisible" |
| | | @change="handleInputConfirm(item)" |
| | | filterable |
| | | remote |
| | | allow-create |
| | | reserve-keyword |
| | | default-first-option |
| | | :loading="loading" |
| | | placeholder="请选择" |
| | | > |
| | | <el-option |
| | | v-for="items in regular" |
| | | :key="items.label" |
| | | :label="items.label" |
| | | :value="items.label" |
| | | <el-row> |
| | | <el-form-item label="关键字(含)" prop="desc" v-if="hasValue"> |
| | | <div class="xinz-inf"> |
| | | <el-tag |
| | | :key="crux" |
| | | type="success" |
| | | v-for="crux in item.dynamiccruxs" |
| | | closable |
| | | effect="dark" |
| | | :disable-transitions="false" |
| | | @close="handleClosecrux(crux, item, 1)" |
| | | > |
| | | </el-option> |
| | | </el-select> |
| | | <el-button |
| | | v-else |
| | | class="button-new-tag" |
| | | size="small" |
| | | @click="showInput(item)" |
| | | >+ 新增</el-button |
| | | > |
| | | </div> |
| | | </el-form-item> |
| | | <el-form-item label="关键字(非)" prop="adesc" v-if="hasValue"> |
| | | <div class="xinz-inf"> |
| | | <el-tag |
| | | :key="crux" |
| | | type="warning" |
| | | v-for="crux in item.nodynamiccruxs" |
| | | closable |
| | | effect="dark" |
| | | :disable-transitions="false" |
| | | @close="handleClosecrux(crux, item, 2)" |
| | | > |
| | | {{ crux }} |
| | | </el-tag> |
| | | <el-select |
| | | v-model="inputValue" |
| | | v-if="item.noinputVisible" |
| | | @change="handleInputConfirm(item)" |
| | | filterable |
| | | remote |
| | | allow-create |
| | | reserve-keyword |
| | | default-first-option |
| | | :loading="loading" |
| | | placeholder="请选择" |
| | | > |
| | | <el-option |
| | | v-for="items in noregular" |
| | | :key="items.value" |
| | | :label="items.label" |
| | | :value="items.label" |
| | | {{ crux }} |
| | | </el-tag> |
| | | <el-select |
| | | v-model="inputValue" |
| | | v-if="item.inputVisible" |
| | | @change="handleInputConfirm(item)" |
| | | filterable |
| | | remote |
| | | allow-create |
| | | reserve-keyword |
| | | default-first-option |
| | | :loading="loading" |
| | | placeholder="请选择" |
| | | > |
| | | </el-option> |
| | | </el-select> |
| | | <el-button |
| | | v-else |
| | | class="button-new-tag" |
| | | size="small" |
| | | @click="showInputno(item)" |
| | | >+ 新增</el-button |
| | | > |
| | | </div> |
| | | </el-form-item> |
| | | <el-option |
| | | v-for="items in regular" |
| | | :key="items.label" |
| | | :label="items.label" |
| | | :value="items.label" |
| | | > |
| | | </el-option> |
| | | </el-select> |
| | | <el-button |
| | | v-else |
| | | class="button-new-tag" |
| | | size="small" |
| | | @click="showInput(item)" |
| | | >+ 新增</el-button |
| | | > |
| | | </div> |
| | | </el-form-item> |
| | | </el-row> |
| | | <el-row> |
| | | <el-form-item label="关键字(非)" prop="adesc" v-if="hasValue"> |
| | | <div class="xinz-inf"> |
| | | <el-tag |
| | | :key="crux" |
| | | type="warning" |
| | | v-for="crux in item.nodynamiccruxs" |
| | | closable |
| | | effect="dark" |
| | | :disable-transitions="false" |
| | | @close="handleClosecrux(crux, item, 2)" |
| | | > |
| | | {{ crux }} |
| | | </el-tag> |
| | | <el-select |
| | | v-model="inputValue" |
| | | v-if="item.noinputVisible" |
| | | @change="handleInputConfirm(item)" |
| | | filterable |
| | | remote |
| | | allow-create |
| | | reserve-keyword |
| | | default-first-option |
| | | :loading="loading" |
| | | placeholder="请选择" |
| | | > |
| | | <el-option |
| | | v-for="items in noregular" |
| | | :key="items.value" |
| | | :label="items.label" |
| | | :value="items.label" |
| | | > |
| | | </el-option> |
| | | </el-select> |
| | | <el-button |
| | | v-else |
| | | class="button-new-tag" |
| | | size="small" |
| | | @click="showInputno(item)" |
| | | >+ 新增</el-button |
| | | > |
| | | </div> |
| | | </el-form-item> |
| | | </el-row> |
| | | |
| | | <el-form-item label="选项文件" prop="sickness" v-if="Verbalproblem"> |
| | | <div style="width: 40vw"> |
| | | <el-upload |