|
|
@ -17,18 +17,18 @@ |
|
|
|
<a-select-option :value="true">TRUE</a-select-option> |
|
|
|
<a-select-option :value="false">FALSE</a-select-option> |
|
|
|
</a-select> |
|
|
|
<a-input v-else-if="'String' === actionParam.type" class="w-24" |
|
|
|
<a-input v-else-if="'java.lang.String' === actionParam.type" class="w-24" |
|
|
|
v-model:value="actionParam.value" :placeholder="actionParam.name" /> |
|
|
|
<a-input-number v-else-if="'Integer' === actionParam.type" class="w-24" |
|
|
|
<a-input-number v-else-if="'java.lang.Integer' === actionParam.type" class="w-24" |
|
|
|
v-model:value="actionParam.value" :placeholder="actionParam.name" /> |
|
|
|
<a-input-number v-else-if="'Double' === actionParam.type" class="w-24" |
|
|
|
<a-input-number v-else-if="'java.lang.Double' === actionParam.type" class="w-24" |
|
|
|
v-model:value="actionParam.value" :placeholder="actionParam.name" :step="0.01" /> |
|
|
|
<a-select v-else-if="'Enum' === actionParam.type" v-model:value="actionParam.value" |
|
|
|
<a-select v-else-if="'java.lang.Enum' === actionParam.type" v-model:value="actionParam.value" |
|
|
|
:dropdownMatchSelectWidth="false"> |
|
|
|
<a-select-option v-for="(enumItem, enumIndex) in actionParam.options" :key="enumIndex" |
|
|
|
:value="enumItem.value">{{ enumItem.name }}</a-select-option> |
|
|
|
</a-select> |
|
|
|
<service-configuration-action-param-file v-else-if="'ExtUIFile' === actionParam.type" |
|
|
|
<service-configuration-action-param-file v-else-if="'a8k.extui.type.param.ExtUIFile' === actionParam.type" |
|
|
|
v-model:value="actionParam.value" /> |
|
|
|
<span v-else>{{ actionParam }}</span> |
|
|
|
</div> |
|
|
@ -98,7 +98,7 @@ async function actionServiceExecute(action) { |
|
|
|
for (let item of action.params) { |
|
|
|
params.params.push(item.value); |
|
|
|
let type = item.type; |
|
|
|
if ('Enum' === type) { |
|
|
|
if ('java.lang.Enum' === type) { |
|
|
|
type = item.typeEnum; |
|
|
|
} |
|
|
|
params.paramTypes.push(type); |
|
|
|