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