|
@@ -100,8 +100,8 @@ const handleOk = () => {
|
|
|
for (const item of selectedParams.value) {
|
|
|
await addProtocolParam({
|
|
|
baseInfoId: props.protocolId,
|
|
|
- paramCode: item.paramCode,
|
|
|
- paramName: item.paramName,
|
|
|
+ paramCode: item.platformParamCode,
|
|
|
+ paramName: item.platformParamName,
|
|
|
unit: item.unit,
|
|
|
module: item.module,
|
|
|
});
|
|
@@ -174,12 +174,12 @@ defineExpose({
|
|
|
>
|
|
|
<ATableColumn
|
|
|
:title="$t('setupProtocol.protocolParamFields.paramCode')"
|
|
|
- data-index="paramCode"
|
|
|
+ data-index="platformParamCode"
|
|
|
:width="150"
|
|
|
/>
|
|
|
<ATableColumn
|
|
|
:title="$t('setupProtocol.protocolParamFields.paramName')"
|
|
|
- data-index="paramName"
|
|
|
+ data-index="platformParamName"
|
|
|
:width="150"
|
|
|
/>
|
|
|
<ATableColumn :title="$t('setupProtocol.protocolParamFields.unit')" data-index="unit" />
|
|
@@ -193,8 +193,8 @@ defineExpose({
|
|
|
</div>
|
|
|
<div class="params-selected-list">
|
|
|
<div class="params-selected-item" v-for="item in selectedParams" :key="item.id">
|
|
|
- <div class="ellipsis-text params-selected-item-label" :title="item.paramName">
|
|
|
- {{ item.paramName }}
|
|
|
+ <div class="ellipsis-text params-selected-item-label" :title="item.platformParamName">
|
|
|
+ {{ item.platformParamName }}
|
|
|
</div>
|
|
|
<SvgIcon class="params-selected-item-delete" name="close-circle-o" @click="removeSelectedParam(item)" />
|
|
|
</div>
|