Commit 8ca804f7df7856294539ccc712b9853ad7452c5b

Authored by liuye
1 parent ad6f2401

feat(card_client):新增etc项目菜单

增加一个市场业务一级菜单和下面两个子菜单,针对etc项目。
etrade_card_client/Config/menu_res_auth_cfg.json
... ... @@ -27,8 +27,11 @@
27 27 {"res_id":50180, "auth_id":6004, "icon":"customer_query.ico", "index":[4, 0]},
28 28 {"res_id":50190, "auth_id":6008, "icon":"oper_log_query.ico", "index":[4, 1]},
29 29 {"res_id":50181, "auth_id":6009, "icon":"about.ico", "index":[4, 2]},
30   - {"res_id":5, "auth_id":0, "icon":"", "index":[5]},
31   - {"res_id":32807, "auth_id":0, "icon":"modify_cfg.ico", "index":[5, 0]},
  30 + {"res_id":5, "auth_id":65, "icon":"about.ico", "index":[5]},
  31 + {"res_id":50182, "auth_id":6502, "icon":"about.ico", "index":[5, 0]},
  32 + {"res_id":50183, "auth_id":6504, "icon":"about.ico", "index":[5, 1]},
  33 + {"res_id":6, "auth_id":0, "icon":"", "index":[6]},
  34 + {"res_id":32807, "auth_id":0, "icon":"modify_cfg.ico", "index":[6, 0]},
32 35 {"res_id":32782, "auth_id":0, "icon":"exit.ico", "index":[]},
33 36 {"res_id":57634, "auth_id":0, "icon":"copy.ico", "index":[]},
34 37 {"res_id":57635, "auth_id":0, "icon":"cut.ico", "index":[]},
... ...
etrade_card_client/ETradeClient.rc
... ... @@ -77,7 +77,7 @@ IDR_MAINFRAME ICON "res\\ETradeClient.ico"
77 77  
78 78 IDR_MAINFRAME MENU
79 79 BEGIN
80   - POPUP "文件(&t)"
  80 + POPUP "文件(&T)"
81 81 BEGIN
82 82 MENUITEM "退出(&X)", ID_EXIT
83 83 END
... ... @@ -124,6 +124,11 @@ BEGIN
124 124 MENUITEM "操作记录", ID_OPER_LOG_QUERY
125 125 MENUITEM "客户管理", ID_CUS_MANAGE
126 126 END
  127 + POPUP "市场业务(&F)"
  128 + BEGIN
  129 + MENUITEM "ETC业务查询", ID_ETC_QUERY
  130 + MENUITEM "ETC业务办理", ID_ETC_SERVICE
  131 + END
127 132 POPUP "设置(&S)"
128 133 BEGIN
129 134 MENUITEM "修改配置", ID_MODIFY_CONFIG
... ...
etrade_card_client/ETradeClient.vcxproj
... ... @@ -50,6 +50,7 @@
50 50 </PropertyGroup>
51 51 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
52 52 <LinkIncremental>false</LinkIncremental>
  53 + <LibraryPath>D:\GitProject\etradeclient\etrade_card_client\ExLib\hardware\dili_card_device;D:\GitProject\etradeclient\etrade_card_client\ExLib\hardware\id_card_reader;D:\GitProject\etradeclient\etrade_card_client\ExLib\hardware\bank_card_reader;D:\GitProject\etradeclient\etrade_card_client\ExLib\hardware\pwd_machine;D:\GitProject\etradeclient\etrade_card_client\ExLib\hardware\pin_pad;$(LibraryPath)</LibraryPath>
53 54 </PropertyGroup>
54 55 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
55 56 <ClCompile>
... ...
etrade_card_client/resource.h
... ... @@ -61,6 +61,8 @@
61 61 #define ID_CUSTOMER_QUERY 50180
62 62 #define ID_CUS_MANAGE 50181
63 63 #define ID_OPER_LOG_QUERY 50190
  64 +#define ID_ETC_QUERY 50182
  65 +#define ID_ETC_SERVICE 50183
64 66 #define ID_INDICATOR_TIME 59142
65 67  
66 68 // Next default values for new objects
... ... @@ -68,7 +70,7 @@
68 70 #ifdef APSTUDIO_INVOKED
69 71 #ifndef APSTUDIO_READONLY_SYMBOLS
70 72 #define _APS_NEXT_RESOURCE_VALUE 326
71   -#define _APS_NEXT_COMMAND_VALUE 32829
  73 +#define _APS_NEXT_COMMAND_VALUE 32835
72 74 #define _APS_NEXT_CONTROL_VALUE 1018
73 75 #define _APS_NEXT_SYMED_VALUE 311
74 76 #endif
... ...