1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283 |
- <div class="panel-content">
- <div class="panel-title fluid">
- <div class="title-main">
- <h2>工具</h2>
- </div>
- </div>
- <div class="content-wrap">
- <div class="row">
- <div class="col-xs-6 mb-30 ">
- <div class="c-body">
- <h2>清单规则编辑器
- <a href="/stdBillsmain" class="btn btn-primary pull-right">进入</a></h2>
- </div>
- </div>
- <div class="col-xs-6 mb-30 ">
- <div class="c-body">
- <h2>定额编辑器
- <a href="/rationRepository/main" class="btn btn-primary pull-right">进入</a></h2>
- </div>
- </div>
- <div class="col-xs-6 mb-30 ">
- <div class="c-body">
- <h2>报表模板
- <a href="/rpt_tpl" class="btn btn-primary pull-right">进入</a></h2>
- </div>
- </div>
- <div class="col-xs-6 mb-30 ">
- <div class="c-body">
- <h2>工料机库
- <a href="/stdGljRepository/main" class="btn btn-primary pull-right">进入</a></h2>
- </div>
- </div>
- <div class="col-xs-6 mb-30 ">
- <div class="c-body">
- <h2>清除项目残留数据
- <a href="javascript:void(0);" id="clearJunkBtn" class="btn btn-primary pull-right">清除</a></h2>
- </div>
- </div>
- </div>
- </div>
- </div>
- <!--弹出 是否清除数据-->
- <div class="modal fade" id="clearJunkModal" data-backdrop="static">
- <div class="modal-dialog" role="document">
- <div class="modal-content">
- <div class="modal-header">
- <h5 class="modal-title">删除确认</h5>
- <button type="button" class="close" data-dismiss="modal" aria-label="Close">
- <span aria-hidden="true">×</span>
- </button>
- </div>
- <div class="modal-body">
- <div class="form-group">
- <div id="delete_showinfo">
- <label>确认要清除数据库中项目残留数据吗?(每周日03:30自动清除)</label>
- </div>
- </div>
- </div>
- <div class="modal-footer" style="justify-content: center">
- <button type="button" class="btn btn-primary" data-dismiss="modal" id="clearJunkY" >是</button>
- <button type="button" class="btn btn-primary" data-dismiss="modal">否</button>
- </div>
- </div>
- </div>
- </div>
- <script type="text/javascript" src="/public/web/common_ajax.js"></script>
- <script type="text/javascript" src="/public/web/PerfectLoad.js"></script>
- <script type="text/javascript">
- $(document).ready(function () {
- $('#clearJunkBtn').click(function () {
- $('#clearJunkModal').modal('show');
- });
- $('#clearJunkY').click(function () {
- $.bootstrapLoading.start();
- CommonAjax.post('/sysTools/api/clearJunkData', '', function (rstData) {
- $.bootstrapLoading.end();
- }, function () {
- $.bootstrapLoading.end();
- })
- });
- });
- </script>
|