update 自定义比对修改
This commit is contained in:
@@ -17,7 +17,8 @@
|
||||
<j-dict-select-tag style="width: 100%" v-model="queryParam.source"
|
||||
:disabled="disabledSourceSearch"
|
||||
:placeholder="$t('pleaseSelect')+$t('standardSelect.source')"
|
||||
:triggerChange="false" dictCode="standard_source" />
|
||||
:triggerChange="false" dictCode="standard_source"
|
||||
@change="handleTypeChange" />
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
<a-col :sm="8">
|
||||
@@ -26,9 +27,13 @@
|
||||
v-model="queryParam.standardNumOrName"></a-input>
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
<div style="float: right;overflow: hidden;margin-right: 41px;margin-bottom: 20px" class="table-page-search-submitButtons">
|
||||
<div style="float: right;overflow: hidden;margin-right: 41px;margin-bottom: 20px"
|
||||
class="table-page-search-submitButtons">
|
||||
<a-button class="box-button" style="margin-left: 8px" @click="searchReset">{{ $t('reset') }}</a-button>
|
||||
<a-button class="box-button" style="margin-left: 8px" type="primary" @click="searchQuery">{{ $t('query') }}</a-button>
|
||||
<a-button class="box-button" style="margin-left: 8px" type="primary" @click="searchQuery">{{
|
||||
$t('query')
|
||||
}}
|
||||
</a-button>
|
||||
</div>
|
||||
</a-row>
|
||||
</a-form>
|
||||
@@ -204,6 +209,9 @@ export default {
|
||||
} else {
|
||||
this.$message.warning(this.$t('selectLeastOne'))
|
||||
}
|
||||
},
|
||||
handleTypeChange () {
|
||||
this.$forceUpdate()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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)
|
||||
},
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user