wumu
2024-11-29 a3f97ceb36d4cb60bacdfbcb04c364faaca6138a
internal_system_v1/threemergeproblemlist.h
@@ -11,6 +11,10 @@
#include "comboboxdelegate.h"
#include "datedelegate.h"
#include "struct_data.h"
//#include "threecombobox.h"
#include "tableitemdelegate.h"
#include <QPdfWriter>
//#include <QtWebEngineWidgets/QtWebEngineWidgets>
@@ -38,7 +42,8 @@
    int selectSQL(QString sql,QVector<QVector<QString>> &result); // 拿结果集的sql
    int changeSQL(QString sql); // 拿条数的sql
    int saveDataLine(int row); // 保存指定行 先判断对应的索引id是否存在,存在则更新,不存在则新建插入
    int saveFile(QString path, QString id,QString &absSavePath); // 根据id来指定子目录进行文件的拷贝和存储
    // 保持路径加上 id+项目名称
    int saveFile(QString path, QString id,QString &absSavePath,QString proName); // 根据id来指定子目录进行文件的拷贝和存储
    int loadPdfFile(QString path); // 加载pdf文件
@@ -79,6 +84,10 @@
    void showSaveFile(); // 显示已经保存的佐证文件
    void updateComboList(QMap<QString,ComInfo> &); // 更新下拉框公司名
    void on_pushButton_save_export_clicked();
private:
    Ui::ThreeMergeProblemList *ui;
    QMenu *m_menu; // 问题清单菜单
@@ -94,8 +103,18 @@
    ComboBoxDelegate *m_cbb_way; // 审计方式
    ComboBoxDelegate *m_cbb_pro; // 审计项目
    ComboBoxDelegate *m_cbb_file_wri; // 问题描述佐证
    ComboBoxDelegate *m_cbb_money; // 审计发现问题金额定性 24-11.28
    ComboBoxDelegate *m_cbb_cnt; // 审计发现问题个数定性
    ComboBoxDelegate *m_cbb_result; // 整改结果
    ComboBoxDelegate *m_cbb_type; // 处分类型
    ComboBoxDelegate *m_cbb_check_res; // 检查结果
    ComboBoxDelegate *m_cbb_money_res; // 金额类整改成果
    ComboBoxDelegate *m_cbb_no_money_res; // 非金额类整改成果
    DateDelegate *m_date_ymd; // 时间 年月日
    //ThreeComboBox *m_noEdit; // 禁用编辑功能
    TableItemDelegate *m_noEdit;
    //QWebEngineView *m_pdfView;  // 使用浏览器加载pdf文件
};