sysParamForm.html 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <title>系统参数管理</title>
  5. <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
  6. <meta charset="utf-8"/>
  7. <meta name="viewport"
  8. content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
  9. <link rel="stylesheet"
  10. href="/common-assets/plugins/font-awesome/css/font-awesome.min.css"/>
  11. <link rel="stylesheet" href="/common-assets/plugins/outdated/bootstrap/css/bootstrap.min.css"/>
  12. <link rel="stylesheet" href="/common-assets/css/outdated/style.css"/>
  13. <link rel="stylesheet"
  14. href="/common-assets/plugins/outdated/metisMenu/2.7/metisMenu.min.css"/>
  15. <link rel="stylesheet"
  16. href="/common-assets/plugins/outdated/bootstrap-toastr/2.0.1/toastr.min.css"/>
  17. <link rel="stylesheet" href="/common-assets/plugins/outdated/icheck/custom.css"/>
  18. <script src='/common-assets/js/jquery-2.1.1.js'></script>
  19. <script src="/common-assets/js/outdated/bootstrap.min.js"></script>
  20. <script src="/common-assets/js/outdated/jquery.form-3.51.0.min.js"></script>
  21. <script src="/common-assets/plugins/layer/3.0.3/layer.js"></script>
  22. <script src="/common-assets/plugins/outdated/pace/pace.min.js"></script>
  23. <script src="/common-assets/plugins/outdated/slimscroll/jquery.slimscroll.min.js"></script>
  24. <script src="/common-assets/plugins/outdated/bootstrap-toastr/2.0.1/toastr.min.js"></script>
  25. <script src="/common-assets/plugins/outdated/jquery-validation/jquery.validate-1.11.1.min.js"></script>
  26. <script src="/common-assets/plugins/outdated/jquery-validation/localization/messages_zh.js"></script>
  27. <script src="/common-assets/plugins/outdated/icheck/icheck.min.js"></script>
  28. <script src="/common-assets/plugins/outdated/metisMenu/2.7/metisMenu.js"></script>
  29. <script src="/common-assets/plugins/dotize/dotize.js"></script>
  30. <script src="/common-assets/js/promise-polyfill.min.js"></script>
  31. <!-- 开发阶段使用vue.js以获取编译信息 -->
  32. <script src="/common-assets/plugins/vue/2.5.17/vue.min.js"></script>
  33. <script src="/common-assets/plugins/axios/0.18.0/axios.min.js"></script>
  34. <!-- 引入组件库 -->
  35. <script src="/common-assets/plugins/element-ui/lib/index.js"></script>
  36. </head>
  37. <body class="pace-done white-bg">
  38. <div class="container-fluid mt15">
  39. <form id="sysParamForm"
  40. :action="WEB_ROOT + '/sys/sysParam/save'" v-cloak method="post" class="form-horizontal">
  41. <input type="hidden" name="id" id="id" v-model="entity.id"/>
  42. <table class="table table-bordered">
  43. <tbody>
  44. <tr>
  45. <td class="col-sm-2 active"><label class="control-label pull-right"><font
  46. color="red">*</font>系统代码:</label></td>
  47. <td class="col-sm-4">
  48. <input name="sysParamCode" id="sysParamCode" v-model="entity.sysParamCode"
  49. maxlength="100" class="form-control required"
  50. :disabled="editType === 'view' " /></td>
  51. <td class="col-sm-2 active"><label class="control-label pull-right"><font
  52. color="red">*</font>参数值:</label></td>
  53. <td class="col-sm-4">
  54. <input name="sysParamValue" id="sysParamValue" v-model="entity.sysParamValue"
  55. maxlength="512" class="form-control required"
  56. :disabled="editType === 'view'" /></td>
  57. </tr>
  58. <tr>
  59. <td class="col-sm-2 active"><label class="control-label pull-right">扩展配置:</label></td>
  60. <td class="col-sm-4">
  61. <input name="sysParamExt" id="sysParamExt" v-model="entity.sysParamExt"
  62. maxlength="256" class="form-control "
  63. :disabled="editType === 'view'" /></td>
  64. <td class="col-sm-2 active"><label class="control-label pull-right">参数描述:</label></td>
  65. <td class="col-sm-4">
  66. <input name="sysParamDesc" id="sysParamDesc" v-model="entity.sysParamDesc"
  67. maxlength="256" class="form-control "
  68. :disabled="editType === 'view'" /></td>
  69. </tr>
  70. <tr>
  71. <td class="col-sm-2 active"><label class="control-label pull-right">微服务名称:</label></td>
  72. <td class="col-sm-4">
  73. <input name="application" id="application" v-model="entity.application"
  74. maxlength="256" class="form-control "
  75. :disabled="editType === 'view'" /></td>
  76. <td class="col-sm-2 active"><label class="control-label pull-right">配置环境:</label></td>
  77. <td class="col-sm-4">
  78. <input name="profile" id="profile" v-model="entity.profile"
  79. maxlength="256" class="form-control "
  80. :disabled="editType === 'view'" /></td>
  81. </tr>
  82. <tr>
  83. <td class="col-sm-2 active"><label class="control-label pull-right">配置标签:</label></td>
  84. <td class="col-sm-4">
  85. <input name="label" id="label" v-model="entity.label"
  86. maxlength="256" class="form-control "
  87. :disabled="editType === 'view'" /></td>
  88. </tr>
  89. <input type="hidden" name="appId" id="appId" v-model="entity.appId"/>
  90. <!--<tr>
  91. <td class="col-sm-2 active"><label class="control-label pull-right"><font
  92. color="red">*</font>系统名称:</label></td>
  93. <td class="col-sm-4">
  94. <select name="appId" id="appId" v-model="entity.appId"
  95. disabled="disabled" class="form-control required" disabled="${editType eq 'view'}">
  96. <option v-for="param in enTimeLimitDict" :key="param.id" :value="param.appName">
  97. {{param.paramName}}
  98. </option>
  99. </select></td>
  100. <td class="col-sm-2 active"></td>
  101. <td class="col-sm-4"></td>
  102. </tr>-->
  103. </tbody>
  104. </table>
  105. </form>
  106. </div>
  107. </body>
  108. <script src="/common-assets/js/project.config.js"></script>
  109. <script src="/common-assets/js/outdated/common.js"></script>
  110. <!-- 本页面对应JS-->
  111. <script src="../static/js/sysParamForm.js"></script>
  112. </html>