From 1a277c88a7a8b692723c629a8216bdaa2134f13a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E6=9B=B9=E7=A3=8A?= <45566618@qq.com>
Date: Fri, 5 Sep 2025 14:58:43 +0800
Subject: [PATCH] =?UTF-8?q?=E8=BF=90=E7=BB=B4=E5=B7=A5=E5=85=B7-=E5=85=A5?=
=?UTF-8?q?=E9=A9=BB=E5=92=A8=E8=AF=A2=E6=95=B0=E6=8D=AE=E6=B8=85=E9=99=A4?=
=?UTF-8?q?=E5=B7=A5=E5=85=B7?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../cleanAdvisory/cleanadvisory.api.ts | 26 +++
.../cleanAdvisory/cleanadvisory.data.ts | 83 ++++++++++
.../internaltool/cleanAdvisory/index.vue | 156 ++++++++++++++++++
3 files changed, 265 insertions(+)
create mode 100644 src/views/internaltool/cleanAdvisory/cleanadvisory.api.ts
create mode 100644 src/views/internaltool/cleanAdvisory/cleanadvisory.data.ts
create mode 100644 src/views/internaltool/cleanAdvisory/index.vue
diff --git a/src/views/internaltool/cleanAdvisory/cleanadvisory.api.ts b/src/views/internaltool/cleanAdvisory/cleanadvisory.api.ts
new file mode 100644
index 0000000..61e1217
--- /dev/null
+++ b/src/views/internaltool/cleanAdvisory/cleanadvisory.api.ts
@@ -0,0 +1,26 @@
+import { defHttp } from '/@/utils/http/axios';
+
+enum Api {
+
+ list = '/internaltool/cleanEmpAdvisory/list',
+ clean = '/internaltool/cleanEmpAdvisory/clean',
+ delete = '/internaltool/cleanEmpAdvisory/delete',
+
+}
+/**
+ * 列表接口
+ * @param params
+ */
+export const list = (params) => defHttp.get({ url: Api.list, params });
+
+export const dataClean = (params,handleSuccess) => {
+ return defHttp.post({url: Api.clean, params}, {joinParamsToUrl: true}).then(() => {
+ handleSuccess();
+ });
+}
+
+export const dataDelete = (params,handleSuccess) => {
+ return defHttp.post({url: Api.delete, params}, {joinParamsToUrl: true}).then(() => {
+ handleSuccess();
+ });
+}
diff --git a/src/views/internaltool/cleanAdvisory/cleanadvisory.data.ts b/src/views/internaltool/cleanAdvisory/cleanadvisory.data.ts
new file mode 100644
index 0000000..e479752
--- /dev/null
+++ b/src/views/internaltool/cleanAdvisory/cleanadvisory.data.ts
@@ -0,0 +1,83 @@
+import {BasicColumn} from '/@/components/Table';
+import {FormSchema} from '/@/components/Table';
+
+//列表数据
+export const columns: BasicColumn[] = [
+ {
+ title: '申请ID',
+ align: "center",
+ dataIndex: 'applyId',
+ ifShow: false
+ },
+ {
+ title: 'OPENID',
+ align: "center",
+ dataIndex: 'openId',
+ width: 220
+ },
+ {
+ title: '名称',
+ align: "center",
+ dataIndex: 'name',
+ width: 120
+ },
+ {
+ title: '电话',
+ align: "center",
+ dataIndex: 'tel',
+ width: 100
+ },
+ {
+ title: '咨询类型',
+ dataIndex: 'advisoryType',
+ width: 150,
+ customRender:({text})=>{
+ if(text == '1'){
+ return "家属";
+ }else if(text == '2'){
+ return "员工";
+ }else if(text == '3'){
+ return "公司";
+ }else{
+ return "其他";
+ }
+ },
+ },
+ {
+ title: '企业名称',
+ align: "center",
+ dataIndex: 'comName',
+ width: 240
+ },
+ {
+ title: '注册时间',
+ align: "center",
+ dataIndex: 'createTime',
+ width: 160
+ },
+ {
+ title: '申请时间',
+ align: "center",
+ dataIndex: 'updateTime',
+ width: 160
+ },
+];
+
+export const formSchema: FormSchema[] = [
+ {
+ label: '电话',
+ field: 'tel',
+ component: 'Input',
+ componentProps: {
+ placeholder: '请输入电话',
+ },
+ },
+ {
+ label: 'OPENID',
+ field: 'openId',
+ component: 'Input',
+ componentProps: {
+ placeholder: '请输入OPENID',
+ },
+ },
+];
diff --git a/src/views/internaltool/cleanAdvisory/index.vue b/src/views/internaltool/cleanAdvisory/index.vue
new file mode 100644
index 0000000..fe71237
--- /dev/null
+++ b/src/views/internaltool/cleanAdvisory/index.vue
@@ -0,0 +1,156 @@
+
+
+
+
+
+
+