| src/views/Satisfaction/configurationmyd/index.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| src/views/followvisit/satisfaction/index.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| src/views/repositoryai/templateku/configurat/index.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
src/views/Satisfaction/configurationmyd/index.vue
@@ -612,7 +612,7 @@ changedCount: 0, // 满意度分类ID satisfactionCategoryIds: ["404", "405", "406"], satisfactionCategoryIds: ["404", "405", "406", "10039", "10041", "10042"], // 表单验证规则 configRules: { @@ -666,9 +666,15 @@ // 满意度题目数量 satisfactionQuestionsCount() { if (this.templateForm.templateType === 1) { return this.questionList.filter((q) => this.satisfactionCategoryIds.includes(q.categoryid?.toString()) ).length; } else if (this.templateForm.templateType === 2) { return this.questionList.filter((q) => this.satisfactionCategoryIds.includes(q.scriptAssortid?.toString()) ).length; } }, // 筛选后的题目列表 @@ -676,9 +682,15 @@ let filtered = this.questionList; // 筛选满意度题目 if (this.templateForm.templateType === 1) { filtered = filtered.filter((q) => this.satisfactionCategoryIds.includes(q.categoryid?.toString()) ); } else if (this.templateForm.templateType === 2) { filtered = filtered.filter((q) => this.satisfactionCategoryIds.includes(q.scriptAssortid?.toString()) ); } // 应用搜索条件 if (this.queryParams.scriptTopic) { @@ -998,7 +1010,7 @@ /** 配置变更处理 */ handleConfigChange(question) { this.$nextTick(() => { const index = this.questionList.findIndex((q) => q.id === question.id); const index = this.filteredQuestionList.findIndex((q) => q.id === question.id); if (index !== -1) { const formRef = this.$refs.configForm && this.$refs.configForm[index]; if (formRef) { @@ -1051,7 +1063,9 @@ async saveSingleConfig(question) { if (!question.hasChanges) return; const index = this.questionList.findIndex((q) => q.id === question.id); const index = this.filteredQuestionList.findIndex((q) => q.id === question.id); console.log(index,'filteredQuestionList'); if (index === -1) return; const formRef = this.$refs.configForm && this.$refs.configForm[index]; src/views/followvisit/satisfaction/index.vue
@@ -723,6 +723,8 @@ }, /** 导出按钮操作 */ handleExport() { console.log(this.topqueryParams,'打印入参'); this.download( "smartor/satisfaction/export", { src/views/repositoryai/templateku/configurat/index.vue
@@ -1467,7 +1467,7 @@ illnesslistget, getillness, getgenerallist, depthospgetsondel depthospgetsondel, } from "@/api/AiCentre/index"; import OptionalForm from "@/components/OptionalForm"; //正则组件 import { getToken } from "@/utils/auth"; @@ -1510,7 +1510,9 @@ ruleForm: { templateName: "", revisitBefore: "亲爱的患者/家属,我们是"+localStorage.getItem("orgname")+"的医护人员,为了更好地了解您的康复情况,请您抽一点宝贵时间,完成这份随访。", "亲爱的患者/家属,我们是" + localStorage.getItem("orgname") + "的医护人员,为了更好地了解您的康复情况,请您抽一点宝贵时间,完成这份随访。", revisitAfter: "请您注意休息和营养,生活上要劳逸结合,适当锻炼,戒烟限酒,保持心情舒畅,定期复诊。那本次回访就到这里,祝您身体健康!", ivrLibaTemplateTagList: [], @@ -1627,7 +1629,7 @@ this.auxiliary(); this.getDeptTree(); this.mode = store.getters.mode; console.log(this.mode,'this.mode'); console.log(this.mode, "this.mode"); this.usable = store.getters.usable; this.required = store.getters.required; this.valuetype = store.getters.valuetype; @@ -1704,9 +1706,9 @@ console.log(2211); this.ruleForm = res.data; if (this.ruleForm.deptNames) console.log(this.ruleForm.suitway,'suitway'); console.log(this.ruleForm.suitway, "suitway"); this.ruleForm.suitway = this.ruleForm.suitway.split(","); console.log(this.ruleForm.suitway,'suitway'); console.log(this.ruleForm.suitway, "suitway"); if (this.ruleForm.campus) this.ruleForm.campus = this.ruleForm.campus.split(","); this.ruleForm.submoduleID = this.ruleForm.submoduleID.split(","); @@ -2113,6 +2115,7 @@ console.log(res, "详情"); res.data.isoperation = 1; res.data.pid = this.ruleForm.id; res.data.scriptAssortid = res.data.assortid; res.data.ivrLibaScriptTargetoptionList.forEach((item) => { item.isoperation = 1; }); @@ -2123,7 +2126,7 @@ }, handleDelete(row) { this.$modal .confirm('是否确认删除问题:"' + row.scriptTopic + '?') .confirm('是否确认删除问题:"' + row.scriptTopic + "?") .then(() => { this.ruleForm.ivrLibaTemplateScriptVOList.splice( this.ruleForm.ivrLibaTemplateScriptVOList.indexOf(row),