dms模块优化

master
zch 3 months ago
parent 82165894ba
commit d7de1e9dc8

@ -48,6 +48,7 @@ public class DmsBaseTransferInfoController extends BaseController
@GetMapping("/list")
public TableDataInfo list(DmsBaseTransferInfo dmsBaseTransferInfo)
{
startPage();
List<DmsBaseTransferInfo> list = dmsBaseTransferInfoService.selectDmsBaseTransferInfoList(dmsBaseTransferInfo);
return getDataTable(list);
}

@ -56,7 +56,6 @@ public class DmsBaseLubeStandardServiceImpl implements IDmsBaseLubeStandardServi
@Override
public int insertDmsBaseLubeStandard(DmsBaseLubeStandard dmsBaseLubeStandard)
{
//ZCH
DmsBaseLubeStandard LubeStandard = new DmsBaseLubeStandard();
LubeStandard.setLubeStandardCode(dmsBaseLubeStandard.getLubeStandardCode());
List<DmsBaseLubeStandard> dmsBaseLubeStandardList = dmsBaseLubeStandardMapper.

@ -79,7 +79,6 @@ public class DmsBaseLubeStationServiceImpl implements IDmsBaseLubeStationService
@Override
public int updateDmsBaseLubeStation(DmsBaseLubeStation dmsBaseLubeStation)
{
//ZCH
DmsBaseLubeStation BaseLubeStation = new DmsBaseLubeStation();
BaseLubeStation.setLubeStationCode(dmsBaseLubeStation.getLubeStationCode());
List<DmsBaseLubeStation> dmsBaseLubeStationList = dmsBaseLubeStationMapper

@ -89,7 +89,6 @@ public class DmsBaseMaintStandardServiceImpl implements IDmsBaseMaintStandardSer
throw new ServiceException("保养标准编码已存在");
}
LoginUser user = SecurityUtils.getLoginUser();
dmsBaseMaintStandard.setUpdateBy(user.getUsername());
dmsBaseMaintStandard.setUpdateTime(DateUtils.getNowDate());
return dmsBaseMaintStandardMapper.updateDmsBaseMaintStandard(dmsBaseMaintStandard);

@ -361,7 +361,6 @@ export default {
/** 删除按钮操作 */
handleDelete(row) {
const inspectProjectIds = row.inspectProjectId || this.ids;
inspectProjectCode
const inspectProjectCode = row.inspectProjectCode || this.ids;
this.$modal.confirm('是否确认删除巡检项目信息编号为"' + inspectProjectCode + '"的数据项?').then(function() {
return delDmsBaseInspectProject(inspectProjectIds);

@ -246,13 +246,13 @@ export default {
//
rules: {
deviceId: [
{ required: true, message: "设备ID关联dms_base_device_ledger的device_id不能为空", trigger: "blur" }
{ required: true, message: "设备ID不能为空", trigger: "blur" }
],
paramName: [
{ required: true, message: "参数名称不能为空", trigger: "blur" }
],
paramCode: [
{ required: true, message: "是否标识1-是2-否不能为空", trigger: "blur" }
{ required: true, message: "参数编号不能为空", trigger: "blur" }
],
}
};

@ -273,11 +273,11 @@ export default {
created() {
this.getList();
this.getDeviceTypeList();
this.getStandards();
this.getStandard();
},
methods: {
/** 查询保养标准信息列表 */
getStandards() {
getStandard() {
getMaintStandardlist({}).then(response => {
this.standardList = response.data;
});

Loading…
Cancel
Save