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