From d3d0f5d7fdbfffa1912923534af0ac40f83b2d1a Mon Sep 17 00:00:00 2001 From: zmj <1493694146@qq.com> Date: Sat, 23 Dec 2023 11:51:25 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=9B=E5=BB=BA=E5=85=AC=E5=8F=B8=E9=9D=9E?= =?UTF-8?q?=E5=BF=85=E9=80=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.development | 4 +- src/api/task.ts | 6 + src/config/index.ts | 1 - src/views/consumer/lists/edit.vue | 40 ++-- src/views/finance/balance_details.vue | 2 +- src/views/finance/component/people.vue | 4 +- .../task/{calendar.vue => calenda1r.vue} | 0 src/views/task/popTaskDetail.vue | 93 ++++++++++ src/views/task/popTaskList.vue | 113 ++++++++++++ src/views/task/taskCalendar.vue | 173 +++++++++++------- 10 files changed, 346 insertions(+), 90 deletions(-) rename src/views/task/{calendar.vue => calenda1r.vue} (100%) create mode 100644 src/views/task/popTaskDetail.vue create mode 100644 src/views/task/popTaskList.vue diff --git a/.env.development b/.env.development index baa70dc..7b26a7b 100644 --- a/.env.development +++ b/.env.development @@ -1,7 +1,7 @@ NODE_ENV = 'development' -# VITE_APP_BASE_URL = 'http://192.168.1.16:8000' - +# VITE_APP_BASE_URL = 'http://192.168.1.11:8000' +# VITE_APP_BASE_URL = 'https://ceshi-worker-task.lihaink.cn' # VITE_APP_BASE_URL = 'https://preview-worker-task.lihaink.cn' diff --git a/src/api/task.ts b/src/api/task.ts index 248e461..5aa13e5 100644 --- a/src/api/task.ts +++ b/src/api/task.ts @@ -25,3 +25,9 @@ export function apiTaskList(params: any) { export function apiTaskDetails(params: any) { return request.get({ url: '/task_scheduling_plan.task_scheduling_plan/detail', params }) } + +// renwu +//任务日程-详情 +export function getDayTaskList(params: any) { + return request.get({ url: '/task_scheduling_plan.task_scheduling_plan/getDayTaskList', params }) +} \ No newline at end of file diff --git a/src/config/index.ts b/src/config/index.ts index e3e6b63..689fe9e 100644 --- a/src/config/index.ts +++ b/src/config/index.ts @@ -8,5 +8,4 @@ const config = { urlPrefix: "adminapi", //请求默认前缀 timeout: 20 * 1000, //请求超时时长 }; -console.log( import.meta.env,99999) export default config; diff --git a/src/views/consumer/lists/edit.vue b/src/views/consumer/lists/edit.vue index d42d0c8..4dff0db 100644 --- a/src/views/consumer/lists/edit.vue +++ b/src/views/consumer/lists/edit.vue @@ -71,7 +71,7 @@ - + - + 资质信息
- +
- + { - if (!formData.avatar) return ElMessage.error("请上传头像"); + // if (!formData.avatar) return ElMessage.error("请上传头像"); formRef.value?.validate((e) => { if (e) { - if (!formData.qualification.id_card || !formData.qualification.id_card_b) - return ElMessage.error("请上传身份证信息"); - if ( - !formData.qualification.bank_account || - !formData.qualification.bank_account_b - ) - return ElMessage.error("请上传银行卡信息"); + // if (!formData.qualification.id_card || !formData.qualification.id_card_b) + // return ElMessage.error("请上传身份证信息"); + // if ( + // !formData.qualification.bank_account || + // !formData.qualification.bank_account_b + // ) + // return ElMessage.error("请上传银行卡信息"); userAdd(formData).then(() => { ElMessage.success("添加成功"); router.back(); diff --git a/src/views/finance/balance_details.vue b/src/views/finance/balance_details.vue index f2f3f74..8c27249 100644 --- a/src/views/finance/balance_details.vue +++ b/src/views/finance/balance_details.vue @@ -120,7 +120,7 @@ - +
diff --git a/src/views/finance/component/people.vue b/src/views/finance/component/people.vue index 6667491..c7c64d6 100644 --- a/src/views/finance/component/people.vue +++ b/src/views/finance/component/people.vue @@ -14,9 +14,9 @@ >元 收益: + >余额: {{ - datas.income + datas.user_money }} diff --git a/src/views/task/calendar.vue b/src/views/task/calenda1r.vue similarity index 100% rename from src/views/task/calendar.vue rename to src/views/task/calenda1r.vue diff --git a/src/views/task/popTaskDetail.vue b/src/views/task/popTaskDetail.vue new file mode 100644 index 0000000..dd598a8 --- /dev/null +++ b/src/views/task/popTaskDetail.vue @@ -0,0 +1,93 @@ + + + + + \ No newline at end of file diff --git a/src/views/task/popTaskList.vue b/src/views/task/popTaskList.vue new file mode 100644 index 0000000..dd31e7f --- /dev/null +++ b/src/views/task/popTaskList.vue @@ -0,0 +1,113 @@ + + + + + \ No newline at end of file diff --git a/src/views/task/taskCalendar.vue b/src/views/task/taskCalendar.vue index 0cfd316..cc2f45f 100644 --- a/src/views/task/taskCalendar.vue +++ b/src/views/task/taskCalendar.vue @@ -13,11 +13,11 @@ 新增
--> - + > --> + + + + + - + + + + +