| | |
| | | clearSelection() { |
| | | // 在这里编写清除选择的逻辑 |
| | | this.$refs.multipleTableson.clearSelection(); |
| | | |
| | | }, |
| | | }, |
| | | }; |
| | |
| | | import "@riophae/vue-treeselect/dist/vue-treeselect.css"; |
| | | |
| | | export default { |
| | | name: "Userhuanze", |
| | | name: "Patient", |
| | | dicts: ["sys_normal_disable", "task_status", "sys_user_sex"], |
| | | components: { Treeselect }, |
| | | data() { |
| | |
| | | // 查看模版 |
| | | previewGo() { |
| | | this.$router.push({ |
| | | path: "/knowledge/templateku/configurat/", |
| | | path: "/knowledge/tpuconfigurat/", |
| | | query: { id: this.previewid, task: true, data: this.form }, |
| | | }); |
| | | }, |
| | |
| | | // 查看模版 |
| | | previewGo() { |
| | | this.$router.push({ |
| | | path: "/knowledge/templateku/configurat/", |
| | | path: "/knowledge/tpuconfigurat/", |
| | | query: { id: this.previewid, task: true, data: this.form }, |
| | | }); |
| | | }, |
| | |
| | | // 查看模版 |
| | | previewGo() { |
| | | this.$router.push({ |
| | | path: "/knowledge/templateku/configurat/", |
| | | path: "/knowledge/tpuconfigurat/", |
| | | query: { id: this.previewid, task: true, data: this.form }, |
| | | }); |
| | | }, |
| | | previewFn() { |
| | | let id = this.Tasktemplate.id; |
| | | this.Tasktemplate.id = null; |
| | | this.Tasktemplate.ivrLibaTemplateScriptVOList.ivrTaskScriptTargetoptionList = |
| | | this.Tasktemplate.ivrLibaTemplateScriptVOList.ivrLibaScriptTargetoptionList; |
| | | this.Tasktemplate.ivrLibaTemplateScriptVOList.forEach((item) => { |
| | | item.ivrTaskScriptTargetoptionList = item.ivrLibaScriptTargetoptionList; |
| | | }); |
| | | console.log(this.Tasktemplate.ivrLibaTemplateScriptVOList); |
| | | |
| | | this.Tasktemplate.ivrTaskTemplateScriptVOList = |
| | | this.Tasktemplate.ivrLibaTemplateScriptVOList; |
| | | this.Tasktemplate.ivrLibaTemplateTagList = null; |
| | |
| | | </el-option> |
| | | </el-select> </el-form-item |
| | | ></el-col> |
| | | <el-col :span="12" |
| | | <!-- <el-col :span="12" |
| | | ><el-form-item label="取值类型"> |
| | | <el-select |
| | | v-model="indexform.valueType" |
| | |
| | | > |
| | | </el-option> |
| | | </el-select> </el-form-item |
| | | ></el-col> |
| | | ></el-col> --> |
| | | </el-row> |
| | | <el-row> |
| | | <el-col :span="6"> |
| | |
| | | </el-col> |
| | | <el-col :span="6"> |
| | | <span |
| | | style="font-size: 12px" |
| | | style="font-size: 18px; margin-top: 10px" |
| | | v-if="indexform.scriptVoice" |
| | | >{{ |
| | | indexform.scriptVoice.substring( |
| | |
| | | import { getToken } from "@/utils/auth"; |
| | | |
| | | export default { |
| | | name: "SpeechTemplates", |
| | | name: "Tpuconfigurat", |
| | | components: { Regular, OptionalForm }, |
| | | data() { |
| | | return { |
| | |
| | | //控制语音文件 |
| | | handleChange(response, file, additionalParam) { |
| | | console.log(response); |
| | | console.log(additionalParam); |
| | | if (additionalParam == 1) { |
| | | this.indexform.scriptVoice = response.url; |
| | | console.log(this.indexform.scriptVoice); |
| | | } else if (additionalParam == 2) { |
| | | this.indexform.nomatchvoice = response.url; |
| | | console.log(this.indexform.nomatchvoice); |
| | |
| | | } else if (additionalParam == 4) { |
| | | this.indexform.noclearlyvoice = response.url; |
| | | } |
| | | this.$forceUpdate(); |
| | | }, |
| | | // 文件超出个数限制时的钩子 |
| | | handleExceed(files, fileList) { |
| | |
| | | .confirm("即将前往模版测试页面,请确认模版数据已保存。") |
| | | .then((res) => { |
| | | this.$router.push({ |
| | | path: "/knowledge/templateku/configurat/measurement", |
| | | path: "/knowledge/tpuconfigurat/measurement", |
| | | query: { id: this.id, name: this.ruleForm.templateName }, |
| | | }); |
| | | }) |
| | |
| | | // 跳转编辑话术页面 |
| | | compileUpdate(row) { |
| | | this.$router.push({ |
| | | path: "/knowledge/templateku/configurat/", |
| | | path: "/knowledge/tpuconfigurat/", |
| | | query: { id: row.id }, |
| | | }); |
| | | }, |
| | |
| | | /** 新增按钮操作 */ |
| | | handleAdd() { |
| | | this.$router.push({ |
| | | path: "/knowledge/templateku/configurat/", |
| | | path: "/knowledge/tpuconfigurat/", |
| | | query: { id: null, assortid: this.queryParams.assortid }, |
| | | }); |
| | | }, |