From 4e8b044edc3b12b26d4e6b76e1f0eea00ce79d8c Mon Sep 17 00:00:00 2001 From: wsm <2746563060@侵权。> Date: Mon, 18 May 2026 15:46:03 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=E5=8E=9F=E6=9C=89=E6=B5=8B?= =?UTF-8?q?=E8=AF=95=E6=B5=81=E7=A8=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/dj/check/DjCheck.api.ts | 64 --- src/views/dj/check/DjCheck.data.ts | 170 -------- src/views/dj/check/DjCheckList.vue | 223 ---------- src/views/dj/check/components/DjCheckForm.vue | 70 ---- .../dj/check/components/DjCheckModal.vue | 97 ----- .../dj/demoMetting/DjDemoLifeMeeting.api.ts | 64 --- .../dj/demoMetting/DjDemoLifeMeeting.data.ts | 200 --------- .../dj/demoMetting/DjDemoLifeMeetingList.vue | 223 ---------- .../components/DjDemoLifeMeetingForm.vue | 70 ---- .../components/DjDemoLifeMeetingModal.vue | 99 ----- .../dj/peopleService/DjPeopleService.api.ts | 64 --- .../dj/peopleService/DjPeopleService.data.ts | 138 ------- .../dj/peopleService/DjPeopleServiceList.vue | 221 ---------- .../components/DjPeopleServiceForm.vue | 70 ---- .../components/DjPeopleServiceModal.vue | 99 ----- .../rectify/DjInspectionRectifyList.data.ts | 222 ---------- .../rectify/DjInspectionRectifyListList.vue | 387 ------------------ src/views/dj/tzMetting/DjMeetingRecord.api.ts | 63 --- .../dj/tzMetting/DjMeetingRecord.data.ts | 138 ------- .../dj/tzMetting/DjMeetingRecordList.vue | 217 ---------- .../components/DjMeetingRecordForm.vue | 70 ---- .../components/DjMeetingRecordModal.vue | 99 ----- 22 files changed, 3068 deletions(-) delete mode 100644 src/views/dj/check/DjCheck.api.ts delete mode 100644 src/views/dj/check/DjCheck.data.ts delete mode 100644 src/views/dj/check/DjCheckList.vue delete mode 100644 src/views/dj/check/components/DjCheckForm.vue delete mode 100644 src/views/dj/check/components/DjCheckModal.vue delete mode 100644 src/views/dj/demoMetting/DjDemoLifeMeeting.api.ts delete mode 100644 src/views/dj/demoMetting/DjDemoLifeMeeting.data.ts delete mode 100644 src/views/dj/demoMetting/DjDemoLifeMeetingList.vue delete mode 100644 src/views/dj/demoMetting/components/DjDemoLifeMeetingForm.vue delete mode 100644 src/views/dj/demoMetting/components/DjDemoLifeMeetingModal.vue delete mode 100644 src/views/dj/peopleService/DjPeopleService.api.ts delete mode 100644 src/views/dj/peopleService/DjPeopleService.data.ts delete mode 100644 src/views/dj/peopleService/DjPeopleServiceList.vue delete mode 100644 src/views/dj/peopleService/components/DjPeopleServiceForm.vue delete mode 100644 src/views/dj/peopleService/components/DjPeopleServiceModal.vue delete mode 100644 src/views/dj/rectify/DjInspectionRectifyList.data.ts delete mode 100644 src/views/dj/rectify/DjInspectionRectifyListList.vue delete mode 100644 src/views/dj/tzMetting/DjMeetingRecord.api.ts delete mode 100644 src/views/dj/tzMetting/DjMeetingRecord.data.ts delete mode 100644 src/views/dj/tzMetting/DjMeetingRecordList.vue delete mode 100644 src/views/dj/tzMetting/components/DjMeetingRecordForm.vue delete mode 100644 src/views/dj/tzMetting/components/DjMeetingRecordModal.vue diff --git a/src/views/dj/check/DjCheck.api.ts b/src/views/dj/check/DjCheck.api.ts deleted file mode 100644 index 278118c..0000000 --- a/src/views/dj/check/DjCheck.api.ts +++ /dev/null @@ -1,64 +0,0 @@ -import {defHttp} from '/@/utils/http/axios'; -import { useMessage } from "/@/hooks/web/useMessage"; - -const { createConfirm } = useMessage(); - -enum Api { - list = '/check/djCheck/list', - save='/check/djCheck/add', - edit='/check/djCheck/edit', - deleteOne = '/check/djCheck/delete', - deleteBatch = '/check/djCheck/deleteBatch', - importExcel = '/check/djCheck/importExcel', - exportXls = '/check/djCheck/exportXls', -} -/** - * 导出api - * @param params - */ -export const getExportUrl = Api.exportXls; -/** - * 导入api - */ -export const getImportUrl = Api.importExcel; -/** - * 列表接口 - * @param params - */ -export const list = (params) => - defHttp.get({url: Api.list, params}); - -/** - * 删除单个 - */ -export const deleteOne = (params,handleSuccess) => { - return defHttp.delete({url: Api.deleteOne, params}, {joinParamsToUrl: true}).then(() => { - handleSuccess(); - }); -} -/** - * 批量删除 - * @param params - */ -export const batchDelete = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除选中数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.delete({url: Api.deleteBatch, data: params}, {joinParamsToUrl: true}).then(() => { - handleSuccess(); - }); - } - }); -} -/** - * 保存或者更新 - * @param params - */ -export const saveOrUpdate = (params, isUpdate) => { - let url = isUpdate ? Api.edit : Api.save; - return defHttp.post({url: url, params}); -} diff --git a/src/views/dj/check/DjCheck.data.ts b/src/views/dj/check/DjCheck.data.ts deleted file mode 100644 index 82d1eaf..0000000 --- a/src/views/dj/check/DjCheck.data.ts +++ /dev/null @@ -1,170 +0,0 @@ -import { BasicColumn } from '/@/components/Table'; -import { FormSchema } from '/@/components/Table'; -import { rules } from '/@/utils/helper/validator'; -import { render } from '/@/utils/common/renderUtils'; -import { getWeekMonthQuarterYear } from '/@/utils'; -//列表数据 -export const columns: BasicColumn[] = [ - { - title: '序号', - align: 'center', - dataIndex: 'sortNo', - }, - { - title: '一级指标', - align: 'center', - dataIndex: 'primaryIndex', - }, - { - title: '评价要点', - align: 'center', - dataIndex: 'evalPoints', - }, - { - title: '评价内容', - align: 'center', - dataIndex: 'evalContent', - }, - { - title: '问题表现', - align: 'center', - dataIndex: 'problemManifestation', - }, - { - title: '整改措施', - align: 'center', - dataIndex: 'rectificationMeasures', - }, - { - title: '完成时限', - align: 'center', - dataIndex: 'completionDeadline', - customRender: ({ text }) => { - text = !text ? '' : text.length > 10 ? text.substr(0, 10) : text; - return text; - }, - }, - { - title: '责任部门', - align: 'center', - dataIndex: 'responsibleDept_dictText', - }, - { - title: '完成情况', - align: 'center', - dataIndex: 'completionStatus', - }, - { - title: '是否可发起', - width: 150, - dataIndex: 'isLaunchable_dictText', - }, -]; -//查询数据 -export const searchFormSchema: FormSchema[] = []; -//表单数据 -export const formSchema: FormSchema[] = [ - { - label: '序号', - field: 'sortNo', - component: 'InputNumber', - }, - { - label: '一级指标', - field: 'primaryIndex', - component: 'Input', - }, - { - label: '评价要点', - field: 'evalPoints', - component: 'Input', - }, - { - label: '评价内容', - field: 'evalContent', - component: 'Input', - }, - { - label: '问题表现', - field: 'problemManifestation', - component: 'Input', - }, - { - label: '整改措施', - field: 'rectificationMeasures', - component: 'Input', - }, - { - label: '完成时限', - field: 'completionDeadline', - component: 'DatePicker', - componentProps: { - valueFormat: 'YYYY-MM-DD', - }, - }, - { - label: '责任部门', - field: 'responsibleDept', - component: 'JSelectDept', - componentProps: ({ formActionType, formModel }) => { - return { - sync: false, - checkStrictly: true, - defaultExpandLevel: 2, - - onSelect: (options, values) => { - const { updateSchema } = formActionType; - //所属部门修改后更新负责部门下拉框数据 - updateSchema([ - { - field: 'departIds', - componentProps: { options }, - }, - ]); - //update-begin---author:wangshuai---date:2024-05-11---for:【issues/1222】用户编辑界面“所属部门”与“负责部门”联动出错整--- - if (!values) { - formModel.departIds = []; - return; - } - //update-end---author:wangshuai---date:2024-05-11---for:【issues/1222】用户编辑界面“所属部门”与“负责部门”联动出错整--- - //所属部门修改后更新负责部门数据 - formModel.departIds && (formModel.departIds = formModel.departIds.filter((item) => values.value.indexOf(item) > -1)); - }, - }; - }, - }, - { - label: '完成情况', - field: 'completionStatus', - component: 'Input', - }, - // TODO 主键隐藏字段,目前写死为ID - { - label: '', - field: 'id', - component: 'Input', - show: false, - }, -]; - -// 高级查询数据 -export const superQuerySchema = { - sortNo: { title: '序号', order: 0, view: 'number', type: 'number' }, - primaryIndex: { title: '一级指标', order: 1, view: 'text', type: 'string' }, - evalPoints: { title: '评价要点', order: 2, view: 'text', type: 'string' }, - evalContent: { title: '评价内容', order: 3, view: 'text', type: 'string' }, - problemManifestation: { title: '问题表现', order: 4, view: 'text', type: 'string' }, - rectificationMeasures: { title: '整改措施', order: 5, view: 'text', type: 'string' }, - completionDeadline: { title: '完成时限', order: 6, view: 'date', type: 'string' }, - responsibleDept: { title: '责任部门', order: 7, view: 'text', type: 'string' }, - completionStatus: { title: '完成情况', order: 8, view: 'text', type: 'string' }, -}; - -/** - * 流程表单调用这个方法获取formSchema - * @param param - */ -export function getBpmFormSchema(_formData): FormSchema[] { - // 默认和原始表单保持一致 如果流程中配置了权限数据,这里需要单独处理formSchema - return formSchema; -} diff --git a/src/views/dj/check/DjCheckList.vue b/src/views/dj/check/DjCheckList.vue deleted file mode 100644 index 41a8005..0000000 --- a/src/views/dj/check/DjCheckList.vue +++ /dev/null @@ -1,223 +0,0 @@ - - - - - diff --git a/src/views/dj/check/components/DjCheckForm.vue b/src/views/dj/check/components/DjCheckForm.vue deleted file mode 100644 index 1027728..0000000 --- a/src/views/dj/check/components/DjCheckForm.vue +++ /dev/null @@ -1,70 +0,0 @@ - - - diff --git a/src/views/dj/check/components/DjCheckModal.vue b/src/views/dj/check/components/DjCheckModal.vue deleted file mode 100644 index 805e186..0000000 --- a/src/views/dj/check/components/DjCheckModal.vue +++ /dev/null @@ -1,97 +0,0 @@ - - - - - diff --git a/src/views/dj/demoMetting/DjDemoLifeMeeting.api.ts b/src/views/dj/demoMetting/DjDemoLifeMeeting.api.ts deleted file mode 100644 index 0059bb5..0000000 --- a/src/views/dj/demoMetting/DjDemoLifeMeeting.api.ts +++ /dev/null @@ -1,64 +0,0 @@ -import {defHttp} from '/@/utils/http/axios'; -import { useMessage } from "/@/hooks/web/useMessage"; - -const { createConfirm } = useMessage(); - -enum Api { - list = '/demoMetting/djDemoLifeMeeting/list', - save='/demoMetting/djDemoLifeMeeting/add', - edit='/demoMetting/djDemoLifeMeeting/edit', - deleteOne = '/demoMetting/djDemoLifeMeeting/delete', - deleteBatch = '/demoMetting/djDemoLifeMeeting/deleteBatch', - importExcel = '/demoMetting/djDemoLifeMeeting/importExcel', - exportXls = '/demoMetting/djDemoLifeMeeting/exportXls', -} -/** - * 导出api - * @param params - */ -export const getExportUrl = Api.exportXls; -/** - * 导入api - */ -export const getImportUrl = Api.importExcel; -/** - * 列表接口 - * @param params - */ -export const list = (params) => - defHttp.get({url: Api.list, params}); - -/** - * 删除单个 - */ -export const deleteOne = (params,handleSuccess) => { - return defHttp.delete({url: Api.deleteOne, params}, {joinParamsToUrl: true}).then(() => { - handleSuccess(); - }); -} -/** - * 批量删除 - * @param params - */ -export const batchDelete = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除选中数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.delete({url: Api.deleteBatch, data: params}, {joinParamsToUrl: true}).then(() => { - handleSuccess(); - }); - } - }); -} -/** - * 保存或者更新 - * @param params - */ -export const saveOrUpdate = (params, isUpdate) => { - let url = isUpdate ? Api.edit : Api.save; - return defHttp.post({url: url, params}); -} diff --git a/src/views/dj/demoMetting/DjDemoLifeMeeting.data.ts b/src/views/dj/demoMetting/DjDemoLifeMeeting.data.ts deleted file mode 100644 index 2b8b5cb..0000000 --- a/src/views/dj/demoMetting/DjDemoLifeMeeting.data.ts +++ /dev/null @@ -1,200 +0,0 @@ -import { BasicColumn } from '/@/components/Table'; -import { FormSchema } from '/@/components/Table'; -import { rules } from '/@/utils/helper/validator'; -import { render } from '/@/utils/common/renderUtils'; -import { getWeekMonthQuarterYear } from '/@/utils'; -//列表数据 -export const columns: BasicColumn[] = [ - { - title: '序号', - align: 'center', - dataIndex: 'sortNo', - }, - { - title: '问题分类', - align: 'center', - dataIndex: 'problemType', - }, - { - title: '问题清单', - align: 'center', - dataIndex: 'problemList', - }, - { - title: '问题表现', - align: 'center', - dataIndex: 'problemManifestation', - }, - { - title: '责任领导', - align: 'center', - dataIndex: 'responsibleLeader', - }, - { - title: '责任部门', - width: 150, - dataIndex: 'responsibleDept_dictText', - }, - { - title: '整改措施', - align: 'center', - dataIndex: 'rectificationMeasures', - }, - { - title: '完成时限', - align: 'center', - dataIndex: 'completionDeadline', - customRender: ({ text }) => { - text = !text ? '' : text.length > 10 ? text.substr(0, 10) : text; - return text; - }, - }, - { - title: '完成时间', - align: 'center', - dataIndex: 'completionDate', - customRender: ({ text }) => { - text = !text ? '' : text.length > 10 ? text.substr(0, 10) : text; - return text; - }, - }, - { - title: '输出成果', - align: 'center', - dataIndex: 'outputResults', - }, - { - title: '完成情况', - align: 'center', - dataIndex: 'completionStatus', - }, - { - title: '是否可发起', - align: 'center', - width: 150, - dataIndex: 'isLaunchable_dictText', - }, -]; -//查询数据 -export const searchFormSchema: FormSchema[] = []; -//表单数据 -export const formSchema: FormSchema[] = [ - { - label: '序号', - field: 'sortNo', - component: 'InputNumber', - }, - { - label: '问题分类', - field: 'problemType', - component: 'InputNumber', - }, - { - label: '问题清单', - field: 'problemList', - component: 'Input', - }, - { - label: '问题表现', - field: 'problemManifestation', - component: 'Input', - }, - { - label: '责任领导', - field: 'responsibleLeader', - component: 'Input', - }, - { - label: '责任部门', - field: 'responsibleDept', - component: 'JSelectDept', - componentProps: ({ formActionType, formModel }) => { - return { - sync: false, - checkStrictly: true, - defaultExpandLevel: 2, - - onSelect: (options, values) => { - const { updateSchema } = formActionType; - //所属部门修改后更新负责部门下拉框数据 - updateSchema([ - { - field: 'departIds', - componentProps: { options }, - }, - ]); - //update-begin---author:wangshuai---date:2024-05-11---for:【issues/1222】用户编辑界面“所属部门”与“负责部门”联动出错整--- - if (!values) { - formModel.departIds = []; - return; - } - //update-end---author:wangshuai---date:2024-05-11---for:【issues/1222】用户编辑界面“所属部门”与“负责部门”联动出错整--- - //所属部门修改后更新负责部门数据 - formModel.departIds && (formModel.departIds = formModel.departIds.filter((item) => values.value.indexOf(item) > -1)); - }, - }; - }, - }, - { - label: '整改措施', - field: 'rectificationMeasures', - component: 'Input', - }, - { - label: '完成时限', - field: 'completionDeadline', - component: 'DatePicker', - componentProps: { - valueFormat: 'YYYY-MM-DD', - }, - }, - { - label: '完成时间', - field: 'completionDate', - component: 'DatePicker', - componentProps: { - valueFormat: 'YYYY-MM-DD', - }, - }, - { - label: '输出成果', - field: 'outputResults', - component: 'Input', - }, - { - label: '完成情况', - field: 'completionStatus', - component: 'Input', - }, - // TODO 主键隐藏字段,目前写死为ID - { - label: '', - field: 'id', - component: 'Input', - show: false, - }, -]; - -// 高级查询数据 -export const superQuerySchema = { - sortNo: { title: '序号', order: 0, view: 'number', type: 'number' }, - problemType: { title: '问题分类', order: 1, view: 'number', type: 'number' }, - problemList: { title: '问题清单', order: 2, view: 'text', type: 'string' }, - problemManifestation: { title: '问题表现', order: 3, view: 'text', type: 'string' }, - responsibleLeader: { title: '责任领导', order: 4, view: 'text', type: 'string' }, - responsibleDept: { title: '责任部门', order: 5, view: 'text', type: 'string' }, - rectificationMeasures: { title: '整改措施', order: 6, view: 'text', type: 'string' }, - completionDeadline: { title: '完成时限', order: 7, view: 'date', type: 'string' }, - completionDate: { title: '完成时间', order: 8, view: 'date', type: 'string' }, - outputResults: { title: '输出成果', order: 9, view: 'text', type: 'string' }, - completionStatus: { title: '完成情况', order: 10, view: 'text', type: 'string' }, -}; - -/** - * 流程表单调用这个方法获取formSchema - * @param param - */ -export function getBpmFormSchema(_formData): FormSchema[] { - // 默认和原始表单保持一致 如果流程中配置了权限数据,这里需要单独处理formSchema - return formSchema; -} diff --git a/src/views/dj/demoMetting/DjDemoLifeMeetingList.vue b/src/views/dj/demoMetting/DjDemoLifeMeetingList.vue deleted file mode 100644 index 16d6e22..0000000 --- a/src/views/dj/demoMetting/DjDemoLifeMeetingList.vue +++ /dev/null @@ -1,223 +0,0 @@ - - - - - diff --git a/src/views/dj/demoMetting/components/DjDemoLifeMeetingForm.vue b/src/views/dj/demoMetting/components/DjDemoLifeMeetingForm.vue deleted file mode 100644 index a3c7a03..0000000 --- a/src/views/dj/demoMetting/components/DjDemoLifeMeetingForm.vue +++ /dev/null @@ -1,70 +0,0 @@ - - - diff --git a/src/views/dj/demoMetting/components/DjDemoLifeMeetingModal.vue b/src/views/dj/demoMetting/components/DjDemoLifeMeetingModal.vue deleted file mode 100644 index b2ebf5d..0000000 --- a/src/views/dj/demoMetting/components/DjDemoLifeMeetingModal.vue +++ /dev/null @@ -1,99 +0,0 @@ - - - - - diff --git a/src/views/dj/peopleService/DjPeopleService.api.ts b/src/views/dj/peopleService/DjPeopleService.api.ts deleted file mode 100644 index e543c7e..0000000 --- a/src/views/dj/peopleService/DjPeopleService.api.ts +++ /dev/null @@ -1,64 +0,0 @@ -import {defHttp} from '/@/utils/http/axios'; -import { useMessage } from "/@/hooks/web/useMessage"; - -const { createConfirm } = useMessage(); - -enum Api { - list = '/peopleService/djPeopleService/list', - save='/peopleService/djPeopleService/add', - edit='/peopleService/djPeopleService/edit', - deleteOne = '/peopleService/djPeopleService/delete', - deleteBatch = '/peopleService/djPeopleService/deleteBatch', - importExcel = '/peopleService/djPeopleService/importExcel', - exportXls = '/peopleService/djPeopleService/exportXls', -} -/** - * 导出api - * @param params - */ -export const getExportUrl = Api.exportXls; -/** - * 导入api - */ -export const getImportUrl = Api.importExcel; -/** - * 列表接口 - * @param params - */ -export const list = (params) => - defHttp.get({url: Api.list, params}); - -/** - * 删除单个 - */ -export const deleteOne = (params,handleSuccess) => { - return defHttp.delete({url: Api.deleteOne, params}, {joinParamsToUrl: true}).then(() => { - handleSuccess(); - }); -} -/** - * 批量删除 - * @param params - */ -export const batchDelete = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除选中数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.delete({url: Api.deleteBatch, data: params}, {joinParamsToUrl: true}).then(() => { - handleSuccess(); - }); - } - }); -} -/** - * 保存或者更新 - * @param params - */ -export const saveOrUpdate = (params, isUpdate) => { - let url = isUpdate ? Api.edit : Api.save; - return defHttp.post({url: url, params}); -} diff --git a/src/views/dj/peopleService/DjPeopleService.data.ts b/src/views/dj/peopleService/DjPeopleService.data.ts deleted file mode 100644 index 5e89c3b..0000000 --- a/src/views/dj/peopleService/DjPeopleService.data.ts +++ /dev/null @@ -1,138 +0,0 @@ -import { BasicColumn } from '/@/components/Table'; -import { FormSchema } from '/@/components/Table'; -import { rules } from '/@/utils/helper/validator'; -import { render } from '/@/utils/common/renderUtils'; -import { getWeekMonthQuarterYear } from '/@/utils'; -//列表数据 -export const columns: BasicColumn[] = [ - { - title: '序号', - align: 'center', - dataIndex: 'sortNo', - }, - { - title: '问题分类', - align: 'center', - dataIndex: 'problemType', - }, - { - title: '具体措施', - align: 'center', - dataIndex: 'specificMeasure', - }, - { - title: '完成时限', - align: 'center', - dataIndex: 'completionDeadline', - customRender: ({ text }) => { - text = !text ? '' : text.length > 10 ? text.substr(0, 10) : text; - return text; - }, - }, - { - title: '责任部门', - align: 'center', - dataIndex: 'responsibleDept_dictText', - }, - { - title: '完成情况', - align: 'center', - dataIndex: 'completionStatus', - }, - { - title: '是否可发起', - align: 'center', - width: 150, - dataIndex: 'isLaunchable_dictText', - }, -]; -//查询数据 -export const searchFormSchema: FormSchema[] = []; -//表单数据 -export const formSchema: FormSchema[] = [ - { - label: '序号', - field: 'sortNo', - component: 'InputNumber', - }, - { - label: '问题分类', - field: 'problemType', - component: 'Input', - }, - { - label: '具体措施', - field: 'specificMeasure', - component: 'Input', - }, - { - label: '完成时限', - field: 'completionDeadline', - component: 'DatePicker', - componentProps: { - valueFormat: 'YYYY-MM-DD', - }, - }, - { - label: '责任部门', - field: 'responsibleDept', - component: 'JSelectDept', - componentProps: ({ formActionType, formModel }) => { - return { - sync: false, - checkStrictly: true, - defaultExpandLevel: 2, - - onSelect: (options, values) => { - const { updateSchema } = formActionType; - //所属部门修改后更新负责部门下拉框数据 - updateSchema([ - { - field: 'departIds', - componentProps: { options }, - }, - ]); - //update-begin---author:wangshuai---date:2024-05-11---for:【issues/1222】用户编辑界面“所属部门”与“负责部门”联动出错整--- - if (!values) { - formModel.departIds = []; - return; - } - //update-end---author:wangshuai---date:2024-05-11---for:【issues/1222】用户编辑界面“所属部门”与“负责部门”联动出错整--- - //所属部门修改后更新负责部门数据 - formModel.departIds && (formModel.departIds = formModel.departIds.filter((item) => values.value.indexOf(item) > -1)); - }, - }; - }, - }, - { - label: '完成情况', - field: 'completionStatus', - component: 'Input', - }, - // TODO 主键隐藏字段,目前写死为ID - { - label: '', - field: 'id', - component: 'Input', - show: false, - }, -]; - -// 高级查询数据 -export const superQuerySchema = { - sortNo: { title: '序号', order: 0, view: 'number', type: 'number' }, - problemType: { title: '问题分类', order: 1, view: 'text', type: 'string' }, - specificMeasure: { title: '具体措施', order: 2, view: 'text', type: 'string' }, - completionDeadline: { title: '完成时限', order: 3, view: 'date', type: 'string' }, - responsibleDept: { title: '责任部门', order: 4, view: 'text', type: 'string' }, - completionStatus: { title: '完成情况', order: 5, view: 'text', type: 'string' }, -}; - -/** - * 流程表单调用这个方法获取formSchema - * @param param - */ -export function getBpmFormSchema(_formData): FormSchema[] { - // 默认和原始表单保持一致 如果流程中配置了权限数据,这里需要单独处理formSchema - return formSchema; -} diff --git a/src/views/dj/peopleService/DjPeopleServiceList.vue b/src/views/dj/peopleService/DjPeopleServiceList.vue deleted file mode 100644 index ff8d936..0000000 --- a/src/views/dj/peopleService/DjPeopleServiceList.vue +++ /dev/null @@ -1,221 +0,0 @@ - - - - - diff --git a/src/views/dj/peopleService/components/DjPeopleServiceForm.vue b/src/views/dj/peopleService/components/DjPeopleServiceForm.vue deleted file mode 100644 index 908c955..0000000 --- a/src/views/dj/peopleService/components/DjPeopleServiceForm.vue +++ /dev/null @@ -1,70 +0,0 @@ - - - diff --git a/src/views/dj/peopleService/components/DjPeopleServiceModal.vue b/src/views/dj/peopleService/components/DjPeopleServiceModal.vue deleted file mode 100644 index a1be314..0000000 --- a/src/views/dj/peopleService/components/DjPeopleServiceModal.vue +++ /dev/null @@ -1,99 +0,0 @@ - - - - - diff --git a/src/views/dj/rectify/DjInspectionRectifyList.data.ts b/src/views/dj/rectify/DjInspectionRectifyList.data.ts deleted file mode 100644 index e5f612f..0000000 --- a/src/views/dj/rectify/DjInspectionRectifyList.data.ts +++ /dev/null @@ -1,222 +0,0 @@ -import { BasicColumn } from '/@/components/Table'; -import { FormSchema } from '/@/components/Table'; -import { rules } from '/@/utils/helper/validator'; -import { render } from '/@/utils/common/renderUtils'; -import { getWeekMonthQuarterYear } from '/@/utils'; -//列表数据 -export const columns: BasicColumn[] = [ - { - title: '问题名称', - align: 'left', - dataIndex: 'issueName', - }, - { - title: '问题分类', - align: 'center', - dataIndex: 'problemType', - }, - { - title: '面上问题', - align: 'center', - dataIndex: 'msIssue', - }, - { - title: '具体问题', - align: 'center', - dataIndex: 'specificIssue', - }, - { - title: '整改措施', - align: 'center', - dataIndex: 'rectificationMeasures', - }, - { - title: '完成时限', - align: 'center', - dataIndex: 'completionDeadline', - customRender: ({ text }) => { - text = !text ? '' : text.length > 10 ? text.substr(0, 10) : text; - return text; - }, - }, - { - title: '责任部门', - align: 'center', - dataIndex: 'responsibleDept_dictText', - }, - { - title: '分管所领导', - align: 'center', - dataIndex: 'supervisingLeader', - }, - { - title: '标志性成果', - align: 'center', - dataIndex: 'landmarkAchievement', - }, - { - title: '完成时间', - align: 'center', - dataIndex: 'completionDate', - customRender: ({ text }) => { - text = !text ? '' : text.length > 10 ? text.substr(0, 10) : text; - return text; - }, - }, - { - title: '监督意见', - align: 'center', - dataIndex: 'supervisionOpinion', - }, - { - title: '措施数量', - align: 'center', - dataIndex: 'measureCount', - }, - { - title: '是否可发起', - align: 'center', - width: 150, - dataIndex: 'isLaunchable_dictText', - }, -]; -//查询数据 -export const searchFormSchema: FormSchema[] = []; -//表单数据 -export const formSchema: FormSchema[] = [ - { - label: '父级节点', - field: 'pid', - component: 'JTreeSelect', - componentProps: { - dict: 'dj_inspection_rectify_list,issue_name,id', - pidField: 'pid', - pidValue: '0', - hasChildField: 'has_child', - }, - }, - { - label: '问题名称', - field: 'issueName', - component: 'Input', - }, - { - label: '问题分类', - field: 'problemType', - component: 'InputNumber', - }, - { - label: '面上问题', - field: 'msIssue', - component: 'Input', - }, - { - label: '具体问题', - field: 'specificIssue', - component: 'Input', - }, - { - label: '整改措施', - field: 'rectificationMeasures', - component: 'Input', - }, - { - label: '完成时限', - field: 'completionDeadline', - component: 'DatePicker', - componentProps: { - valueFormat: 'YYYY-MM-DD', - }, - }, - { - label: '责任部门', - field: 'responsibleDept', - component: 'JSelectDept', - componentProps: ({ formActionType, formModel }) => { - return { - sync: false, - checkStrictly: true, - defaultExpandLevel: 2, - - onSelect: (options, values) => { - const { updateSchema } = formActionType; - //所属部门修改后更新负责部门下拉框数据 - updateSchema([ - { - field: 'departIds', - componentProps: { options }, - }, - ]); - //update-begin---author:wangshuai---date:2024-05-11---for:【issues/1222】用户编辑界面“所属部门”与“负责部门”联动出错整--- - if (!values) { - formModel.departIds = []; - return; - } - //update-end---author:wangshuai---date:2024-05-11---for:【issues/1222】用户编辑界面“所属部门”与“负责部门”联动出错整--- - //所属部门修改后更新负责部门数据 - formModel.departIds && (formModel.departIds = formModel.departIds.filter((item) => values.value.indexOf(item) > -1)); - }, - }; - }, - }, - { - label: '分管所领导', - field: 'supervisingLeader', - component: 'Input', - }, - { - label: '标志性成果', - field: 'landmarkAchievement', - component: 'Input', - }, - { - label: '完成时间', - field: 'completionDate', - component: 'DatePicker', - componentProps: { - valueFormat: 'YYYY-MM-DD', - }, - }, - { - label: '监督意见', - field: 'supervisionOpinion', - component: 'Input', - }, - { - label: '措施数量', - field: 'measureCount', - component: 'InputNumber', - }, - // TODO 主键隐藏字段,目前写死为ID - { - label: '', - field: 'id', - component: 'Input', - show: false, - }, -]; - -// 高级查询数据 -export const superQuerySchema = { - issueName: { title: '问题名称', order: 1, view: 'text', type: 'string' }, - problemType: { title: '问题分类', order: 2, view: 'number', type: 'number' }, - msIssue: { title: '面上问题', order: 3, view: 'text', type: 'string' }, - specificIssue: { title: '具体问题', order: 4, view: 'text', type: 'string' }, - rectificationMeasures: { title: '整改措施', order: 5, view: 'text', type: 'string' }, - completionDeadline: { title: '完成时限', order: 6, view: 'date', type: 'string' }, - responsibleDept: { title: '责任部门', order: 7, view: 'text', type: 'string' }, - supervisingLeader: { title: '分管所领导', order: 8, view: 'text', type: 'string' }, - landmarkAchievement: { title: '标志性成果', order: 9, view: 'text', type: 'string' }, - completionDate: { title: '完成时间', order: 10, view: 'date', type: 'string' }, - supervisionOpinion: { title: '监督意见', order: 11, view: 'text', type: 'string' }, - measureCount: { title: '措施数量', order: 12, view: 'number', type: 'number' }, -}; - -/** - * 流程表单调用这个方法获取formSchema - * @param param - */ -export function getBpmFormSchema(_formData): FormSchema[] { - // 默认和原始表单保持一致 如果流程中配置了权限数据,这里需要单独处理formSchema - return formSchema; -} diff --git a/src/views/dj/rectify/DjInspectionRectifyListList.vue b/src/views/dj/rectify/DjInspectionRectifyListList.vue deleted file mode 100644 index 134b20e..0000000 --- a/src/views/dj/rectify/DjInspectionRectifyListList.vue +++ /dev/null @@ -1,387 +0,0 @@ - - - - - diff --git a/src/views/dj/tzMetting/DjMeetingRecord.api.ts b/src/views/dj/tzMetting/DjMeetingRecord.api.ts deleted file mode 100644 index cb8205c..0000000 --- a/src/views/dj/tzMetting/DjMeetingRecord.api.ts +++ /dev/null @@ -1,63 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -import { useMessage } from '/@/hooks/web/useMessage'; - -const { createConfirm } = useMessage(); - -enum Api { - list = '/tzMetting/djMeetingRecord/list', - save = '/tzMetting/djMeetingRecord/add', - edit = '/tzMetting/djMeetingRecord/edit', - deleteOne = '/tzMetting/djMeetingRecord/delete', - deleteBatch = '/tzMetting/djMeetingRecord/deleteBatch', - importExcel = '/tzMetting/djMeetingRecord/importExcel', - exportXls = '/tzMetting/djMeetingRecord/exportXls', -} -/** - * 导出api - * @param params - */ -export const getExportUrl = Api.exportXls; -/** - * 导入api - */ -export const getImportUrl = Api.importExcel; -/** - * 列表接口 - * @param params - */ -export const list = (params) => defHttp.get({ url: Api.list, params }); - -/** - * 删除单个 - */ -export const deleteOne = (params, handleSuccess) => { - return defHttp.delete({ url: Api.deleteOne, params }, { joinParamsToUrl: true }).then(() => { - handleSuccess(); - }); -}; -/** - * 批量删除 - * @param params - */ -export const batchDelete = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除选中数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.delete({ url: Api.deleteBatch, data: params }, { joinParamsToUrl: true }).then(() => { - handleSuccess(); - }); - }, - }); -}; -/** - * 保存或者更新 - * @param params - */ -export const saveOrUpdate = (params, isUpdate) => { - let url = isUpdate ? Api.edit : Api.save; - return defHttp.post({ url: url, params }); -}; diff --git a/src/views/dj/tzMetting/DjMeetingRecord.data.ts b/src/views/dj/tzMetting/DjMeetingRecord.data.ts deleted file mode 100644 index 7816ab6..0000000 --- a/src/views/dj/tzMetting/DjMeetingRecord.data.ts +++ /dev/null @@ -1,138 +0,0 @@ -import { BasicColumn } from '/@/components/Table'; -import { FormSchema } from '/@/components/Table'; -import { rules } from '/@/utils/helper/validator'; -import { render } from '/@/utils/common/renderUtils'; -import { getWeekMonthQuarterYear } from '/@/utils'; -//列表数据 -export const columns: BasicColumn[] = [ - { - title: '序号', - align: 'center', - dataIndex: 'sortNo', - }, - { - title: '问题分类', - align: 'center', - dataIndex: 'problemType', - }, - { - title: '具体措施', - align: 'center', - dataIndex: 'specificMeasure', - }, - { - title: '完成时限', - align: 'center', - dataIndex: 'completionDeadline', - customRender: ({ text }) => { - text = !text ? '' : text.length > 10 ? text.substr(0, 10) : text; - return text; - }, - }, - { - title: '责任部门', - align: 'center', - dataIndex: 'responsibleDept_dictText', - }, - { - title: '完成情况', - align: 'center', - dataIndex: 'completionStatus', - }, - { - title: '是否可发起', - align: 'center', - width: 150, - dataIndex: 'isLaunchable_dictText', - }, -]; -//查询数据 -export const searchFormSchema: FormSchema[] = []; -//表单数据 -export const formSchema: FormSchema[] = [ - { - label: '序号', - field: 'sortNo', - component: 'InputNumber', - }, - { - label: '问题分类', - field: 'problemType', - component: 'InputNumber', - }, - { - label: '具体措施', - field: 'specificMeasure', - component: 'Input', - }, - { - label: '完成时限', - field: 'completionDeadline', - component: 'DatePicker', - componentProps: { - valueFormat: 'YYYY-MM-DD', - }, - }, - { - label: '责任部门', - field: 'responsibleDept', - component: 'JSelectDept', - componentProps: ({ formActionType, formModel }) => { - return { - sync: false, - checkStrictly: true, - defaultExpandLevel: 2, - - onSelect: (options, values) => { - const { updateSchema } = formActionType; - //所属部门修改后更新负责部门下拉框数据 - updateSchema([ - { - field: 'departIds', - componentProps: { options }, - }, - ]); - //update-begin---author:wangshuai---date:2024-05-11---for:【issues/1222】用户编辑界面“所属部门”与“负责部门”联动出错整--- - if (!values) { - formModel.departIds = []; - return; - } - //update-end---author:wangshuai---date:2024-05-11---for:【issues/1222】用户编辑界面“所属部门”与“负责部门”联动出错整--- - //所属部门修改后更新负责部门数据 - formModel.departIds && (formModel.departIds = formModel.departIds.filter((item) => values.value.indexOf(item) > -1)); - }, - }; - }, - }, - { - label: '完成情况', - field: 'completionStatus', - component: 'Input', - }, - // TODO 主键隐藏字段,目前写死为ID - { - label: '', - field: 'id', - component: 'Input', - show: false, - }, -]; - -// 高级查询数据 -export const superQuerySchema = { - sortNo: { title: '序号', order: 0, view: 'number', type: 'number' }, - problemType: { title: '问题分类', order: 1, view: 'number', type: 'number' }, - specificMeasure: { title: '具体措施', order: 2, view: 'text', type: 'string' }, - completionDeadline: { title: '完成时限', order: 3, view: 'date', type: 'string' }, - responsibleDept: { title: '责任部门', order: 4, view: 'text', type: 'string' }, - completionStatus: { title: '完成情况', order: 5, view: 'text', type: 'string' }, -}; - -/** - * 流程表单调用这个方法获取formSchema - * @param param - */ -export function getBpmFormSchema(_formData): FormSchema[] { - // 默认和原始表单保持一致 如果流程中配置了权限数据,这里需要单独处理formSchema - return formSchema; -} diff --git a/src/views/dj/tzMetting/DjMeetingRecordList.vue b/src/views/dj/tzMetting/DjMeetingRecordList.vue deleted file mode 100644 index f059263..0000000 --- a/src/views/dj/tzMetting/DjMeetingRecordList.vue +++ /dev/null @@ -1,217 +0,0 @@ - - - - - diff --git a/src/views/dj/tzMetting/components/DjMeetingRecordForm.vue b/src/views/dj/tzMetting/components/DjMeetingRecordForm.vue deleted file mode 100644 index 7599135..0000000 --- a/src/views/dj/tzMetting/components/DjMeetingRecordForm.vue +++ /dev/null @@ -1,70 +0,0 @@ - - - diff --git a/src/views/dj/tzMetting/components/DjMeetingRecordModal.vue b/src/views/dj/tzMetting/components/DjMeetingRecordModal.vue deleted file mode 100644 index 9b70649..0000000 --- a/src/views/dj/tzMetting/components/DjMeetingRecordModal.vue +++ /dev/null @@ -1,99 +0,0 @@ - - - - -