阅片单元的基础数据中,字典需要有描述
continuous-integration/drone/push Build is passing Details

main
wangxiaoshuang 2025-12-26 14:51:25 +08:00
parent 63772f46f8
commit 281c900e0c
1 changed files with 16 additions and 41 deletions

View File

@ -1,43 +1,23 @@
<template>
<div>
<el-table
v-loading="loading"
style="width: 100%"
:data="list"
stripe
>
<el-table-column
prop=""
label=""
width="50"
>
<el-table v-loading="loading" style="width: 100%" :data="list" stripe>
<el-table-column prop="" label="" width="50">
<template slot-scope="scope">
{{ scope.$index + 1 }}
</template>
</el-table-column>
<!-- 字典表名 -->
<el-table-column
prop="Code"
:label="$t('trials:readingUnit:baseDataCfg:title:dictTbl')"
show-overflow-tooltip
/>
<el-table-column prop="Code" :label="$t('trials:readingUnit:baseDataCfg:title:dictTbl')" show-overflow-tooltip />
<!-- 描述 -->
<el-table-column prop="Description" :label="$t('trials:readingUnit:baseDataCfg:title:Description')"
show-overflow-tooltip />
<!-- 子项数量 -->
<el-table-column
prop="Count"
:label="$t('trials:readingUnit:baseDataCfg:title:dictChildCount')"
show-overflow-tooltip
/>
<el-table-column prop="Count" :label="$t('trials:readingUnit:baseDataCfg:title:dictChildCount')"
show-overflow-tooltip />
<!-- 排序 -->
<el-table-column
prop="ShowOrder"
:label="$t('trials:readingUnit:baseDataCfg:title:dictOrder')"
show-overflow-tooltip
/>
<el-table-column
prop="Description"
:label="$t('common:action:action')"
show-overflow-tooltip
>
<el-table-column prop="ShowOrder" :label="$t('trials:readingUnit:baseDataCfg:title:dictOrder')"
show-overflow-tooltip />
<el-table-column prop="Description" :label="$t('common:action:action')" show-overflow-tooltip>
<template slot-scope="scope">
<!-- 查看 -->
<el-button size="small" type="primary" @click="openChildren(scope.row)">
@ -46,15 +26,10 @@
</template>
</el-table-column>
</el-table>
<el-drawer
:title="drawer_cfg.title"
:append-to-body="true"
:modal-append-to-body="false"
:visible.sync="drawer_cfg.drawerChild"
direction="rtl"
size="80%"
>
<CriterionDictionaryConfig v-if="drawer_cfg.drawerChild" :criterion-id="criterionId" :parent-code="drawer_cfg.title" @getList="getList" />
<el-drawer :title="drawer_cfg.title" :append-to-body="true" :modal-append-to-body="false"
:visible.sync="drawer_cfg.drawerChild" direction="rtl" size="80%">
<CriterionDictionaryConfig v-if="drawer_cfg.drawerChild" :criterion-id="criterionId"
:parent-code="drawer_cfg.title" @getList="getList" />
</el-drawer>
</div>
</template>