update 自定义比对;资料中心
This commit is contained in:
@@ -8,20 +8,20 @@
|
||||
<a-col :md="6" :sm="8">
|
||||
<a-form-item :label="$t('docTool.customComparison.listName')" :labelCol="{span: 6}" :wrapperCol="{span: 14}">
|
||||
<a-input :placeholder="$t('pleaseEnter') + $t('docTool.customComparison.listName')"
|
||||
v-model="queryParam.serialNumber"></a-input>
|
||||
v-model="queryParam.listName"></a-input>
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
<!--标准编号-->
|
||||
<a-col :md="6" :sm="8">
|
||||
<a-form-item :label="$t('standardNumber')" :labelCol="{span: 6}" :wrapperCol="{span: 14}">
|
||||
<a-input :placeholder="$t('pleaseEnter') + $t('standardNumber')"
|
||||
v-model="queryParam.title"></a-input>
|
||||
v-model="queryParam.referenceStandard"></a-input>
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
<!--涉及国家-->
|
||||
<a-col :md="6" :sm="8">
|
||||
<a-form-item :label="$t('docTool.customComparison.countriesInvolved')" :labelCol="{span: 6}" :wrapperCol="{span: 14}">
|
||||
<a-tree-select v-model="queryParam.releaseState"
|
||||
<a-tree-select v-model="queryParam.referenceCountry"
|
||||
:getPopupContainer="triggerNode=> triggerNode.parentNode"
|
||||
style="width: 100%"
|
||||
:tree-data="countriesInvolvedOptions"
|
||||
@@ -33,13 +33,15 @@
|
||||
<!--操作人-->
|
||||
<a-col :md="6" :sm="8">
|
||||
<a-form-item :label="$t('docTool.customComparison.operator')" :labelCol="{span: 6}" :wrapperCol="{span: 14}">
|
||||
<a-input :placeholder="$t('pleaseEnter') + $t('docTool.customComparison.operator')" v-model="queryParam.title" />
|
||||
<a-input :placeholder="$t('pleaseEnter') + $t('docTool.customComparison.operator')" v-model="queryParam.author" />
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
<!--是否公开-->
|
||||
<a-col :md="6" :sm="8">
|
||||
<a-form-item :label="$t('docTool.customComparison.whetherToMakePublic')" :labelCol="{span: 6}" :wrapperCol="{span: 14}">
|
||||
<j-dict-select-tag v-model="queryParam.releaseState"
|
||||
<a-form-item :label="$t('docTool.customComparison.whetherToMakePublic')"
|
||||
:labelCol="{span: 6}"
|
||||
:wrapperCol="{span: 14}">
|
||||
<j-dict-select-tag v-model="queryParam.isShow"
|
||||
:placeholder="$t('pleaseSelect')+$t('docTool.customComparison.whetherToMakePublic')"
|
||||
type="select"
|
||||
:triggerChange="false"
|
||||
@@ -81,7 +83,7 @@
|
||||
</j-table>
|
||||
</div>
|
||||
|
||||
<custom-comparison-drawer ref="modalForm" @ok="modalFormOk"/>
|
||||
<custom-comparison-drawer ref="modalForm" @ok="modalFormOk" />
|
||||
</a-card>
|
||||
</template>
|
||||
|
||||
@@ -103,37 +105,37 @@ export default {
|
||||
{
|
||||
title: this.$t('docTool.customComparison.listName'),
|
||||
width: 200,
|
||||
dataIndex: 'fileTypeLeft_dictText'
|
||||
dataIndex: 'listName'
|
||||
},
|
||||
// 涉及标准
|
||||
{
|
||||
title: this.$t('docTool.customComparison.referenceStandard'),
|
||||
width: 200,
|
||||
dataIndex: 'fileTypeLeft_dictText'
|
||||
dataIndex: 'referenceStandard'
|
||||
},
|
||||
// 涉及国家
|
||||
{
|
||||
title: this.$t('docTool.customComparison.countriesInvolved'),
|
||||
width: 150,
|
||||
dataIndex: 'fileTypeLeft_dictText'
|
||||
dataIndex: 'referenceCountry_dictText'
|
||||
},
|
||||
// 是否公开
|
||||
{
|
||||
title: this.$t('docTool.customComparison.whetherToMakePublic'),
|
||||
width: 100,
|
||||
dataIndex: 'fileTypeLeft_dictText'
|
||||
dataIndex: 'isShow_dictText'
|
||||
},
|
||||
// 比对时间
|
||||
{
|
||||
title: this.$t('docTool.customComparison.comparisonTime'),
|
||||
width: 150,
|
||||
dataIndex: 'fileTypeLeft_dictText'
|
||||
dataIndex: 'createTime'
|
||||
},
|
||||
// 操作人
|
||||
{
|
||||
title: this.$t('docTool.customComparison.operator'),
|
||||
width: 150,
|
||||
dataIndex: 'fileTypeLeft_dictText'
|
||||
dataIndex: 'author'
|
||||
},
|
||||
// 操作
|
||||
{
|
||||
@@ -152,7 +154,7 @@ export default {
|
||||
// 编辑
|
||||
{
|
||||
text: this.$t('edit'),
|
||||
clickEvent: 'edit'
|
||||
clickEvent: 'handleEdit'
|
||||
// has: 'documentComparison:edit'
|
||||
},
|
||||
{ // 删除
|
||||
@@ -162,9 +164,9 @@ export default {
|
||||
}
|
||||
],
|
||||
url: {
|
||||
list: ''
|
||||
},
|
||||
dataSource: [{ id: '1' }]
|
||||
list: '/customCompare/lawsCustomCompareInfo/queryByPage',
|
||||
delete: '/customCompare/lawsCustomCompareInfo/delById'
|
||||
}
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
@@ -175,6 +177,11 @@ export default {
|
||||
this.countriesInvolvedOptions = res.result || []
|
||||
}
|
||||
})
|
||||
},
|
||||
handleEdit ({ id }) {
|
||||
this.$refs.modalForm.edit(id)
|
||||
this.$refs.modalForm.title = this.$t('edit')
|
||||
this.$refs.modalForm.disableSubmit = false
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user