提交信息!
This commit is contained in:
parent
cd259de06a
commit
d2cc541da4
|
@ -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()
|
||||
{
|
||||
}
|
||||
|
|
|
@ -23,6 +23,8 @@ private:
|
|||
void initWidgets();
|
||||
void initSignal();
|
||||
|
||||
void showCarDealerSchema();
|
||||
|
||||
private:
|
||||
Ui::QCarDealerSchemaWidget ui;
|
||||
|
||||
|
|
Loading…
Reference in New Issue