[update] 标准法规符合性排查流程驳回到第一个节点生成按钮上面的数据不可更改
This commit is contained in:
+16
-8
@@ -7,23 +7,23 @@
|
|||||||
<!-- 操作区域 -->
|
<!-- 操作区域 -->
|
||||||
<div v-if="!disabled" class="table-operator">
|
<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') }}
|
{{ $t('workCenter.regulatoryComplianceCheckProcess.addStandard') }}
|
||||||
</a-button>
|
</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') }}
|
{{ $t('workCenter.regulatoryComplianceCheckProcess.manualAddition') }}
|
||||||
</a-button>
|
</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') }}
|
{{ $t('delete') }}
|
||||||
</a-button>
|
</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') }}
|
{{ $t('workCenter.regulatoryComplianceCheckProcess.salvageListTemplateDownload') }}
|
||||||
</a-button>
|
</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') }}
|
{{ $t('workCenter.regulatoryComplianceCheckProcess.carTypeFileTemplateDownload') }}
|
||||||
</a-button>
|
</a-button>
|
||||||
</div>
|
</div>
|
||||||
@@ -59,7 +59,7 @@
|
|||||||
<!-- 操作栏 -->
|
<!-- 操作栏 -->
|
||||||
<div slot="action" slot-scope="{record}" class="action-span-cell">
|
<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>
|
</div>
|
||||||
|
|
||||||
</j-table>
|
</j-table>
|
||||||
@@ -78,7 +78,8 @@
|
|||||||
<a-form-model-item class="item-model" prop="modelFile">
|
<a-form-model-item class="item-model" prop="modelFile">
|
||||||
<j-upload
|
<j-upload
|
||||||
return-id
|
return-id
|
||||||
v-model="formInline.modelFile">
|
v-model="formInline.modelFile"
|
||||||
|
:disabled="isRejectedData">
|
||||||
</j-upload>
|
</j-upload>
|
||||||
</a-form-model-item>
|
</a-form-model-item>
|
||||||
</div>
|
</div>
|
||||||
@@ -96,6 +97,7 @@
|
|||||||
type="radio"
|
type="radio"
|
||||||
@numberChange="marketRegulationNumberChange"
|
@numberChange="marketRegulationNumberChange"
|
||||||
:name-str="formInline.applicableMarketNo"
|
:name-str="formInline.applicableMarketNo"
|
||||||
|
:disabled="isRejectedData"
|
||||||
:placeholder="$t('pleaseSelect')+$t('applicableMarket')" />
|
:placeholder="$t('pleaseSelect')+$t('applicableMarket')" />
|
||||||
</a-form-model-item>
|
</a-form-model-item>
|
||||||
</div>
|
</div>
|
||||||
@@ -111,6 +113,7 @@
|
|||||||
<j-dict-select-tag
|
<j-dict-select-tag
|
||||||
:placeholder="$t('pleaseSelect') + this.$t('workCenter.regulatoryComplianceCheckProcess.isAlike')"
|
:placeholder="$t('pleaseSelect') + this.$t('workCenter.regulatoryComplianceCheckProcess.isAlike')"
|
||||||
dict-code="yn"
|
dict-code="yn"
|
||||||
|
:disabled="isRejectedData"
|
||||||
v-model="formInline.isSameLastVersion">
|
v-model="formInline.isSameLastVersion">
|
||||||
</j-dict-select-tag>
|
</j-dict-select-tag>
|
||||||
</a-form-model-item>
|
</a-form-model-item>
|
||||||
@@ -438,12 +441,17 @@ export default {
|
|||||||
standardInfo: {
|
standardInfo: {
|
||||||
id: ''
|
id: ''
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
|
isRejectedData: false // 是否是被驳回的
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted () {
|
mounted () {
|
||||||
this.getSysCategoryTree()
|
this.getSysCategoryTree()
|
||||||
this.getCountryOption()
|
this.getCountryOption()
|
||||||
|
if (this.$route.query.taskId) {
|
||||||
|
// 有任务id说明是被驳回的
|
||||||
|
this.isRejectedData = true
|
||||||
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
// 拿到外面传进来的businessInfoDTO
|
// 拿到外面传进来的businessInfoDTO
|
||||||
|
|||||||
Reference in New Issue
Block a user