AccountTreeView.xaml 36 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496
  1. <UserControl x:Class="Muchinfo.MTPClient.Account.Views.AccountTreeView"
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  5. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  6. xmlns:resource="clr-namespace:Muchinfo.MTPClient.Resources;assembly=Muchinfo.MTPClient.Resources"
  7. xmlns:utilities="clr-namespace:Muchinfo.MTPClient.Account.Utilities"
  8. Margin="4,0"
  9. FontSize="{DynamicResource MuchinfoUserControlFontSize}"
  10. mc:Ignorable="d">
  11. <UserControl.Resources>
  12. <utilities:PowerConverter x:Key="powerConverter" />
  13. </UserControl.Resources>
  14. <Grid>
  15. <Border MinWidth="174"
  16. Margin="8,0,0,0"
  17. Background="{DynamicResource MuchinfoBrush5}"
  18. BorderBrush="{DynamicResource MuchinfoBrush67}"
  19. BorderThickness="4"
  20. CornerRadius="2">
  21. <TreeView x:Name="FunctionTreeView"
  22. Background="{DynamicResource MuchinfoBrush36}"
  23. BorderBrush="Transparent"
  24. BorderThickness="0"
  25. DataContext="{Binding ElementName=OrderContent}">
  26. <TreeViewItem IsExpanded="True" Style="{StaticResource TreeViewItemHiddenStyle}">
  27. <!--
  28. <TreeViewItem Header="建仓"
  29. MouseLeftButtonUp="TreeView_OnMouseLeftButtonUp"
  30. Style="{StaticResource NotLineTreeViewItem}"
  31. Tag="Open"
  32. Visibility="{Binding AccountManager.PowerList,
  33. Source={StaticResource Locator},
  34. Converter={StaticResource powerConverter},
  35. ConverterParameter=Open}" />
  36. <TreeViewItem Header="平仓"
  37. MouseLeftButtonUp="TreeView_OnMouseLeftButtonUp"
  38. Style="{StaticResource NotLineTreeViewItem}"
  39. Tag="Close"
  40. Visibility="{Binding AccountManager.PowerList,
  41. Source={StaticResource Locator},
  42. Converter={StaticResource powerConverter},
  43. ConverterParameter=Close}" />
  44. <TreeViewItem x:Name="OrderCancelItem"
  45. Header="撤单"
  46. MouseLeftButtonUp="TreeView_OnMouseLeftButtonUp"
  47. Style="{StaticResource NotLineTreeViewItem}"
  48. Tag="CancelOrder"
  49. Visibility="{Binding AccountManager.PowerList,
  50. Source={StaticResource Locator},
  51. Converter={StaticResource powerConverter},
  52. ConverterParameter=Close}" />
  53. -->
  54. <TreeViewItem Header="查询"
  55. IsExpanded="True"
  56. Style="{StaticResource NotLineTreeViewItem}">
  57. <TreeViewItem x:Name="AccountInfo"
  58. Header="{x:Static resource:Muchinfo_Resource.TradeTreeMenu_AccountInfo}"
  59. MouseLeftButtonUp="TreeView_OnMouseLeftButtonUp"
  60. Style="{StaticResource LineTreeViewItem}"
  61. Tag="AccountInfo"
  62. Visibility="{Binding AccountManager.PowerList,
  63. Source={StaticResource Locator},
  64. Converter={StaticResource powerConverter},
  65. ConverterParameter=AccountInfo}" />
  66. <TreeViewItem Header="{x:Static resource:Muchinfo_Resource.Moduels_Commission}"
  67. MouseLeftButtonUp="TreeView_OnMouseLeftButtonUp"
  68. Style="{StaticResource LineTreeViewItem}"
  69. Tag="EntrustOrder"
  70. Visibility="{Binding AccountManager.PowerList,
  71. Source={StaticResource Locator},
  72. Converter={StaticResource powerConverter},
  73. ConverterParameter=EntrustOrder}" />
  74. <TreeViewItem Header="申购单"
  75. MouseLeftButtonUp="TreeView_OnMouseLeftButtonUp"
  76. Style="{DynamicResource LineTreeViewItem}"
  77. Tag="QueryDealPurchase"
  78. Visibility="{Binding AccountManager.PowerList,
  79. Source={StaticResource Locator},
  80. Converter={StaticResource powerConverter},
  81. ConverterParameter=QueryDealPurchase}" />
  82. <TreeViewItem x:Name="hodler"
  83. Header="{x:Static resource:Muchinfo_Resource.Moduels_HoldBill}"
  84. MouseLeftButtonUp="TreeView_OnMouseLeftButtonUp"
  85. Style="{StaticResource LineTreeViewItem}"
  86. Tag="HoldOrder"
  87. Visibility="{Binding AccountManager.PowerList,
  88. Source={StaticResource Locator},
  89. Converter={StaticResource powerConverter},
  90. ConverterParameter=HoldOrder}" />
  91. <TreeViewItem Header="{x:Static resource:Muchinfo_Resource.TradeTreeMenu_Position}"
  92. MouseLeftButtonUp="TreeView_OnMouseLeftButtonUp"
  93. Style="{StaticResource LineTreeViewItem}"
  94. Tag="Position"
  95. Visibility="{Binding AccountManager.PowerList,
  96. Source={StaticResource Locator},
  97. Converter={StaticResource powerConverter},
  98. ConverterParameter=Position}" />
  99. <TreeViewItem Header="{x:Static resource:Muchinfo_Resource.Content_Close1}"
  100. MouseLeftButtonUp="TreeView_OnMouseLeftButtonUp"
  101. Style="{StaticResource LineTreeViewItem}"
  102. Tag="CloseOrder"
  103. Visibility="Collapsed" />
  104. <!--
  105. Visibility="{Binding AccountManager.PowerList,
  106. Source={StaticResource Locator},
  107. Converter={StaticResource powerConverter},
  108. ConverterParameter=CloseOrder}"
  109. -->
  110. <TreeViewItem Header="{x:Static resource:Muchinfo_Resource.Content_Delivery}"
  111. MouseLeftButtonUp="TreeView_OnMouseLeftButtonUp"
  112. Style="{StaticResource LineTreeViewItem}"
  113. Tag="Delivery"
  114. Visibility="{Binding AccountManager.PowerList,
  115. Source={StaticResource Locator},
  116. Converter={StaticResource powerConverter},
  117. ConverterParameter=Delivery}" />
  118. <TreeViewItem Header="{x:Static resource:Muchinfo_Resource.Moduels_DealDetial}"
  119. MouseLeftButtonUp="TreeView_OnMouseLeftButtonUp"
  120. Style="{StaticResource LineTreeViewItem}"
  121. Tag="CompleteOrder"
  122. Visibility="{Binding AccountManager.PowerList,
  123. Source={StaticResource Locator},
  124. Converter={StaticResource powerConverter},
  125. ConverterParameter=CompleteOrder}" />
  126. <!--
  127. <TreeViewItem Header="{x:Static resource:Muchinfo_Resource.TradeTreeMenu_GoodsOrderQuety}"
  128. MouseLeftButtonUp="TreeView_OnMouseLeftButtonUp"
  129. Style="{StaticResource LineTreeViewItem}"
  130. Tag="GoodsOrderQuety"
  131. Visibility="{Binding AccountManager.PowerList,
  132. Source={StaticResource Locator},
  133. Converter={StaticResource powerConverter},
  134. ConverterParameter=GoodsOrderQuety}" />
  135. -->
  136. <TreeViewItem Header="{x:Static resource:Muchinfo_Resource.TradeTreeMenu_OperationLog}"
  137. MouseLeftButtonUp="TreeView_OnMouseLeftButtonUp"
  138. Style="{StaticResource LineTreeViewItem}"
  139. Tag="OperationLog"
  140. Visibility="{Binding AccountManager.PowerList,
  141. Source={StaticResource Locator},
  142. Converter={StaticResource powerConverter},
  143. ConverterParameter=OperationLog}" />
  144. <TreeViewItem Header="{x:Static resource:Muchinfo_Resource.TradeTreeMenu_UserReport}"
  145. MouseLeftButtonUp="TreeView_OnMouseLeftButtonUp"
  146. Style="{StaticResource LineTreeViewItem}"
  147. Tag="UserReport"
  148. Visibility="{Binding AccountManager.PowerList,
  149. Source={StaticResource Locator},
  150. Converter={StaticResource powerConverter},
  151. ConverterParameter=UserReport}" />
  152. </TreeViewItem>
  153. <TreeViewItem Header="{x:Static resource:Muchinfo_Resource.Content_MessageCenter}" Style="{StaticResource NotLineTreeViewItem}">
  154. <TreeViewItem Header="{x:Static resource:Muchinfo_Resource.Moduels_Notice}"
  155. MouseLeftButtonUp="TreeView_OnMouseLeftButtonUp"
  156. Style="{StaticResource LineTreeViewItem}"
  157. Tag="Notice"
  158. Visibility="{Binding AccountManager.PowerList,
  159. Source={StaticResource Locator},
  160. Converter={StaticResource powerConverter},
  161. ConverterParameter=Notice}" />
  162. <TreeViewItem Header="{x:Static resource:Muchinfo_Resource.Moduels_Notify}"
  163. MouseLeftButtonUp="TreeView_OnMouseLeftButtonUp"
  164. Style="{StaticResource LineTreeViewItem}"
  165. Tag="Ntf"
  166. Visibility="{Binding AccountManager.PowerList,
  167. Source={StaticResource Locator},
  168. Converter={StaticResource powerConverter},
  169. ConverterParameter=Ntf}" />
  170. </TreeViewItem>
  171. <TreeViewItem Header="{x:Static resource:Muchinfo_Resource.Moduels_Delivery}"
  172. Style="{StaticResource NotLineTreeViewItem}"
  173. Tag="DeliveryParent"
  174. Visibility="{Binding AccountManager.PowerList,
  175. Source={StaticResource Locator},
  176. Converter={StaticResource powerConverter},
  177. ConverterParameter=DeliveryParent}">
  178. <TreeViewItem Header="{x:Static resource:Muchinfo_Resource.TradeTreeMenu_DeliveryAplly}"
  179. MouseLeftButtonUp="TreeView_OnMouseLeftButtonUp"
  180. Style="{StaticResource LineTreeViewItem}"
  181. Tag="DeliveryApply"
  182. Visibility="{Binding AccountManager.PowerList,
  183. Source={StaticResource Locator},
  184. Converter={StaticResource powerConverter},
  185. ConverterParameter=DeliveryApply}" />
  186. <TreeViewItem Header="{x:Static resource:Muchinfo_Resource.TradeTreeMenu_DeliveryApllyQuery}"
  187. MouseLeftButtonUp="TreeView_OnMouseLeftButtonUp"
  188. Style="{StaticResource LineTreeViewItem}"
  189. Tag="DeliveryQuety"
  190. Visibility="{Binding AccountManager.PowerList,
  191. Source={StaticResource Locator},
  192. Converter={StaticResource powerConverter},
  193. ConverterParameter=DeliveryQuety}" />
  194. </TreeViewItem>
  195. <TreeViewItem Header="{x:Static resource:Muchinfo_Resource.Content_Apply}" Style="{StaticResource NotLineTreeViewItem}">
  196. <TreeViewItem Header="{x:Static resource:Muchinfo_Resource.Infrastructure_WithdrawRequest}"
  197. MouseLeftButtonUp="TreeView_OnMouseLeftButtonUp"
  198. Style="{StaticResource LineTreeViewItem}"
  199. Tag="AmountOutApply"
  200. Visibility="{Binding AccountManager.PowerList,
  201. Source={StaticResource Locator},
  202. Converter={StaticResource powerConverter},
  203. ConverterParameter=AmountOutApply}" />
  204. <TreeViewItem Header="{x:Static resource:Muchinfo_Resource.Moduels_InCashApply}"
  205. MouseLeftButtonUp="TreeView_OnMouseLeftButtonUp"
  206. Style="{StaticResource LineTreeViewItem}"
  207. Tag="AmountInApply"
  208. Visibility="{Binding AccountManager.PowerList,
  209. Source={StaticResource Locator},
  210. Converter={StaticResource powerConverter},
  211. ConverterParameter=AmountInApply}" />
  212. <TreeViewItem Header="{x:Static resource:Muchinfo_Resource.TradeTreeMenu_AmountQuety}"
  213. MouseLeftButtonUp="TreeView_OnMouseLeftButtonUp"
  214. Style="{StaticResource LineTreeViewItem}"
  215. Tag="AmountQuety"
  216. Visibility="{Binding AccountManager.PowerList,
  217. Source={StaticResource Locator},
  218. Converter={StaticResource powerConverter},
  219. ConverterParameter=AmountQuety}" />
  220. </TreeViewItem>
  221. <TreeViewItem Header="{x:Static resource:Muchinfo_Resource.Content_BreakSign}"
  222. Style="{StaticResource NotLineTreeViewItem}"
  223. Visibility="{Binding AccountManager.PowerList,
  224. Source={StaticResource Locator},
  225. Converter={StaticResource powerConverter},
  226. ConverterParameter=BreakSign}">
  227. <TreeViewItem Header="{x:Static resource:Muchinfo_Resource.Moduels_SignBank}"
  228. MouseLeftButtonUp="TreeView_OnMouseLeftButtonUp"
  229. Style="{StaticResource LineTreeViewItem}"
  230. Tag="BankSign"
  231. Visibility="{Binding AccountManager.PowerList,
  232. Source={StaticResource Locator},
  233. Converter={StaticResource powerConverter},
  234. ConverterParameter=BankSign}" />
  235. <TreeViewItem Header="{x:Static resource:Muchinfo_Resource.TradeTreeMenu_BankBreak}"
  236. MouseLeftButtonUp="TreeView_OnMouseLeftButtonUp"
  237. Style="{StaticResource LineTreeViewItem}"
  238. Tag="BankBreak"
  239. Visibility="{Binding AccountManager.PowerList,
  240. Source={StaticResource Locator},
  241. Converter={StaticResource powerConverter},
  242. ConverterParameter=BankBreak}" />
  243. <TreeViewItem Header="{x:Static resource:Muchinfo_Resource.TradeTreeMenu_BankUpdate}"
  244. MouseLeftButtonUp="TreeView_OnMouseLeftButtonUp"
  245. Style="{StaticResource LineTreeViewItem}"
  246. Tag="BankUpdate"
  247. Visibility="{Binding AccountManager.PowerList,
  248. Source={StaticResource Locator},
  249. Converter={StaticResource powerConverter},
  250. ConverterParameter=BankUpdate}" />
  251. </TreeViewItem>
  252. <TreeViewItem Header="{x:Static resource:Muchinfo_Resource.Content_DeliveryManage}"
  253. Style="{StaticResource NotLineTreeViewItem}"
  254. Visibility="{Binding AccountManager.PowerList,
  255. Source={StaticResource Locator},
  256. Converter={StaticResource powerConverter},
  257. ConverterParameter=DeliveryManage}">
  258. <TreeViewItem Header="{x:Static resource:Muchinfo_Resource.Moduels_DeliveryApply}"
  259. MouseLeftButtonUp="TreeView_OnMouseLeftButtonUp"
  260. Style="{StaticResource LineTreeViewItem}"
  261. Tag="DeliveryAplly"
  262. Visibility="{Binding AccountManager.PowerList,
  263. Source={StaticResource Locator},
  264. Converter={StaticResource powerConverter},
  265. ConverterParameter=DeliveryAplly}" />
  266. <TreeViewItem Header="{x:Static resource:Muchinfo_Resource.TradeTreeMenu_DeliveryApllyQuery}"
  267. MouseLeftButtonUp="TreeView_OnMouseLeftButtonUp"
  268. Style="{StaticResource LineTreeViewItem}"
  269. Tag="DeliveryApllyQuery"
  270. Visibility="{Binding AccountManager.PowerList,
  271. Source={StaticResource Locator},
  272. Converter={StaticResource powerConverter},
  273. ConverterParameter=DeliveryApllyQuery}" />
  274. <TreeViewItem Header="{x:Static resource:Muchinfo_Resource.Moduels_InHouseApply}"
  275. MouseLeftButtonUp="TreeView_OnMouseLeftButtonUp"
  276. Style="{StaticResource LineTreeViewItem}"
  277. Tag="DeclareStorageAppointment"
  278. Visibility="{Binding AccountManager.PowerList,
  279. Source={StaticResource Locator},
  280. Converter={StaticResource powerConverter},
  281. ConverterParameter=DeclareStorageAppointment}" />
  282. <TreeViewItem Header="{x:Static resource:Muchinfo_Resource.TradeTreeMenu_IntermediateBinDeclaration}"
  283. MouseLeftButtonUp="TreeView_OnMouseLeftButtonUp"
  284. Style="{StaticResource LineTreeViewItem}"
  285. Tag="IntermediateBinDeclaration "
  286. Visibility="{Binding AccountManager.PowerList,
  287. Source={StaticResource Locator},
  288. Converter={StaticResource powerConverter},
  289. ConverterParameter=IntermediateBinDeclaration}" />
  290. <TreeViewItem Header="{x:Static resource:Muchinfo_Resource.TradeTreeMenu_WarehouseReceiptTransfer}"
  291. MouseLeftButtonUp="TreeView_OnMouseLeftButtonUp"
  292. Style="{StaticResource LineTreeViewItem}"
  293. Tag="WarehouseReceiptTransfer"
  294. Visibility="{Binding AccountManager.PowerList,
  295. Source={StaticResource Locator},
  296. Converter={StaticResource powerConverter},
  297. ConverterParameter=WarehouseReceiptTransfer}" />
  298. <TreeViewItem Header="{x:Static resource:Muchinfo_Resource.TradeTreeMenu_IntermediateBinQuery}"
  299. MouseLeftButtonUp="TreeView_OnMouseLeftButtonUp"
  300. Style="{StaticResource LineTreeViewItem}"
  301. Tag="IntermediateBinQuery"
  302. Visibility="{Binding AccountManager.PowerList,
  303. Source={StaticResource Locator},
  304. Converter={StaticResource powerConverter},
  305. ConverterParameter=IntermediateBinQuery}" />
  306. <TreeViewItem Header="{x:Static resource:Muchinfo_Resource.TradeTreeMenu_StorageManagement}"
  307. MouseLeftButtonUp="TreeView_OnMouseLeftButtonUp"
  308. Style="{StaticResource LineTreeViewItem}"
  309. Tag="StorageManagement"
  310. Visibility="{Binding AccountManager.PowerList,
  311. Source={StaticResource Locator},
  312. Converter={StaticResource powerConverter},
  313. ConverterParameter=StorageManagement}" />
  314. <TreeViewItem Header="{x:Static resource:Muchinfo_Resource.TradeTreeMenu_WarehouseReceiptManagement}"
  315. MouseLeftButtonUp="TreeView_OnMouseLeftButtonUp"
  316. Style="{StaticResource LineTreeViewItem}"
  317. Tag="WarehouseReceiptManagement"
  318. Visibility="{Binding AccountManager.PowerList,
  319. Source={StaticResource Locator},
  320. Converter={StaticResource powerConverter},
  321. ConverterParameter=WarehouseReceiptManagement}" />
  322. <TreeViewItem Header="{x:Static resource:Muchinfo_Resource.TradeTreeMenu_WarehouseReceiptTransferee}"
  323. MouseLeftButtonUp="TreeView_OnMouseLeftButtonUp"
  324. Style="{StaticResource LineTreeViewItem}"
  325. Tag="WarehouseReceiptTransferee"
  326. Visibility="{Binding AccountManager.PowerList,
  327. Source={StaticResource Locator},
  328. Converter={StaticResource powerConverter},
  329. ConverterParameter=WarehouseReceiptTransferee}" />
  330. <TreeViewItem Header="{x:Static resource:Muchinfo_Resource.TradeTreeMenu_WarehouseReceiptTransferQuery}"
  331. MouseLeftButtonUp="TreeView_OnMouseLeftButtonUp"
  332. Style="{StaticResource LineTreeViewItem}"
  333. Tag="WarehouseReceiptTransferQuery"
  334. Visibility="{Binding AccountManager.PowerList,
  335. Source={StaticResource Locator},
  336. Converter={StaticResource powerConverter},
  337. ConverterParameter=WarehouseReceiptTransferQuery}" />
  338. <TreeViewItem Header="{x:Static resource:Muchinfo_Resource.TradeTreeMenu_WarehouseReceiptTransferDetail}"
  339. MouseLeftButtonUp="TreeView_OnMouseLeftButtonUp"
  340. Style="{StaticResource LineTreeViewItem}"
  341. Tag="WarehouseReceiptTransferDetail"
  342. Visibility="{Binding AccountManager.PowerList,
  343. Source={StaticResource Locator},
  344. Converter={StaticResource powerConverter},
  345. ConverterParameter=WarehouseReceiptTransferQuery}" />
  346. <!--
  347. <TreeViewItem Header="{x:Static resource:Muchinfo_Resource.TradeTreeMenu_DeliveryQuoteQuery}"
  348. MouseLeftButtonUp="TreeView_OnMouseLeftButtonUp"
  349. Style="{StaticResource LineTreeViewItem}"
  350. Tag="DeliveryQuoteQuery"
  351. Visibility="{Binding AccountManager.PowerList,
  352. Source={StaticResource Locator},
  353. Converter={StaticResource powerConverter},
  354. ConverterParameter=DeliveryQuoteQuery}" />
  355. -->
  356. <TreeViewItem Header="{x:Static resource:Muchinfo_Resource.TradeTreeMenu_PickingGoodsApply}"
  357. MouseLeftButtonUp="TreeView_OnMouseLeftButtonUp"
  358. Style="{StaticResource LineTreeViewItem}"
  359. Tag="PickingGoodsApply"
  360. Visibility="{Binding AccountManager.PowerList,
  361. Source={StaticResource Locator},
  362. Converter={StaticResource powerConverter},
  363. ConverterParameter=PickingGoodsApply}" />
  364. <TreeViewItem Header="{x:Static resource:Muchinfo_Resource.TradeTreeMenu_PickingGoodsQuery}"
  365. MouseLeftButtonUp="TreeView_OnMouseLeftButtonUp"
  366. Style="{StaticResource LineTreeViewItem}"
  367. Tag="PickingGoodsQuery"
  368. Visibility="{Binding AccountManager.PowerList,
  369. Source={StaticResource Locator},
  370. Converter={StaticResource powerConverter},
  371. ConverterParameter=PickingGoodsQuery}" />
  372. </TreeViewItem>
  373. <!--
  374. <TreeViewItem Header="货物宝"
  375. Style="{StaticResource NotLineTreeViewItem}"
  376. Visibility="{Binding AccountManager.PowerList,
  377. Source={StaticResource Locator},
  378. Converter={StaticResource powerConverter},
  379. ConverterParameter=FinancingAndInvestment}">
  380. -->
  381. <!--
  382. <TreeViewItem Header="货物宝产品查询"
  383. MouseLeftButtonUp="TreeView_OnMouseLeftButtonUp"
  384. Style="{StaticResource LineTreeViewItem}"
  385. Tag="QueryInvestment"
  386. Visibility="{Binding AccountManager.PowerList,
  387. Source={StaticResource Locator},
  388. Converter={StaticResource powerConverter},
  389. ConverterParameter=QueryInvestment}" />
  390. -->
  391. <!--
  392. <TreeViewItem Header="我的货物宝合约"
  393. MouseLeftButtonUp="TreeView_OnMouseLeftButtonUp"
  394. Style="{StaticResource LineTreeViewItem}"
  395. Tag="MyInvestmentContract"
  396. Visibility="{Binding AccountManager.PowerList,
  397. Source={StaticResource Locator},
  398. Converter={StaticResource powerConverter},
  399. ConverterParameter=MyInvestmentContract}" />
  400. <TreeViewItem Header="我的货物宝"
  401. MouseLeftButtonUp="TreeView_OnMouseLeftButtonUp"
  402. Style="{StaticResource LineTreeViewItem}"
  403. Tag="MyFinancingProject"
  404. Visibility="{Binding AccountManager.PowerList,
  405. Source={StaticResource Locator},
  406. Converter={StaticResource powerConverter},
  407. ConverterParameter=MyFinancingProject}" />
  408. -->
  409. <!--
  410. <TreeViewItem Header="转让货物宝合约"
  411. MouseLeftButtonUp="TreeView_OnMouseLeftButtonUp"
  412. Style="{StaticResource LineTreeViewItem}"
  413. Tag="QueryTransInvestmentContract"
  414. Visibility="{Binding AccountManager.PowerList,
  415. Source={StaticResource Locator},
  416. Converter={StaticResource powerConverter},
  417. ConverterParameter=QueryTransInvestmentContract}" />
  418. -->
  419. <!--
  420. <TreeViewItem Header="货物宝报表"
  421. MouseLeftButtonUp="TreeView_OnMouseLeftButtonUp"
  422. Style="{StaticResource LineTreeViewItem}"
  423. Tag="FinancingAndInvestmentReport"
  424. Visibility="{Binding AccountManager.PowerList,
  425. Source={StaticResource Locator},
  426. Converter={StaticResource powerConverter},
  427. ConverterParameter=FinancingAndInvestmentReport}" />
  428. </TreeViewItem>
  429. -->
  430. <TreeViewItem Header="{x:Static resource:Muchinfo_Resource.FinacingProducts}"
  431. Style="{StaticResource NotLineTreeViewItem}"
  432. Tag="FinancingAndInvestment"
  433. Visibility="{Binding AccountManager.PowerList,
  434. Source={StaticResource Locator},
  435. Converter={StaticResource powerConverter},
  436. ConverterParameter=FinancingAndInvestment}">
  437. <TreeViewItem Header="{x:Static resource:Muchinfo_Resource.FinacingMyFinacingContract}"
  438. MouseLeftButtonUp="TreeView_OnMouseLeftButtonUp"
  439. Style="{StaticResource LineTreeViewItem}"
  440. Tag="MyInvestmentContract"
  441. Visibility="{Binding AccountManager.PowerList,
  442. Source={StaticResource Locator},
  443. Converter={StaticResource powerConverter},
  444. ConverterParameter=MyInvestmentContract}" />
  445. <TreeViewItem Header="{x:Static resource:Muchinfo_Resource.FinacingMyFinacingProduct}"
  446. MouseLeftButtonUp="TreeView_OnMouseLeftButtonUp"
  447. Style="{StaticResource LineTreeViewItem}"
  448. Tag="MyFinancingProject"
  449. Visibility="{Binding AccountManager.FinacingProjectVisibility,
  450. Mode=TwoWay,
  451. Source={StaticResource Locator}}" />
  452. <TreeViewItem Header="转让转出合约"
  453. MouseLeftButtonUp="TreeView_OnMouseLeftButtonUp"
  454. Style="{StaticResource LineTreeViewItem}"
  455. Tag="QueryTransferContract"
  456. Visibility="{Binding AccountManager.FinacingAndInvestmentVisibility,
  457. Mode=TwoWay,
  458. Source={StaticResource Locator}}" />
  459. <TreeViewItem Header="{x:Static resource:Muchinfo_Resource.FinacingProductsReport}"
  460. MouseLeftButtonUp="TreeView_OnMouseLeftButtonUp"
  461. Style="{StaticResource LineTreeViewItem}"
  462. Tag="FinancingAndInvestmentReport"
  463. Visibility="{Binding AccountManager.PowerList,
  464. Source={StaticResource Locator},
  465. Converter={StaticResource powerConverter},
  466. ConverterParameter=FinancingAndInvestmentReport}" />
  467. </TreeViewItem>
  468. </TreeViewItem>
  469. </TreeView>
  470. </Border>
  471. </Grid>
  472. </UserControl>