Merge remote-tracking branch 'origin/dev_2nd_LCYH' into dev_2nd_LCYH
This commit is contained in:
@@ -1786,4 +1786,5 @@ module.exports = {
|
|||||||
oneThePersonnelMustBeSelected:'One of the personnel must be selected',
|
oneThePersonnelMustBeSelected:'One of the personnel must be selected',
|
||||||
pleaseSelectRegulatoryCurrentLogin:'Please select Regulatory Engineer as the data for the current login',
|
pleaseSelectRegulatoryCurrentLogin:'Please select Regulatory Engineer as the data for the current login',
|
||||||
cannotSetResponsibilityAreas:'Cannot set an interface person due to different responsibility areas',
|
cannotSetResponsibilityAreas:'Cannot set an interface person due to different responsibility areas',
|
||||||
|
lidar:'lidar',
|
||||||
}
|
}
|
||||||
@@ -1638,7 +1638,7 @@ module.exports = {
|
|||||||
Taskconfirmationresult: '任务确认结果',
|
Taskconfirmationresult: '任务确认结果',
|
||||||
Compliancetaskhandling: '符合性任务办理',
|
Compliancetaskhandling: '符合性任务办理',
|
||||||
resultofhandling: '处理结果',
|
resultofhandling: '处理结果',
|
||||||
networksecurityrequirements: '激光雷达',
|
networksecurityrequirements: '网络安全要求',
|
||||||
upgradefunctionrequirements: '升级功能要求',
|
upgradefunctionrequirements: '升级功能要求',
|
||||||
usernotificationrequirement: '用户告知要求',
|
usernotificationrequirement: '用户告知要求',
|
||||||
ineffectiveupgrades: '应保护升级包的真实性和完整性,以合理地防止其受到损害,并合理地防止无效升级',
|
ineffectiveupgrades: '应保护升级包的真实性和完整性,以合理地防止其受到损害,并合理地防止无效升级',
|
||||||
@@ -1888,4 +1888,5 @@ module.exports = {
|
|||||||
oneThePersonnelMustBeSelected:'必须选择其中一个人员',
|
oneThePersonnelMustBeSelected:'必须选择其中一个人员',
|
||||||
pleaseSelectRegulatoryCurrentLogin:'请选择法规工程师为当前登录人的数据',
|
pleaseSelectRegulatoryCurrentLogin:'请选择法规工程师为当前登录人的数据',
|
||||||
cannotSetResponsibilityAreas:'所属不同责任领域,不能设置接口人',
|
cannotSetResponsibilityAreas:'所属不同责任领域,不能设置接口人',
|
||||||
|
lidar:'激光雷达',
|
||||||
}
|
}
|
||||||
@@ -14,8 +14,8 @@
|
|||||||
<div style='display: flex;margin-bottom: 40px;'>
|
<div style='display: flex;margin-bottom: 40px;'>
|
||||||
<div style='width: 400px'>
|
<div style='width: 400px'>
|
||||||
<span class='content-text' style='background: #f3f6f6;line-height: 50px;text-align: center;color: #191E29;font-weight: bold'>{{$t('componentname')}}</span>
|
<span class='content-text' style='background: #f3f6f6;line-height: 50px;text-align: center;color: #191E29;font-weight: bold'>{{$t('componentname')}}</span>
|
||||||
<span class='radio-text' :title="$t('networksecurityrequirements')">
|
<span class='radio-text' :title="$t('lidar')">
|
||||||
{{$t('networksecurityrequirements')}}
|
{{$t('lidar')}}
|
||||||
</span>
|
</span>
|
||||||
<span class='radio-text' :title="$t('millimeterwaveradar')">
|
<span class='radio-text' :title="$t('millimeterwaveradar')">
|
||||||
{{$t('millimeterwaveradar')}}
|
{{$t('millimeterwaveradar')}}
|
||||||
|
|||||||
+7
-2
@@ -52,7 +52,7 @@
|
|||||||
<span class="title-text-text" :title="$t('engineeringInterfacePerson')">{{$t('engineeringInterfacePerson')}}</span>
|
<span class="title-text-text" :title="$t('engineeringInterfacePerson')">{{$t('engineeringInterfacePerson')}}</span>
|
||||||
</div>
|
</div>
|
||||||
<a-form-model-item class="itemModel">
|
<a-form-model-item class="itemModel">
|
||||||
<a-select :placeholder="$t('PleaseSelect')+$t('engineeringInterfacePerson')"
|
<a-select :placeholder="$t('cannotSetResponsibilityAreas')"
|
||||||
class="box-input"
|
class="box-input"
|
||||||
allowClear
|
allowClear
|
||||||
optionFilterProp="label"
|
optionFilterProp="label"
|
||||||
@@ -187,13 +187,18 @@
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
edit(data, name) {
|
edit(data, name,content) {
|
||||||
this.visible = true
|
this.visible = true
|
||||||
this.getDeliverableTree()
|
this.getDeliverableTree()
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
this.ids = data || []
|
this.ids = data || []
|
||||||
this.formInline = {}
|
this.formInline = {}
|
||||||
this.name = name
|
this.name = name
|
||||||
|
if (content && name == this.$t('BatchSetting')) {
|
||||||
|
this.formInline.dutyTerritory = content.dutyTerritory
|
||||||
|
this.queryPersonByProject(content.dutyTerritory)
|
||||||
|
}
|
||||||
|
this.formInline = { ...this.formInline }
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
handleOk() {
|
handleOk() {
|
||||||
|
|||||||
@@ -973,7 +973,25 @@
|
|||||||
},
|
},
|
||||||
BatchSettingClick(name) {
|
BatchSettingClick(name) {
|
||||||
if (this.selectedRowKeys && this.selectedRowKeys.length > 0) {
|
if (this.selectedRowKeys && this.selectedRowKeys.length > 0) {
|
||||||
this.$refs.batSettingRef.edit(JSON.parse(JSON.stringify(this.selectedRowKeys)), name)
|
let isTrue = false
|
||||||
|
for (let i = 0; i < this.selectedRowKeysList.length; i++) {
|
||||||
|
if (!this.selectedRowKeysList[i].dutyTerritoryName) {
|
||||||
|
isTrue = true
|
||||||
|
break
|
||||||
|
}
|
||||||
|
for (let j = 1; j < this.selectedRowKeysList.length; j++) {
|
||||||
|
if (this.selectedRowKeysList[i].dutyTerritoryName != this.selectedRowKeysList[j].dutyTerritoryName) {
|
||||||
|
isTrue = true
|
||||||
|
break
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if (!isTrue){
|
||||||
|
this.$refs.batSettingRef.edit(JSON.parse(JSON.stringify(this.selectedRowKeys)), name,this.selectedRowKeysList[0])
|
||||||
|
}else{
|
||||||
|
this.$refs.batSettingRef.edit(JSON.parse(JSON.stringify(this.selectedRowKeys)), name)
|
||||||
|
}
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning(this.$t('selectLeastOne'))
|
this.$message.warning(this.$t('selectLeastOne'))
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user