|
@@ -28,6 +28,12 @@
|
|
|
</div>
|
|
</div>
|
|
|
</div></div></div></div>
|
|
</div></div></div></div>
|
|
|
<% } %>
|
|
<% } %>
|
|
|
|
|
+<style>
|
|
|
|
|
+#dataGrid td,
|
|
|
|
|
+#runtimeGrid td {
|
|
|
|
|
+ text-align: center;
|
|
|
|
|
+}
|
|
|
|
|
+</style>
|
|
|
<script>
|
|
<script>
|
|
|
var CLIENT_TYPE_NAME = {MANUAL:'手工位通用', QIMI:'气密通用', RIVETING:'拉铆通用'};
|
|
var CLIENT_TYPE_NAME = {MANUAL:'手工位通用', QIMI:'气密通用', RIVETING:'拉铆通用'};
|
|
|
function clientTypeName(v){ return CLIENT_TYPE_NAME[v] || v || '-'; }
|
|
function clientTypeName(v){ return CLIENT_TYPE_NAME[v] || v || '-'; }
|
|
@@ -67,7 +73,7 @@ function heartbeatCell(v){
|
|
|
|
|
|
|
|
$('#runtimeGrid').dataGrid({
|
|
$('#runtimeGrid').dataGrid({
|
|
|
url: '${ctx}/mes/clientRuntime/listData',
|
|
url: '${ctx}/mes/clientRuntime/listData',
|
|
|
- pager: '#runtimeGridPage',
|
|
|
|
|
|
|
+ // 与版本发布列表使用相同的分页配置,容器由 dataGrid 按表格 ID 自动匹配
|
|
|
columnModel: [
|
|
columnModel: [
|
|
|
{header:'类型', name:'clientType', width:110, formatter:function(v){return clientTypeName(v);}},
|
|
{header:'类型', name:'clientType', width:110, formatter:function(v){return clientTypeName(v);}},
|
|
|
{header:'工位', name:'stationCode', width:100},
|
|
{header:'工位', name:'stationCode', width:100},
|