| | |
| | | {{ |
| | | kcb |
| | | ? kcb |
| | | : "亲爱的患者-家属,您好!我们是景宁人民医院的医护人员,为了更好地了解您的康复情况,请您抽一点宝贵时间,完成这份随访问卷。" |
| | | : "亲爱的患者-家属,我们是"+localStorage.getItem("orgname")+"的医护人员,为了更好地了解您的康复情况,请您抽一点宝贵时间,完成这份随访问卷。" |
| | | }} |
| | | <!-- 亲爱的患者/家属您好,为了更好的了解您出院后的康复情况,给您适当及时的健康指导,请您抽一点宝贵时间,完成这份出院随访问卷调查。 --> |
| | | </div> |
| | |
| | | > |
| | | <el-radio |
| | | border |
| | | v-for="(items, index) in item.ivrLibaScriptTargetoptionList" |
| | | v-for="(items, index) in item.ivrTaskScriptTargetoptionList" |
| | | :class=" |
| | | items.isabnormal && item.questionResult == items.targetvalue |
| | | ? 'red-star' |
| | |
| | | <el-checkbox |
| | | border |
| | | @change="$forceUpdate()" |
| | | v-for="(items, indexs) in item.ivrLibaScriptTargetoptionList" |
| | | v-for="(items, indexs) in item.ivrTaskScriptTargetoptionList" |
| | | :key="indexs" |
| | | :label="items.targetvalue" |
| | | > |
| | |
| | | // scriptType: 1, |
| | | // scriptContent: "您的年龄范围是?", |
| | | // questionResult: null, |
| | | // ivrLibaScriptTargetoptionList: [ |
| | | // ivrTaskScriptTargetoptionList: [ |
| | | // { targetvalue: "18-25", value: "18-25", isabnormal: true }, |
| | | // { targetvalue: "26-35", value: "26-35" }, |
| | | // { targetvalue: "36-45", value: "36-45" }, |
| | |
| | | // scriptType: 1, |
| | | // scriptContent: "您的职业是什么?", |
| | | // questionResult: null, |
| | | // ivrLibaScriptTargetoptionList: [ |
| | | // ivrTaskScriptTargetoptionList: [ |
| | | // { targetvalue: "学生", value: "student" }, |
| | | // { targetvalue: "教师", value: "teacher" }, |
| | | // { targetvalue: "工程师", value: "engineer" }, |
| | |
| | | // scriptType: 2, |
| | | // scriptContent: "您感兴趣的活动有哪些?", |
| | | // questionResult: [], |
| | | // ivrLibaScriptTargetoptionList: [ |
| | | // ivrTaskScriptTargetoptionList: [ |
| | | // { targetvalue: "旅游", value: "travel", isabnormal: true }, |
| | | // { targetvalue: "阅读", value: "reading", isabnormal: true }, |
| | | // { targetvalue: "运动", value: "sports", isabnormal: true }, |
| | |
| | | // scriptType: 1, |
| | | // scriptContent: "您的职业是什么?", |
| | | // questionResult: null, |
| | | // ivrLibaScriptTargetoptionList: [ |
| | | // ivrTaskScriptTargetoptionList: [ |
| | | // { targetvalue: "学生", value: "student" }, |
| | | // { targetvalue: "教师", value: "teacher" }, |
| | | // { targetvalue: "工程师", value: "engineer" }, |
| | |
| | | // scriptType: 1, |
| | | // scriptContent: "您的职业是什么?", |
| | | // questionResult: null, |
| | | // ivrLibaScriptTargetoptionList: [ |
| | | // ivrTaskScriptTargetoptionList: [ |
| | | // { targetvalue: "学生", value: "student" }, |
| | | // { targetvalue: "教师", value: "teacher" }, |
| | | // { targetvalue: "工程师", value: "engineer", isabnormal: true }, |
| | |
| | | // scriptType: 1, |
| | | // scriptContent: "您的职业是什么?", |
| | | // questionResult: null, |
| | | // ivrLibaScriptTargetoptionList: [ |
| | | // ivrTaskScriptTargetoptionList: [ |
| | | // { targetvalue: "学生", value: "student" }, |
| | | // { targetvalue: "教师", value: "teacher" }, |
| | | // { targetvalue: "工程师", value: "engineer" }, |
| | |
| | | geturlinfo() { |
| | | // let url = window.location.href; |
| | | let url = this.$route.query.p; |
| | | console.log(445); |
| | | |
| | | // let url = 'http://218.108.11.22:8093/sf/003'; |
| | | // let urlid = this.extractLastSegmentFromUrl(url); |
| | | |
| | |
| | | console.log(arr, "srr"); |
| | | arr.forEach((item, index) => { |
| | | if (item.scriptType == 3||item.scriptType == 4) return; |
| | | var obj = item.ivrLibaScriptTargetoptionList.find( |
| | | var obj = item.ivrTaskScriptTargetoptionList.find( |
| | | (items) => items.targetvalue == item.questionResult |
| | | ); |
| | | console.log(obj, "isabnormal"); |
| | |
| | | // 处理单选选项 |
| | | handleOptionChange(selectedvalue, index, arr) { |
| | | // 查找选中的选项对象 |
| | | const selectedOption = arr.ivrLibaScriptTargetoptionList.find( |
| | | const selectedOption = arr.ivrTaskScriptTargetoptionList.find( |
| | | (option) => option.targetvalue == selectedvalue |
| | | ); |
| | | if (selectedOption) { |
| | |
| | | // ��加分数 |
| | | let score = 0; |
| | | selectedvalues.forEach((value) => { |
| | | const selectedOption = arr.ivrLibaScriptTargetoptionList.find( |
| | | const selectedOption = arr.ivrTaskScriptTargetoptionList.find( |
| | | (option) => option.targetvalue == value |
| | | ); |
| | | if (selectedOption) { |