index.html 35 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496
  1. <!DOCTYPE html>
  2. <html xmlns="http://www.w3.org/1999/xhtml" ng-app="app">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  5. <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
  6. <title>中心组</title>
  7. <link href="../../AFrontEnd/css/animate.css" rel="stylesheet" />
  8. <link href="../../AFrontEnd/css/fontawesome/css/font-awesome.css" rel="stylesheet" />
  9. <link href="../../AFrontEnd/css/bootstrap.css" rel="stylesheet" />
  10. <link href="../../AFrontEnd/css/style.css" rel="stylesheet" />
  11. <script>document.write("<link href='../../AFrontEnd/css/special.css?time=" + new Date().getTime() + "' rel='stylesheet'>");</script>
  12. <script>document.write("<link href='css/index.css?time=" + new Date().getTime() + "' rel='stylesheet'>");</script>
  13. </head>
  14. <body>
  15. <div ng-controller="indexCtrl as ctl" id="app" ng-cloak>
  16. <div class="sp-wrapper-left" style="width: 20%; top: 0; background: #F7F7F7; border-left: 1px #F7F7F7 solid; border-right: 1px #F7F7F7 solid; overflow:auto">
  17. <div class="sp-menu" id="spWrapperLeftBar">
  18. <div class="sp-menu-row">
  19. <ul id="spWrapperLeftBarUl" class="sp-menu">
  20. <li class="sp-menu-first" ng-repeat="item in ctl.leftTree" ng-if="item.DPMAN.indexOf(ctl.userName)>-1||item.DPCODE.indexOf(ctl.userDpName)>-1||ctl.userRole==1">
  21. <span class="sp-menu-ltitle" title="{{item.CNAME}}" ng-bind="item.CNAME" ng-click="ctl.checkNode(item,0)"></span>
  22. <ul>
  23. <li class="sp-menu-second" ng-show="item.show" ng-repeat="item1 in item.C_H_I_L_D_DATA" ng-if="item1.DPMAN.indexOf(ctl.userName)>-1||item1.DPCODE.indexOf(ctl.userDpName)>-1||ctl.userRole==1">
  24. <span class="sp-menu-ltitle" ng-bind="item1.CNAME" title="{{item1.CNAME}}" ng-if="item1.LEAF=='0'" ng-click="ctl.checkNode(item1,0)"></span>
  25. <span class="sp-menu-ltitle" ng-bind="item1.CNAME" title="{{item1.CNAME}}" ng-if="item1.LEAF=='1'" ng-click="ctl.getRightData(item1)"></span>
  26. <ul>
  27. <li class="sp-menu-third" ng-show="item1.show" ng-repeat="item2 in item1.C_H_I_L_D_DATA" ng-if="item2.DPMAN.indexOf(ctl.userName)>-1||item2.DPCODE.indexOf(ctl.userDpName)>-1||ctl.userRole==1">
  28. <span class="sp-menu-ltitle" ng-bind="item2.CNAME" title="{{item2.CNAME}}" ng-if="item2.SFKSCWJ==1" ng-click="ctl.checkNode(item2,0)"></span>
  29. <span class="sp-menu-ltitle" ng-bind="item2.CNAME" title="{{item2.CNAME}}" ng-if="item2.SFKSCWJ!=1" ng-click="ctl.getRightData(item2)"></span>
  30. <span class="upload" style="width:20px" ng-if="item2.SFKSCWJ==1&&(item2.DPMAN.indexOf(ctl.userName)>-1||(item2.DPCODE.indexOf(ctl.userDpName)>-1&&item2.CODE!='AA010101')||(item2.DPCODE.indexOf(ctl.userDpName)==-1&&ctl.userRole==1))">
  31. <input id="fileupload-{{item2.CODE}}" class="upload-file-single" type="file" name="files[]" multiple>
  32. <i class="fa fa-upload" ng-click="ctl.uploadTree(item2)"></i>
  33. </span>
  34. <ul>
  35. <li class="sp-menu-third" ng-show="item1.show" ng-repeat="item3 in item2.C_H_I_L_D_DATA">
  36. <span class="sp-menu-ltitle" title="{{item3.FILENAMES}}" ng-if="item2.SFKSCWJ==1" ng-click="ctl.getFileUrl(item3)">
  37. {{item3.FILENAMES}}
  38. </span>
  39. <span class="sp-pull-right sp-mr-5" ng-if="item2.SFKSCWJ==1&&(item3.USERID==ctl.userId||item2.DPMAN==ctl.userName)" ng-click="ctl.deleteFileTree(item3,item2)">
  40. <i class="fa fa-trash sp-color-red" title="删除"></i>
  41. </span>
  42. <span class="sp-pull-right sp-mr-15" ng-if="item2.SFKSCWJ==1" ng-click="ctl.download(item3)">
  43. <i class="fa fa-download sp-color-blue" title="下载"></i>
  44. </span>
  45. <span class="sp-pull-right sp-mr-15" ng-if="item2.SFKSCWJ==1&&$index!=item2.C_H_I_L_D_DATA.length-1&&((ctl.userRole!=3&&item2.CODE!='AA010101')||(ctl.userRole!=3&&item2.CODE=='AA010101'))" ng-click="ctl.sortItem(item3,item2,2)">
  46. <i class="fa fa-arrow-down sp-color-blue" title="下移"></i>
  47. </span>
  48. <span class="sp-pull-right sp-mr-15" ng-if="item2.SFKSCWJ==1&&$index!=0&&((ctl.userRole!=3&&item2.CODE!='AA010101')||(ctl.userRole!=3&&item2.CODE=='AA010101'))" ng-click="ctl.sortItem(item3,item2,1)">
  49. <i class="fa fa-arrow-up sp-color-blue" title="上移"></i>
  50. </span>
  51. </li>
  52. </ul>
  53. </li>
  54. </ul>
  55. </li>
  56. </ul>
  57. </li>
  58. </ul>
  59. </div>
  60. </div>
  61. </div>
  62. <div class="sp-wrapper-right" style="left: 21%; top: 0; right: 1%; overflow: auto">
  63. <div class="sp-page" ng-if="ctl.rightType==1">
  64. <iframe ng-src="{{ctl.BrowseUrl}}" id="nodeBrowse" frameborder="0" class="iframe" scrolling="no"></iframe>
  65. </div>
  66. <div class="sp-page" ng-if="ctl.rightType==2">
  67. <div class="sp-box sp-text-right">
  68. <span class="sp-btn-blue sp-btn-sm sp-radius" ng-if="ctl.userRole!=2&&ctl.userRole==ctl.activeNode.ROLETYPE" ng-click="ctl.addItem(ctl.userRole)">新增</span>
  69. <span class="sp-btn-green sp-btn-sm sp-radius" ng-click="ctl.openSearch()">筛选</span>
  70. <span class="sp-btn-gray sp-btn-sm sp-radius" ng-click="ctl.printOut()">导出</span>
  71. </div>
  72. <table class="sp-table" ng-if="ctl.activeNode.ROLETYPE==1">
  73. <thead>
  74. <tr>
  75. <th>序号</th>
  76. <th>时间</th>
  77. <th>形式</th>
  78. <th>次序</th>
  79. <th>主题</th>
  80. <th>主要内容</th>
  81. <th width="150">方案、材料</th>
  82. <th width="150">研讨材料</th>
  83. <th width="150">原始记录</th>
  84. <th width="150">情况报告</th>
  85. <th>参加人员</th>
  86. <th width="150">操作</th>
  87. </tr>
  88. </thead>
  89. <tbody>
  90. <tr ng-repeat="item in ctl.list1">
  91. <td ng-bind="$index+1"></td>
  92. <td ng-bind="item.SJ"></td>
  93. <td ng-bind="item.XS"></td>
  94. <td ng-bind="item.CX"></td>
  95. <td ng-bind="item.ZT"></td>
  96. <td ng-bind="item.ZYNR"></td>
  97. <td>
  98. <div ng-repeat="item1 in item.FA" class="sp-page" style="width:150px">
  99. <span class="sp-page-col" style="width:calc(100% - 40px);overflow:hidden;white-space: nowrap;text-overflow:ellipsis" title="{{item1.FILENAMES}}" ng-bind="item1.FILENAMES"></span>
  100. <i class="fa fa-trash sp-color-red sp-pull-right sp-ml-15 sp-mt-5 pointer" ng-click="ctl.deleteListFile(item1)" title="删除" ng-if="item1.USERID==ctl.userId"></i>
  101. <i class="fa fa-download sp-color-blue sp-pull-right sp-mt-5 pointer" ng-click="ctl.download(item1)" title="下载"></i>
  102. </div>
  103. </td>
  104. <td>
  105. <div ng-repeat="item1 in item.YTCL" class="sp-page" style="width:150px">
  106. <span class="sp-page-col" style="width:calc(100% - 40px);overflow:hidden;white-space: nowrap;text-overflow:ellipsis" title="{{item1.FILENAMES}}" ng-bind="item1.FILENAMES"></span>
  107. <i class="fa fa-trash sp-color-red sp-pull-right sp-ml-15 sp-mt-5 pointer" ng-click="ctl.deleteListFile(item1)" title="删除" ng-if="item1.USERID==ctl.userId"></i>
  108. <i class="fa fa-download sp-color-blue sp-pull-right sp-mt-5 pointer" ng-click="ctl.download(item1)" title="下载"></i>
  109. </div>
  110. </td>
  111. <td>
  112. <div ng-repeat="item1 in item.YSJL" class="sp-page" style="width:150px">
  113. <span class="sp-page-col" style="width:calc(100% - 40px);overflow:hidden;white-space: nowrap;text-overflow:ellipsis" title="{{item1.FILENAMES}}" ng-bind="item1.FILENAMES"></span>
  114. <i class="fa fa-trash sp-color-red sp-pull-right sp-ml-15 sp-mt-5 pointer" ng-click="ctl.deleteListFile(item1)" title="删除" ng-if="item1.USERID==ctl.userId"></i>
  115. <i class="fa fa-download sp-color-blue sp-pull-right sp-mt-5 pointer" ng-click="ctl.download(item1)" title="下载"></i>
  116. </div>
  117. </td>
  118. <td>
  119. <div ng-repeat="item1 in item.QKBG" class="sp-page" style="width:150px">
  120. <span class="sp-page-col" style="width:calc(100% - 40px);overflow:hidden;white-space: nowrap;text-overflow:ellipsis" title="{{item1.FILENAMES}}" ng-bind="item1.FILENAMES"></span>
  121. <i class="fa fa-trash sp-color-red sp-pull-right sp-ml-15 sp-mt-5 pointer" ng-click="ctl.deleteListFile(item1)" title="删除" ng-if="item1.USERID==ctl.userId"></i>
  122. <i class="fa fa-download sp-color-blue sp-pull-right sp-mt-5 pointer" ng-click="ctl.download(item1)" title="下载"></i>
  123. </div>
  124. </td>
  125. <td ng-bind="item.CJYR"></td>
  126. <td>
  127. <span class="sp-btn-blue sp-radius" ng-click="ctl.editItem(item,ctl.userRole)">编辑</span>
  128. <span class="sp-btn-red sp-radius" ng-click="ctl.deleteList(item)">删除</span>
  129. </td>
  130. </tr>
  131. </tbody>
  132. </table>
  133. <table class="sp-table" ng-if="ctl.activeNode.ROLETYPE==2">
  134. <thead>
  135. <tr>
  136. <th>序号</th>
  137. <th>时间</th>
  138. <th>形式</th>
  139. <th>次序</th>
  140. <th>主题</th>
  141. <th width="150">方案、材料</th>
  142. <th width="150">研讨材料</th>
  143. <th width="150">操作</th>
  144. </tr>
  145. </thead>
  146. <tbody>
  147. <tr ng-repeat="item in ctl.list2">
  148. <td ng-bind="$index+1"></td>
  149. <td ng-bind="item.SJ"></td>
  150. <td ng-bind="item.XS"></td>
  151. <td ng-bind="item.CX"></td>
  152. <td ng-bind="item.ZT"></td>
  153. <td>
  154. <div ng-repeat="item1 in item.FA" class="sp-page" style="width:150px">
  155. <span class="sp-page-col" style="width:calc(100% - 40px);overflow:hidden;white-space: nowrap;text-overflow:ellipsis" title="{{item1.FILENAMES}}" ng-bind="item1.FILENAMES"></span>
  156. <i class="fa fa-trash sp-color-red sp-pull-right sp-ml-15 sp-mt-5 pointer" ng-click="ctl.deleteListFile(item1)" title="删除" ng-if="item1.USERID==ctl.userId"></i>
  157. <i class="fa fa-download sp-color-blue sp-pull-right sp-mt-5 pointer" ng-click="ctl.download(item1)" title="下载"></i>
  158. </div>
  159. </td>
  160. <td>
  161. <div ng-repeat="item1 in item.YTCL" class="sp-page" style="width:150px" ng-if="item1.PER_USER_LIST[0].USERID.indexOf(ctl.userId)>-1||item1.PER_USER_LIST[0].USERNAME.indexOf(ctl.activeNode.DPMAN)>-1||ctl.userId=='10876168-b21d-481e-9a02-1edb5af9853f'">
  162. <span class=" sp-page-col" style="width:calc(100% - 40px);overflow:hidden;white-space: nowrap;text-overflow:ellipsis" title="{{item1.FILENAMES}}" ng-bind="item1.FILENAMES">
  163. </span>
  164. <i class="fa fa-trash sp-color-red sp-pull-right sp-ml-15 sp-mt-5 pointer" ng-click="ctl.deleteListFile(item1)" title="删除" ng-if="item1.USERID==ctl.userId"></i>
  165. <i class="fa fa-download sp-color-blue sp-pull-right sp-mt-5 pointer" ng-click="ctl.download(item1)" title="下载"></i>
  166. </div>
  167. </td>
  168. <td>
  169. <span class="sp-btn-blue sp-radius" ng-click="ctl.editItem(item,ctl.userRole)" ng-if="ctl.activeNode.DPMAN==ctl.userName||ctl.userRole==1">编辑</span>
  170. </td>
  171. </tr>
  172. </tbody>
  173. </table>
  174. <table class="sp-table" ng-if="ctl.activeNode.ROLETYPE==3">
  175. <thead>
  176. <tr>
  177. <th>序号</th>
  178. <th>时间</th>
  179. <th>形式</th>
  180. <th>次序</th>
  181. <th>主题</th>
  182. <th>主要内容</th>
  183. <th width="150">方案、材料</th>
  184. <!--<th width="150">研讨材料</th>-->
  185. <th width="150">原始记录</th>
  186. <th width="150">情况报告</th>
  187. <th>参学情况</th>
  188. <th width="150" ng-if="ctl.userRole==3">操作</th>
  189. </tr>
  190. </thead>
  191. <tbody>
  192. <tr ng-repeat="item in ctl.list3">
  193. <td ng-bind="$index+1"></td>
  194. <td ng-bind="item.SJ"></td>
  195. <td ng-bind="item.XS"></td>
  196. <td ng-bind="item.CX"></td>
  197. <td ng-bind="item.ZT"></td>
  198. <td ng-bind="item.ZYNR"></td>
  199. <td>
  200. <div ng-repeat="item1 in item.FA" class="sp-page" style="width:150px">
  201. <span class="sp-page-col" style="width:calc(100% - 40px);overflow:hidden;white-space: nowrap;text-overflow:ellipsis" title="{{item1.FILENAMES}}" ng-bind="item1.FILENAMES"></span>
  202. <i class="fa fa-trash sp-color-red sp-pull-right sp-ml-15 sp-mt-5 pointer" ng-click="ctl.deleteListFile(item1)" title="删除" ng-if="item1.USERID==ctl.userId"></i>
  203. <i class="fa fa-download sp-color-blue sp-pull-right sp-mt-5 pointer" ng-click="ctl.download(item1)" title="下载"></i>
  204. </div>
  205. </td>
  206. <!--<td>
  207. <div ng-repeat="item1 in item.YTCL" class="sp-page" style="width:150px">
  208. <span class="sp-page-col" style="width:calc(100% - 40px);overflow:hidden;white-space: nowrap;text-overflow:ellipsis" title="{{item1.FILENAMES}}" ng-bind="item1.FILENAMES"></span>
  209. <i class="fa fa-trash sp-color-red sp-pull-right sp-ml-15 sp-mt-5 pointer" ng-click="ctl.deleteListFile(item1)" title="删除" ng-if="item1.USERID==ctl.userId"></i>
  210. <i class="fa fa-download sp-color-blue sp-pull-right sp-mt-5 pointer" ng-click="ctl.download(item1)" title="下载"></i>
  211. </div>
  212. </td>-->
  213. <td>
  214. <div ng-repeat="item1 in item.YSJL" class="sp-page" style="width:150px">
  215. <span class="sp-page-col" style="width:calc(100% - 40px);overflow:hidden;white-space: nowrap;text-overflow:ellipsis" title="{{item1.FILENAMES}}" ng-bind="item1.FILENAMES"></span>
  216. <i class="fa fa-trash sp-color-red sp-pull-right sp-ml-15 sp-mt-5 pointer" ng-click="ctl.deleteListFile(item1)" title="删除" ng-if="item1.USERID==ctl.userId"></i>
  217. <i class="fa fa-download sp-color-blue sp-pull-right sp-mt-5 pointer" ng-click="ctl.download(item1)" title="下载"></i>
  218. </div>
  219. </td>
  220. <td>
  221. <div ng-repeat="item1 in item.QKBG" class="sp-page" style="width:150px">
  222. <span class="sp-page-col" style="width:calc(100% - 40px);overflow:hidden;white-space: nowrap;text-overflow:ellipsis" title="{{item1.FILENAMES}}" ng-bind="item1.FILENAMES"></span>
  223. <i class="fa fa-trash sp-color-red sp-pull-right sp-ml-15 sp-mt-5 pointer" ng-click="ctl.deleteListFile(item1)" title="删除" ng-if="item1.USERID==ctl.userId"></i>
  224. <i class="fa fa-download sp-color-blue sp-pull-right sp-mt-5 pointer" ng-click="ctl.download(item1)" title="下载"></i>
  225. </div>
  226. </td>
  227. <td ng-bind="item.CXQK"></td>
  228. <td ng-if="ctl.userRole==3">
  229. <span class="sp-btn-blue sp-radius" ng-click="ctl.editItem(item,ctl.userRole)">编辑</span>
  230. <span class="sp-btn-red sp-radius" ng-click="ctl.deleteList(item)">删除</span>
  231. </td>
  232. </tr>
  233. </tbody>
  234. </table>
  235. <div class="sp-table-tip ng-hide" ng-show="ctl.noDataTip == 0">
  236. <i class="fa fa-exclamation-circle sp-mr-10"></i>您好,暂未查询到相关信息!
  237. </div>
  238. </div>
  239. <div class="sp-page" ng-if="ctl.rightType==3">
  240. <span class="sp-btn-blue sp-btn-sm sp-radius upload" ng-if="ctl.userRole==1">
  241. <input type="button" class="upload-btn-single" ng-click="ctl.uploadAA00()" value="新增">
  242. <input id="fileupload-AA00" class="upload-file-single" type="file" name="files[]" multiple>
  243. <i class="fa fa-plus"></i>
  244. </span>
  245. <table class="sp-table">
  246. <thead>
  247. <tr>
  248. <th>序号</th>
  249. <th>附件名称</th>
  250. <th width="150">操作</th>
  251. </tr>
  252. </thead>
  253. <tbody>
  254. <tr ng-repeat="item in ctl.listFile">
  255. <td ng-bind="$index+1"></td>
  256. <td ng-bind="item.FILENAMES"></td>
  257. <td>
  258. <span class="sp-btn-blue sp-radius" ng-click="ctl.download(item)">下载</span>
  259. <span class="sp-btn-red sp-radius" ng-if="ctl.userRole==1" ng-click="ctl.DelAA00(item)">删除</span>
  260. </td>
  261. </tr>
  262. </tbody>
  263. </table>
  264. <div class="sp-table-tip ng-hide" ng-show="ctl.noDataTip == 0">
  265. <i class="fa fa-exclamation-circle sp-mr-10"></i>您好,暂未查询到相关信息!
  266. </div>
  267. </div>
  268. </div>
  269. <div class="sp-layer" id="Search" style="width: 550px;">
  270. <div class="sp-layer-head" style="background:#2176d6">
  271. <div class="sp-page sp-text-center sp-font16">
  272. 筛选
  273. <div class="sp-layer-close" title="关闭" onclick="sp.closeCenter('.sp-layer')">
  274. ×
  275. </div>
  276. </div>
  277. </div>
  278. <div class="sp-layer-body">
  279. <table class="sp-grid-job">
  280. <tbody>
  281. <tr>
  282. <td style="width:120px;">形式</td>
  283. <td colspan="2">
  284. <input type="text" class="sp-input" placeholder="请输入形式" ng-model="ctl.search.XS" />
  285. </td>
  286. </tr>
  287. <tr>
  288. <td style="width:120px;">时间</td>
  289. <td>
  290. <input type="text" class="sp-input laydate-logo" sp-laydate placeholder="请输入开始时间" ng-model="ctl.search.SJ1" />
  291. </td>
  292. <td>
  293. <input type="text" class="sp-input laydate-logo" sp-laydate placeholder="请输入结束时间" ng-model="ctl.search.SJ2" />
  294. </td>
  295. </tr>
  296. </tbody>
  297. </table>
  298. <div class="sp-page sp-text-center sp-mt-20">
  299. <a class="sp-btn-blue sp-radius" ng-click="ctl.doSearch()"><i class="fa fa-check sp-mr-5"></i>确 定</a>
  300. <a class="sp-btn-blue sp-radius" ng-click="ctl.cancal()"><i class="fa fa-refresh sp-mr-5"></i>重 置</a>
  301. </div>
  302. </div>
  303. </div>
  304. <div class="sp-layer" id="editWin" style="width:700px">
  305. <div class="sp-layer-head" style="background:#2176d6">
  306. <div class="sp-page sp-text-center sp-font16">
  307. {{ctl.editWin}}
  308. <div class="sp-layer-close" title="关闭" onclick="sp.closeCenter('.sp-layer')">
  309. ×
  310. </div>
  311. </div>
  312. </div>
  313. <div class="sp-layer-body" ng-class="{'sp-height-400': '{{ctl.deviceType}}' =='pad'}">
  314. <table class="sp-grid-job" ng-if="ctl.showYSJL==false">
  315. <tr ng-if="ctl.userRole!=2">
  316. <td width="150">时&nbsp;&nbsp;&nbsp;&nbsp;间</td>
  317. <td>
  318. <input type="text" class="sp-input laydate-logo" sp-laydate ng-model="ctl.edit.SJ" />
  319. </td>
  320. </tr>
  321. <tr ng-if="ctl.userRole!=2">
  322. <td>形&nbsp;&nbsp;&nbsp;&nbsp;式</td>
  323. <td>
  324. <input type="text" class="sp-input" ng-model="ctl.edit.XS" />
  325. </td>
  326. </tr>
  327. <tr ng-if="ctl.userRole!=2">
  328. <td>次&nbsp;&nbsp;&nbsp;&nbsp;序</td>
  329. <td>
  330. <input type="text" class="sp-input" ng-model="ctl.edit.CX" />
  331. </td>
  332. </tr>
  333. <tr ng-if="ctl.userRole!=2">
  334. <td>主&nbsp;&nbsp;&nbsp;&nbsp;题</td>
  335. <td>
  336. <textarea class="sp-textarea" ng-model="ctl.edit.ZT" rows="4" style="resize:none"></textarea>
  337. <!--<input type="text" class="sp-input" ng-model="ctl.edit.ZT" />-->
  338. </td>
  339. </tr>
  340. <tr ng-if="ctl.userRole!=2">
  341. <td>主要内容</td>
  342. <td>
  343. <textarea class="sp-textarea" ng-model="ctl.edit.ZYNR" rows="4" style="resize:none"></textarea>
  344. <!--<input type="text" class="sp-input" ng-model="ctl.edit.ZYNR" />-->
  345. </td>
  346. </tr>
  347. <tr ng-if="ctl.userRole!=2">
  348. <td>方&nbsp;&nbsp;&nbsp;&nbsp;案</td>
  349. <td>
  350. <div class="sp-page" style="max-height:100px;overflow:auto">
  351. <div class="sp-page fileArr" ng-repeat="item in ctl.arrayFile.FA">
  352. <div class="sp-page" style="width: auto; max-width: calc(100% - 50px); padding: 0 10px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; cursor: pointer; " ng-bind="item.FILENAMES1" title="{{item.FILENAMES}}" ng-click="ctl.download(item)"></div>
  353. <div class="sp-page" style="width: 50px">
  354. <a ng-click="ctl.deleteFile(item,'FA')" ng-if="item.USERID==ctl.userId">
  355. <i class="fa fa-trash sp-color-red">删除</i>
  356. </a>
  357. </div>
  358. </div>
  359. </div>
  360. <span class="upload">
  361. <input type="button" class="upload-btn-single" ng-click="ctl.beforeUpload('FA')" value="上传附件">
  362. <input id="fileupload-FA" class="upload-file-single" type="file" name="files[]" multiple>
  363. <i class="fa fa-plus"></i>
  364. </span>
  365. </td>
  366. </tr>
  367. <tr ng-if="ctl.userRole!=3">
  368. <td>研讨材料</td>
  369. <td>
  370. <div class="sp-page" style="max-height:100px;overflow:auto">
  371. <div class="sp-page fileArr" ng-repeat="item in ctl.arrayFile.YTCL" ng-if="item.USERID==ctl.userId||ctl.userRole==1||ctl.userId=='10876168-b21d-481e-9a02-1edb5af9853f'">
  372. <div class="sp-page" style="width: auto; max-width: calc(100% - 100px); padding: 0 10px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; cursor: pointer; " ng-bind="item.FILENAMES1" title="{{item.FILENAMES}}" ng-click="ctl.download(item)"></div>
  373. <div class="sp-page" style="width: 100px">
  374. <a ng-click="ctl.deleteFile(item,'YTCL')" ng-if="item.USERID==ctl.userId">
  375. <i class="fa fa-trash sp-color-red">删除</i>
  376. </a>
  377. <a ng-click="ctl.FileRole(item)" ng-if="ctl.userRole!=2">
  378. <i class="fa fa-cog sp-color-blue">设置</i>
  379. </a>
  380. </div>
  381. </div>
  382. </div>
  383. <span class="upload" ng-click="ctl.currentYTCL = null;ctl.showYSJL=true">
  384. <!--<input id="fileupload-YTCL" class="upload-file-single" ng-click="ctl.upload('YTCL')" type="file" name="files[]" multiple>-->
  385. <i class="fa fa-plus"></i>
  386. </span>
  387. </td>
  388. </tr>
  389. <tr ng-if="ctl.userRole!=2">
  390. <td>原始记录</td>
  391. <td>
  392. <div class="sp-page" style="max-height:100px;overflow:auto">
  393. <div class="sp-page fileArr" ng-repeat="item in ctl.arrayFile.YSJL">
  394. <div class="sp-page" style="width: auto; max-width: calc(100% - 50px); padding: 0 10px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; cursor: pointer; " ng-bind="item.FILENAMES1" title="{{item.FILENAMES}}" ng-click="ctl.download(item)"></div>
  395. <div class="sp-page" style="width: 50px">
  396. <a ng-click="ctl.deleteFile(item,'FA')" ng-if="item.USERID==ctl.userId">
  397. <i class="fa fa-trash sp-color-red">删除</i>
  398. </a>
  399. </div>
  400. </div>
  401. </div>
  402. <span class="upload">
  403. <input type="button" class="upload-btn-single" ng-click="ctl.beforeUpload('YSJL')" value="上传附件">
  404. <input id="fileupload-YSJL" class="upload-file-single" type="file" name="files[]" multiple>
  405. <i class="fa fa-plus"></i>
  406. </span>
  407. </td>
  408. </tr>
  409. <tr ng-if="ctl.userRole!=2">
  410. <td>情况报告</td>
  411. <td>
  412. <div class="sp-page" style="max-height:100px;overflow:auto">
  413. <div class="sp-page fileArr" ng-repeat="item in ctl.arrayFile.QKBG">
  414. <div class="sp-page" style="width: auto; max-width: calc(100% - 50px); padding: 0 10px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; cursor: pointer; " ng-bind="item.FILENAMES1" title="{{item.FILENAMES}}" ng-click="ctl.download(item)"></div>
  415. <div class="sp-page" style="width: 50px">
  416. <a ng-click="ctl.deleteFile(item,'FA')" ng-if="item.USERID==ctl.userId">
  417. <i class="fa fa-trash sp-color-red">删除</i>
  418. </a>
  419. </div>
  420. </div>
  421. </div>
  422. <span class="upload">
  423. <input type="button" class="upload-btn-single" ng-click="ctl.beforeUpload('QKBG')" value="上传附件">
  424. <input id="fileupload-QKBG" class="upload-file-single" type="file" name="files[]" multiple>
  425. <i class="fa fa-plus"></i>
  426. </span>
  427. </td>
  428. </tr>
  429. <tr ng-if="ctl.userRole==1">
  430. <td>参加人员</td>
  431. <td>
  432. <input type="text" class="sp-input" ng-model="ctl.edit.CJYR" />
  433. </td>
  434. </tr>
  435. <tr ng-if="ctl.userRole==3">
  436. <td>参学情况</td>
  437. <td>
  438. <input type="text" class="sp-input" ng-model="ctl.edit.CXQK" />
  439. </td>
  440. </tr>
  441. </table>
  442. <table class="sp-grid-job" ng-if="ctl.showYSJL==true">
  443. <tr>
  444. <td width="150">研讨材料</td>
  445. <td>
  446. <div class="sp-page" ng-if="ctl.currentYTCL!=null">
  447. <a ng-bind="ctl.currentYTCL.FILENAMES"></a>
  448. <a ng-click="ctl.deleteFile(ctl.currentYTCL,'currentYTCL')" ng-if="item.USERID==ctl.userId">
  449. <i class="fa fa-trash sp-color-red">删除</i>
  450. </a>
  451. </div>
  452. <span class="upload">
  453. <input type="button" class="upload-btn-single" ng-click="ctl.beforeUpload('YTCL')" value="上传附件">
  454. <input id="fileupload-YTCL" class="upload-file-single" type="file" name="files[]" multiple>
  455. <i class="fa fa-plus"></i>
  456. </span>
  457. </td>
  458. </tr>
  459. <tr ng-if="ctl.userRole!=2">
  460. <td>可见范围</td>
  461. <td>
  462. <label class="sp-col-25" title="{{item.USHOWNAME}}" ng-repeat="item in ctl.WLDList" style="overflow:hidden;white-space: nowrap;white-space:nowrap;text-overflow:ellipsis">
  463. <input type="checkbox" style="position:relative;top:2px" ng-checked="item.checked" ng-disabled="item.USERID=='10876168-b21d-481e-9a02-1edb5af9853f'" ng-click="ctl.checkItem(item)" />
  464. {{item.USHOWNAME}}
  465. </label>
  466. </td>
  467. </tr>
  468. </table>
  469. <div class="sp-page sp-text-center sp-pt-10" ng-if="ctl.showYSJL==false">
  470. <button class="sp-btn-blue sp-radius" ng-click="ctl.btnSave()"><i class="fa fa-check sp-mr-5"></i>保 存</button>
  471. <button class="sp-btn-blue sp-radius" onclick="sp.layerhide()"><i class="fa fa-close sp-mr-5"></i>关 闭</button>
  472. </div>
  473. <div class="sp-page sp-text-center sp-pt-10" ng-if="ctl.showYSJL==true">
  474. <button class="sp-btn-blue sp-radius" ng-disabled="ctl.currentYTCL==null" ng-click="ctl.btnCheckUser()"><i class="fa fa-check sp-mr-5"></i>确 定</button>
  475. <button class="sp-btn-blue sp-radius" ng-click="ctl.showYSJL=false"><i class="fa fa-close sp-mr-5"></i>取 消</button>
  476. </div>
  477. </div>
  478. </div>
  479. </div>
  480. <script src="../../AFrontEnd/js/jquery/jquery-2.1.4.min.js"></script>
  481. <script src="../../AFrontEnd/js/laydate/laydate.js"></script>
  482. <script src="../../AFrontEnd/js/angularjs/angular.js"></script>
  483. <script src="../../AFrontEnd/js/angularjs/dirPagination.js"></script>
  484. <script src="../../apiurljs.js"></script>
  485. <script src="../../js/sm4.js"></script>
  486. <script>document.write('<scri' + 'pt src="../../AFrontEnd/js/special/special.js?time=' + new Date().getTime() + '" type="text/javascript"></s' + 'cript>')</script>
  487. <script>document.write('<scri' + 'pt src="js/index.js?time=' + new Date().getTime() + '" type="text/javascript"></s' + 'cript>')</script>
  488. <script src="../../AFrontEnd/js/special/spng.js"></script>
  489. <script src="../../AFrontEnd/js/special/spngvld.js"></script>
  490. <!--附件-->
  491. <script src="../../AFrontEnd/plugins/js.fileupload/vendor/jquery.ui.widget.js"></script>
  492. <script src="../../AFrontEnd/plugins/js.fileupload/jquery.iframe-transport.js"></script>
  493. <script src="../../AFrontEnd/plugins/js.fileupload/jquery.fileupload.js"></script>
  494. </body>
  495. </html>