formlist.html 29 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557
  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 http-equiv="Pragma" content="no-cache"/>
  6. <meta http-equiv="Cache-Control" content="no-cache"/>
  7. <meta http-equiv="Expires" content="0"/>
  8. <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
  9. <title>表单管理</title>
  10. <link href="../../AFrontEnd/css/animate.css" rel="stylesheet"/>
  11. <link href="../../AFrontEnd/css/fontawesome/css/font-awesome.css" rel="stylesheet"/>
  12. <link href="../../AFrontEnd/css/bootstrap.css" rel="stylesheet"/>
  13. <link href="../../AFrontEnd/css/style.css" rel="stylesheet"/>
  14. <script>document.write("<link href='../../AFrontEnd/css/special.css?time=" + new Date().getTime() + "' rel='stylesheet'>");</script>
  15. <script>document.write("<link href='css/formlist.css?time=" + new Date().getTime() + "' rel='stylesheet'>");</script>
  16. </head>
  17. <body>
  18. <div class="sp-page" style="overflow: hidden;height: 100%;" ng-controller="formlistCtrl as ctl" ng-cloak>
  19. <div class="loading" ng-if="ctl.loading">
  20. <div class="loading-msg">
  21. <h3>数据加载中,请等待</h3>
  22. <div class="spinner">
  23. <div class="bounce1"></div>
  24. <div class="bounce2"></div>
  25. <div class="bounce3"></div>
  26. </div>
  27. </div>
  28. </div>
  29. <div class="sp-page sp-mt-15">
  30. <div class="sp-col-10" style="width:220px;">
  31. <div class="sp-page-title">表单列表</div>
  32. </div>
  33. <div class="sp-col-50" ng-show="ctl.showType == 'List'">
  34. <div class="sp-page-col sp-color-blue">
  35. <span class="sp-lh-26">
  36. <span ng-bind="ctl.active.CNAME"></span>(<span ng-bind="ctl.formList.length"></span>项)
  37. </span>
  38. </div>
  39. <div class="sp-page-col sp-ml-30" style="width:300px;">
  40. <input type="text" class="sp-input" placeholder="请输入表单标识或表单名称关键字" ng-model="ctl.search_keyword" />
  41. </div>
  42. <div class="sp-page-col sp-ml-10" style="margin-top:6px;">
  43. <span class="sp-btn-blue sp-btn-radius" ng-click="ctl.btnSearch()">搜索</span>
  44. </div>
  45. </div>
  46. <div class="sp-col-20 sp-pull-right sp-text-right ng-hide" style="width:200px;" ng-show="ctl.showType == 'List'">
  47. <span class="sp-btn-blue-outline sp-btn-radius sp-btn-sm" ng-click="ctl.goToEliminate()">
  48. <i class="fa fa-close"></i> 清除
  49. </span>
  50. <!--<span class="sp-btn-blue-outline sp-btn-radius sp-btn-sm" ng-click="ctl.openSearchLayer()">
  51. <i class="fa fa-refresh"></i> 筛选
  52. </span>-->
  53. <span class="sp-btn-blue-outline sp-btn-radius sp-btn-sm" ng-if="ctl.active.TYPE!=''" ng-click="ctl.openAddLayer()">
  54. <i class="fa fa-plus"></i> 新建
  55. </span>
  56. </div>
  57. <div class="sp-col-10 sp-pull-right sp-text-right ng-hide" ng-show="ctl.showType == 'Detail'">
  58. <span class="sp-btn-blue-outline sp-btn-radius sp-btn-sm" ng-click="ctl.goToList()"><i
  59. class="fa fa-reply"></i> 返回</span>
  60. </div>
  61. </div>
  62. <div class="sp-msg-left">
  63. <div class="sp-page-pad">
  64. <div class="sp-msg-left-bottom">
  65. <div class="sp-page">
  66. <select ng-model="ctl.unit" ng-change="ctl.changeUnit()" class="sp-select">
  67. <option ng-repeat="item in ctl.unitList" ng-init="ctl.unit=ctl.unitList[0].CODE"
  68. value="{{item.CODE}}" ng-bind="item.SECTION"></option>
  69. </select>
  70. </div>
  71. <div class="sp-lh-20 sp-text-right sp-mt-10 sp-mb-10">
  72. <i class="icon-list-add" ng-click="ctl.openLayerFormType()" title="新增类别"
  73. style="cursor: pointer; padding-right: 5px;"></i>
  74. <i class="fa fa-sort-alpha-asc" ng-click="ctl.openSortFormType()" title="排序"
  75. style="cursor: pointer;"></i>
  76. </div>
  77. <div class="sp-page" id="formTypePart" style="overflow: auto;">
  78. <div class="sp-msg-left-lh" ng-click="ctl.getMsgData(0,0,'全部表单')">
  79. <div class="sp-col-10"><i class="fa fa-list-ul"></i></div>
  80. <div class="sp-col-70">全部表单</div>
  81. <div class="sp-col-20"></div>
  82. </div>
  83. <div class="sp-msg-left-lh" ng-repeat="item in ctl.formType"
  84. ng-click="ctl.getMsgData($index+1,item,item.CNAME)">
  85. <div class="sp-col-10"><i class="icon-folder"></i></div>
  86. <div class="sp-col-70 sp-pl-5" ng-bind="item.CNAME"></div>
  87. <div class="sp-col-20">
  88. <i class="fa fa-edit" ng-click="ctl.editFormType(item)"></i><i class="fa fa-trash" ng-click="ctl.delFormType(item)" style="padding-right: 0;"></i>
  89. </div>
  90. </div>
  91. </div>
  92. </div>
  93. </div>
  94. </div>
  95. <div class="sp-msg-right ng-hide" ng-show="ctl.showType=='List'" style="top:50px;">
  96. <div class="sp-page-mgn">
  97. <div class="sp-page">
  98. <table class="sp-table">
  99. <thead>
  100. <tr>
  101. <th style="width: 60px;">序号</th>
  102. <th>表单标识</th>
  103. <th>表单名称</th>
  104. <th>简称</th>
  105. <th>表单描述</th>
  106. <th>表单类型</th>
  107. <th>表单视图</th>
  108. <th style="width:180px;">操作</th>
  109. </tr>
  110. </thead>
  111. <tbody>
  112. <tr ng-repeat="item in ctl.formList_search">
  113. <td ng-bind="$index+1"></td>
  114. <td ng-bind="item.CKEY"></td>
  115. <td ng-bind="item.CNAME"></td>
  116. <td ng-bind="item.SHORTNAME"></td>
  117. <td ng-bind="item.EXPLAIN"></td>
  118. <td ng-bind="item.CTYPE_set"></td>
  119. <td>
  120. <a ng-if="item.FORMEDITSTRING!=''" class="sp-color-blue" ng-bind="item.FORMEDITSTRING" ng-click="ctl.checkViewDetail($index)"></a>
  121. <!-- <div class="viewBox">-->
  122. <!-- <div class="viewBoxItem" ng-repeat="item2 in item.FORMEDIT">-->
  123. <!-- <div class="viewName"><a class="sp-color-blue" ng-click="ctl.goFormEdit(item2)" ng-bind="item2.CNAME" ng-attr-title="{{item2.CNAME}}"></a></div>-->
  124. <!-- <div class="viewButton">-->
  125. <!-- </div>-->
  126. <!-- </div>-->
  127. <!-- </div>-->
  128. </td>
  129. <td>
  130. <button class="sp-new-logo-add" ng-disabled="item.VIEW_set"
  131. ng-click="ctl.openAddView(item.FORMID,item)" title="新增视图"></button>
  132. <button class="sp-new-logo-check sp-ml-10" ng-click="ctl.previewForm(item)" title="查看"></button>
  133. <button class="sp-new-logo-delete sp-ml-10" ng-click="ctl.delForm(item)" title="删除"></button>
  134. <button ng-disabled="$index==0" class="sp-new-logo-up sp-ml-10"
  135. ng-click="ctl.formSortup(item,$index)" title="上移"></button>
  136. <button ng-disabled="ctl.formList.length-1==$index" class="sp-new-logo-down sp-ml-10"
  137. ng-click="ctl.formSortdown(item,$index)" title="下移"></button>
  138. </td>
  139. </tr>
  140. </tbody>
  141. </table>
  142. <div class="sp-table-tip ng-hide" ng-show="ctl.noDataTip == 0">
  143. <i class="fa fa-exclamation-circle sp-mr-10"></i>您好,暂未查询到相关信息!
  144. </div>
  145. </div>
  146. </div>
  147. </div>
  148. <div class="sp-msg-right ng-hide" ng-show="ctl.showType=='Detail'">
  149. <div class="sp-page-mgn">
  150. <div class="sp-page">
  151. <div class="sp-color-blue sp-mb-5" style="height: 30px;line-height: 30px;">所属表单:<span ng-bind="ctl.nowForm"></span></div>
  152. <table class="sp-table">
  153. <thead>
  154. <tr>
  155. <th style="width: 60px;">序号</th>
  156. <th style="width: 150px;">视图标识</th>
  157. <th>视图名称</th>
  158. <th>已有地址</th>
  159. <th style="width: 80px;">是否启用</th>
  160. <th>视图说明</th>
  161. <th style="width: 180px;">操作</th>
  162. </tr>
  163. </thead>
  164. <tbody>
  165. <tr ng-repeat="item in ctl.formDetailList">
  166. <td ng-bind="$index+1"></td>
  167. <td ng-bind="item.FORMEDITID"></td>
  168. <td ng-bind="item.CNAME"></td>
  169. <td ng-bind="item.TEMPFORM"></td>
  170. <td ng-bind="item.USETEMPFORM"></td>
  171. <td ng-bind="item.EXPLAIN"></td>
  172. <td>
  173. <button class="sp-new-logo-column" ng-click="ctl.openViewColumnLayer(ctl.nowFormItem,item)" title="列设置"></button>
  174. <button class="sp-new-logo-set sp-ml-10" ng-click="ctl.openViewFuncLayer(ctl.nowFormItem,item)" title="功能设置"></button>
  175. <button class="sp-new-logo-edit sp-ml-10" ng-click="ctl.openEditView(item)" title="编辑"></button>
  176. <button class="sp-new-logo-delete sp-ml-10" ng-click="ctl.delView(item.FORMEDITID,$index)" title="删除"></button>
  177. <button class="sp-new-logo-formbuilder sp-ml-10" ng-click="ctl.openViewFormbuilder(ctl.nowFormItem,item)" title="自定义表单设计"></button>
  178. <!-- <i class="fa fa-check-square-o" title="列设置"-->
  179. <!-- ng-click="ctl.openViewColumnLayer(item,item2)"></i>-->
  180. <!-- <i class="fa fa-server" title="功能设置"-->
  181. <!-- ng-click="ctl.openViewFuncLayer(item,item2)"></i>-->
  182. <!-- <i class="fa fa-edit" title="编辑" ng-click="ctl.openEditView(item2)"></i>-->
  183. <!-- <i class="fa fa-trash" title="删除" ng-click="ctl.delView(item2.FORMEDITID)"-->
  184. <!-- style="padding-right: 0;"></i>-->
  185. </td>
  186. </tr>
  187. </tbody>
  188. </table>
  189. <div class="sp-table-tip ng-hide" ng-show="ctl.noDataTip == 0">
  190. <i class="fa fa-exclamation-circle sp-mr-10"></i>您好,暂未查询到相关信息!
  191. </div>
  192. </div>
  193. </div>
  194. </div>
  195. <div class="sp-layer" data-title="表单类别" id="layer_addFormType" style="width: 500px;">
  196. <div class="sp-layer-body">
  197. <table class="sp-grid-job">
  198. <tbody>
  199. <tr>
  200. <td style="width: 100px;">类别名称</td>
  201. <td>
  202. <input type="text" class="sp-input" ng-model="ctl.addflow.cname" sp-required/>
  203. </td>
  204. </tr>
  205. <tr>
  206. <td>类别属性</td>
  207. <td>
  208. <select ng-model="ctl.addflow.ctype">
  209. <option value="NORMAL">业务表单</option>
  210. <option value="SYSTEM">系统表单</option>
  211. </select>
  212. </td>
  213. </tr>
  214. </tbody>
  215. </table>
  216. <div class="sp-page sp-text-center sp-mt-20">
  217. <button class="sp-btn-blue sp-btn-radius" ng-click="ctl.btnSubmitFormType()">
  218. <i class="fa fa-check sp-mr-5"></i>提 交
  219. </button>
  220. <button class="sp-btn-default sp-btn-radius" ng-click="ctl.btnCancelFormType()">
  221. <i class="fa fa-close sp-mr-5"></i>取 消
  222. </button>
  223. </div>
  224. </div>
  225. </div>
  226. <div class="sp-layer" data-title="类别排序" id="layer_sortFormType" style="width: 500px;">
  227. <div class="sp-layer-body" style=" height: 200px;">
  228. <div class="sp-lh-20" ng-repeat="item in ctl.formType">
  229. <div class="sp-col-60"><i class="icon-folder sp-pr-5 sp-color-gray"></i><span
  230. ng-bind="item.CNAME"></span></div>
  231. <div class="sp-col-40 sp-text-right">
  232. <button class="sp-btn-blue sp-btn-sm sp-btn-radius" ng-click="ctl.itemSortup(item,$index)"
  233. ng-disabled="$index==0" title="上移">
  234. <i class="fa fa-arrow-up sp-color-white sp-mr-5"></i>上 移
  235. </button>
  236. <button class="sp-btn-blue sp-btn-sm sp-btn-radius"
  237. ng-click="ctl.itemSortdown(item,$index)" ng-disabled="$index==ctl.formType.length-1"
  238. title="下移">
  239. <i class="fa fa-arrow-down sp-color-white sp-mr-5"></i>下 移
  240. </button>
  241. </div>
  242. </div>
  243. </div>
  244. <div class="sp-layer-foot">
  245. <button class="sp-btn-default sp-btn-radius sp-mt-10" onclick="sp.layerhide()"><i class="fa fa-close sp-mr-5"></i>关 闭</button>
  246. </div>
  247. </div>
  248. <!-- 筛选 -->
  249. <div class="sp-layer" data-title="筛选" id="layer_search" style="width:500px;">
  250. <div class="sp-layer-body">
  251. <table class="sp-grid-job">
  252. <tbody>
  253. <tr>
  254. <td style="width:100px;">表单标识</td>
  255. <td>
  256. <input type="text" class="sp-input" ng-model="ctl.search.mark" placeholder="请输入关键字"/>
  257. </td>
  258. </tr>
  259. <tr>
  260. <td>表单名称</td>
  261. <td><input type="text" class="sp-input" ng-model="ctl.search.title" placeholder="请输入关键字"/></td>
  262. </tr>
  263. <tr>
  264. <td>表单类型</td>
  265. <td>
  266. <select ng-model="ctl.search.type">
  267. <option value="">-全部-</option>
  268. <option value="一般表">一般表</option>
  269. <option value="代码表">代码表</option>
  270. <option value="树状表">树状表</option>
  271. <option value="实体表">实体表</option>
  272. <option value="主细表">主细表</option>
  273. </select>
  274. </td>
  275. </tr>
  276. </tbody>
  277. </table>
  278. <div class="sp-page sp-text-center sp-mt-20">
  279. <button class="sp-btn-blue sp-btn-radius" ng-click="ctl.btnSearchTrue()">
  280. <i class="fa fa-check sp-mr-5"></i>提 交
  281. </button>
  282. <button class="sp-btn-default sp-btn-radius" ng-click="ctl.btnSearchCancel()">
  283. <i class="fa fa-close sp-mr-5"></i>取 消
  284. </button>
  285. </div>
  286. </div>
  287. </div>
  288. <!-- 新增 -->
  289. <div class="sp-layer" data-title="新建表单" ng-keydown="ctl.keyLogin()" id="layer_addForm" style="width:500px;">
  290. <div class="sp-layer-body">
  291. <table class="sp-grid-job">
  292. <tbody>
  293. <tr>
  294. <td style="width:100px;">表单类别</td>
  295. <td>
  296. <select ng-model="ctl.form.formkinds">
  297. <option ng-repeat="item in ctl.formType" value="{{item.PKID}}"
  298. ng-bind="item.CNAME"></option>
  299. </select>
  300. </td>
  301. </tr>
  302. <tr>
  303. <td style="width:100px;">表单标识</td>
  304. <td>
  305. <input type="text" class="sp-input" ng-model="ctl.form.ckey" sp-required/>
  306. </td>
  307. </tr>
  308. <tr>
  309. <td>表单名称</td>
  310. <td><input type="text" class="sp-input" ng-model="ctl.form.cname" sp-required/></td>
  311. </tr>
  312. <tr>
  313. <td>表单类型</td>
  314. <td>
  315. <select ng-model="ctl.form.ctype">
  316. <option ng-repeat="item in ctl.formTypeAray" value="{{item.cval}}"
  317. ng-bind="item.cname"></option>
  318. </select>
  319. </td>
  320. </tr>
  321. <tr>
  322. <td>表单简称</td>
  323. <td><input type="text" class="sp-input" ng-model="ctl.form.shortname"/></td>
  324. </tr>
  325. <tr>
  326. <td>描述</td>
  327. <td><input type="text" class="sp-input" ng-model="ctl.form.explain"/></td>
  328. </tr>
  329. </tbody>
  330. </table>
  331. <div class="sp-page sp-text-center sp-mt-20">
  332. <button class="sp-btn-blue sp-btn-radius" ng-click="ctl.addFormTrue()">
  333. <i class="fa fa-check sp-mr-5"></i>提 交
  334. </button>
  335. <button class="sp-btn-default sp-btn-radius" ng-click="ctl.addFormCancel()">
  336. <i class="fa fa-close sp-mr-5"></i>取 消
  337. </button>
  338. </div>
  339. </div>
  340. </div>
  341. <!-- 新增视图-->
  342. <div class="sp-layer" id="layer_addView" style="width: 500px;">
  343. <div class="sp-layer-head">
  344. <div class="sp-page sp-text-center sp-font16">
  345. <span ng-bind="ctl.view.layertitle"></span>
  346. <div class="sp-layer-close" title="关闭" onclick="sp.closeCenter('.sp-layer')">
  347. ×
  348. </div>
  349. </div>
  350. </div>
  351. <div class="sp-layer-body">
  352. <table class="sp-grid-job">
  353. <tbody>
  354. <tr>
  355. <td style="width: 100px;">
  356. 视图名称
  357. </td>
  358. <td>
  359. <input type="text" class="sp-input" ng-model="ctl.view.cname" sp-required/>
  360. </td>
  361. </tr>
  362. <tr>
  363. <td>已有地址</td>
  364. <td>
  365. <input type="text" class="sp-input" ng-model="ctl.view.tempform"/>
  366. </td>
  367. </tr>
  368. <tr>
  369. <td>是否使用</td>
  370. <td>
  371. <select ng-model="ctl.view.usetempform">
  372. <option value="0">不使用</option>
  373. <option value="1">使用</option>
  374. </select>
  375. </td>
  376. </tr>
  377. <tr>
  378. <td>视图说明</td>
  379. <td>
  380. <input type="text" class="sp-input" ng-model="ctl.view.explain"/>
  381. </td>
  382. </tr>
  383. </tbody>
  384. </table>
  385. <div class="sp-page sp-text-center sp-mt-20">
  386. <button class="sp-btn-blue sp-btn-radius" ng-click="ctl.btnSaveView()">
  387. <i class="fa fa-check sp-mr-5"></i>提 交
  388. </button>
  389. <button class="sp-btn-default sp-btn-radius" ng-click="ctl.btnCancelView()">
  390. <i class="fa fa-close sp-mr-5"></i>取 消
  391. </button>
  392. </div>
  393. </div>
  394. </div>
  395. <!-- 编辑视图列-->
  396. <div class="sp-layer" id="layer_viewColumn" style="width: 500px;">
  397. <div class="sp-layer-head">
  398. <div class="sp-page sp-text-center sp-font16">
  399. <span>视图列设置</span>
  400. <div class="sp-layer-close" title="关闭" onclick="sp.closeCenter('.sp-layer')">
  401. ×
  402. </div>
  403. </div>
  404. </div>
  405. <div class="sp-layer-body">
  406. <table class="sp-table-sm">
  407. <thead>
  408. <tr>
  409. <th style="width: 10%;">序号</th>
  410. <th style="width: 20%;">列名</th>
  411. <th style="width: 25%;">中文名</th>
  412. <th style="width: 15%">只读&nbsp;<input type="checkbox" ng-click="ctl.allSelectEREADONLY()"
  413. ng-model="ctl.seletAllEREADONLY"></th>
  414. <th style="width: 15%">隐藏&nbsp;<input type="checkbox" ng-click="ctl.allSelectESHOW()"
  415. ng-model="ctl.seletAllESHOW"></th>
  416. <th style="width: 15%">必填&nbsp;<input type="checkbox" ng-click="ctl.allSelectGSHOW()"
  417. ng-model="ctl.seletAllGSHOW"></th>
  418. </tr>
  419. </thead>
  420. </table>
  421. <div style="height: 400px;overflow: auto;">
  422. <table class="sp-table-sm">
  423. <tbody>
  424. <tr ng-repeat="item in ctl.viewColumnList">
  425. <td style="width: 10%;" ng-bind="$index+1"></td>
  426. <td style="width: 20%;" ng-bind="item.CODE"></td>
  427. <td style="width: 25%;" ng-bind="item.CNAME"></td>
  428. <td style="width: 15%;">
  429. <input type="checkbox" ng-model="item.EREADONLY" ng-click="ctl.itemSelectEREADONLY()">
  430. </td>
  431. <td style="width: 15%;">
  432. <input type="checkbox" ng-model="item.ESHOW" ng-click="ctl.itemSelectESHOW()">
  433. </td>
  434. <td style="width: 15%;">
  435. <input type="checkbox" ng-model="item.GSHOW" ng-click="ctl.itemSelectGSHOW()">
  436. </td>
  437. </tr>
  438. </tbody>
  439. </table>
  440. </div>
  441. </div>
  442. <div class="sp-layer-foot">
  443. <div class="sp-page sp-text-center sp-mt-10">
  444. <button class="sp-btn-blue sp-btn-radius" ng-click="ctl.btnViewColumnSave()">
  445. <i class="fa fa-check sp-mr-5"></i>提 交
  446. </button>
  447. <button class="sp-btn-default sp-btn-radius" ng-click="ctl.btnViewColumnCancel()">
  448. <i class="fa fa-close sp-mr-5"></i>取 消
  449. </button>
  450. </div>
  451. </div>
  452. </div>
  453. <!--编辑视图功能-->
  454. <div class="sp-layer" id="layer_viewFunc" style="width: 500px;position: relative" ng-click="ctl.removeWarning()">
  455. <div class="sp-layer-head">
  456. <div class="sp-page sp-text-center sp-font16">
  457. <span>视图功能设置</span>
  458. <div class="sp-layer-close" title="关闭" onclick="sp.closeCenter('.sp-layer')">
  459. ×
  460. </div>
  461. </div>
  462. </div>
  463. <div class="sp-layer-body">
  464. <table class="sp-table-sm">
  465. <thead>
  466. <tr>
  467. <th style="width: 10%;">序号</th>
  468. <th style="width: 33%;">功能标识</th>
  469. <th style="width: 33%;">功能名称</th>
  470. <th style="width: 24%;">操作</th>
  471. </tr>
  472. </thead>
  473. </table>
  474. <div style="overflow: auto;height: 150px;">
  475. <table class="sp-table-sm ng-hide" ng-show="ctl.viewFuncList.length>0">
  476. <tbody>
  477. <tr ng-repeat="item in ctl.viewFuncList">
  478. <td style="width: 10%;" ng-bind="$index+1"></td>
  479. <td style="width: 33%;" ng-bind="item.CODE"></td>
  480. <td style="width: 33%;" ng-bind="item.CNAME"></td>
  481. <td style="width: 24%;">
  482. <span class="sp-new-logo-delete" ng-click="ctl.deleteViewFunc(item.FUNCID)" title="删除"></span>&nbsp;
  483. <button ng-disabled="$index==0" class="sp-new-logo-up sp-ml-10"
  484. ng-click="ctl.upViewFunc($index)" title="上移"></button>&nbsp;
  485. <button ng-disabled="$index==ctl.viewFuncList.length-1" class="sp-new-logo-down sp-ml-10"
  486. ng-click="ctl.downViewFunc($index)" title="下移"></button>
  487. </td>
  488. </tr>
  489. </tbody>
  490. </table>
  491. <div class="ng-hide warningContent" ng-show="ctl.viewFuncList.length==0">
  492. <i class="fa fa-warning sp-mr-5"></i>暂未设置功能
  493. </div>
  494. </div>
  495. </div>
  496. <div class="sp-layer-foot sp-mt-5">
  497. <div class="actionBar">
  498. <span>选择功能:</span>
  499. <select ng-model="ctl.viewFunc.nowFunc">
  500. <option ng-repeat="item in ctl.funcButtonList" value="{{item.FUNCID}}"
  501. ng-bind="item.CNAME"></option>
  502. </select>
  503. <button class="sp-btn-blue sp-btn-radius" ng-click="ctl.saveViewFuncButton();$event.stopPropagation();">
  504. <i class="fa fa-plus sp-mr-5"></i>添 加
  505. </button>
  506. </div>
  507. <div class="warninfoBox"></div>
  508. </div>
  509. </div>
  510. <!--清除数据库表-->
  511. <div class="sp-layer" data-title="数据库表" id="layer_eliminate" style="width:500px;">
  512. <div class="sp-layer-body">
  513. <div style="overflow:auto;max-height:400px">
  514. <table class="sp-grid-job">
  515. <tr>
  516. <td style="width:50px;"><input type="checkbox" ng-model="ctl.EliminateAllChecked" ng-change="ctl.changeEliminate1()" /></td>
  517. <td>表单标识</td>
  518. <td>表单名称</td>
  519. </tr>
  520. <tr ng-repeat="item in ctl.eliminateList" ng-click="ctl.changeEliminate2(item)">
  521. <td><input type="checkbox" ng-model="item.checked" /></td>
  522. <td ng-bind="item.CKEY"></td>
  523. <td ng-bind="item.CNAME"></td>
  524. </tr>
  525. </table>
  526. </div>
  527. <div class="sp-page sp-text-center sp-mt-20">
  528. <button class="sp-btn-blue sp-btn-radius" ng-click="ctl.btnEliminateTrue()">
  529. <i class="fa fa-check sp-mr-5"></i>提 交
  530. </button>
  531. <button class="sp-btn-default sp-btn-radius" onclick="sp.layerhide()">
  532. <i class="fa fa-close sp-mr-5"></i>取 消
  533. </button>
  534. </div>
  535. </div>
  536. </div>
  537. </div>
  538. <script src="../../AFrontEnd/js/jquery/jquery-2.1.4.min.js"></script>
  539. <script src="../../AFrontEnd/js/angularjs/angular.js"></script>
  540. <script src="../../AFrontEnd/js/angularjs/dirPagination.js"></script>
  541. <script src="../../apiurljs.js"></script>
  542. <script src="../../js/sm4.js"></script>
  543. <script>document.write('<scri' + 'pt src="../../AFrontEnd/js/special/special.js?time=' + new Date().getTime() + '" type="text/javascript"></s' + 'cript>');</script>
  544. <script>document.write('<scri' + 'pt src="js/formlist.js?time=' + new Date().getTime() + '" type="text/javascript"></s' + 'cript>');</script>
  545. <script src="../../AFrontEnd/js/special/spng.js"></script>
  546. <script src="../../AFrontEnd/js/special/spngvld.js"></script>
  547. </body>
  548. </html>