project-management.html 31 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
  6. <meta http-equiv="x-ua-compatible" content="ie=edge">
  7. <title>项目管理-Smartcost</title>
  8. <link rel="stylesheet" href="/lib/bootstrap/css/bootstrap.min.css">
  9. <link rel="stylesheet" href="/web/building_saas/css/main.css">
  10. <link rel="stylesheet" href="/lib/font-awesome/font-awesome.min.css">
  11. <!--zTree-->
  12. <link rel="stylesheet" href="/lib/ztree/css/zTreeStyle.css" type="text/css">
  13. <script>
  14. // 这里的变量供页面调用
  15. var userAccount = '<%- userAccount %>';
  16. var userID = '<%- userID %>';
  17. </script>
  18. <style type="text/css">
  19. .hidden-area{
  20. display: none;
  21. }
  22. </style>
  23. </head>
  24. <body>
  25. <div class="header">
  26. <div class="top-msg clearfix">
  27. <div class="alert alert-warning mb-0 py-0" role="alert">
  28. <button type="button" class="close" data-dismiss="alert" aria-label="Close">
  29. <span aria-hidden="true">&times;</span>
  30. </button>
  31. <strong>注意!</strong> 这是一条消息通知 <a href="#">链接</a>
  32. </div>
  33. </div>
  34. <nav class="navbar navbar-toggleable-lg navbar-light bg-faded p-0 justify-content-between">
  35. <span class="header-logo px-2">Smartcost</span>
  36. <div class="navbar-text pt-0">
  37. <div class="dropdown d-inline-block">
  38. <button class="btn btn-link btn-sm dropdown-toggle" type="button" data-toggle="dropdown"><%- userAccount %></button>
  39. <div class="dropdown-menu dropdown-menu-right">
  40. <a class="dropdown-item" href="/user/info" target="_blank">账号资料</a>
  41. <a class="dropdown-item" href="user-buy.html" target="_blank">产品购买</a>
  42. <a class="dropdown-item" href="/user/preferences" target="_blank">偏好设置</a>
  43. </div>
  44. </div>
  45. <span class="btn btn-link btn-sm new-msg">
  46. <i class="fa fa-envelope-o" aria-hidden="true"></i>&nbsp;2
  47. </span>
  48. <a href="/logout" class="btn btn-link btn-sm">注销</a>
  49. </div>
  50. </nav>
  51. <nav class="navbar navbar-toggleable-lg justify-content-between navbar-light p-0">
  52. <ul class="nav navbar-nav px-1">
  53. <li class="nav-item dropdown">
  54. <a class="nav-link dropdown-toggle" href="http://example.com" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">文件</a>
  55. <div class="dropdown-menu" aria-labelledby="supportedContentDropdown">
  56. <a class="dropdown-item" href="#">Action</a>
  57. <a class="dropdown-item" href="#">Another action</a>
  58. <a class="dropdown-item" href="#">Something else here</a>
  59. </div>
  60. </li>
  61. <li class="nav-item dropdown">
  62. <a class="nav-link dropdown-toggle" href="#" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">编辑</a>
  63. <div class="dropdown-menu">
  64. <a class="dropdown-item" href="#">Action</a>
  65. <a class="dropdown-item" href="#">Another action</a>
  66. <a class="dropdown-item" href="#">Something else here</a>
  67. </div>
  68. </li>
  69. <li class="nav-item dropdown">
  70. <a class="nav-link dropdown-toggle" href="#" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">工具</a>
  71. <div class="dropdown-menu">
  72. <a class="dropdown-item" href="#">定额库编辑器</a>
  73. <a class="dropdown-item" href="/complementaryGlj">工料机库编辑器</a>
  74. </div>
  75. </li>
  76. <li class="nav-item dropdown">
  77. <a class="nav-link dropdown-toggle" href="#" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><i class="fa fa-question-circle-o"></i> 帮助</a>
  78. <div class="dropdown-menu">
  79. <a class="dropdown-item" href="#">帮助</a>
  80. <a class="dropdown-item" href="#">升级说明</a>
  81. <a class="dropdown-item" href="#">重庆市2008定额说明</a>
  82. <a class="dropdown-item" href="#">纵横官网</a>
  83. <a class="dropdown-item" href="#">动画教程</a>
  84. <a class="dropdown-item" href="#">联系客服</a>
  85. <a class="dropdown-item" href="#">关于</a>
  86. </div>
  87. </li>
  88. </ul>
  89. <form class="form-inline">
  90. <input class="form-control form-control-sm mr-1" type="text" placeholder="告诉我你想做什么">
  91. </form>
  92. </nav>
  93. </div>
  94. <div class="main">
  95. <div class="poj-manage container-fluid">
  96. <div class="row">
  97. <div class="col-lg-2">
  98. <div class="poj-cate">
  99. <input type="text" class="my-2 form-control form-control-sm" placeholder="搜索所有工程">
  100. <ul class="nav nav-pills flex-column">
  101. <li class="nav-item">
  102. <a class="nav-link active" href="#">全部</a>
  103. </li>
  104. <li class="nav-item">
  105. <a class="nav-link" href="#">最近使用</a>
  106. </li>
  107. <li class="nav-item">
  108. <a class="nav-link" href="#">共享</a>
  109. </li>
  110. <li class="nav-item">
  111. <a class="nav-link" href="#">协同工作</a>
  112. </li>
  113. <li class="nav-item">
  114. <a class="nav-link" href="#">归档</a>
  115. </li>
  116. <li class="nav-item">
  117. <a class="nav-link" href="#">回收站</a>
  118. </li>
  119. </ul>
  120. </div>
  121. </div>
  122. <div class="col-lg-10">
  123. <div class="toolsbar">
  124. <div class="tools-btn btn-group align-top">
  125. <a href="javascript:void(0);" class="btn btn-sm" id="add-project-btn"><i class="fa fa-cubes"></i>&nbsp;新建建设项目</a>
  126. <a href="javascript:void(0);" class="btn btn-sm" id="add-engineering-btn"><i class="fa fa-cube"></i>&nbsp;新建单项工程</a>
  127. <a href="javascript:void(0);" class="btn btn-sm" id="add-tender-btn"><i class="fa fa-sticky-note-o"></i>&nbsp;新建单位工程</a>
  128. <a href="javascript:void(0);" class="btn btn-sm" id="add-folder-btn"><i class="fa fa-folder-o"></i>&nbsp;新建文件夹</a>
  129. <a href="javascript:void(0);" class="btn btn-sm" id="rename-btn">重命名</a>
  130. <a href="javascript:void(0);" class="btn btn-sm" id="del-btn">删除</a>
  131. <a href="javascript:void(0);" class="btn btn-sm" id="move-to-btn">移动到...</a>
  132. <a href="javascript:void(0);" class="btn btn-sm" id="copy-to-btn">复制到...</a>
  133. <a href="" class="btn btn-sm" id="share-btn">共享</a>
  134. <a href="" class="btn btn-sm" id="cooperate-btn">协同</a>
  135. </div>
  136. </div>
  137. <div class="poj-list">
  138. <legend>全部</legend>
  139. <table class="table table-hover table-sm" id="ProjTree">
  140. <thead>
  141. <tr>
  142. <th width="40"></th>
  143. <th width="78%">工程列表</th>
  144. <th width="10%">最近使用</th>
  145. <th width="10%">创建日期</th>
  146. </tr>
  147. </thead>
  148. <tbody>
  149. </tbody>
  150. </table>
  151. </div>
  152. </div>
  153. </div>
  154. </div>
  155. <div class="slide-sidebar">
  156. <div class="side-content">
  157. <!--建设项目汇总-->
  158. <div class="p-3">
  159. <legend>船体生产车间 汇总</legend>
  160. <table class="table table-bordered table-hover table-sm">
  161. <thead>
  162. <tr>
  163. <th rowspan="2"></th>
  164. <th rowspan="2">序号</th>
  165. <th rowspan="2">单位工程名称</th>
  166. <th rowspan="2">金额(元)</th>
  167. <th colspan="3">其中</th>
  168. </tr>
  169. <tr>
  170. <th>暂估价(元)</th>
  171. <th>安全文明施工费(元)</th>
  172. <th>规费(元)</th>
  173. </tr>
  174. </thead>
  175. <tbody>
  176. <tr>
  177. <td>1</td>
  178. <td>1</td>
  179. <td>6号生产车间</td>
  180. <td>12345.67</td>
  181. <td>5436.87</td>
  182. <td>54345.68</td>
  183. <td>514.54</td>
  184. </tr>
  185. <tr>
  186. <td>2</td>
  187. <td>2</td>
  188. <td>7号生产车间</td>
  189. <td>12345.67</td>
  190. <td>5436.87</td>
  191. <td>54345.68</td>
  192. <td>514.54</td>
  193. </tr>
  194. <tr>
  195. <td>3</td>
  196. <td>3</td>
  197. <td>8号生产车间</td>
  198. <td> </td>
  199. <td> </td>
  200. <td> </td>
  201. <td> </td>
  202. </tr>
  203. <tr>
  204. <td>4</td>
  205. <td>4</td>
  206. <td>9号生产车间</td>
  207. <td> </td>
  208. <td> </td>
  209. <td> </td>
  210. <td> </td>
  211. </tr>
  212. <tr>
  213. <td>4</td>
  214. <td> </td>
  215. <td>合计</td>
  216. <td>110789.36</td>
  217. <td>5971.32</td>
  218. <td>58900.46</td>
  219. <td>1049.41
  220. </td>
  221. </tr>
  222. </tbody>
  223. </table>
  224. <div class="row">
  225. <div class="col-md-6">
  226. <legend>单价文件</legend>
  227. <table class="table table-bordered table-hover table-sm">
  228. <thead><th></th><th>名称</th></thead>
  229. <tbody>
  230. <tr><td>1</td><td>A单价文件</td></tr>
  231. <tr><td>2</td><td>B单价文件</td></tr>
  232. <tr><td>3</td><td>C单价文件</td></tr>
  233. </tbody>
  234. </table>
  235. </div>
  236. <div class="col-md-6">
  237. <legend>费率文件</legend>
  238. <table class="table table-bordered table-hover table-sm">
  239. <thead><th></th><th>名称</th></thead>
  240. <tbody>
  241. <tr><td>1</td><td>A费率文件</td></tr>
  242. <tr><td>2</td><td>B费率文件</td></tr>
  243. <tr><td>3</td><td>C费率文件</td></tr>
  244. </tbody>
  245. </table>
  246. </div>
  247. </div>
  248. </div>
  249. <!--单项工程汇总-->
  250. <div class="p-3">
  251. <legend>6号生产车间 汇总</legend>
  252. <table class="table table-bordered table-hover table-sm">
  253. <thead>
  254. <tr>
  255. <th rowspan="2"></th>
  256. <th rowspan="2">序号</th>
  257. <th rowspan="2">单位工程名称</th>
  258. <th rowspan="2">金额(元)</th>
  259. <th colspan="3">其中</th>
  260. </tr>
  261. <tr>
  262. <th>暂估价(元)</th>
  263. <th>安全文明施工费(元)</th>
  264. <th>规费(元)</th>
  265. </tr>
  266. </thead>
  267. <tbody>
  268. <tr>
  269. <td>1</td>
  270. <td>1</td>
  271. <td>建筑工程3</td>
  272. <td>12345.67</td>
  273. <td>5436.87</td>
  274. <td>54345.68</td>
  275. <td>514.54</td>
  276. </tr>
  277. <tr>
  278. <td>2</td>
  279. <td>2</td>
  280. <td>建筑工程4</td>
  281. <td>12345.67</td>
  282. <td>5436.87</td>
  283. <td>54345.68</td>
  284. <td>514.54</td>
  285. </tr>
  286. <tr>
  287. <td>3</td>
  288. <td>3</td>
  289. <td>建筑工程5</td>
  290. <td> </td>
  291. <td> </td>
  292. <td> </td>
  293. <td> </td>
  294. </tr>
  295. <tr>
  296. <td>4</td>
  297. <td> </td>
  298. <td>合计</td>
  299. <td>110789.36</td>
  300. <td>5971.32</td>
  301. <td>58900.46</td>
  302. <td>1049.41
  303. </td>
  304. </tr>
  305. </tbody>
  306. </table>
  307. </div>
  308. </div>
  309. </div>
  310. </div>
  311. <!--弹出新建建设项目-->
  312. <div class="modal fade" id="add-project-dialog" data-backdrop="static">
  313. <div class="modal-dialog" role="document">
  314. <div class="modal-content">
  315. <div class="modal-header">
  316. <h5 class="modal-title"><i class="fa fa-cubes"></i>&nbsp;新建建设项目</h5>
  317. <button type="button" class="close" data-dismiss="modal" aria-label="Close">
  318. <span aria-hidden="true">&times;</span>
  319. </button>
  320. </div>
  321. <div class="modal-body">
  322. <!--没有点击任何节点-->
  323. <form>
  324. <div class="form-group">
  325. <label>建设项目</label>
  326. <input type="text" class="form-control" placeholder="输入建设项目名称" id="project-name">
  327. </div>
  328. <div class="form-group">
  329. <label>计价方式</label>
  330. <div>
  331. <label class="custom-control custom-radio">
  332. <input name="valuation_type" type="radio" class="custom-control-input" value="bill">
  333. <span class="custom-control-indicator"></span>
  334. <span class="custom-control-description">清单计价</span>
  335. </label>
  336. <label class="custom-control custom-radio">
  337. <input name="valuation_type" type="radio" class="custom-control-input" value="ration">
  338. <span class="custom-control-indicator"></span>
  339. <span class="custom-control-description">定额计价</span>
  340. </label>
  341. </div>
  342. </div>
  343. <div class="form-group">
  344. <label>计价规则</label>
  345. <select class="form-control" id="valuation"><option value="">请选择计价规则</option></select>
  346. </div>
  347. </form>
  348. </div>
  349. <div class="modal-footer">
  350. <button type="button" class="btn btn-secondary" data-dismiss="modal">取消</button>
  351. <a href="javacript:void(0);" class="btn btn-primary" id='addProjOk'>确定</a>
  352. </div>
  353. </div>
  354. </div>
  355. </div>
  356. <!--弹出新建单项工程-->
  357. <div class="modal fade" id="add-engineering-dialog" data-backdrop="static">
  358. <div class="modal-dialog" role="document">
  359. <div class="modal-content">
  360. <div class="modal-header">
  361. <h5 class="modal-title"><i class="fa fa-cube"></i>&nbsp;新建单项工程</h5>
  362. <button type="button" class="close" data-dismiss="modal" aria-label="Close">
  363. <span aria-hidden="true">&times;</span>
  364. </button>
  365. </div>
  366. <div class="modal-body">
  367. <!--没有点击任何节点-->
  368. <form>
  369. <div class="form-group">
  370. <label>单项工程</label>
  371. <input type="text" class="form-control" placeholder="输入单项工程名称" id="engineering-name">
  372. </div>
  373. </form>
  374. </div>
  375. <div class="modal-footer">
  376. <button type="button" class="btn btn-secondary" data-dismiss="modal">取消</button>
  377. <a href="javascript:void(0);" class="btn btn-primary" id="add-engineering-confirm">确定</a>
  378. </div>
  379. </div>
  380. </div>
  381. </div>
  382. <!--弹出新建单位工程-->
  383. <div class="modal fade" id="add-tender-dialog" data-backdrop="static">
  384. <div class="modal-dialog" role="document">
  385. <div class="modal-content">
  386. <div class="modal-header">
  387. <h5 class="modal-title"><i class="fa fa-sticky-note-o"></i>&nbsp;新建单位工程</h5>
  388. <button type="button" class="close" data-dismiss="modal" aria-label="Close">
  389. <span aria-hidden="true">&times;</span>
  390. </button>
  391. </div>
  392. <div class="modal-body">
  393. <!--没有点击任何节点-->
  394. <form>
  395. <div class="form-group">
  396. <label>单位工程</label>
  397. <input type="text" class="form-control" placeholder="输入单位工程名称" id="tender-name">
  398. </div>
  399. <div class="form-group">
  400. <label>工程专业</label>
  401. <select class="form-control" id="tender-engineering"><option>建筑工程</option></select>
  402. </div>
  403. <div class="form-group hidden-area">
  404. <label>单价文件</label>
  405. <select class="form-control" id="unit-price"><option value="">新建单价文件</option></select>
  406. </div>
  407. <div class="form-group hidden-area">
  408. <label>费率文件</label>
  409. <select class="form-control" id="tender-fee-rate"><option value="">请选择费率文件</option></select>
  410. </div>
  411. <div class="form-group">
  412. <label>计价方式</label>
  413. <div>
  414. <label class="custom-control custom-radio">
  415. <input name="tender_valuation_type" type="radio" class="custom-control-input" value="bill" checked="checked">
  416. <span class="custom-control-indicator"></span>
  417. <span class="custom-control-description">清单计价</span>
  418. </label>
  419. <label class="custom-control custom-radio">
  420. <input name="tender_valuation_type" type="radio" class="custom-control-input" value="ration" disabled="disabled">
  421. <span class="custom-control-indicator"></span>
  422. <span class="custom-control-description">定额计价</span>
  423. </label>
  424. </div>
  425. </div>
  426. <div class="form-group">
  427. <label>计价规则</label>
  428. <select class="form-control" id="tender-valuation" disabled><option>重庆[2008]调整人工单价</option></select>
  429. </div>
  430. </form>
  431. </div>
  432. <div class="modal-footer">
  433. <button type="button" class="btn btn-secondary" data-dismiss="modal">取消</button>
  434. <a href="javascript:void(0);" class="btn btn-primary" id="add-tender-confirm">确定</a>
  435. </div>
  436. </div>
  437. </div>
  438. </div>
  439. <!--弹出新建文件夹-->
  440. <div class="modal fade" id="add-folder-dialog" data-backdrop="static">
  441. <div class="modal-dialog" role="document">
  442. <div class="modal-content">
  443. <div class="modal-header">
  444. <h5 class="modal-title">新建文件夹</h5>
  445. <button type="button" class="close" data-dismiss="modal" aria-label="Close">
  446. <span aria-hidden="true">&times;</span>
  447. </button>
  448. </div>
  449. <div class="modal-body">
  450. <form>
  451. <div class="form-group">
  452. <label>文件夹</label>
  453. <input type="text" class="form-control" placeholder="输入文件夹名称" id="folder-name">
  454. <span class="form-text text-muted">Smartcost目前最多支持3层文件夹。</span>
  455. </div>
  456. </form>
  457. </div>
  458. <div class="modal-footer">
  459. <button type="button" class="btn btn-secondary" data-dismiss="modal">取消</button>
  460. <a href="javascript:void(0);" class="btn btn-primary" id="add-folder-confirm">确定</a>
  461. </div>
  462. </div>
  463. </div>
  464. </div>
  465. <!--弹出重命名-->
  466. <div class="modal fade" id="rename-dialog" data-backdrop="static">
  467. <div class="modal-dialog" role="document">
  468. <div class="modal-content">
  469. <div class="modal-header">
  470. <h5 class="modal-title">重命名</h5>
  471. <button type="button" class="close" data-dismiss="modal" aria-label="Close">
  472. <span aria-hidden="true">&times;</span>
  473. </button>
  474. </div>
  475. <div class="modal-body">
  476. <form>
  477. <div class="form-group">
  478. <input type="text" class="form-control" placeholder="输入名称" id="rename-name">
  479. </div>
  480. </form>
  481. </div>
  482. <div class="modal-footer">
  483. <button type="button" class="btn btn-secondary" data-dismiss="modal">取消</button>
  484. <a href="javascript:void(0);" class="btn btn-primary" id="rename-confirm">确定</a>
  485. </div>
  486. </div>
  487. </div>
  488. </div>
  489. <!--弹出删除-->
  490. <div class="modal fade" id="del" data-backdrop="static">
  491. <div class="modal-dialog" role="document">
  492. <div class="modal-content">
  493. <div class="modal-header">
  494. <h5 class="modal-title">删除确认</h5>
  495. <button type="button" class="close" data-dismiss="modal" aria-label="Close">
  496. <span aria-hidden="true">&times;</span>
  497. </button>
  498. </div>
  499. <div class="modal-body">
  500. <h5 class="text-danger" id="tenderHint">删除 "建筑工程" ?</h5>
  501. <h5 class="text-danger" id="folderHint">删除 "XX项目文件夹" 以及它包含的子项?</h5>
  502. <p class="" id = 'restoreHint'>删除后,你可以在回收站找到它。</p>
  503. </div>
  504. <div class="modal-footer">
  505. <button type="button" class="btn btn-secondary" data-dismiss="modal">取消</button>
  506. <a href="javascript:void(0);" class="btn btn-danger" id="delete-confirm">删除</a>
  507. </div>
  508. </div>
  509. </div>
  510. </div>
  511. <!--弹出移动到-->
  512. <div class="modal fade" id="move-to-dialog" data-backdrop="static">
  513. <div class="modal-dialog" role="document">
  514. <div class="modal-content">
  515. <div class="modal-header">
  516. <h5 class="modal-title">移动到...</h5>
  517. <button type="button" class="close" data-dismiss="modal" aria-label="Close">
  518. <span aria-hidden="true">&times;</span>
  519. </button>
  520. </div>
  521. <div class="modal-body">
  522. <ul id="treeDemo" class="ztree"></ul>
  523. </div>
  524. <div class="modal-footer">
  525. <button type="button" class="btn btn-secondary" data-dismiss="modal">取消</button>
  526. <a href="javacript:void(0);" class="btn btn-primary" id="move-to-confirm">确定</a>
  527. </div>
  528. </div>
  529. </div>
  530. </div>
  531. <!--弹出复制到-->
  532. <div class="modal fade" id="copy-to-dialog" data-backdrop="static">
  533. <div class="modal-dialog" role="document">
  534. <div class="modal-content">
  535. <div class="modal-header">
  536. <h5 class="modal-title">复制到...</h5>
  537. <button type="button" class="close" data-dismiss="modal" aria-label="Close">
  538. <span aria-hidden="true">&times;</span>
  539. </button>
  540. </div>
  541. <div class="modal-body">
  542. <ul id="treeDemo2" class="ztree"></ul>
  543. </div>
  544. <div class="modal-footer">
  545. <button type="button" class="btn btn-secondary" data-dismiss="modal">取消</button>
  546. <a href="javacript:void(0);" class="btn btn-primary" id="copy-to-confirm">确定</a>
  547. </div>
  548. </div>
  549. </div>
  550. </div>
  551. <!-- JS. -->
  552. <script src="/lib/jquery/jquery.min.js"></script>
  553. <script src="/lib/tether/tether.min.js"></script>
  554. <script src="/lib/bootstrap/bootstrap.min.js"></script>
  555. <script src="/web/building_saas/js/global.js"></script>
  556. <script src="/public/web/date_util.js"></script>
  557. <script src="/public/web/tree_table/tree_table.js"></script>
  558. <script type="text/javascript" src="/public/web/common_ajax.js"></script>
  559. <script src="/web/building_saas/pm/js/pm_ajax.js"></script>
  560. <script src="/web/building_saas/pm/js/pm_main.js" charset="UTF-8"></script>
  561. <!-- zTree -->
  562. <script type="text/javascript" src="/lib/ztree/jquery.ztree.core.js"></script>
  563. <script type="text/javascript" src="/lib/ztree/jquery.ztree.excheck.js"></script>
  564. <SCRIPT type="text/javascript">
  565. <!--
  566. var setting = { };
  567. var zNodes =[
  568. { name:"父节点1 - 展开", open:true,
  569. children: [
  570. { name:"父节点11 - 折叠",
  571. children: [
  572. { name:"叶子节点111"},
  573. { name:"叶子节点112"},
  574. { name:"叶子节点113"},
  575. { name:"叶子节点114"}
  576. ]},
  577. { name:"父节点12 - 折叠",
  578. children: [
  579. { name:"叶子节点121"},
  580. { name:"叶子节点122"},
  581. { name:"叶子节点123"},
  582. { name:"叶子节点124"}
  583. ]},
  584. { name:"父节点13 - 没有子节点", isParent:true}
  585. ]},
  586. { name:"父节点2 - 折叠",
  587. children: [
  588. { name:"父节点21 - 展开", open:true,
  589. children: [
  590. { name:"叶子节点211"},
  591. { name:"叶子节点212"},
  592. { name:"叶子节点213"},
  593. { name:"叶子节点214"}
  594. ]},
  595. { name:"父节点22 - 折叠",
  596. children: [
  597. { name:"叶子节点221"},
  598. { name:"叶子节点222"},
  599. { name:"叶子节点223"},
  600. { name:"叶子节点224"}
  601. ]},
  602. { name:"父节点23 - 折叠",
  603. children: [
  604. { name:"叶子节点231"},
  605. { name:"叶子节点232"},
  606. { name:"叶子节点233"},
  607. { name:"叶子节点234"}
  608. ]}
  609. ]},
  610. { name:"父节点3 - 没有子节点", isParent:true}
  611. ];
  612. $(document).ready(function(){
  613. $.fn.zTree.init($("#treeDemo"), setting, zNodes);
  614. });
  615. //-->
  616. </SCRIPT>
  617. <SCRIPT type="text/javascript">
  618. <!--
  619. var setting = { };
  620. var zNodes =[
  621. { name:"父节点1 - 展开", open:true,
  622. children: [
  623. { name:"父节点11 - 折叠",
  624. children: [
  625. { name:"叶子节点111"},
  626. { name:"叶子节点112"},
  627. { name:"叶子节点113"},
  628. { name:"叶子节点114"}
  629. ]},
  630. { name:"父节点12 - 折叠",
  631. children: [
  632. { name:"叶子节点121"},
  633. { name:"叶子节点122"},
  634. { name:"叶子节点123"},
  635. { name:"叶子节点124"}
  636. ]},
  637. { name:"父节点13 - 没有子节点", isParent:true}
  638. ]},
  639. { name:"父节点2 - 折叠",
  640. children: [
  641. { name:"父节点21 - 展开", open:true,
  642. children: [
  643. { name:"叶子节点211"},
  644. { name:"叶子节点212"},
  645. { name:"叶子节点213"},
  646. { name:"叶子节点214"}
  647. ]},
  648. { name:"父节点22 - 折叠",
  649. children: [
  650. { name:"叶子节点221"},
  651. { name:"叶子节点222"},
  652. { name:"叶子节点223"},
  653. { name:"叶子节点224"}
  654. ]},
  655. { name:"父节点23 - 折叠",
  656. children: [
  657. { name:"叶子节点231"},
  658. { name:"叶子节点232"},
  659. { name:"叶子节点233"},
  660. { name:"叶子节点234"}
  661. ]}
  662. ]},
  663. { name:"父节点3 - 没有子节点", isParent:true}
  664. ];
  665. $(document).ready(function(){
  666. $.fn.zTree.init($("#treeDemo2"), setting, zNodes);
  667. });
  668. //-->
  669. </SCRIPT>
  670. </body>
  671. <script type="text/javascript">
  672. autoFlashHeight();
  673. </script>
  674. <script type="text/javascript">
  675. let billValuation = '<%- billValuation %>';
  676. let rationValuation = '<%- rationValuation %>';
  677. let engineeringList = '<%- engineeringList %>';
  678. </script>
  679. </html>