sige 1 year ago
parent
commit
4739da773f
  1. 14
      src/components/ServiceConfiguration.vue

14
src/components/ServiceConfiguration.vue

@ -3,14 +3,14 @@
<a-row class="h-0 grow"> <a-row class="h-0 grow">
<a-col class="border-r h-full overflow-y-auto" :span="16"> <a-col class="border-r h-full overflow-y-auto" :span="16">
<div class="p-5 border-t border-b" v-if="0 < params.length"> <div class="p-5 border-t border-b" v-if="0 < params.length">
<a-row>
<a-col :span="8" v-for="group in params" :key="group.name" class="p-1">
<div class="flex flex-row flex-wrap">
<div v-for="group in params" :key="group.name" class="p-1" style="min-width: 30%;">
<fieldset class="border"> <fieldset class="border">
<legend>{{ group.name }}</legend>
<legend class="px-3">{{ group.name }}</legend>
<table class="w-full"> <table class="w-full">
<tr v-for="item in group.items" :key="item.key"> <tr v-for="item in group.items" :key="item.key">
<td class="p-1">{{ item.name }} : </td>
<td class="p-1">
<td class="py-1 px-2">{{ item.name }} : </td>
<td class="py-1 px-2">
<service-configuration-param-value-edit <service-configuration-param-value-edit
:param="item" :param="item"
v-model:value="item.value" v-model:value="item.value"
@ -20,8 +20,8 @@
</tr> </tr>
</table> </table>
</fieldset> </fieldset>
</a-col>
</a-row>
</div>
</div>
<div class="p-1"> <div class="p-1">
<a-button class="mr-1" @click="actionServiceParamReset">重置</a-button> <a-button class="mr-1" @click="actionServiceParamReset">重置</a-button>
<a-button class="mr-1" @click="actionServiceParamReload">刷新</a-button> <a-button class="mr-1" @click="actionServiceParamReload">刷新</a-button>

Loading…
Cancel
Save