| | |
| | | methods: { |
| | | // 获取主题样式类 |
| | | getTopicClass(item) { |
| | | console.log(item.isabnormal,'111'); |
| | | console.log(item.isabnormal, "111"); |
| | | |
| | | // 根据状态值返回对应的样式类 |
| | | if (item.isabnormal == 1) { |
| | |
| | | |
| | | // 调起再次发送 |
| | | sendAgain() { |
| | | getTaskservelist({ |
| | | patid: this.patid, |
| | | visitCount: 2, |
| | | leaveldeptcodes: [this.form.deptcode], |
| | | }).then((res) => { |
| | | if (res.rows[0].serviceSubtaskList) { |
| | | if ( |
| | | res.rows[0].serviceSubtaskList[0].sendstate != 5 && |
| | | res.rows[0].serviceSubtaskList[0].sendstate != 6 |
| | | ) { |
| | | this.$modal |
| | | .confirm( |
| | | '本患者在"' + |
| | | res.rows[0].serviceSubtaskList[0].deptname + |
| | | '"科室下已有再次随访服务进行中是否继续创建?' |
| | | ) |
| | | .then(() => { |
| | | document.querySelector("#app").scrollTo(0, 0); |
| | | // scrollTo(0, 0) |
| | | this.formtidy(); |
| | | this.dialogFormVisible = true; |
| | | }); |
| | | } |
| | | } else { |
| | | document.querySelector("#app").scrollTo(0, 0); |
| | | this.formtidy(); |
| | | this.dialogFormVisible = true; |
| | | } |
| | | }); |
| | | }, |
| | | // 查看详情 |
| | | Seedetails(row) { |
| | |
| | | astrict: index === questionIndex + 1 ? 0 : item.astrict, |
| | | hiddenByEnd: index === questionIndex + 1 ? false : item.hiddenByEnd, |
| | | })); |
| | | }2 |
| | | } |
| | | 2; |
| | | |
| | | this.$forceUpdate(); |
| | | }, |
| | |
| | | /* 新增:警告状态样式 - 黄色 */ |
| | | .scriptTopic-warning { |
| | | color: #d4be00; /* 您指定的黄色 */ |
| | | |
| | | } |
| | | |
| | | /* 异常选项样式 - 红色星号 (保持不变) */ |