wumu
2024-03-01 6680ad0c95b04ee59bab0b7c1cd65351f279b7bf
internal_system_v1/searchinfo.h
@@ -1,4 +1,4 @@
#ifndef SEARCHINFO_H
#ifndef SEARCHINFO_H
#define SEARCHINFO_H
#include <QMainWindow>
@@ -26,6 +26,7 @@
    QVector<QVector<QString>> getResult(QString &sql,int colCnt);
    void setLabels();
    void createTableAllComInfo(QString tableName);
private slots:
    void on_pushButton_search_clicked();
@@ -33,10 +34,19 @@
    void on_comboBox_currentIndexChanged(const QString &arg1);
    void on_toolButton_seleceExcel_clicked();
    void on_comboBox_company_currentIndexChanged(const QString &arg1);
    void addComName(QString name);
    void on_checkBox_clicked();
private:
    Ui::SearchInfo *ui;
    QSqlDatabase m_db;
    QMap<QString,int> m_comInfo;
    QMap<QString,QString> m_comCode;
    QMap<QString,QString> m_itemAndTable;
    QStandardItemModel *m_model;
    QMap<QString,QStringList> m_labels;