|
|
|
@ -1,26 +1,18 @@ |
|
|
|
<template> |
|
|
|
<div class="box"> |
|
|
|
<div class="middlebox"> |
|
|
|
<div class="contenttitle" |
|
|
|
> |
|
|
|
<div class="contenttitle"> |
|
|
|
常用设置 / |
|
|
|
<span class="contenttitleBold" |
|
|
|
>系统参数</span |
|
|
|
> |
|
|
|
<span class="contenttitleBold">系统参数</span> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div style="display: flex;margin-top: 7px;"> |
|
|
|
<div :style=" |
|
|
|
'width: 208px;overflow: scroll;height:' + |
|
|
|
<div :style="'width: 208px;overflow: scroll;height:' + |
|
|
|
(window.pageHeight < 600 ? 480 : window.pageHeight - 100) + |
|
|
|
'px;background-color: #fff; border-radius: 8px' |
|
|
|
"> |
|
|
|
<div style="margin-top: 10px"> |
|
|
|
<el-tree |
|
|
|
:data="sysParmTypesTree" |
|
|
|
:props="treeProps" highlight-current |
|
|
|
@node-click="nodeClick" |
|
|
|
> |
|
|
|
<el-tree :data="sysParmTypesTree" :props="treeProps" highlight-current @node-click="nodeClick"> |
|
|
|
<span class="custom-tree-node" slot-scope="{ node, data }"> |
|
|
|
<div> |
|
|
|
<span class="treeicons"> |
|
|
|
@ -28,12 +20,10 @@ |
|
|
|
class="el-icon-document-remove" |
|
|
|
v-if="data.parentId == null" |
|
|
|
></i> --> |
|
|
|
<img style="width:20px;height:20px;vertical-align: sub;" src="@/assets/images/order.png" v-if="data.parentId == null"/> |
|
|
|
<img style="width:20px;height:20px;vertical-align: sub;" src="@/assets/images/order.png" |
|
|
|
v-if="data.parentId == null" /> |
|
|
|
</span> |
|
|
|
<span |
|
|
|
:class="data.parentId == null ? 'maxtitle' : 'mintitle'" |
|
|
|
>{{ node.label }}</span |
|
|
|
> |
|
|
|
<span :class="data.parentId == null ? 'maxtitle' : 'mintitle'">{{ node.label }}</span> |
|
|
|
</div> |
|
|
|
</span> |
|
|
|
</el-tree> |
|
|
|
@ -41,20 +31,10 @@ |
|
|
|
</div> |
|
|
|
<div :style="'margin-left: 15px;width:' + (window.pageWidth - 200 - 45) + 'px;'"> |
|
|
|
<div> |
|
|
|
<el-table |
|
|
|
:data="sysParms" |
|
|
|
:height="window.pageHeight < 600 ? 418 : window.pageHeight - 162" |
|
|
|
size="small" :span-method="spanMethod" |
|
|
|
highlight-current-row |
|
|
|
border |
|
|
|
style="border-radius: 8px;" |
|
|
|
> |
|
|
|
<el-table :data="sysParms" :height="window.pageHeight < 600 ? 418 : window.pageHeight - 162" size="small" |
|
|
|
:span-method="spanMethod" highlight-current-row border style="border-radius: 8px;"> |
|
|
|
<el-table-column prop="sysParmId" label="参数ID" min-width="150" /> |
|
|
|
<el-table-column |
|
|
|
prop="displayName" |
|
|
|
label="参数名称" |
|
|
|
min-width="150" |
|
|
|
/> |
|
|
|
<el-table-column prop="displayName" label="参数名称" min-width="150" /> |
|
|
|
<el-table-column prop="medicalCenterId" label="体检中心" min-width="100"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<!-- |
|
|
|
@ -78,24 +58,14 @@ |
|
|
|
</el-table-column> |
|
|
|
<el-table-column prop="sysParmValueName" label="参数值" min-width="80"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<el-input |
|
|
|
type="textarea" |
|
|
|
v-model="scope.row.sysParmValueName" |
|
|
|
:autosize="{ minRows: 1, maxRows: 100 }" |
|
|
|
maxlength="100" |
|
|
|
size="small" |
|
|
|
/> |
|
|
|
<el-input type="textarea" v-model="scope.row.sysParmValueName" :autosize="{ minRows: 1, maxRows: 100 }" |
|
|
|
maxlength="100" size="small" /> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column prop="valueRemark" label="备注" min-width="150"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<el-input |
|
|
|
type="textarea" |
|
|
|
v-model="scope.row.valueRemark" |
|
|
|
:autosize="{ minRows: 1, maxRows: 100 }" |
|
|
|
maxlength="500" |
|
|
|
size="small" |
|
|
|
/> |
|
|
|
<el-input type="textarea" v-model="scope.row.valueRemark" :autosize="{ minRows: 1, maxRows: 100 }" |
|
|
|
maxlength="500" size="small" /> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column prop="remark" label="参数说明" min-width="150" /> |
|
|
|
@ -324,9 +294,9 @@ export default { |
|
|
|
@import '../../assets/css/global_input.css'; |
|
|
|
@import '../../assets/css/global_table.css'; |
|
|
|
@import '../../assets/css/global.css'; |
|
|
|
|
|
|
|
.box { |
|
|
|
display: flex; |
|
|
|
flex-direction: column; |
|
|
|
} |
|
|
|
|
|
|
|
</style> |