update 自定义比对修改

This commit is contained in:
赵霄
2023-10-31 10:45:07 +08:00
parent 40d94cbfb0
commit 51156d3f3b
2 changed files with 16 additions and 4 deletions
@@ -275,7 +275,7 @@ export default {
this.$nextTick(() => {
document.getElementsByClassName('ant-modal-confirm-btns')[0].style = 'display:none'
})
downFile('/customCompare/lawsCustomCompareInfo/exportExcel', {infoId: this.modal.id}).then((data) => {
downFile('/customCompare/lawsCustomCompareInfo/exportExcel', { infoId: this.modal.id }).then((data) => {
if (!data) {
this.$message.warning('文件下载失败')
return
@@ -331,6 +331,10 @@ export default {
* 对比维护
*/
handleComparisonMaintain () {
if (!this.form.getFieldValue('referenceStandard')) {
this.$message.warning(this.$t('pleaseSelectOneStandard'))
return
}
this.$refs.comparisonMaintainDrawer.open(this.modal.id)
},
/**