diff --git a/App.vue b/App.vue
index 973d67f..133cbaf 100644
--- a/App.vue
+++ b/App.vue
@@ -154,6 +154,26 @@ uni-button[type="primary"]:not([disabled]):active {
background: rgb(248 113 113);
}
+.bg-light-text-color {
+ position: relative;
+}
+
+.bg-light-text-color::after {
+ content: '';
+ position: absolute;
+ top: 0;
+ left: 0;
+ width: 100%;
+ height: 100%;
+ opacity: 0.2;
+ background: currentColor;
+}
+
+.py-3 {
+ padding-top: 6rpx;
+ padding-bottom: 6rpx;
+}
+
.py-5 {
padding-top: 10rpx;
padding-bottom: 10rpx;
diff --git a/baseData/index.js b/baseData/index.js
index 0b54e87..9d252b0 100644
--- a/baseData/index.js
+++ b/baseData/index.js
@@ -36,4 +36,4 @@ export const statusClassNames = {
processing: "text-danger",
cancelled: "text-gray",
expired: "text-gray",
-}
\ No newline at end of file
+}
diff --git a/pages.json b/pages.json
index c2a03ed..44e9601 100644
--- a/pages.json
+++ b/pages.json
@@ -258,6 +258,12 @@
"style": {
"navigationBarTitleText": "联系企微客服"
}
+ },
+ {
+ "path": "pages/work/todo/todo-detail",
+ "style": {
+ "navigationBarTitleText": "待办详情"
+ }
}
],
"globalStyle": {
diff --git a/pages/work/todo/todo-detail.vue b/pages/work/todo/todo-detail.vue
new file mode 100644
index 0000000..d724fe2
--- /dev/null
+++ b/pages/work/todo/todo-detail.vue
@@ -0,0 +1,313 @@
+
+
+
+
+ {{ todo.eventTypeLabel }}
+
+ {{ todo.eventStatusLabel }}
+
+
+
+ {{ todo.taskContent || "暂无任务内容" }}
+
+
+
+ 发送内容
+
+ {{ todo.sendContent }}
+
+
+ 【附件】{{ file.file.name }}
+
+
+
+
+
+ 计划执行时间
+
+ {{ formData.planDate }}
+
+
+
+
+
+
+
+ 执行人
+
+ {{ memberMap[formData.executorUserId] || '' }}
+
+
+
+
+
+
+
+ 回访类型
+
+ {{ ToDoEventType[formData.eventType] || '' }}
+
+
+
+
+
+
+ 任务内容
+
+
+
+
+
+
+
+
+ 计划执行时间
+ {{ todo.planDate }}
+
+
+ 执行人
+ {{ memberMap[todo.executorUserId] || '' }}
+
+
+ 回访结果
+
+
+
+
+
+
+ 创建人:{{ todo.creatorUserId }}
+ 创建时间:{{ todo.createTime }}
+ 执行时间:{{ todo.endTime }}
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pages/work/work.vue b/pages/work/work.vue
index ee85a44..79c8526 100644
--- a/pages/work/work.vue
+++ b/pages/work/work.vue
@@ -76,16 +76,17 @@
-
+
计划执行: {{ i.planDate }}
-
- 患者: {{ i.customerName }}
+
+ 患者: {{ i.customerName }}
+
{{ i.eventTypeLabel }}
-
{{ i.eventStatusLabel }}
@@ -97,7 +98,8 @@
发送内容:{{ file.file.name }}
- 发送
+ 发送
{{ i.executorUserName }}({{ i.executeTeamName }})
@@ -210,6 +212,12 @@ function handleCert() {
}
}
+function toTodoDetail(id, editMode = false) {
+ uni.navigateTo({
+ url: `/pages/work/todo/todo-detail?id=${id}&editMode=${editMode ? 'YES' : ''}`
+ })
+}
+
async function getList() {
if (!doctorInfo.value || !doctorInfo.value.userid) {
return
@@ -255,7 +263,6 @@ useLoad(() => {
});
useShow(async () => {
- console.log("工作台页面加!!!@@@载");
await getDoctorInfo();
changePage(1)
})
@@ -362,23 +369,8 @@ useShow(async () => {
height: 42rpx;
}
-.bg-opacity {
- position: relative;
-}
-
-.bg-opacity::after {
- content: '';
- position: absolute;
- top: 0;
- left: 0;
- width: 100%;
- height: 100%;
- opacity: 0.2;
- background: currentColor;
-}
-
-.py-3 {
- padding-top: 6rpx;
- padding-bottom: 6rpx;
+.icon-edit {
+ width: 24rpx;
+ height: 24rpx;
}
\ No newline at end of file
diff --git a/routes/index.js b/routes/index.js
index 9f4a5bf..047e8f9 100644
--- a/routes/index.js
+++ b/routes/index.js
@@ -13,27 +13,27 @@ export default [
},
{
path: 'pages/message/message',
- meta: { title: '消息', login: false }
+ meta: { title: '消息', login: false }
},
{
path: 'pages/message/common-phrases',
- meta: { title: '常用语', login: false }
+ meta: { title: '常用语', login: false }
},
{
path: 'pages/message/article-list',
- meta: { title: '宣教文章', login: false }
+ meta: { title: '宣教文章', login: false }
},
{
path: 'pages/message/article-detail',
- meta: { title: '宣教文章', login: false }
+ meta: { title: '宣教文章', login: false }
},
{
path: 'pages/message/survey-list',
- meta: { title: '问卷列表', login: false }
+ meta: { title: '问卷列表', login: false }
},
{
path: 'pages/webview/webview',
- meta: { title: '预览', login: false }
+ meta: { title: '预览', login: false }
},
{
path: 'pages/message/index',
@@ -176,9 +176,13 @@ export default [
{
path: 'pages/work/team/detail/team-detail',
meta: { title: '团队信息', login: true }
- },
+ },
{
path: 'pages/work/service/contact-service',
meta: { title: '联系企微客服' }
+ },
+ {
+ path: 'pages/work/todo/todo-detail',
+ meta: { title: '待办详情' }
}
]
diff --git a/static/work/edit-pen.svg b/static/work/edit-pen.svg
new file mode 100644
index 0000000..30b8bfb
--- /dev/null
+++ b/static/work/edit-pen.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/utils/api.js b/utils/api.js
index 1f5ef8b..74481ca 100644
--- a/utils/api.js
+++ b/utils/api.js
@@ -121,7 +121,8 @@ const urlsConfig = {
// 客户流转记录
customerTransferRecord: 'customerTransferRecord',
// sendConsultRejectedMessage: "sendConsultRejectedMessage"
- getTeamTodos: 'getTeamTodos'
+ getTeamTodos: 'getTeamTodos',
+ updateTaskTodo:'updateTaskTodo'
}
}