平台件项目库修改bug
This commit is contained in:
@@ -1977,5 +1977,6 @@ module.exports = {
|
|||||||
unpublishedregulationsselected:'Only unpublished regulations can be selected',
|
unpublishedregulationsselected:'Only unpublished regulations can be selected',
|
||||||
PlatformInformation:'Platform Information',
|
PlatformInformation:'Platform Information',
|
||||||
Processdetails:'Process Details',
|
Processdetails:'Process Details',
|
||||||
matchempty:'The match is empty'
|
matchempty:'The match is empty',
|
||||||
|
onlyDataProcessStatusDeleted:'Only data whose flow status is to be started can be deleted',
|
||||||
}
|
}
|
||||||
@@ -1551,6 +1551,7 @@ module.exports = {
|
|||||||
type: '类型',
|
type: '类型',
|
||||||
select: '选择',
|
select: '选择',
|
||||||
onlyDataWithProcessStatusDeleted: '只能删除流程状态为清单待发布和审查通过的数据',
|
onlyDataWithProcessStatusDeleted: '只能删除流程状态为清单待发布和审查通过的数据',
|
||||||
|
onlyDataProcessStatusDeleted: '只能删除流程状态为任务待发起的数据',
|
||||||
complianceCertificationProgram: '合规认证计划',
|
complianceCertificationProgram: '合规认证计划',
|
||||||
listPublishing: '清单发布',
|
listPublishing: '清单发布',
|
||||||
responsibilityConfirmation: '责任确认',
|
responsibilityConfirmation: '责任确认',
|
||||||
|
|||||||
+2
-2
@@ -11,7 +11,7 @@
|
|||||||
style="height: 100%;overflow: auto;padding-bottom: 53px;">
|
style="height: 100%;overflow: auto;padding-bottom: 53px;">
|
||||||
<div style="margin-bottom: 60px">
|
<div style="margin-bottom: 60px">
|
||||||
<div class="table-operator">
|
<div class="table-operator">
|
||||||
<div class="operator-text" v-if="isDisplayNum == 2 && roleSwitchingCode == 2"
|
<div class="operator-text" v-if="isDisplayNum == 2 && roleSwitchingCode == 1"
|
||||||
@click="addData">
|
@click="addData">
|
||||||
<a-icon type="plus"/>
|
<a-icon type="plus"/>
|
||||||
{{$t('add')}}
|
{{$t('add')}}
|
||||||
@@ -159,7 +159,7 @@
|
|||||||
computed: {
|
computed: {
|
||||||
columns() {
|
columns() {
|
||||||
let columnResult = JSON.parse(JSON.stringify(this.columnsAll))
|
let columnResult = JSON.parse(JSON.stringify(this.columnsAll))
|
||||||
if (this.roleSwitchingCode == 2 && this.isDisplayNum == 2){
|
if (this.roleSwitchingCode == 1 && this.isDisplayNum == 2){
|
||||||
}else{
|
}else{
|
||||||
for (var i = 0; i < columnResult.length; i++) {
|
for (var i = 0; i < columnResult.length; i++) {
|
||||||
if (columnResult[i].title === this.$t('operation')) {
|
if (columnResult[i].title === this.$t('operation')) {
|
||||||
|
|||||||
+1
-1
@@ -362,7 +362,7 @@
|
|||||||
<span class="Required" v-if="formInline.deliverableType != '1635545748968783874'">*</span>
|
<span class="Required" v-if="formInline.deliverableType != '1635545748968783874'">*</span>
|
||||||
<span class="title-text-text" :title="$t('personLiable')">{{$t('personLiable')}}</span>
|
<span class="title-text-text" :title="$t('personLiable')">{{$t('personLiable')}}</span>
|
||||||
</div>
|
</div>
|
||||||
<a-form-model-item class="itemModel-multi"
|
<a-form-model-item class="itemModel"
|
||||||
:prop="formInline.deliverableType == '1635545748968783874'?'':'dutyPersonName'"
|
:prop="formInline.deliverableType == '1635545748968783874'?'':'dutyPersonName'"
|
||||||
:rules="[{ required: formInline.deliverableType=='1635545748968783874'?false:true,
|
:rules="[{ required: formInline.deliverableType=='1635545748968783874'?false:true,
|
||||||
message: $t('personLiable') + $t('cannotEmpty'), trigger: 'change'}]"
|
message: $t('personLiable') + $t('cannotEmpty'), trigger: 'change'}]"
|
||||||
|
|||||||
+2
-2
@@ -1500,7 +1500,7 @@
|
|||||||
},
|
},
|
||||||
deleteLib(val) {
|
deleteLib(val) {
|
||||||
let _this = this
|
let _this = this
|
||||||
if (val.flowStatus == 'List to be released' || val.flowStatus == 'Review and pass') {
|
if (val.flowStatus == 'List to be checked') {
|
||||||
this.$confirm({
|
this.$confirm({
|
||||||
content: _this.$t('ConfirmDelete'),
|
content: _this.$t('ConfirmDelete'),
|
||||||
onOk() {
|
onOk() {
|
||||||
@@ -1515,7 +1515,7 @@
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning(this.$t('onlyDataWithProcessStatusDeleted'))
|
this.$message.warning(this.$t('onlyDataProcessStatusDeleted'))
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
modifyHistoryClick(row) {
|
modifyHistoryClick(row) {
|
||||||
|
|||||||
Reference in New Issue
Block a user