Merge remote-tracking branch 'origin/master'
This commit is contained in:
+10
-10
@@ -70,7 +70,7 @@ public class DummyInventoryInfoEOEn implements Serializable {
|
|||||||
private String serialNumber;
|
private String serialNumber;
|
||||||
|
|
||||||
/**标题*/
|
/**标题*/
|
||||||
@Excel(name = "title", width = 15)
|
@Excel(name = "Title", width = 15)
|
||||||
@ApiModelProperty(value = "标题")
|
@ApiModelProperty(value = "标题")
|
||||||
private String title;
|
private String title;
|
||||||
|
|
||||||
@@ -92,7 +92,7 @@ public class DummyInventoryInfoEOEn implements Serializable {
|
|||||||
private String shi4Yong4Fan4Wei2;
|
private String shi4Yong4Fan4Wei2;
|
||||||
|
|
||||||
/**状态*/
|
/**状态*/
|
||||||
@Excel(name = "state", width = 15,dicCode ="state")
|
@Excel(name = "State", width = 15,dicCode ="state")
|
||||||
@ApiModelProperty(value = "状态")
|
@ApiModelProperty(value = "状态")
|
||||||
@Dict(dicCode ="state")
|
@Dict(dicCode ="state")
|
||||||
private String state;
|
private String state;
|
||||||
@@ -171,7 +171,7 @@ public class DummyInventoryInfoEOEn implements Serializable {
|
|||||||
private String remark;
|
private String remark;
|
||||||
|
|
||||||
/**设计符合性确认-交付物类型*/
|
/**设计符合性确认-交付物类型*/
|
||||||
@Excel(name = "design-Deliverables", width = 15,dicCode ="deliverable_template")
|
@Excel(name = "Design-Deliverables", width = 15,dicCode ="deliverable_template")
|
||||||
@ApiModelProperty(value = "设计符合性确认-交付物类型")
|
@ApiModelProperty(value = "设计符合性确认-交付物类型")
|
||||||
@Dict(dicCode ="deliverable_template")
|
@Dict(dicCode ="deliverable_template")
|
||||||
private String designDeliverableType;
|
private String designDeliverableType;
|
||||||
@@ -182,17 +182,17 @@ public class DummyInventoryInfoEOEn implements Serializable {
|
|||||||
private String designDeliverableTemplate;
|
private String designDeliverableTemplate;
|
||||||
|
|
||||||
@TableField(exist = false)
|
@TableField(exist = false)
|
||||||
@Excel(name = "design-Deliverable Template", width = 15)
|
@Excel(name = "Design-Deliverable Template", width = 15)
|
||||||
private String designDeliverableTemplateName;
|
private String designDeliverableTemplateName;
|
||||||
|
|
||||||
/**设计符合性确认-发起人*/
|
/**设计符合性确认-发起人*/
|
||||||
@Excel(name = "design-Initiator", width = 15)
|
@Excel(name = "Design-Initiator", width = 15)
|
||||||
@ApiModelProperty(value = "设计符合性确认-发起人")
|
@ApiModelProperty(value = "设计符合性确认-发起人")
|
||||||
@Dict(dicCode ="fa1_qi3_ren2")
|
@Dict(dicCode ="fa1_qi3_ren2")
|
||||||
private String designInitiator;
|
private String designInitiator;
|
||||||
|
|
||||||
/**设计符合性确认-责任人*/
|
/**设计符合性确认-责任人*/
|
||||||
@Excel(name = "design-Assignee", width = 15)
|
@Excel(name = "Design-Assignee", width = 15)
|
||||||
@ApiModelProperty(value = "设计符合性确认-责任人")
|
@ApiModelProperty(value = "设计符合性确认-责任人")
|
||||||
@Dict(dicCode ="ze2_ren4_ren2")
|
@Dict(dicCode ="ze2_ren4_ren2")
|
||||||
private String designDuty;
|
private String designDuty;
|
||||||
@@ -225,7 +225,7 @@ public class DummyInventoryInfoEOEn implements Serializable {
|
|||||||
private String prehomoDuty;
|
private String prehomoDuty;
|
||||||
|
|
||||||
/**验证符合性确认-交付物类型*/
|
/**验证符合性确认-交付物类型*/
|
||||||
@Excel(name = "verify-Deliverables", width = 15,dicCode ="deliverable_template")
|
@Excel(name = "Verify-Deliverables", width = 15,dicCode ="deliverable_template")
|
||||||
@ApiModelProperty(value = "验证符合性确认-交付物类型")
|
@ApiModelProperty(value = "验证符合性确认-交付物类型")
|
||||||
@Dict(dicCode ="deliverable_template")
|
@Dict(dicCode ="deliverable_template")
|
||||||
private String verifyDeliverableType;
|
private String verifyDeliverableType;
|
||||||
@@ -236,17 +236,17 @@ public class DummyInventoryInfoEOEn implements Serializable {
|
|||||||
private String verifyDeliverableTemplate;
|
private String verifyDeliverableTemplate;
|
||||||
|
|
||||||
@TableField(exist = false)
|
@TableField(exist = false)
|
||||||
@Excel(name = "verify-Deliverable Template", width = 15)
|
@Excel(name = "Verify-Deliverable Template", width = 15)
|
||||||
private String verifyDeliverableTemplateName;
|
private String verifyDeliverableTemplateName;
|
||||||
|
|
||||||
/**验证符合性确认-发起人*/
|
/**验证符合性确认-发起人*/
|
||||||
@Excel(name = "verify-Initiator", width = 15)
|
@Excel(name = "Verify-Initiator", width = 15)
|
||||||
@ApiModelProperty(value = "验证符合性确认-发起人")
|
@ApiModelProperty(value = "验证符合性确认-发起人")
|
||||||
@Dict(dicCode ="fa1_qi3_ren2")
|
@Dict(dicCode ="fa1_qi3_ren2")
|
||||||
private String verifyInitiator;
|
private String verifyInitiator;
|
||||||
|
|
||||||
/**验证符合性确认-责任人*/
|
/**验证符合性确认-责任人*/
|
||||||
@Excel(name = "verify-Assignee", width = 15)
|
@Excel(name = "Verify-Assignee", width = 15)
|
||||||
@ApiModelProperty(value = "验证符合性确认-责任人")
|
@ApiModelProperty(value = "验证符合性确认-责任人")
|
||||||
@Dict(dicCode ="ze2_ren4_ren2")
|
@Dict(dicCode ="ze2_ren4_ren2")
|
||||||
private String verifyDuty;
|
private String verifyDuty;
|
||||||
|
|||||||
+22
-2
@@ -382,9 +382,11 @@ public class ProjectLawsInventoryEOServiceImpl extends ServiceImpl<ProjectLawsIn
|
|||||||
QueryWrapper<ProjectLawsInventoryEO> queryWrapper = new QueryWrapper<>();
|
QueryWrapper<ProjectLawsInventoryEO> queryWrapper = new QueryWrapper<>();
|
||||||
List<ProjectLawsInventoryEO> dataList = list(queryWrapper.eq("id", projectLawsInventoryEO.getId()));
|
List<ProjectLawsInventoryEO> dataList = list(queryWrapper.eq("id", projectLawsInventoryEO.getId()));
|
||||||
List<ProjectLawsInventoryEO> dataListCopy = DeepCopyListUtil.depCopy(dataList);
|
List<ProjectLawsInventoryEO> dataListCopy = DeepCopyListUtil.depCopy(dataList);
|
||||||
|
LambdaUpdateWrapper<ProjectLawsInventoryEO> updateWrapper = new LambdaUpdateWrapper<>();
|
||||||
|
setDateNull(projectLawsInventoryEO, updateWrapper);
|
||||||
//保存
|
//保存
|
||||||
saveOrUpdate(projectLawsInventoryEO);
|
this.update(projectLawsInventoryEO,updateWrapper);
|
||||||
|
// saveOrUpdate(projectLawsInventoryEO);
|
||||||
|
|
||||||
//翻译-中文
|
//翻译-中文
|
||||||
translateData(infoEOList);
|
translateData(infoEOList);
|
||||||
@@ -412,6 +414,24 @@ public class ProjectLawsInventoryEOServiceImpl extends ServiceImpl<ProjectLawsIn
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private void setDateNull(ProjectLawsInventoryEO projectLawsInventoryEO, LambdaUpdateWrapper<ProjectLawsInventoryEO> updateWrapper) {
|
||||||
|
if(ObjectUtils.isEmpty(projectLawsInventoryEO.getXin1Che1Xing2Shi2Shi1Ri4Qi1())){
|
||||||
|
updateWrapper.set(ProjectLawsInventoryEO::getXin1Che1Xing2Shi2Shi1Ri4Qi1,null);
|
||||||
|
}
|
||||||
|
if(ObjectUtils.isEmpty(projectLawsInventoryEO.getImplementTime())){
|
||||||
|
updateWrapper.set(ProjectLawsInventoryEO::getImplementTime,null);
|
||||||
|
}
|
||||||
|
if(ObjectUtils.isEmpty(projectLawsInventoryEO.getDesignDueDate())){
|
||||||
|
updateWrapper.set(ProjectLawsInventoryEO::getDesignDueDate,null);
|
||||||
|
}
|
||||||
|
if(ObjectUtils.isEmpty(projectLawsInventoryEO.getPrehomoDueDate())){
|
||||||
|
updateWrapper.set(ProjectLawsInventoryEO::getPrehomoDueDate,null);
|
||||||
|
}
|
||||||
|
if(ObjectUtils.isEmpty(projectLawsInventoryEO.getVerifyDueDate())){
|
||||||
|
updateWrapper.set(ProjectLawsInventoryEO::getVerifyDueDate,null);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 更新流程信息
|
* 更新流程信息
|
||||||
* @param projectLawsInventoryEO
|
* @param projectLawsInventoryEO
|
||||||
|
|||||||
@@ -708,6 +708,7 @@ module.exports = {
|
|||||||
uploadTime: 'Upload time',
|
uploadTime: 'Upload time',
|
||||||
enclosure: 'Enclosure',
|
enclosure: 'Enclosure',
|
||||||
// 认证
|
// 认证
|
||||||
|
Correspondingstandarddeleted: 'Correspondingstandarddeleted',
|
||||||
changeTheTitle: 'Title already exists, please change the title',
|
changeTheTitle: 'Title already exists, please change the title',
|
||||||
resetPassword: 'reset Password',
|
resetPassword: 'reset Password',
|
||||||
departmentAllocation: 'department Allocation',
|
departmentAllocation: 'department Allocation',
|
||||||
|
|||||||
@@ -718,6 +718,7 @@ module.exports = {
|
|||||||
uploadTime: '上传时间',
|
uploadTime: '上传时间',
|
||||||
enclosure: '附件',
|
enclosure: '附件',
|
||||||
// 认证
|
// 认证
|
||||||
|
Correspondingstandarddeleted: '对应标准已删除',
|
||||||
changeTheTitle: '标题已存在,请更换标题',
|
changeTheTitle: '标题已存在,请更换标题',
|
||||||
resetPassword: '重置密码',
|
resetPassword: '重置密码',
|
||||||
departmentAllocation: '部门配置',
|
departmentAllocation: '部门配置',
|
||||||
|
|||||||
@@ -126,7 +126,15 @@
|
|||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
urlClick(text,record) {
|
urlClick(text,record) {
|
||||||
this.$emit('detailClick', record)
|
if(record.documentId === null) {
|
||||||
|
this.$message.warning(this.$t('Correspondingstandarddeleted'))
|
||||||
|
} else {
|
||||||
|
let newUrl = this.$router.resolve({
|
||||||
|
path: '/docManage/library/detail',
|
||||||
|
query: record
|
||||||
|
})
|
||||||
|
window.open(newUrl.href, '_blank')
|
||||||
|
}
|
||||||
},
|
},
|
||||||
getTextWith(text, fontStyle) {
|
getTextWith(text, fontStyle) {
|
||||||
var canvas = document.createElement('canvas')
|
var canvas = document.createElement('canvas')
|
||||||
|
|||||||
@@ -353,7 +353,9 @@
|
|||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
getInfoById() {
|
getInfoById() {
|
||||||
getAction(this.url.getInfo, { id: this.$route.query.id }).then((res) => {
|
let _id = this.$route.query.documentId === undefined ? this.$route.query.id : this.$route.query.documentId
|
||||||
|
console.log(_id)
|
||||||
|
getAction(this.url.getInfo, { id: _id }).then((res) => {
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
this.detailList = res.result
|
this.detailList = res.result
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
@@ -24,10 +24,10 @@
|
|||||||
</a-row>
|
</a-row>
|
||||||
<a-row :gutter='24'>
|
<a-row :gutter='24'>
|
||||||
<a-col :span='9'>
|
<a-col :span='9'>
|
||||||
<a-form-model-item :label="$t('entryName')" prop='entryName'>
|
<a-form-model-item :label="$t('entryName')" prop='projectName'>
|
||||||
<a-input style='width: 420px'
|
<a-input style='width: 420px'
|
||||||
:placeholder="$t('PleaseEnter')+$t('entryName')"
|
:placeholder="$t('PleaseEnter')+$t('entryName')"
|
||||||
v-model='formData.title' />
|
v-model='formData.projectName' />
|
||||||
</a-form-model-item>
|
</a-form-model-item>
|
||||||
</a-col>
|
</a-col>
|
||||||
<a-col :span='9'>
|
<a-col :span='9'>
|
||||||
@@ -90,7 +90,7 @@ export default {
|
|||||||
columns: [
|
columns: [
|
||||||
{
|
{
|
||||||
title: this.$t('entryName'),
|
title: this.$t('entryName'),
|
||||||
dataIndex: 'region_dictText',
|
dataIndex: 'projectName',
|
||||||
key: 'showArea',
|
key: 'showArea',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
ellipsis: true
|
ellipsis: true
|
||||||
@@ -98,7 +98,7 @@ export default {
|
|||||||
{
|
{
|
||||||
title: this.$t('ListTitle'),
|
title: this.$t('ListTitle'),
|
||||||
align: 'center',
|
align: 'center',
|
||||||
dataIndex: 'paramsTemplateName',
|
dataIndex: 'title',
|
||||||
ellipsis: true
|
ellipsis: true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -168,8 +168,9 @@ export default {
|
|||||||
let params = {
|
let params = {
|
||||||
pageNo: this.pageNo,
|
pageNo: this.pageNo,
|
||||||
pageSize: this.pageSize,
|
pageSize: this.pageSize,
|
||||||
projectName: this.formData.title
|
...this.formData
|
||||||
}
|
}
|
||||||
|
this.loading = true
|
||||||
axios({
|
axios({
|
||||||
url: `/jero-boot/params/manifest/getAllManifest`,
|
url: `/jero-boot/params/manifest/getAllManifest`,
|
||||||
method: 'post',
|
method: 'post',
|
||||||
@@ -188,9 +189,12 @@ export default {
|
|||||||
})
|
})
|
||||||
.then( (res) =>{
|
.then( (res) =>{
|
||||||
if (res.data.success) {
|
if (res.data.success) {
|
||||||
// _this.$message.success(res.data.result)
|
console.log(res.data)
|
||||||
|
this.loading = false
|
||||||
|
this.areaTable = res.data.result.records || []
|
||||||
|
this.total = res.data.result.total
|
||||||
}else{
|
}else{
|
||||||
// _this.$message.warning(res.data.result)
|
this.loading = false
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
.catch( (error) =>{
|
.catch( (error) =>{
|
||||||
@@ -201,40 +205,12 @@ export default {
|
|||||||
this.loadData()
|
this.loadData()
|
||||||
},
|
},
|
||||||
searchReset() {
|
searchReset() {
|
||||||
this.form = {}
|
this.formData = {}
|
||||||
this.loadData()
|
this.loadData()
|
||||||
},
|
},
|
||||||
handleCancel() {
|
handleCancel() {
|
||||||
this.$emit('areaVisible', false)
|
this.$emit('areaVisible', false)
|
||||||
},
|
},
|
||||||
// onGetCheckboxProps(val,value) {
|
|
||||||
// let _val = {}
|
|
||||||
// // 新增时没有
|
|
||||||
// if(this.formData.id === undefined) {
|
|
||||||
// props : {}
|
|
||||||
// } else {
|
|
||||||
// // 编辑
|
|
||||||
// props : {
|
|
||||||
// disabled: val.id === 'ce879dab56a243fd99119553d3899e62'
|
|
||||||
// }
|
|
||||||
// }
|
|
||||||
// console.log(this.formData.id,'this.formData.id')
|
|
||||||
// console.log(val)
|
|
||||||
// return(_val
|
|
||||||
// // {
|
|
||||||
// // props: {
|
|
||||||
// //
|
|
||||||
// // // console.log(value,'value')
|
|
||||||
// // // // 全部默认禁止选中
|
|
||||||
// // // // disabled: true,
|
|
||||||
// // // // 某几项默认禁止选中(R: 当state等于1时)
|
|
||||||
// // disabled: val.id === 'ce879dab56a243fd99119553d3899e62'
|
|
||||||
// // // // 某几项默认选中(R: 当state等于1时)
|
|
||||||
// // // // defaultChecked: record.state == 1,
|
|
||||||
// // }
|
|
||||||
// // }
|
|
||||||
// )
|
|
||||||
// },
|
|
||||||
onSelectChange(selectedRowKeys, selectedRowKeysDate) {
|
onSelectChange(selectedRowKeys, selectedRowKeysDate) {
|
||||||
this.selectedRowKeysDate = selectedRowKeysDate
|
this.selectedRowKeysDate = selectedRowKeysDate
|
||||||
this.selectedRowKeys = selectedRowKeys
|
this.selectedRowKeys = selectedRowKeys
|
||||||
@@ -247,11 +223,6 @@ export default {
|
|||||||
this.newVisible = true
|
this.newVisible = true
|
||||||
this.form = {}
|
this.form = {}
|
||||||
},
|
},
|
||||||
editData(edit) {
|
|
||||||
|
|
||||||
this.formData = {...edit}
|
|
||||||
this.selectedRowKeys = edit.paramsTemplateId.split(',')
|
|
||||||
},
|
|
||||||
//新增
|
//新增
|
||||||
handleSubmit() {
|
handleSubmit() {
|
||||||
if (this.selectedRowKeys.length == 0) {
|
if (this.selectedRowKeys.length == 0) {
|
||||||
@@ -324,37 +295,6 @@ export default {
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
cancelModel() {
|
|
||||||
this.newVisible = false
|
|
||||||
this.$refs.ruleForm.resetFields()
|
|
||||||
},
|
|
||||||
//删除按钮
|
|
||||||
deleteArea(val) {
|
|
||||||
this.$confirm({
|
|
||||||
title: this.$t('confirmDeletion'),
|
|
||||||
content: '',
|
|
||||||
onOk:
|
|
||||||
async () => {
|
|
||||||
getAction(`tag/onlCgformArea/delete`, { id: val }).then((res) => {
|
|
||||||
if (res.success) {
|
|
||||||
this.$message.success(this.$t('OperationSuccessful'))
|
|
||||||
if (this.areaTable.length == 1 && this.queryParams.pageNo != 1) {
|
|
||||||
this.queryParams.pageNo = this.queryParams.pageNo - 1
|
|
||||||
}
|
|
||||||
this.loadData()
|
|
||||||
} else {
|
|
||||||
// this.$message.warning(res.message)
|
|
||||||
if (res.message == '该展示区域有关联数据,无法删除!') {
|
|
||||||
this.$message.warning(this.$t('noDelete'))
|
|
||||||
} else {
|
|
||||||
this.$message.warning(this.$t('operationFailed'))
|
|
||||||
}
|
|
||||||
}
|
|
||||||
})
|
|
||||||
}
|
|
||||||
})
|
|
||||||
},
|
|
||||||
// 编辑
|
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
selectedRowKeyS(val) {
|
selectedRowKeyS(val) {
|
||||||
|
|||||||
Reference in New Issue
Block a user