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