|
@@ -96,8 +96,7 @@ const dictItemFormConfig = reactive<BasicForm>({
|
|
|
value: '',
|
|
value: '',
|
|
|
name: 'label',
|
|
name: 'label',
|
|
|
type: 'input',
|
|
type: 'input',
|
|
|
- rules: [{ required: true, message: '请输入用户名', trigger: 'blur' }],
|
|
|
|
|
- search: true
|
|
|
|
|
|
|
+ rules: [{ required: true, message: '请输入用户名', trigger: 'blur' }]
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
label: '键值',
|
|
label: '键值',
|
|
@@ -127,11 +126,13 @@ const dictItemFormConfig = reactive<BasicForm>({
|
|
|
<vxe-column field="type" title="字典值"></vxe-column>
|
|
<vxe-column field="type" title="字典值"></vxe-column>
|
|
|
</pro-table>
|
|
</pro-table>
|
|
|
</el-col>
|
|
</el-col>
|
|
|
- <el-col :span="12" class="position-relative">
|
|
|
|
|
- <div class="position-absolute right-[30px] top-[105px] z-1">
|
|
|
|
|
- <el-tag>{{ curRow?.description }}</el-tag>
|
|
|
|
|
- </div>
|
|
|
|
|
|
|
+ <el-col :span="12">
|
|
|
<pro-table ref="itemTableRef" :crud="itemCRUD" :formConfig="dictItemFormConfig" :selection="false" v-if="curRow">
|
|
<pro-table ref="itemTableRef" :crud="itemCRUD" :formConfig="dictItemFormConfig" :selection="false" v-if="curRow">
|
|
|
|
|
+ <template #header>
|
|
|
|
|
+ <div class="pb-15px mb-20px font-bold" style="border-bottom: 1px solid var(--el-border-color)">
|
|
|
|
|
+ {{ curRow?.description }}
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </template>
|
|
|
<vxe-column field="label" title="标签"></vxe-column>
|
|
<vxe-column field="label" title="标签"></vxe-column>
|
|
|
<vxe-column field="value" title="键值"></vxe-column>
|
|
<vxe-column field="value" title="键值"></vxe-column>
|
|
|
</pro-table>
|
|
</pro-table>
|