| | |
| | | <el-col :span="1.5"> |
| | | <div class="documentf"> |
| | | <div class="document"> |
| | | <el-button |
| | | :disabled="multiple" |
| | | style="background: #983680; color: azure" |
| | | @click="scoreDialogVisible = true" |
| | | >满意度调查</el-button |
| | | <el-tooltip |
| | | content="请先选中服务" |
| | | placement="top" |
| | | :disabled="!multiple" |
| | | > |
| | | <div class="tooltip-wrapper"> |
| | | <el-button |
| | | type="primary" |
| | | :disabled="multiple" |
| | | class="purple-button" |
| | | @click="scoreDialogVisible = true" |
| | | > |
| | | 满意度调查 |
| | | </el-button> |
| | | </div> |
| | | </el-tooltip> |
| | | </div> |
| | | </div> |
| | | </el-col> |
| | |
| | | </el-row> |
| | | <!-- 满意度弹框 --> |
| | | <el-dialog |
| | | title="随访评分" |
| | | title="随访满意度评分" |
| | | :visible.sync="scoreDialogVisible" |
| | | width="80%" |
| | | :close-on-click-modal="false" |
| | |
| | | /> |
| | | <el-table-column |
| | | label="任务名称" |
| | | width="150" |
| | | width="180" |
| | | align="center" |
| | | prop="taskName" |
| | | /> |
| | |
| | | align="center" |
| | | key="authenticity" |
| | | prop="authenticity" |
| | | sortable |
| | | width="120" |
| | | width="150" |
| | | > |
| | | <template slot-scope="scope"> |
| | | <el-input-number |
| | |
| | | align="center" |
| | | key="weekFinish" |
| | | prop="weekFinish" |
| | | sortable |
| | | width="120" |
| | | width="150" |
| | | > |
| | | <template slot-scope="scope"> |
| | | <el-input-number |
| | |
| | | align="center" |
| | | key="standard" |
| | | prop="standard" |
| | | sortable |
| | | width="150" |
| | | > |
| | | <template slot-scope="scope"> |
| | | <el-input-number |
| | |
| | | align="center" |
| | | key="timeliness" |
| | | prop="timeliness" |
| | | sortable |
| | | width="120" |
| | | width="150" |
| | | > |
| | | <template slot-scope="scope"> |
| | | <el-input-number |
| | |
| | | align="center" |
| | | key="library" |
| | | prop="library" |
| | | sortable |
| | | width="120" |
| | | width="150" |
| | | > |
| | | <template slot-scope="scope"> |
| | | <el-input-number |
| | |
| | | align="center" |
| | | key="environment" |
| | | prop="environment" |
| | | sortable |
| | | width="120" |
| | | width="150" |
| | | > |
| | | <template slot-scope="scope"> |
| | | <el-input-number |
| | |
| | | align="center" |
| | | key="doctorSatisfaction" |
| | | prop="doctorSatisfaction" |
| | | width="120" |
| | | sortable |
| | | width="150" |
| | | > |
| | | <template slot-scope="scope"> |
| | | <el-input-number |
| | |
| | | align="center" |
| | | key="nurseSatisfaction" |
| | | prop="nurseSatisfaction" |
| | | width="120" |
| | | sortable |
| | | width="150" |
| | | > |
| | | <template slot-scope="scope"> |
| | | <el-input-number |
| | |
| | | align="center" |
| | | key="total" |
| | | prop="total" |
| | | sortable |
| | | fixed="right" |
| | | > |
| | | <template slot-scope="scope"> |
| | | <span>{{ calculateTotal(scope.row) }}</span> |
| | |
| | | buidegetTasklist, |
| | | addserviceSubtask, |
| | | query360PatInfo, |
| | | addsatisfaction, |
| | | } from "@/api/AiCentre/index"; |
| | | import { alterpatient, particularpatient } from "@/api/patient/homepage"; |
| | | import Treeselect from "@riophae/vue-treeselect"; |
| | |
| | | }); |
| | | |
| | | if (this.selectedRows.length > 0) { |
| | | this.multiple = false; |
| | | } else { |
| | | this.multiple = true; |
| | | } |
| | | }, |
| | |
| | | |
| | | // 保存评分 |
| | | saveScores() { |
| | | // 这里可以添加保存逻辑,如调用API保存评分 |
| | | this.$message.success("评分保存成功"); |
| | | this.scoreDialogVisible = false; |
| | | |
| | | // 更新主表格数据 |
| | | this.userList = this.userList.map((user) => { |
| | | const updatedUser = this.selectedRows.find((row) => row.id === user.id); |
| | | return updatedUser ? updatedUser : user; |
| | | this.selectedRows.forEach((item) => { |
| | | item.createBy = null; |
| | | item.patName = item.sendname; |
| | | item.hospitaldistrictname = item.leavehospitaldistrictname; |
| | | }); |
| | | addsatisfaction(this.selectedRows).then((res) => { |
| | | if (res.code == 200) { |
| | | this.$message.success("评分保存成功"); |
| | | this.scoreDialogVisible = false; |
| | | } else { |
| | | this.$modal.msgWarning("评分保存失败"); |
| | | this.scoreDialogVisible = false; |
| | | } |
| | | }); |
| | | // 这里可以添加保存逻辑,如调用API保存评分 |
| | | }, |
| | | //删除选项 |
| | | handleClose(tag) { |
| | |
| | | font-size: 24px; |
| | | } |
| | | } |
| | | .purple-button { |
| | | background-color: #7e22ce; |
| | | border-color: #7e22ce; |
| | | color: #fff; |
| | | } |
| | | |
| | | .purple-button:hover, |
| | | .purple-button:focus { |
| | | background-color: #9333ea; |
| | | border-color: #9333ea; |
| | | } |
| | | |
| | | .purple-button:active { |
| | | background-color: #6b21a8; |
| | | border-color: #6b21a8; |
| | | } |
| | | |
| | | .purple-button.is-disabled { |
| | | background-color: #d8b4fe; |
| | | border-color: #d8b4fe; |
| | | opacity: 1; /* 保持禁用状态透明度 */ |
| | | } |
| | | // 选项字体放大 |
| | | // ::v-deep.el-checkbox-group { |
| | | // span { |