[update] 标准法规符合性排查流程驳回到第一个节点生成按钮上面的数据不可更改
This commit is contained in:
+16
-8
@@ -7,23 +7,23 @@
|
||||
<!-- 操作区域 -->
|
||||
<div v-if="!disabled" class="table-operator">
|
||||
<!-- 添加标准 -->
|
||||
<a-button icon="plus" type="primary" @click="handleAddStandard" :disabled="disabled">
|
||||
<a-button icon="plus" type="primary" @click="handleAddStandard" :disabled="disabled || isRejectedData">
|
||||
{{ $t('workCenter.regulatoryComplianceCheckProcess.addStandard') }}
|
||||
</a-button>
|
||||
<!-- 手动新增 -->
|
||||
<a-button icon="plus" type="primary" @click="handleAdd" :disabled="disabled">
|
||||
<a-button icon="plus" type="primary" @click="handleAdd" :disabled="disabled || isRejectedData">
|
||||
{{ $t('workCenter.regulatoryComplianceCheckProcess.manualAddition') }}
|
||||
</a-button>
|
||||
<!-- 删除 -->
|
||||
<a-button icon="delete" type="danger" ghost @click="handleStandardDelete" :disabled="disabled">
|
||||
<a-button icon="delete" type="danger" ghost @click="handleStandardDelete" :disabled="disabled || isRejectedData">
|
||||
{{ $t('delete') }}
|
||||
</a-button>
|
||||
<!-- 分解单模板下载 -->
|
||||
<a-button icon="download" type="primary" ghost @click="salvageListTemplateDownload($t('workCenter.regulatoryComplianceCheckProcess.salvageListTemplateName'))" :disabled="disabled">
|
||||
<a-button icon="download" type="primary" ghost @click="salvageListTemplateDownload($t('workCenter.regulatoryComplianceCheckProcess.salvageListTemplateName'))" :disabled="disabled || isRejectedData">
|
||||
{{ $t('workCenter.regulatoryComplianceCheckProcess.salvageListTemplateDownload') }}
|
||||
</a-button>
|
||||
<!-- 车型项目文件模板下载 -->
|
||||
<a-button icon="download" type="primary" ghost @click="carTypeFileTemplateDownload($t('workCenter.regulatoryComplianceCheckProcess.carTypeFileTemplateName'))" :disabled="disabled">
|
||||
<a-button icon="download" type="primary" ghost @click="carTypeFileTemplateDownload($t('workCenter.regulatoryComplianceCheckProcess.carTypeFileTemplateName'))" :disabled="disabled || isRejectedData">
|
||||
{{ $t('workCenter.regulatoryComplianceCheckProcess.carTypeFileTemplateDownload') }}
|
||||
</a-button>
|
||||
</div>
|
||||
@@ -59,7 +59,7 @@
|
||||
<!-- 操作栏 -->
|
||||
<div slot="action" slot-scope="{record}" class="action-span-cell">
|
||||
<!-- 手动新增才允许编辑 -->
|
||||
<a @click="handleEdit(record)" class="table-ope-btn" :disabled="disabled || record.standardId">{{ $t('edit') }}</a>
|
||||
<a @click="handleEdit(record)" class="table-ope-btn" :disabled="disabled || record.standardId || isRejectedData">{{ $t('edit') }}</a>
|
||||
</div>
|
||||
|
||||
</j-table>
|
||||
@@ -78,7 +78,8 @@
|
||||
<a-form-model-item class="item-model" prop="modelFile">
|
||||
<j-upload
|
||||
return-id
|
||||
v-model="formInline.modelFile">
|
||||
v-model="formInline.modelFile"
|
||||
:disabled="isRejectedData">
|
||||
</j-upload>
|
||||
</a-form-model-item>
|
||||
</div>
|
||||
@@ -96,6 +97,7 @@
|
||||
type="radio"
|
||||
@numberChange="marketRegulationNumberChange"
|
||||
:name-str="formInline.applicableMarketNo"
|
||||
:disabled="isRejectedData"
|
||||
:placeholder="$t('pleaseSelect')+$t('applicableMarket')" />
|
||||
</a-form-model-item>
|
||||
</div>
|
||||
@@ -111,6 +113,7 @@
|
||||
<j-dict-select-tag
|
||||
:placeholder="$t('pleaseSelect') + this.$t('workCenter.regulatoryComplianceCheckProcess.isAlike')"
|
||||
dict-code="yn"
|
||||
:disabled="isRejectedData"
|
||||
v-model="formInline.isSameLastVersion">
|
||||
</j-dict-select-tag>
|
||||
</a-form-model-item>
|
||||
@@ -438,12 +441,17 @@ export default {
|
||||
standardInfo: {
|
||||
id: ''
|
||||
}
|
||||
}
|
||||
},
|
||||
isRejectedData: false // 是否是被驳回的
|
||||
}
|
||||
},
|
||||
mounted () {
|
||||
this.getSysCategoryTree()
|
||||
this.getCountryOption()
|
||||
if (this.$route.query.taskId) {
|
||||
// 有任务id说明是被驳回的
|
||||
this.isRejectedData = true
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
// 拿到外面传进来的businessInfoDTO
|
||||
|
||||
Reference in New Issue
Block a user