提交信息!

This commit is contained in:
Kane Wang 2020-11-24 18:06:13 +08:00
parent cd259de06a
commit d2cc541da4
2 changed files with 22 additions and 16 deletions

View File

@ -24,6 +24,7 @@ void QCarDealerSchemaWidget::onImport()
QString xlsxFilePath = QFileDialog::getOpenFileName( this,
"请选择要导入的数据文件",
".", "xlsx文件(*.xlsx)" );
if ( xlsxFilePath.isEmpty() == true )
{
return;
@ -45,7 +46,7 @@ void QCarDealerSchemaWidget::onImport()
{
ImportCarDealerSchemeToOracle( userName, password, tnsName, schemeVector );
//showCarDealerAchievement();
showCarDealerSchema();
}
catch ( runtime_error & error )
{
@ -78,5 +79,8 @@ void QCarDealerSchemaWidget::initWidgets()
void QCarDealerSchemaWidget::initSignal()
{
connect( ui.pButtonImport, SIGNAL( clicked() ), this, SLOT( onImport() ) );
}
void QCarDealerSchemaWidget::showCarDealerSchema()
{
}

View File

@ -23,6 +23,8 @@ private:
void initWidgets();
void initSignal();
void showCarDealerSchema();
private:
Ui::QCarDealerSchemaWidget ui;