| | |
| | | :row-class-name="tableRowClassName" |
| | | :max-height="350" |
| | | style="width: 100%" |
| | | height="350" |
| | | @selection-change="handleSelectionChange" |
| | | > |
| | | <el-table-column |
| | |
| | | </div> |
| | | <div |
| | | v-if="item.showAppendInput || item.answerps" |
| | | v-if="item.showAppendInput || item.answerps" |
| | | class="append-input-container" |
| | | > |
| | | <el-input |
| | |
| | | >保存基础信息</el-button |
| | | > |
| | | </div> |
| | | <div> |
| | | <!-- <div> |
| | | <el-button |
| | | type="primary" |
| | | round |
| | |
| | | var objs = item.svyTaskTemplateTargetoptions.find( |
| | | (items) => items.optioncontent == item.scriptResult |
| | | ); |
| | | if (obj) { |
| | | if (objs.isabnormal) { |
| | | excep = 1; |
| | | |
| | | if (objs) { |
| | | if (excep != 1 && objs.isabnormal) { |
| | | excep = objs.isabnormal; |
| | | this.selectedTag = objs.isabnormal; |
| | | } |
| | | } |
| | | console.log(excep, "excep"); |
| | | |
| | | let obj = { |
| | | asrtext: null, |
| | | patid: this.patid, |
| | |
| | | }, |
| | | yuyingetdetail() { |
| | | const dataToSubmit = JSON.parse(JSON.stringify(this.tableDatatop)); |
| | | |
| | | console.log(dataToSubmit, "dataToSubmit"); |
| | | return; |
| | | dataToSubmit.forEach((item, index) => { |
| | | // 对拷贝的数据进行操作,不影响原始的 scriptResult 数组 |
| | | item.scriptResult = item.scriptResult.join("&"); |
| | |
| | | pageSize: 100, |
| | | }).then((res) => { |
| | | if (res.code == 200) { |
| | | console.log(11); |
| | | |
| | | this.form = res.rows[0].serviceSubtaskList.find( |
| | | (item) => item.id == this.id |
| | | ); |
| | |
| | | }, |
| | | aahandleOptionChange(a, b, c) { |
| | | const result = c.find((item) => item.optioncontent == a); |
| | | if (result.nextQuestion == 0) { |
| | | this.tableDatatop = this.tableDatatop.reduce((acc, item, i) => { |
| | | acc.push(i > b ? { ...item, astrict: 1 } : item); |
| | | return acc; |
| | | }, []); |
| | | } else { |
| | | this.tableDatatop = this.tableDatatop.reduce((acc, item, i) => { |
| | | acc.push(i > b ? { ...item, astrict: 0 } : item); |
| | | return acc; |
| | | }, []); |
| | | } |
| | | // if (result.nextQuestion == 0) { |
| | | // this.tableDatatop = this.tableDatatop.reduce((acc, item, i) => { |
| | | // acc.push(i > b ? { ...item, astrict: 1 } : item); |
| | | // return acc; |
| | | // }, []); |
| | | // } else { |
| | | // this.tableDatatop = this.tableDatatop.reduce((acc, item, i) => { |
| | | // acc.push(i > b ? { ...item, astrict: 0 } : item); |
| | | // return acc; |
| | | // }, []); |
| | | // } |
| | | if (this.Voicetype) { |
| | | var obj = this.tableDatatop[b].ivrTaskScriptTargetoptionList.find( |
| | | (item) => item.optioncontent == a |
| | |
| | | }, |
| | | // 新增的切换选中/取消选中方法 |
| | | handleRadioToggle(questionItem, index, options, optionValue) { |
| | | console.log(questionItem, optionValue, 999); |
| | | |
| | | // 如果点击的是当前已选中的选项,则取消选中 |
| | | if (questionItem.scriptResult === optionValue) { |
| | | questionItem.scriptResult = ""; // 清空选中值 |
| | |
| | | margin: 0 10px 20px 10px; |
| | | |
| | | /* 当缩放比例大于100%或屏幕宽度较小时改为上下排列 */ |
| | | @media screen and (max-width: 1200px), (min-resolution: 1dppx) { |
| | | @media screen and (min-resolution: 1.5dppx) { |
| | | flex-direction: column; |
| | | |
| | | .call-action, |
| | |
| | | } |
| | | |
| | | /* 缩放检测样式 */ |
| | | @media screen and (min-resolution: 1.1dppx), |
| | | screen and (-webkit-min-device-pixel-ratio: 1.1), |
| | | screen and (max-width: 1200px) { |
| | | @media screen and (min-resolution: 1.5dppx), |
| | | screen and (-webkit-min-device-pixel-ratio: 1.5) { |
| | | .action-container { |
| | | flex-direction: column; |
| | | } |