| | |
| | | <el-step> |
| | | <template slot="title"> |
| | | <span style="cursor: pointer" @click="Editprogress = 2" |
| | | >随访模版题目</span |
| | | >随访模板题目</span |
| | | > |
| | | </template> |
| | | </el-step> |
| | | <el-step description="查看随访模版预览,可导出PDF"> |
| | | <el-step description="查看随访模板预览,可导出PDF"> |
| | | <template slot="title"> |
| | | <span style="cursor: pointer" @click="preview">随访模版预览</span> |
| | | <span style="cursor: pointer" @click="preview">随访模板预览</span> |
| | | </template> |
| | | </el-step> |
| | | </el-steps> |
| | |
| | | > |
| | | <el-row> |
| | | <el-col :span="12"> |
| | | <el-form-item label="模版名称" prop="region"> |
| | | <el-form-item label="模板名称" prop="region"> |
| | | <div> |
| | | <el-input |
| | | v-model="ruleForm.templateName" |
| | |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="12"> |
| | | <el-form-item label="随访模版分类" prop="region"> |
| | | <el-form-item label="随访模板分类" prop="region"> |
| | | <el-select |
| | | v-model="ruleForm.assortid" |
| | | size="medium" |
| | |
| | | </el-row> |
| | | <el-row> |
| | | <el-col :span="12"> |
| | | <el-form-item label="模版简介" prop="note"> |
| | | <el-form-item label="模板简介" prop="note"> |
| | | <div> |
| | | <el-input |
| | | type="textarea" |
| | |
| | | <el-button |
| | | type="success" |
| | | @click="Departmenttreatment('ruleForm')" |
| | | >{{ task ? "保存到任务模版" : "保存随访模版基础信息" }}</el-button |
| | | >{{ task ? "保存到任务模板" : "保存随访模板基础信息" }}</el-button |
| | | > |
| | | </el-form-item> |
| | | </el-form> |
| | | </div> |
| | | <!-- 随访模版设置 --> |
| | | <!-- 随访模板设置 --> |
| | | <div v-if="Editprogress == 2"> |
| | | <div class="leftvlue-jbxx">随访模版题目设置</div> |
| | | <div class="leftvlue-jbxx">随访模板题目设置</div> |
| | | <el-divider></el-divider> |
| | | <div class="addtopic"> |
| | | <el-button |
| | |
| | | </div> |
| | | |
| | | <el-button type="success" @click="Departmenttreatment('ruleForm')">{{ |
| | | task ? "保存到任务模版" : "保存题目数据" |
| | | task ? "保存到任务模板" : "保存题目数据" |
| | | }}</el-button> |
| | | <el-button type="primary" plain @click="laststep()">上一步</el-button> |
| | | <el-button type="success" plain @click="preview('ruleForm')" |
| | |
| | | > |
| | | <el-button type="info" @click="closeFm('ruleForm')">关闭</el-button> |
| | | </div> |
| | | <!-- 随访模版预览 --> |
| | | <!-- 随访模板预览 --> |
| | | <div v-if="Editprogress == 3"> |
| | | <div class="leftvlue-jbxx">随访模版问题预览</div> |
| | | <div class="leftvlue-jbxx">随访模板问题预览</div> |
| | | <el-divider></el-divider> |
| | | |
| | | <div class="preview-left"> |
| | |
| | | row.isoperation = 3; |
| | | this.delScriptVOList.push(row); |
| | | this.sortFn(); |
| | | this.$modal.msgSuccess("已删除,保存模版生效"); |
| | | this.$modal.msgSuccess("已删除,保存模板生效"); |
| | | }) |
| | | .catch(() => {}); |
| | | }, |
| | |
| | | this.drawer = false; |
| | | |
| | | this.sortFn(); |
| | | this.$modal.msgSuccess("题目新增成功,保存模版失效"); |
| | | this.$modal.msgSuccess("题目新增成功,保存模板失效"); |
| | | }); |
| | | }, |
| | | |
| | |
| | | // 前往测试 |
| | | measurement() { |
| | | this.$modal |
| | | .confirm("即将前往模版测试页面,请确认模版数据已保存。") |
| | | .confirm("即将前往模板测试页面,请确认模板数据已保存。") |
| | | .then((res) => { |
| | | this.$router.push({ |
| | | path: "/knowledge/tpuconfigurat/measurement", |
| | |
| | | }) |
| | | .catch(() => {}); |
| | | }, |
| | | // 新建模版中临时题目 |
| | | // 新建模板中临时题目 |
| | | // 题目类型更换 |
| | | typeselection(row) { |
| | | if (row == 1 && !this.indexform.ivrLibaScriptTargetoptionList.length) { |