diff --git a/src/views/pwl/pwlProject/components/components/FileModal.vue b/src/views/pwl/pwlProject/components/components/FileModal.vue new file mode 100644 index 0000000..fda8315 --- /dev/null +++ b/src/views/pwl/pwlProject/components/components/FileModal.vue @@ -0,0 +1,332 @@ + + + diff --git a/src/views/pwl/pwlProject/components/components/TableSwitcher.vue b/src/views/pwl/pwlProject/components/components/TableSwitcher.vue new file mode 100644 index 0000000..f077727 --- /dev/null +++ b/src/views/pwl/pwlProject/components/components/TableSwitcher.vue @@ -0,0 +1,35 @@ + + + + + diff --git a/src/views/pwl/pwlProject/components/data/columns.ts b/src/views/pwl/pwlProject/components/data/columns.ts new file mode 100644 index 0000000..0f2bfd3 --- /dev/null +++ b/src/views/pwl/pwlProject/components/data/columns.ts @@ -0,0 +1,54 @@ +export default [ + { + title: '序号', + dataIndex: 'index', + key: 'index', + width: 80, + align: 'center' + }, + { + title: '重大经济决策事项', + dataIndex: 'name', + key: 'name' + }, + { + title: '会议时间', + dataIndex: 'content', + key: 'content', + width: 120 + }, + { + title: '决策事项金额', + dataIndex: 'amount', + key: 'amount', + width: 120 + }, + { + title: '程序程序', + dataIndex: 'progress', + key: 'progress', + width: 300 + }, + { + title: '执行情况(是/否)', + dataIndex: 'done', + key: 'done' + }, + { + title: '执行效果(是否实现决策目标)', + children: [ + { + title: '好', + dataIndex: 'goods' + }, + { + title: '一般', + dataIndex: 'normal' + }, + { + title: '差', + dataIndex: 'bad' + } + ] + } +]; diff --git a/src/views/pwl/pwlProject/components/data/funcs.ts b/src/views/pwl/pwlProject/components/data/funcs.ts new file mode 100644 index 0000000..e481600 --- /dev/null +++ b/src/views/pwl/pwlProject/components/data/funcs.ts @@ -0,0 +1,97 @@ +import navigationItems from '@/views/pwl/pwlProject/components/data/navigationItems'; + +export const scrollToSection = (index: number) => { + const element = document.getElementById(`section-${index}`); + if (element) { + element.scrollIntoView({ + behavior: 'smooth', + block: 'start' + }); + } +}; + +export const getScrollContainer = () => { + return document.querySelector('.ant-modal-body'); +}; + + +/* 监听滚动位置更新当前章节 */ +export const handleScroll = () => { + const sections = navigationItems.map((_, index) => + document.getElementById(`section-${index}`) + ); + + const scrollContainer = getScrollContainer(); + if (!scrollContainer) return; + + const containerTop = scrollContainer.getBoundingClientRect().top; + + for (let i = sections.length - 1; i >= 0; i--) { + const section = sections[i]; + if (section) { + const sectionTop = section.getBoundingClientRect().top - containerTop; + if (sectionTop <= 100) { + // 100px 的偏移量 + currentSection.value = i; + break; + } + } + } +}; + + +/* 新增:构建导出数据的公共方法 */ +export const buildExportData = () => { + const exportData: any = { + from00: form.code, + from10: navigationItems[0].content, + from20: navigationItems[1].content, + from30: navigationItems[2].content + }; + + // 被审计单位基本情况 + const basicInfoSection: any = navigationItems[3]; + if (basicInfoSection?.children) { + exportData.from41 = basicInfoSection.children[0].content; + exportData.from42 = basicInfoSection.children[1].content; + exportData.from43 = basicInfoSection.children[2].content; + exportData.from44 = [basicInfoSection.children[3].content]; + exportData.from45 = basicInfoSection.children[4].content; + } + + // 审计内容和重点及审计方法 + const auditContentSection: any = navigationItems[4]; + if (auditContentSection?.children) { + exportData.from51 = auditContentSection.children[0].content; + exportData.from52 = auditContentSection.children[1].content; + exportData.from53 = auditContentSection.children[2].content; + exportData.from54 = auditContentSection.children[3].content; + exportData.from55 = auditContentSection.children[4].content; + exportData.from56 = auditContentSection.children[5].content; + exportData.from57 = auditContentSection.children[6].content; + exportData.from58 = auditContentSection.children[7].content; + } + + // 重要风险的识别及应对 + const riskSection: any = navigationItems[5]; + if (riskSection?.children) { + exportData.from61 = riskSection.children[0].content; + exportData.from62 = riskSection.children[1].content; + } + + // 其他部分 + exportData.from70 = navigationItems[6].content; + exportData.from80 = navigationItems[7].content; + exportData.from90 = navigationItems[8].content; + + return exportData; +}; + +export const hasContent = (section: any) => { + if (!section) return false; + + if (section.children) { + return section.children.some((child) => child.content?.trim()); + } + return !!section.content?.trim(); +}; diff --git a/src/views/pwl/pwlProject/components/data/navigationItems.ts b/src/views/pwl/pwlProject/components/data/navigationItems.ts new file mode 100644 index 0000000..98251e0 --- /dev/null +++ b/src/views/pwl/pwlProject/components/data/navigationItems.ts @@ -0,0 +1,637 @@ +import columns from './columns'; +import table3Columns from '@/views/pwl/pwlProject/components/data/table3Columns'; +import table1Columns from '@/views/pwl/pwlProject/components/data/table1Columns'; +import table4Columns from '@/views/pwl/pwlProject/components/data/table4Columns'; +import { ref } from 'vue'; + +export default ref([ + { + number: '一', + name: '审计内容1', + title: '', + description: '点击"AI生成"按钮让AI为您生成该部分内容,或直接在下方编辑', + placeholder: '请输入审计依据内容...', + content: '', + suggestion: '', + formCommit: 10, + rows: 10, + generating: false, + extra1: true, + file1: true, + mode: 'table', + columns: table1Columns.columns0 + }, + { + number: '二', + name: '审计内容2', + title: '', + description: '点击"AI生成"按钮让AI为您生成该部分内容,或直接在下方编辑', + placeholder: '请输入审计目标内容...', + content: '', + suggestion: '', + formCommit: 20, + rows: 6, + generating: false, + mode: 'text' + }, + { + number: '三', + name: '审计内容3', + title: '重大经济决策调查表', + description: '点击"AI生成"按钮生成重大经济决策调查表数据', + generating: false, + extra3: true, + file3: true, + generateMethod: null, + mode: 'table', + columns: table3Columns.columns0, + data: [] + }, + { + number: '四', + name: '审计内容4', + title: '', + description: '点击"AI生成"按钮让AI为您生成该部分内容,或直接在下方编辑', + generating: false, + mode: 'table', + columns: table4Columns.columns0 + }, + { + number: '五', + name: '审计内容5', + title: '', + description: '点击"AI生成"按钮让AI为您生成该部分内容,或直接在下方编辑', + generating: false, + mode: 'text', + columns: [] + }, + { + number: '六', + name: '审计内容6', + title: '', + description: '点击"AI生成"按钮让AI为您生成该部分内容,或直接在下方编辑', + generating: false, + mode: 'text', + textareaList: [ + { + label: '审查财务支出凭据', + rows: 8, + content: '' + }, + { + label: '是否存在应报政府采购而未报的情', + rows: 8, + content: '' + }, + { + label: '已执行政府采购的名单', + rows: 8, + content: '' + }, + { + label: '单一采购来源', + rows: 8, + content: '' + } + ], + columns: [] + }, + { + number: '七', + name: '审计内容7', + title: '', + description: '点击"AI生成"按钮让AI为您生成该部分内容,或直接在下方编辑', + placeholder: '请输入审计技术方法内容...', + content: '', + suggestion: '', + formCommit: 70, + rows: 8, + generating: false, + mode: 'text', + columns + }, + { + number: '八', + name: '审计内容8', + title: '', + description: '点击"AI生成"按钮让AI为您生成该部分内容,或直接在下方编辑', + placeholder: '请输入工作步骤与时间安排内容...', + content: '', + suggestion: '', + formCommit: 80, + rows: 10, + generating: false, + mode: 'radio', + radioList: [ + { + label: '(1)审计是否确定内部控制职能部门或牵头部门。', + content: '' + }, + { + label: '(2)审计是否建立单位各部门在内部控制中的沟通协调和联动机制。', + content: '' + }, + { + label: + '(3)审计是否建立健全集体研究、专家论证和技术咨询相结合的议事决策机制,是否建立经济活动风险定期评估机制。', + content: '' + }, + { + label: + '(4)审计是否建立健全岗位责任制,明确各岗位职责与分工,办理业务和事项的权限范围、审批程序和相关责任。', + content: '' + }, + { + label: + '(5)审计是否建立健全内部监督机制,明确各相关部门或岗位在内部监督中的职责权限,规定内部监督的程序和要求,是否定期对内部控制建立与实施情况进行内部监督检查与自我评价。重点关注内部审计监督制度和内部审计机构是否健全等。', + content: '' + }, + { + label: + '(6)审计是否建立工作人员的培训、评价、轮岗制度;应持从业资格证上岗的岗位人员是否都持有从业资格证书。', + content: '' + }, + { + label: + '(7)是否建立健全预算编制、审批、执行、决算与评价等预算内部管理制度。', + content: '' + }, + { + label: + '(8)是否按照国家统一的会计制度对经济业务进行账务处理并编制财务会计报告。', + content: '' + }, + { + label: + '(9)是否建立健全单位财务管理制度、收入、支出内部管理制度,明确单位经济活动的各项支出标准、明确支出报销流程;是否建立健全票据管理制度;是否建立健全债务内部管理制度。重点关注货币资金管理制度和财务报销制度,包括货币资金业务岗位责任,货币资金业务不相容岗位分离、制约和监督,货币资金收支控制,现金日记账登记与核对,银行账户管理,资金管理关键岗位的稽核等方面有无制度规定。财务报销管理中支出审批权限和报销审核、不相容职务分离等方面有无控制制度;', + content: '' + }, + { + label: + '(10)是否建立健全政府采购预算与计划管理、政府采购活动管理、验收管理等政府采购内部管理制度。物资采购重点关注预算、政府采购、验收、付款等物资采购关键环节的内部管理与控制制度是否健全;', + content: '' + }, + { + label: + '(11)是否建立健全资产内部管理制度,重点关注资产的购置、验收、分配、使用、维修、处置、财务核算等管理制度是否健全;是否建立健全对外投资的责任追究制度。', + content: '' + }, + { + label: + '(12)是否建立健全业务管理制度。关注各业务管理环节的管理办法或制度是否健全。', + content: '' + }, + { + label: '(13)是否建立健全合同内部管理制度', + content: '' + } + ], + textareaList: [ + { + label: '内部控制的有效性', + rows: 8, + content: '' + }, + { + label: '对所属单位(企业)的管理和监督的情况', + rows: 8, + content: '' + }, + { + label: '被审计领导干部任职期间新增加或新变动的重要管理或业务', + rows: 8, + content: '' + }, + { + label: '单一采购来源', + rows: 8, + content: '' + } + ] + }, + { + number: '九', + name: '审计内容9', + title: '', + description: '点击"AI生成"按钮让AI为您生成该部分内容,或直接在下方编辑', + placeholder: '请输入审计工作的组织实施内容...', + content: '', + suggestion: '', + formCommit: 90, + rows: 8, + generating: false, + mode: 'text' + }, + { + number: '十', + name: '审计内容10', + title: '', + description: '点击"AI生成"按钮让AI为您生成该部分内容,或直接在下方编辑', + placeholder: '请输入审计工作的组织实施内容...', + content: '', + suggestion: '', + formCommit: 90, + rows: 8, + generating: false, + mode: 'table', + columns: [ + { + title: '大类', + dataIndex: 'col0', + key: '', + align: 'center', + customCell: (row, index) => { + if (index === 0) return { rowSpan: 37 }; + else if (index === 37) return { rowSpan: 3 }; + else if (index === 40) return { rowSpan: 3 }; + return { rowSpan: 0 }; + } + }, + { + title: '子类', + dataIndex: 'col1', + key: '', + align: 'center', + customCell: (row, index) => { + if (index === 0) return { rowSpan: 17 }; + else if (index === 17) return { rowSpan: 8 }; + else if (index === 25) return { rowSpan: 8 }; + else if (index === 33) return { rowSpan: 4 }; + else if (index === 37) return { rowSpan: 3 }; + else if (index === 40) return { rowSpan: 3 }; + return { rowSpan: 0 }; + } + }, + { + title: '小类', + dataIndex: 'col2', + key: '', + align: 'center', + customCell: (row, index) => { + console.log(index, row); + if ( + [4, 17, 22, 25, 26, 27, 28, 29, 32, 33, 34, 37, 38, 39, 42].includes( + index + ) + ) + return { rowSpan: 1 }; + else if ([18, 20, 23, 30, 35, 40].includes(index)) return { rowSpan: 2 }; + if (index === 0) return { rowSpan: 4 }; + else if (index === 5) return { rowSpan: 4 }; + else if (index === 9) return { rowSpan: 5 }; + else if (index === 14) return { rowSpan: 3 }; + return { rowSpan: 0 }; + } + }, + { + title: '内容', + dataIndex: 'content', + key: '', + align: 'center' + }, + { + title: '执行情况', + dataIndex: 'result', + key: '', + align: 'center' + }, + { + title: '工作底稿索引', + dataIndex: 'workPaperIndex', + key: 'workPaperIndex', + align: 'center', + width: 140, + ellipsis: true + }, + { + title: '操作', + key: 'action', + align: 'center', + width: 140 + } + ], + data: [ + { + id: 1, + col0: '一、落实党风廉政建设责任制', + col1: '落实主体责任和监督责任', + col2: '强化组织领导', + content: '建立责任清单、明确党组、纪检责任' + }, + { + id: 2, + col0: '', + col1: '', + col2: '', + content: + '建立健全反腐败领导机制,人员调整后及时进行分工,并全年召开两次以上协调会' + }, + { + id: 3, + col0: '', + col1: '', + col2: '', + content: + '主要领导认真履行第一责任人责任,对党风廉政建设重要工作亲自部署、重大问题亲自过问、重点环节亲自协调、重要案件亲自督办5次以上' + }, + { + id: 4, + col0: '', + col1: '', + col2: '', + content: + '领导班子其他成员对职责范围内的党风廉政建设承担主要责任,与分管联系部门研究安排党风廉政建设工作4次以上' + }, + { + id: 5, + col0: '', + col1: '', + col2: '及时部署工作任务', + content: + '有党风廉政建设任务分工方案,党组专题研究部署党风廉政建设工作4次以上' + }, + { + id: 6, + col0: '', + col1: '', + col2: '层层传到责任和压力', + content: + '主要领导检查和调研党风廉政建设各一次以上,每年听取分管联系部门的党风廉政建设一次以上,且每年亲自上廉政党课不少于1次' + }, + { + id: 7, + col0: '', + col1: '', + col2: '', + content: + '分管领导对分管联系部门党风廉政建设检查和调研各1次以上,每年听取分管联系部门的党风廉政建设情况汇报一次以上,到分管联系部门上廉政党课1次以上' + }, + { + id: 8, + col0: '', + col1: '', + col2: '', + content: + '党组、纪检组注重抓早抓小,经常进行咬耳扯袖、红脸出汗,及时开展约谈、集体廉政谈话等工作3次以上' + }, + { + id: 9, + col0: '', + col1: '', + col2: '', + content: '开展述责评议工作' + }, + { + id: 10, + col0: '', + col1: '', + col2: '坚持“一案双查”', + content: + '对发生在本单位的较严重的违反政治纪律、组织纪律等问题进行“一案双查”' + }, + { + id: 11, + col0: '', + col1: '', + col2: '', + content: '出现“四风”和腐败等顶风违纪问题的' + }, + { + id: 12, + col0: '', + col1: '', + col2: '', + content: '出现区域性系统性违纪违法问题突出的' + }, + { + id: 13, + col0: '', + col1: '', + col2: '', + content: '出现上级交办的党风廉政建设事项不传达部署和落实的' + }, + { + id: 14, + col0: '', + col1: '', + col2: '', + content: + '出现违纪行为隐瞒不报压案不查等问题而未进行责任追究被中央、自治区进行挂牌督办或直接问责、约谈' + }, + { + id: 15, + col0: '', + col1: '', + col2: '及时汇报工作情况', + content: '党组、纪检组向自治区党委、纪委汇报“两个”责任落实情况两次以上' + }, + { + id: 16, + col0: '', + col1: '', + col2: '', + content: '班子成员年底向自治区纪委报送个人落实“两个责任”情况报告' + }, + { + id: 17, + col0: '', + col1: '', + col2: '', + content: '按照自治区纪委部署开展其他工作,并按时报送总结报告的' + }, + { + id: 18, + col0: '', + col1: '落实中央八项规定精神工作', + col2: '开展监督检查', + content: '部署开展监督检查3次以上,' + }, + { + id: 19, + col0: '', + col1: '', + col2: '报送数据和资料', + content: '每月按时报送中央八项规定精神案件有关统计数据和有关资料' + }, + { + id: 20, + col0: '', + col1: '', + col2: '', + content: '每月不按时报送或未按要求报送的' + }, + { + id: 21, + col0: '', + col1: '', + col2: '查办违反中央八项规定精神案件', + content: '及时查处监督检查中发现的问题和中央、自治区转办督办的问题线索' + }, + { + id: 22, + col0: '', + col1: '', + col2: '', + content: + '出现违反中央八项规定精神问题被上级查处的,或查处但问责太轻,被上级责令重新查办' + }, + { + id: 23, + col0: '', + col1: '', + col2: '通报曝光', + content: '对受到党纪政纪处分的问题全部进行通报曝光的' + }, + { + id: 24, + col0: '', + col1: '', + col2: '清退干部职工多占住房', + content: '到年底还不能完成干部职工多占住房清退的' + }, + { + id: 25, + col0: '', + col1: '', + col2: '', + content: '信访反映清房工作不到位被查实的' + }, + { + id: 26, + col0: '', + col1: '开展查处发生在群众身边的“四风”和腐败问题专项工作', + col2: '及时梳理处置问题线索', + content: '对收到或者上级交办问题线索进行转办督办或直接查办的' + }, + { + id: 27, + col0: '', + col1: '', + col2: '查处一批案件', + content: '因查处案件不力被自治区约谈或通报批评的' + }, + { + id: 28, + col0: '', + col1: '', + col2: '通报曝光一批典型案件', + content: '对查处的案件进行通报曝光' + }, + { + id: 29, + col0: '', + col1: '', + col2: '营造氛围', + content: '加大宣传力度,用典型案例进行警示教育' + }, + { + id: 30, + col0: '', + col1: '', + col2: '督促违纪人员主动交代问题', + content: + '以文件形式或在网络、报纸、电视等媒介上发布公告,督促违纪人员主动交代问题并主动上缴违纪所得' + }, + { + id: 31, + col0: '', + col1: '', + col2: '进行总结并建立长效机制', + content: '没有在6月20日前进行总结' + }, + { + id: 32, + col0: '', + col1: '', + col2: '', + content: '没有结合专项工作中发现存在的突出问题建立完善制度措施' + }, + { + id: 33, + col0: '', + col1: '', + col2: '专项工作纳入常态化治理', + content: '6月后,在全部二层单位开展专项工作' + }, + { + id: 34, + col0: '', + col1: '严明纪律确保政令畅通', + col2: '严明政治纪律和组织纪律', + content: '有违反政治纪律等问题被中央、自治区查处的' + }, + { + id: 35, + col0: '', + col1: '', + col2: '按时完成中央和自治区重大决策部署', + content: '出现问题被中央、自治区问责的' + }, + { + id: 36, + col0: '', + col1: '', + col2: '按时完成转办督办案件', + content: '按时完成自治区纪委转办督办的党风政风类案件' + }, + { + id: 37, + col0: '', + col1: '', + col2: '', + content: '不按时完成或不完成的' + }, + { + id: 38, + col0: '二、巡视整改工作', + col1: '', + col2: '', + content: '严格执行月报告制度' + }, + { + id: 39, + col0: '', + col1: '', + col2: '', + content: '按时完成整改任务' + }, + { + id: 40, + col0: '', + col1: '', + col2: '', + content: '因巡视整改不给力被追究' + }, + { + id: 41, + col0: '三、深化纪律检查体制改革', + col1: '', + col2: '聚焦主业主责,持续深化“三转”工作', + content: '纪检组长或纪工委书记不分管具体业务工作,专职抓执纪监督问责工作' + }, + { + id: 42, + col0: '', + col1: '', + col2: '', + content: '检查发现有参与业务工作' + }, + { + id: 43, + col0: '', + col1: '', + col2: '健全完善深化纪检体制改革的相关制度文件并抓好贯彻落实', + content: '年底前制定有1项以上配套制度文件' + } + ] + } +]); + + + + + + + + + diff --git a/src/views/pwl/pwlProject/components/data/table1Columns.ts b/src/views/pwl/pwlProject/components/data/table1Columns.ts new file mode 100644 index 0000000..a0e49ea --- /dev/null +++ b/src/views/pwl/pwlProject/components/data/table1Columns.ts @@ -0,0 +1,347 @@ +export const columns0 = [ + { + title: '序号', + dataIndex: 'index', + key: 'index', + width: 80, + align: 'center' + }, + { + title: '单位名称', + dataIndex: '', + key: '', + align: 'center' + }, + { + title: '规格', + dataIndex: '', + key: '', + align: 'center' + }, + { + title: '经费来源', + dataIndex: '', + key: '', + align: 'center' + }, + { + title: '编制数额', + dataIndex: '', + key: '', + align: 'center' + }, + { + title: '编制数额', + align: 'center', + children: [ + { + title: '其他编制', + dataIndex: '', + key: '', + align: 'center' + }, + { + title: '事业编制', + dataIndex: '', + key: '', + align: 'center' + } + ] + }, + { + title: '实用人员', + align: 'center', + children: [ + { + title: '参公人数', + dataIndex: '', + key: '', + align: 'center' + }, + { + title: '聘用人数', + dataIndex: '', + key: '', + align: 'center' + } + ] + }, + { + title: '领导职数', + align: 'center', + children: [ + { + title: '处级', + align: 'center', + children: [ + { + title: '核定数', + dataIndex: '', + key: '', + align: 'center' + }, + { + title: '核定数', + dataIndex: '', + key: '', + align: 'center' + } + ] + }, + { + title: '科级', + align: 'center', + children: [ + { + title: '核定数', + dataIndex: '', + key: '', + align: 'center' + }, + { + title: '核定数', + dataIndex: '', + key: '', + align: 'center' + } + ] + }, + { + title: '股级', + align: 'center', + children: [ + { + title: '核定数', + dataIndex: '', + key: '', + align: 'center' + }, + { + title: '核定数', + dataIndex: '', + key: '', + align: 'center' + } + ] + } + ] + }, + { + title: '参公单位非领导职数', + align: 'center', + children: [ + { + title: '处级', + align: 'center', + children: [ + { + title: '核定数', + dataIndex: '', + key: '', + align: 'center' + }, + { + title: '核定数', + dataIndex: '', + key: '', + align: 'center' + } + ] + }, + { + title: '科级', + align: 'center', + children: [ + { + title: '核定数', + dataIndex: '', + key: '', + align: 'center' + }, + { + title: '核定数', + dataIndex: '', + key: '', + align: 'center' + } + ] + }, + { + title: '股级', + align: 'center', + children: [ + { + title: '核定数', + dataIndex: '', + key: '', + align: 'center' + }, + { + title: '核定数', + dataIndex: '', + key: '', + align: 'center' + } + ] + } + ] + }, + { + title: '岗位设置', + align: 'center', + children: [ + { + title: '管理岗位', + dataIndex: '', + key: '', + align: 'center' + }, + { + title: '专业技术岗位', + dataIndex: '', + key: '', + align: 'center' + }, + { + title: '工勤技能岗位', + dataIndex: '', + key: '', + align: 'center' + } + ] + }, + { + title: '工作底稿索引', + dataIndex: 'workPaperIndex', + key: 'workPaperIndex', + align: 'center', + width: 140, + ellipsis: true + }, + { + title: '操作', + key: 'action', + align: 'center', + width: 100 + } +]; + +export const columns1 = [ + { + title: '单位', + dataIndex: '', + key: '', + align: 'center' + }, + { + title: '姓名', + dataIndex: '', + key: '', + align: 'center' + }, + { + title: '部门', + dataIndex: '', + key: '', + align: 'center' + }, + { + title: '职务', + align: 'center', + children: [ + { + title: '党内', + dataIndex: '', + key: '', + align: 'center' + }, + { + title: '行政', + dataIndex: '', + key: '', + align: 'center' + } + ] + }, + { + title: '任职期间', + dataIndex: '', + key: '', + align: 'center' + }, + { + title: '主要工作责任', + dataIndex: '', + key: '', + align: 'center' + }, + { + title: '备注', + dataIndex: '', + key: '', + align: 'center' + }, + { + title: '工作底稿索引', + dataIndex: 'workPaperIndex', + key: 'workPaperIndex', + align: 'center', + width: 140, + ellipsis: true + }, + { + title: '操作', + key: 'action', + align: 'center', + width: 140 + } +]; + +export const columns2 = [ + { + title: '内容', + dataIndex: '', + key: '', + align: 'center' + }, + { + title: '2020年', + dataIndex: '', + key: '', + align: 'center' + }, + { + title: '2021年', + dataIndex: '', + key: '', + align: 'center' + }, + { + title: '2022年', + dataIndex: '', + key: '', + align: 'center' + }, + { + title: '2023年', + dataIndex: '', + key: '', + align: 'center' + }, + { + title: '工作底稿索引', + dataIndex: 'workPaperIndex', + key: 'workPaperIndex', + align: 'center', + width: 140, + ellipsis: true + }, + { + title: '操作', + key: 'action', + align: 'center', + width: 140 + } +]; + +export default { columns0, columns1, columns2 } diff --git a/src/views/pwl/pwlProject/components/data/table3Columns.ts b/src/views/pwl/pwlProject/components/data/table3Columns.ts new file mode 100644 index 0000000..edeb6da --- /dev/null +++ b/src/views/pwl/pwlProject/components/data/table3Columns.ts @@ -0,0 +1,137 @@ +export const columns0 = [ + { + title: '', + dataIndex: 'category', + key: 'category', + width: 120, + align: 'center' + }, + { + title: '政策内容', + dataIndex: 'policyContent', + key: 'policyContent', + align: 'center' + }, + { + title: '集团制度', + dataIndex: 'groupSystem', + key: 'groupSystem', + align: 'center' + }, + { + title: '公司制度', + dataIndex: 'companyFormulation', + key: 'companyFormulation', + align: 'center' + }, + { + title: '公司执行情况', + dataIndex: 'checkEvidence', + key: 'checkEvidence', + align: 'center' + }, + { + title: '执行结果', + dataIndex: 'testResult', + key: 'testResult', + align: 'center', + customRender: ({ text }) => { + if (text === '通过') return '通过'; + if (text === '不通过') + return '不通过'; + return text; + } + }, + { + title: '工作底稿索引', + dataIndex: 'workPaperIndex', + key: 'workPaperIndex', + align: 'center', + width: 140, + ellipsis: true + }, + { + title: '操作', + key: 'action', + align: 'center', + width: 100 + } +]; + +export const columns1 = [ + { + title: '序号', + dataIndex: 'index', + key: 'index', + width: 80, + align: 'center' + }, + { + title: '重大经济决策事项', + dataIndex: 'name', + key: 'name', + width: 200, + align: 'center' + }, + { + title: '会议时间', + dataIndex: 'meetingTime', + key: 'meetingTime', + align: 'center', + width: 120 + }, + { + title: '决策事项金额', + dataIndex: 'decisionAmount', + key: 'decisionAmount', + width: 120, + align: 'center' + }, + { + title: '程序', + dataIndex: 'procedure', + key: 'procedure', + align: 'center' + }, + { + title: '执行情况(是/否)', + dataIndex: 'executionStatus', + key: 'executionStatus', + width: 80, + align: 'center' + }, + { + title: '执行效果(是否实现决策目标)', + children: [ + { + title: '好', + dataIndex: 'goods', + key: 'goods', + width: 60, + align: 'center' + }, + { + title: '一般', + dataIndex: 'normal', + key: 'normal', + width: 60, + align: 'center' + }, + { + title: '差', + dataIndex: 'bad', + key: 'bad', + width: 60, + align: 'center' + } + ] + }, + { + title: '操作', + key: 'action', + align: 'center', + width: 140 + } +]; + +export default { columns0, columns1 }; diff --git a/src/views/pwl/pwlProject/components/data/table4Columns.ts b/src/views/pwl/pwlProject/components/data/table4Columns.ts new file mode 100644 index 0000000..67aa298 --- /dev/null +++ b/src/views/pwl/pwlProject/components/data/table4Columns.ts @@ -0,0 +1,86 @@ +export const columns0 = [ + { + title: '序号', + dataIndex: '', + key: '', + width: 120, + align: 'center' + }, + { + title: '年度', + dataIndex: '', + key: '', + align: 'center' + }, + { + title: '上级主管部门下达目标责任制', + align: 'center', + children: [ + { + title: '下达文件', + dataIndex: '', + key: '', + align: 'center' + }, + { + title: '完成情况', + dataIndex: '', + key: '', + align: 'center' + }, + { + title: '未完成原因', + dataIndex: '', + key: '', + align: 'center' + }, + ] + }, + { + title: '单位自定下达目标责任制', + align: 'center', + children: [ + { + title: '计划文件', + dataIndex: '', + key: '', + align: 'center' + }, + { + title: '完成情况', + dataIndex: '', + key: '', + align: 'center' + }, + { + title: '未完成原因', + dataIndex: '', + key: '', + align: 'center' + }, + ] + }, + { + title: '备注', + dataIndex: '', + key: '', + align: 'center' + }, + + { + title: '工作底稿索引', + dataIndex: 'workPaperIndex', + key: 'workPaperIndex', + align: 'center', + width: 140, + ellipsis: true + }, + { + title: '操作', + key: 'action', + align: 'center', + width: 100 + } +]; + +export default { columns0 }; diff --git a/src/views/pwl/pwlProject/components/reportContent.vue b/src/views/pwl/pwlProject/components/reportContent.vue index 4c55f14..f518f84 100644 --- a/src/views/pwl/pwlProject/components/reportContent.vue +++ b/src/views/pwl/pwlProject/components/reportContent.vue @@ -1,34 +1,34 @@