fix:检查结果接口提交

pg_adapter
wangxy 8 months ago
parent 7107927f99
commit ad9443c7e1

@ -48,15 +48,21 @@
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label is-required">使用人员:</label>
<label class="col-sm-3 control-label is-required">维修人员:</label>
<div class="col-sm-8">
<input name="username" required th:field="*{username}" class="form-control" type="text">
<input name="maintainUser" required th:field="*{maintainUser}" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label is-required">使用部门:</label>
<label class="col-sm-3 control-label is-required">维修部门:</label>
<div class="col-sm-8">
<input name="part" required th:field="*{part}" class="form-control" type="text">
<input name="maintainDepart" required th:field="*{maintainDepart}" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">备注:</label>
<div class="col-sm-8">
<textarea name="maintainRemark" class="form-control">[[*{maintainRemark}]]</textarea>
</div>
</div>
</form>

@ -94,10 +94,10 @@
formatter: function(value, row, index) {
var actions = [];
if (row.destoryState===null){
actions.push('<a class="btn btn-success btn-xs ' + editFlag + '" href="javascript:void(0)" onclick="$.operate.edit(\'' + row.id + '\')"><i class="fa fa-edit"></i>变更</a> ');
actions.push('<a class="btn btn-success btn-xs ' + editFlag + '" href="javascript:void(0)" onclick="$.operate.edit(\'' + row.id + '\')"><i class="fa fa-edit"></i>维修</a> ');
actions.push('<a class="btn btn-danger btn-xs ' + destoryFlag + '" href="javascript:void(0)" onclick="destory(\'' + row.id + '\')"><i class="fa fa-remove"></i>报废</a>');
}else{
actions.push('<a class="btn btn-success btn-xs ' + editFlag + '" href="javascript:void(0)" disabled><i class="fa fa-edit"></i>变更</a> ');
actions.push('<a class="btn btn-success btn-xs ' + editFlag + '" href="javascript:void(0)" disabled><i class="fa fa-edit"></i>维修</a> ');
actions.push('<a class="btn btn-danger btn-xs ' + destoryFlag + '" href="javascript:void(0)" disabled><i class="fa fa-remove"></i>报废</a>');
}
return actions.join('');

@ -105,7 +105,7 @@
align: 'center',
formatter: function(value, row, index) {
var actions = [];
actions.push('<a class="btn btn-info btn-xs ' + listFlag + '" href="javascript:void(0)" onclick="detail(\'' + row.useId + '\')"><i class="fa fa-list-ul"></i>密品变更</a> ');
actions.push('<a class="btn btn-info btn-xs ' + listFlag + '" href="javascript:void(0)" onclick="detail(\'' + row.useId + '\')"><i class="fa fa-list-ul"></i>密品维修</a> ');
return actions.join('');
}
}]

Loading…
Cancel
Save