You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
aggregation-platform/plugins/system/html/systemSQLManagement.html

96 lines
6.1 KiB

<div ng-controller="System.SystemSQLManagement">
<div hawtio-tabs></div>
<div class="container-fluid sj_fluid">
<div class="mb10 clear">
<div class="row clear fl mr5 mt5">
<label>行政区划代码</label>
</div>
<div class="row clear fl">
<select class="form-control sj_select_box" ng-change="citySelect(x)" ng-model="x" ng-init="x='all'">
<option value="all">全部</option>
<option ng-repeat="city in cities">{{city}}</option>
</select>
</div>
<div class="row clear fl">
<select class="form-control sj_select_box" ng-change="countrySelect(y)" ng-model="y" ng-init="y='all'">
<option value="all">全部</option>
<option ng-repeat="country in countries">{{country.name}}</option>
</select>
</div>
<div class="row clear fl mr10">
<select class="form-control sj_select_box" ng-change="statusSelect(z)" ng-model="z" ng-init="z='all'">
<option value="all">全部</option>
<option ng-repeat="value in status">{{value.label}}</option>
</select>
</div>
<div class="row clear fr mt5 ml5 mr20">
<!--<button class="btn btn-danger pull-right sj_btn_grey " ng-click="help()">-->
<i style="cursor:pointer; font-size:18px;" class="glyphicon glyphicon-question-sign " ng-click="help()" title="查看状态详情"></i>
<!--</button> -->
</div>
<div class="row clear fr">
<button class="btn pull-right sj_btn_grey " ng-disabled="!checkable" ng-click="quitFile()">
<i class="glyphicon glyphicon-save"></i> 一键归档
</button>
</div>
<div class="row clear fr">
<button class="btn pull-right sj_btn_grey mr5" ng-disabled="!checkable" ng-click="quickCheck()">
<i class="glyphicon glyphicon-save"></i> 一键审核
</button>
</div>
</div>
<div class="col-md-12">
<div ng-show="tableParams.dataset.length<=0" class="alert alert-warning sj_alert-warning">
<span class="help-block">
当前没有查到符合过滤条件的数据,请重新选择过滤条件</span></div>
<table ng-table="tableParams" class="table table-condensed table-bordered table-striped table_sj_td_center">
<colgroup>
<col width="2%" />
<col width="10%" />
<col width="10%" />
<col width="10%" />
<col width="10%" />
<col width="15%" />
</colgroup>
<tr ng-repeat="row in $data">
<td header="'headerCheckbox.html'">
<input type="checkbox" ng-model="checkboxes.items[row.id]" />
</td>
<td title="'状态'">
<span ng-show="row.sysStatus == 0">有缺失</span>
<span ng-show="row.sysStatus == 1">正常</span>
<span ng-show="row.sysStatus == 2">待归档</span>
<span ng-show="row.sysStatus == 3">待审核</span>
</td>
<td title="'行政区划代码'">{{row.areaCode}}</td>
<td title="'市'">{{row.cityName}}</td>
<td title="'区/县'">{{row.districtName}}</td>
<td title="'信息系统名称'">{{row.sysName}}</td>
<td title="'数据库类型'">{{row.dataBaseType}}</td>
<td title="'oracle用户表空间脚本'">
<button ng-show="row.userTableStatus == 0" class="btn sj_btn" ng-click="addSql(row, 'userTableStatus')">&nbsp;&nbsp;上传</button>
<button ng-show="row.userTableStatus == 1" class="btn sj_btn" ng-click="viewSql(row, 'userTableStatus')">&nbsp;&nbsp;查看</button>
<button ng-show="row.userTableStatus == 2" class="btn sj_btn" ng-click="moveSql(row, 'userTableStatus')">&nbsp;&nbsp;归档</button>
<button ng-show="row.userTableStatus == 3" class="btn sj_btn" ng-click="verifySql(row, 'userTableStatus')">&nbsp;&nbsp;审核</button>
<span ng-show="row.userTableStatus == 4 "></span>
</td>
<td title="'支付信息标准表脚本'">
<button ng-show="row.ckPayStatus == 0" class="btn sj_btn" ng-click="addSql(row, 'ckPayStatus')">&nbsp;&nbsp;上传</button>
<button ng-show="row.ckPayStatus == 1" class="btn sj_btn" ng-click="viewSql(row, 'ckPayStatus')">&nbsp;&nbsp;查看</button>
<button ng-show="row.ckPayStatus == 2" class="btn sj_btn" ng-click="moveSql(row, 'ckPayStatus')">&nbsp;&nbsp;归档</button>
<button ng-show="row.ckPayStatus == 3" class="btn sj_btn" ng-click="verifySql(row, 'ckPayStatus')">&nbsp;&nbsp;审核</button>
<span ng-show="row.ckPayStatus == 4 "></span>
</td>
<td title="'可执行标准表脚本'">
<button ng-show="row.ckIndicateStatus == 0" class="btn sj_btn" ng-click="addSql(row, 'ckIndicateStatus')">&nbsp;&nbsp;上传</button>
<button ng-show="row.ckIndicateStatus == 1" class="btn sj_btn" ng-click="viewSql(row, 'ckIndicateStatus')">&nbsp;&nbsp;查看</button>
<button ng-show="row.ckIndicateStatus == 2" class="btn sj_btn" ng-click="moveSql(row, 'ckIndicateStatus')">&nbsp;&nbsp;归档</button>
<button ng-show="row.ckIndicateStatus == 3" class="btn sj_btn" ng-click="verifySql(row, 'ckIndicateStatus')">&nbsp;&nbsp;审核</button>
<span ng-show="row.ckIndicateStatus == 4 "></span>
</td>
</tr>
</table>
</div>
</div>
</div>