阅片单元的基础数据中,字典需要有描述
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> <template>
<div> <div>
<el-table <el-table v-loading="loading" style="width: 100%" :data="list" stripe>
v-loading="loading" <el-table-column prop="" label="" width="50">
style="width: 100%"
:data="list"
stripe
>
<el-table-column
prop=""
label=""
width="50"
>
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.$index + 1 }} {{ scope.$index + 1 }}
</template> </template>
</el-table-column> </el-table-column>
<!-- 字典表名 --> <!-- 字典表名 -->
<el-table-column <el-table-column prop="Code" :label="$t('trials:readingUnit:baseDataCfg:title:dictTbl')" show-overflow-tooltip />
prop="Code" <!-- 描述 -->
:label="$t('trials:readingUnit:baseDataCfg:title:dictTbl')" <el-table-column prop="Description" :label="$t('trials:readingUnit:baseDataCfg:title:Description')"
show-overflow-tooltip show-overflow-tooltip />
/>
<!-- 子项数量 --> <!-- 子项数量 -->
<el-table-column <el-table-column prop="Count" :label="$t('trials:readingUnit:baseDataCfg:title:dictChildCount')"
prop="Count" show-overflow-tooltip />
:label="$t('trials:readingUnit:baseDataCfg:title:dictChildCount')"
show-overflow-tooltip
/>
<!-- 排序 --> <!-- 排序 -->
<el-table-column <el-table-column prop="ShowOrder" :label="$t('trials:readingUnit:baseDataCfg:title:dictOrder')"
prop="ShowOrder" show-overflow-tooltip />
:label="$t('trials:readingUnit:baseDataCfg:title:dictOrder')" <el-table-column prop="Description" :label="$t('common:action:action')" show-overflow-tooltip>
show-overflow-tooltip
/>
<el-table-column
prop="Description"
:label="$t('common:action:action')"
show-overflow-tooltip
>
<template slot-scope="scope"> <template slot-scope="scope">
<!-- 查看 --> <!-- 查看 -->
<el-button size="small" type="primary" @click="openChildren(scope.row)"> <el-button size="small" type="primary" @click="openChildren(scope.row)">
@ -46,15 +26,10 @@
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
<el-drawer <el-drawer :title="drawer_cfg.title" :append-to-body="true" :modal-append-to-body="false"
:title="drawer_cfg.title" :visible.sync="drawer_cfg.drawerChild" direction="rtl" size="80%">
:append-to-body="true" <CriterionDictionaryConfig v-if="drawer_cfg.drawerChild" :criterion-id="criterionId"
:modal-append-to-body="false" :parent-code="drawer_cfg.title" @getList="getList" />
: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> </el-drawer>
</div> </div>
</template> </template>
@ -111,7 +86,7 @@ export default {
</script> </script>
<style scoped> <style scoped>
::v-deep .el-form-item__content{ ::v-deep .el-form-item__content {
width: calc(100% - 110px); width: calc(100% - 110px);
} }
</style> </style>