Commit 63bfbfc8 by liangzhen

样式调整

1 parent 410a3c0c
......@@ -322,12 +322,12 @@ export function getTypicalExampleExcel(params) {
return download('/excel/etTc', params)
}
// 总体架构资产文档库
// 架构知识文档管理
// 列表查询
export function getDocPoolList(params) {
return post(FRAMEWORK_ASSERT + '/kl-doc-pool/', params)
}
// 总体架构资产文档库,下载
// 架构知识文档管理,下载
export function downTotalArchiPropertyDocFile(params) {
return download(FRAMEWORK_ASSERT + '/oss/downloadObject', params)
}
......
......@@ -141,12 +141,12 @@ export const routes = [
},
},
{
path: "/main/totalArchiPropertyDocument", //总体架构资产文档库
path: "/main/totalArchiPropertyDocument", //架构知识文档管理
name: "totalArchiPropertyDocument",
component: () =>
import("@/views/total-archi-property-document/index.vue"),
meta: {
title: "总体架构资产文档库",
title: "架构知识文档管理",
},
},
......
......@@ -164,7 +164,7 @@ export default {
status = 1;
this.set_table_height(205);
}else {
$(".search_items_container").css('height', "60px");
$(".search_items_container").css('height', "50px");
$(".el-icon-arrow-right").removeClass('rotateClass');
status = 0;
this.set_table_height(140);
......@@ -287,7 +287,7 @@ export default {
</style>
<style scoped>
.search_items_container{
height: 60px;
height:50px;
width: 83%;
/* border: 2px solid red; */
}
......@@ -300,7 +300,7 @@ export default {
width: 24%;
}
/deep/ .el-form-item__label{
width: 160px;
width: 140px;
}
.rotateClass{
transform: rotate(90deg);
......
......@@ -680,7 +680,7 @@
<style lang="scss" scoped>
.box-wrap {
padding: 0 30px;
padding:20px 30px;
box-sizing: border-box;
.left-box {
// display: flex;
......
......@@ -18,7 +18,7 @@
</el-select>
</div>
<div style="margin-bottom:10px;">
<div style="margin-bottom:10px; margin-left: 20px">
<label class="form-label">资产类型</label>
<el-select
style="width:200px;"
......@@ -34,7 +34,7 @@
</el-select>
</div>
<div style="margin-bottom:10px;display:flex;">
<div style="margin-bottom:10px;display:flex; margin-left: 20px">
<label class="form-label">资产名称</label>
<div class="tree-div" @click="openTree()" >
<div class="checkedName">{{checkedName}}</div>
......@@ -42,91 +42,13 @@
</div>
</div>
<div class="rightBtn" style="height:32px">
<div class="rightBtn" style="height:30px;margin-left: 20px">
<el-button type="primary" @click="exportBtn" >
<i class="el-icon-download"></i>导出
</el-button>
</div>
</div>
<el-collapse v-model="activeNames" accordion>
<el-collapse-item>
<template slot="title">
<i class="elicon el-icon-search"></i>
{{ title }}
</template>
<div class="searchItem" v-for="(item, index) in tableHeader" :key="index">
<label class="form-label" v-if="item.dataType != 'app_framework_select' && item.dataType != 'data_framework_select' && item.dataType != 'business_framework_select' && item.dataType != 'technology_framework_select' && item.fieldName != 'layeredData'">{{item.fieldMean}}</label>
<!-- 输入框 -->
<el-input
v-if="item.dataType == 'input' && item.fieldName != 'layeredData'"
style="width:200px;"
v-model="params[item.fieldName]"
placeholder="请输入"
maxlength="30"
show-word-limit
:value="params[item.fieldName]"
@input="e => params[item.fieldName] = validForbid (e)"
></el-input>
<!-- 多行文本框 -->
<el-input
v-if="item.dataType=='textarea'"
style="width: 200px;"
type="textarea"
:rows="1"
maxlength="100"
show-word-limit
placeholder="请输入"
v-model="params[item.fieldName]"
@input="e => params[item.fieldName] = validForbidMR (e)"
></el-input>
<!-- 单选框 -->
<el-select
v-if="item.dataType == 'select'"
style="width:200px;"
v-model="params[item.fieldName]"
placeholder="请选择"
clearable
>
<el-option
v-for="(item2, index2) in item.values"
:key="index2"
:label="item2"
:value="item2"
></el-option>
</el-select>
<!-- 复选框 -->
<el-select
v-if="item.dataType == 'multiple_select'"
style="width:200px;"
v-model="paramss[item.fieldName]"
placeholder="请选择"
@change="clickSelected($event,item.fieldName)"
multiple
>
<el-option
v-for="(item2, index2) in item.values"
:key="index2"
:label="item2"
:value="item2"
></el-option>
</el-select>
<!-- 日期选择框 -->
<el-date-picker
v-if="item.dataType=='date'"
style="width:200px;"
v-model="params[item.fieldName]"
type="date"
value-format="yyyy-MM-dd"
placeholder="选择日期"
clearable
></el-date-picker>
</div>
<div class="searchBtn">
<el-button type="primary" size="mini" @click="queryList_" style="margin-left:20px; height:32px">查询</el-button>
</div>
</el-collapse-item>
</el-collapse>
<!-- 表格 -->
<div class="table-wrap" ref="tableWrap">
......@@ -135,7 +57,7 @@
<el-table
border
:data="tableData"
height="82%"
height="92%"
style="overflow-x:auto;"
:row-class-name="tableRowClassName"
:header-cell-style="{background:'#c0ebe4',color:'#0c554a', textAlign: 'center'}"
......@@ -570,6 +492,7 @@
.main-wrap {
width: 100%;
overflow-y: auto;
padding: 20px;
// 搜索 操作按钮
.btn-wrap {
padding-bottom: 0;
......@@ -637,7 +560,7 @@
.table-wrap {
background-color: #fff;
padding: 0;
height: 76%;
height: 92%;
.right-table {
height: 100%;
width: 100%;
......
......@@ -135,7 +135,7 @@
</div>
<el-dialog
title="总体架构资产文档库"
title="架构知识文档管理"
:visible.sync="add_dialog"
:center="false"
width="60%"
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!