[add] 接口对接
This commit is contained in:
@@ -13,13 +13,13 @@
|
||||
<a-col :span='9'>
|
||||
<a-form-model-item ref='region' :label="$t('NiONumber')" prop='region'>
|
||||
<a-input
|
||||
v-model='form.paramsTemplateName' :placeholder="$t('pleaseEnter')+$t('NiONumber')" />
|
||||
v-model='form.nioNumber' :placeholder="$t('pleaseEnter')+$t('NiONumber')" />
|
||||
</a-form-model-item>
|
||||
</a-col>
|
||||
<a-col :span='9'>
|
||||
<a-form-model-item ref='paramsTemplateName' :label="$t('ParameterName')" prop='paramsTemplateName'>
|
||||
<a-input
|
||||
v-model='form.paramsTemplateName' :placeholder="$t('pleaseEnter')+$t('ParameterName')" />
|
||||
v-model='form.paramsName' :placeholder="$t('pleaseEnter')+$t('ParameterName')" />
|
||||
</a-form-model-item>
|
||||
</a-col>
|
||||
<a-col :span='6'>
|
||||
@@ -31,7 +31,7 @@
|
||||
<a-col :span='9'>
|
||||
<a-form-model-item ref='region' :label="$t('areaOfResponsibility')" prop='region'>
|
||||
<a-form-model-item class='itemModel' prop='region'>
|
||||
<j-dict-select-tag class='box-input' v-model='form.region'
|
||||
<j-dict-select-tag class='box-input' v-model='form.dutyTerritory'
|
||||
:placeholder="$t('PleaseSelect')+$t('areaOfResponsibility')"
|
||||
:type="'select'"
|
||||
:triggerChange='false' :dictCode="'duty_territory'" />
|
||||
@@ -83,26 +83,24 @@ export default {
|
||||
loading: false,
|
||||
editId: '',
|
||||
columns: [
|
||||
// {
|
||||
// title: this.$t('NiONumber'),
|
||||
// dataIndex: 'region_dictText',
|
||||
// key: 'showArea',
|
||||
// align: 'center',
|
||||
// ellipsis: true
|
||||
// },
|
||||
// {
|
||||
// title: this.$t('ParameterName'),
|
||||
// align: 'center',
|
||||
// dataIndex: 'paramsTemplateName',
|
||||
// ellipsis: true
|
||||
// },
|
||||
// {
|
||||
// title: this.$t('areaOfResponsibility'),
|
||||
// dataIndex: 'region_dictText',
|
||||
// key: 'showArea',
|
||||
// align: 'center',
|
||||
// ellipsis: true
|
||||
// }
|
||||
{
|
||||
title: this.$t('NiONumber'),
|
||||
dataIndex: 'nioNumber',
|
||||
align: 'center',
|
||||
ellipsis: true
|
||||
},
|
||||
{
|
||||
title: this.$t('ParameterName'),
|
||||
align: 'center',
|
||||
dataIndex: 'paramsName',
|
||||
ellipsis: true
|
||||
},
|
||||
{
|
||||
title: this.$t('areaOfResponsibility'),
|
||||
dataIndex: 'dutyTerritory',
|
||||
align: 'center',
|
||||
ellipsis: true
|
||||
}
|
||||
],
|
||||
newVisible: false,
|
||||
labelCol: {
|
||||
@@ -152,7 +150,6 @@ export default {
|
||||
getAction(`params/collectManifest/paramsInfoList`, params).then(res => {
|
||||
if (res.success) {
|
||||
this.areaTable = [...res.result]
|
||||
this.total = res.result.total
|
||||
}
|
||||
}).finally(() => {
|
||||
this.loading = false
|
||||
|
||||
@@ -294,7 +294,7 @@ export default {
|
||||
content: _this.$t('ConfirmBatchDeletion'),
|
||||
onOk() {
|
||||
axios({
|
||||
url: '/jero-boot/params/paramsInfo/deleteBatch',
|
||||
url: '/jero-boot/params/collectManifest/deleteBatch',
|
||||
method: 'post',
|
||||
data: param,
|
||||
transformRequest: [function (data) {
|
||||
|
||||
Reference in New Issue
Block a user