diff --git a/代码/cpp/car_dealer_util/proj/vs2019/car_dealer_util/car_dealer_util.vcxproj b/代码/cpp/car_dealer_util/proj/vs2019/car_dealer_util/car_dealer_util.vcxproj
index 638eb8e..9644f87 100644
--- a/代码/cpp/car_dealer_util/proj/vs2019/car_dealer_util/car_dealer_util.vcxproj
+++ b/代码/cpp/car_dealer_util/proj/vs2019/car_dealer_util/car_dealer_util.vcxproj
@@ -23,7 +23,9 @@
+
+
@@ -48,7 +50,9 @@
+
+
diff --git a/代码/cpp/car_dealer_util/proj/vs2019/car_dealer_util/car_dealer_util.vcxproj.filters b/代码/cpp/car_dealer_util/proj/vs2019/car_dealer_util/car_dealer_util.vcxproj.filters
index fc0249a..b2ccef6 100644
--- a/代码/cpp/car_dealer_util/proj/vs2019/car_dealer_util/car_dealer_util.vcxproj.filters
+++ b/代码/cpp/car_dealer_util/proj/vs2019/car_dealer_util/car_dealer_util.vcxproj.filters
@@ -74,6 +74,12 @@
{4aafaac0-1c39-407d-9701-175ad2e441c2}
+
+ {ae2625d1-a2b0-48d2-8391-d8f42760e1ff}
+
+
+ {f51a3f4d-ff6f-4590-b123-b61afde72f0a}
+
@@ -115,6 +121,12 @@
窗口\登录窗口
+
+ 数据\查询
+
+
+ 数据\数据结构\用户信息
+
@@ -178,5 +190,11 @@
数据库\ocilib
+
+ 数据\查询
+
+
+ 数据\数据结构\用户信息
+
\ No newline at end of file
diff --git a/代码/cpp/car_dealer_util/proj/vs2019/car_dealer_util/source/qrc_resource.cpp b/代码/cpp/car_dealer_util/proj/vs2019/car_dealer_util/source/qrc_resource.cpp
index aa62165..e52aa54 100644
--- a/代码/cpp/car_dealer_util/proj/vs2019/car_dealer_util/source/qrc_resource.cpp
+++ b/代码/cpp/car_dealer_util/proj/vs2019/car_dealer_util/source/qrc_resource.cpp
@@ -36909,94 +36909,94 @@ static const unsigned char qt_resource_struct[] = {
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
// :/QMainFrame/Resources/8218_box1.png
0x0,0x0,0x1,0x2,0x0,0x0,0x0,0x0,0x0,0x1,0x0,0x1,0x3f,0xef,
-0x0,0x0,0x1,0x6f,0x14,0x6a,0x33,0xae,
+0x0,0x0,0x1,0x68,0x54,0x2f,0x0,0xf6,
// :/QMainFrame/Resources/find.png
0x0,0x0,0x1,0x22,0x0,0x0,0x0,0x0,0x0,0x1,0x0,0x1,0xaa,0x5f,
-0x0,0x0,0x1,0x6f,0x14,0x6a,0x33,0xb8,
+0x0,0x0,0x1,0x68,0x54,0x2f,0x0,0xfd,
// :/QMainFrame/Resources/print.png
0x0,0x0,0x1,0x62,0x0,0x0,0x0,0x0,0x0,0x1,0x0,0x2,0x47,0x63,
-0x0,0x0,0x1,0x6f,0x14,0x6a,0x33,0xbe,
+0x0,0x0,0x1,0x68,0x54,0x2f,0x1,0x2,
// :/QMainFrame/Resources/option.png
0x0,0x0,0x2,0x94,0x0,0x0,0x0,0x0,0x0,0x1,0x0,0x7,0x6,0xb8,
-0x0,0x0,0x1,0x6f,0x14,0x6a,0x33,0xbc,
+0x0,0x0,0x1,0x68,0x54,0x2f,0x1,0x1,
// :/QMainFrame/Resources/x.png
0x0,0x0,0x2,0x2c,0x0,0x0,0x0,0x0,0x0,0x1,0x0,0x5,0x6a,0x2d,
-0x0,0x0,0x1,0x6f,0x14,0x6a,0x33,0xc1,
+0x0,0x0,0x1,0x68,0x54,0x2f,0x1,0x6,
// :/QMainFrame/Resources/telephone.png
0x0,0x0,0x2,0xc4,0x0,0x0,0x0,0x0,0x0,0x1,0x0,0x7,0xb2,0x8,
-0x0,0x0,0x1,0x6f,0x14,0x6a,0x33,0xc0,
+0x0,0x0,0x1,0x68,0x54,0x2f,0x1,0x5,
// :/QMainFrame/Resources/plus.png
0x0,0x0,0x2,0x52,0x0,0x0,0x0,0x0,0x0,0x1,0x0,0x6,0x5d,0x5f,
-0x0,0x0,0x1,0x6f,0x14,0x6a,0x33,0xbd,
+0x0,0x0,0x1,0x68,0x54,0x2f,0x1,0x2,
// :/QMainFrame/Resources/20121016085311441_easyicon_cn_128.png
0x0,0x0,0x0,0x82,0x0,0x0,0x0,0x0,0x0,0x1,0x0,0x0,0x77,0x17,
-0x0,0x0,0x1,0x6f,0x14,0x6a,0x33,0xae,
+0x0,0x0,0x1,0x68,0x54,0x2f,0x0,0xf5,
// :/QMainFrame/Resources/new.png
0x0,0x0,0x2,0xe4,0x0,0x0,0x0,0x0,0x0,0x1,0x0,0x7,0xcc,0x61,
-0x0,0x0,0x1,0x6f,0x14,0x6a,0x33,0xbc,
+0x0,0x0,0x1,0x68,0x54,0x2f,0x1,0x0,
// :/QMainFrame/Resources/CPIC.png
0x0,0x0,0x2,0x3c,0x0,0x0,0x0,0x0,0x0,0x1,0x0,0x5,0xc9,0x50,
-0x0,0x0,0x1,0x6f,0x14,0x6a,0x33,0xb1,
+0x0,0x0,0x1,0x68,0x54,0x2f,0x0,0xf7,
// :/QMainFrame/Resources/ok.png
0x0,0x0,0x1,0x38,0x0,0x0,0x0,0x0,0x0,0x1,0x0,0x1,0xe8,0x27,
-0x0,0x0,0x1,0x6f,0x14,0x6a,0x33,0xbc,
+0x0,0x0,0x1,0x68,0x54,0x2f,0x1,0x1,
// :/QMainFrame/Resources/face.png
0x0,0x0,0x1,0xc8,0x0,0x0,0x0,0x0,0x0,0x1,0x0,0x4,0x29,0xa6,
-0x0,0x0,0x1,0x6f,0x14,0x6a,0x33,0xb8,
+0x0,0x0,0x1,0x68,0x54,0x2f,0x0,0xfd,
// :/QMainFrame/Resources/CNY_Red.png
0x0,0x0,0x1,0xf8,0x0,0x0,0x0,0x0,0x0,0x1,0x0,0x4,0xfc,0xe0,
-0x0,0x0,0x1,0x6f,0x14,0x6a,0x33,0xb0,
+0x0,0x0,0x1,0x68,0x54,0x2f,0x0,0xf6,
// :/QMainFrame/Resources/car2.png
0x0,0x0,0x3,0x10,0x0,0x0,0x0,0x0,0x0,0x1,0x0,0x8,0x69,0x71,
-0x0,0x0,0x1,0x6f,0x14,0x6a,0x33,0xb4,
+0x0,0x0,0x1,0x68,0x54,0x2f,0x0,0xfa,
// :/QMainFrame/Resources/app.ico
0x0,0x0,0x0,0x46,0x0,0x1,0x0,0x0,0x0,0x1,0x0,0x0,0x2,0x22,
-0x0,0x0,0x1,0x6f,0x14,0x6a,0x33,0xb3,
+0x0,0x0,0x1,0x68,0x54,0x2f,0x0,0xf9,
// :/QMainFrame/Resources/save.png
0x0,0x0,0x2,0x7e,0x0,0x0,0x0,0x0,0x0,0x1,0x0,0x6,0xcf,0x1,
-0x0,0x0,0x1,0x6f,0x14,0x6a,0x33,0xbf,
+0x0,0x0,0x1,0x68,0x54,0x2f,0x1,0x4,
// :/QMainFrame/Resources/car.png
0x0,0x0,0x0,0x5a,0x0,0x0,0x0,0x0,0x0,0x1,0x0,0x0,0x1f,0x7e,
-0x0,0x0,0x1,0x6f,0x14,0x6a,0x33,0xb4,
+0x0,0x0,0x1,0x68,0x54,0x2f,0x0,0xf9,
// :/QMainFrame/Resources/cat.png
0x0,0x0,0x0,0x6e,0x0,0x0,0x0,0x0,0x0,0x1,0x0,0x0,0x55,0x58,
-0x0,0x0,0x1,0x6f,0x14,0x6a,0x33,0xb5,
+0x0,0x0,0x1,0x68,0x54,0x2f,0x0,0xfa,
// :/QMainFrame/Resources/excel.png
0x0,0x0,0x2,0x14,0x0,0x0,0x0,0x0,0x0,0x1,0x0,0x5,0x51,0x43,
-0x0,0x0,0x1,0x6f,0x14,0x6a,0x33,0xb7,
+0x0,0x0,0x1,0x68,0x54,0x2f,0x0,0xfc,
// :/QMainFrame/Resources/CPIC??.png
0x0,0x0,0x1,0x7a,0x0,0x0,0x0,0x0,0x0,0x1,0x0,0x2,0x9e,0xab,
-0x0,0x0,0x1,0x6f,0x14,0x6a,0x33,0xb2,
+0x0,0x0,0x1,0x68,0x54,0x2f,0x0,0xf8,
// :/QMainFrame/Resources/dec.png
0x0,0x0,0x0,0x32,0x0,0x0,0x0,0x0,0x0,0x1,0x0,0x0,0x0,0x0,
-0x0,0x0,0x1,0x6f,0x14,0x6a,0x33,0xb6,
+0x0,0x0,0x1,0x68,0x54,0x2f,0x0,0xfb,
// :/QMainFrame/Resources/folder.png
0x0,0x0,0x0,0xd2,0x0,0x0,0x0,0x0,0x0,0x1,0x0,0x0,0xcc,0x2a,
-0x0,0x0,0x1,0x6f,0x14,0x6a,0x33,0xb9,
+0x0,0x0,0x1,0x68,0x54,0x2f,0x0,0xfe,
// :/QMainFrame/Resources/edit.png
0x0,0x0,0x2,0x68,0x0,0x0,0x0,0x0,0x0,0x1,0x0,0x6,0x61,0x1b,
-0x0,0x0,0x1,0x6f,0x14,0x6a,0x33,0xb6,
+0x0,0x0,0x1,0x68,0x54,0x2f,0x0,0xfc,
// :/QMainFrame/Resources/clean.png
0x0,0x0,0x2,0xf8,0x0,0x0,0x0,0x0,0x0,0x1,0x0,0x8,0x3a,0x47,
-0x0,0x0,0x1,0x6f,0x14,0x6a,0x33,0xb6,
+0x0,0x0,0x1,0x68,0x54,0x2f,0x0,0xfb,
// :/QMainFrame/Resources/gear.png
0x0,0x0,0x2,0xae,0x0,0x0,0x0,0x0,0x0,0x1,0x0,0x7,0x5c,0x60,
-0x0,0x0,0x1,0x6f,0x14,0x6a,0x33,0xb9,
+0x0,0x0,0x1,0x68,0x54,0x2f,0x0,0xfe,
// :/QMainFrame/Resources/quit.png
0x0,0x0,0x0,0xec,0x0,0x0,0x0,0x0,0x0,0x1,0x0,0x0,0xe0,0xcc,
-0x0,0x0,0x1,0x6f,0x14,0x6a,0x33,0xbf,
+0x0,0x0,0x1,0x68,0x54,0x2f,0x1,0x3,
// :/QMainFrame/Resources/save2.png
0x0,0x0,0x1,0x4a,0x0,0x0,0x0,0x0,0x0,0x1,0x0,0x2,0x29,0x5d,
-0x0,0x0,0x1,0x6f,0x14,0x6a,0x33,0xc0,
+0x0,0x0,0x1,0x68,0x54,0x2f,0x1,0x4,
// :/QMainFrame/Resources/manager.png
0x0,0x0,0x1,0x94,0x0,0x0,0x0,0x0,0x0,0x1,0x0,0x3,0x55,0x8f,
-0x0,0x0,0x1,0x6f,0x14,0x6a,0x33,0xbb,
+0x0,0x0,0x1,0x68,0x54,0x2f,0x1,0x0,
// :/QMainFrame/Resources/login.png
0x0,0x0,0x1,0xb0,0x0,0x0,0x0,0x0,0x0,0x1,0x0,0x3,0xb9,0xe4,
-0x0,0x0,0x1,0x6f,0x14,0x6a,0x33,0xba,
+0x0,0x0,0x1,0x68,0x54,0x2f,0x0,0xff,
// :/QMainFrame/Resources/tongji.png
0x0,0x0,0x1,0xde,0x0,0x0,0x0,0x0,0x0,0x1,0x0,0x4,0x8a,0x1,
-0x0,0x0,0x1,0x6f,0x14,0x6a,0x33,0xc1,
+0x0,0x0,0x1,0x68,0x54,0x2f,0x1,0x5,
};
diff --git a/代码/cpp/car_dealer_util/source/Data/Datastructure/UserInfo/UserInfo.cpp b/代码/cpp/car_dealer_util/source/Data/Datastructure/UserInfo/UserInfo.cpp
new file mode 100644
index 0000000..1145a86
--- /dev/null
+++ b/代码/cpp/car_dealer_util/source/Data/Datastructure/UserInfo/UserInfo.cpp
@@ -0,0 +1,2 @@
+
+#include "UserInfo.h"
\ No newline at end of file
diff --git a/代码/cpp/car_dealer_util/source/Data/Datastructure/UserInfo/UserInfo.h b/代码/cpp/car_dealer_util/source/Data/Datastructure/UserInfo/UserInfo.h
new file mode 100644
index 0000000..f724751
--- /dev/null
+++ b/代码/cpp/car_dealer_util/source/Data/Datastructure/UserInfo/UserInfo.h
@@ -0,0 +1,11 @@
+
+//用户信息相关
+#pragma once
+#include
+
+class UserInfo
+{
+private:
+ QString staff_p13;
+
+};
diff --git a/代码/cpp/car_dealer_util/source/Data/query/query_user.cpp b/代码/cpp/car_dealer_util/source/Data/query/query_user.cpp
new file mode 100644
index 0000000..a61992f
--- /dev/null
+++ b/代码/cpp/car_dealer_util/source/Data/query/query_user.cpp
@@ -0,0 +1,2 @@
+
+#include "query_user.h"
\ No newline at end of file
diff --git a/代码/cpp/car_dealer_util/source/Data/query/query_user.h b/代码/cpp/car_dealer_util/source/Data/query/query_user.h
new file mode 100644
index 0000000..8f2695c
--- /dev/null
+++ b/代码/cpp/car_dealer_util/source/Data/query/query_user.h
@@ -0,0 +1,4 @@
+
+//查询用户、权限等相关数据
+#pragma once
+
diff --git a/代码/cpp/car_dealer_util/source/main.cpp b/代码/cpp/car_dealer_util/source/main.cpp
index aedb8dc..be89b6a 100644
--- a/代码/cpp/car_dealer_util/source/main.cpp
+++ b/代码/cpp/car_dealer_util/source/main.cpp
@@ -37,6 +37,12 @@ int main( int argc, char * argv[] )
pLoginDialog = new QLoginDialog();
pLoginDialog->exec();
+
+ if ( pLoginDialog->getReturnCode() == QLoginDialog::ReturnCode::EXIT )
+ {
+ //用户点了退出
+ return 1;
+ }
}
catch ( std::runtime_error error )
{
@@ -47,8 +53,6 @@ int main( int argc, char * argv[] )
return -1;
}
- return 1;
-
try
{
pMainFrame = new QMainFrame();