Browse Source

益寿缘医生端-更优化sop菜单展示

cgp 1 month ago
parent
commit
ec566ae74e
2 changed files with 5 additions and 5 deletions
  1. 1 1
      src/router/index.js
  2. 4 4
      src/views/his/doctorTask/index.vue

+ 1 - 1
src/router/index.js

@@ -147,7 +147,7 @@ export const constantRoutes = [
       {
         path: 'doctorTask',
         component: (resolve) => require(['@/views/his/doctorTask/index'], resolve),
-        name: 'sop列表',
+        name: '今日sop任务列表',
         meta: { title: 'sop列表', icon: 'job', noCache: true, affix: false }
       },
     ]

+ 4 - 4
src/views/his/doctorTask/index.vue

@@ -51,7 +51,7 @@
       <el-radio-group v-model="queryParams.status" @change="handleStatusChange" size="small">
         <el-radio-button label="">全部</el-radio-button>
         <el-radio-button label="0">待处理</el-radio-button>
-        <el-radio-button label="1">已处理</el-radio-button>
+        <el-radio-button label="1">已完成</el-radio-button>
       </el-radio-group>
     </div>
 
@@ -109,7 +109,7 @@
             v-else-if="scope.row.status === 1"
             type="success"
             size="small"
-          >已处理</el-tag>
+          >已完成</el-tag>
           <span v-else>—</span>
         </template>
       </el-table-column>
@@ -248,14 +248,14 @@ export default {
       getDoctorTask(id).then(response => {
         const taskData = response.data;
         const customerName = taskData.name || '未知客户';
-        this.$confirm(`确认将客户 “${customerName}” 的任务标记为已处理?`, "确认处理", {
+        this.$confirm(`确认将客户 “${customerName}” 的任务标记为已完成?`, "确认完成", {
           confirmButtonText: "确定",
           cancelButtonText: "取消",
           type: "warning"
         }).then(() => {
           return updateDoctorTask({ id: taskData.id, status: 1 });
         }).then(() => {
-          this.msgSuccess("处理成功");
+          this.msgSuccess("成功");
           this.getList();
         }).catch(() => {});
       }).catch(() => {