diff --git a/Code/Be/Faster.Zheng.Winin/src/Faster.Zheng.Winin.Application/AppBase/ZbxBase.cs b/Code/Be/Faster.Zheng.Winin/src/Faster.Zheng.Winin.Application/AppBase/ZbxBase.cs index 886dbde..ebe5e9d 100644 --- a/Code/Be/Faster.Zheng.Winin/src/Faster.Zheng.Winin.Application/AppBase/ZbxBase.cs +++ b/Code/Be/Faster.Zheng.Winin/src/Faster.Zheng.Winin.Application/AppBase/ZbxBase.cs @@ -285,7 +285,10 @@ public class ZbxBase p.Name == "Details"); - //从表 + // 子表 var detailList = (IEnumerable)mainAllProperties[detailsIndex].GetValue(mainDto); var startMainRowIndex = rowIndex; for (var datailCount = 0; datailCount < detailList.Count(); datailCount++) @@ -407,13 +412,17 @@ public class ZbxBase /// /// - private static ICellStyle SetExcelDetailsColor(IWorkbook workbook) + private static ICellStyle SetExcelDetailsCellStyle(IWorkbook workbook) + { + var cellStyle = workbook.CreateCellStyle(); + cellStyle.FillBackgroundColor = IndexedColors.Grey25Percent.Index; + cellStyle.FillForegroundColor = IndexedColors.Grey25Percent.Index; + cellStyle.FillPattern = FillPattern.SolidForeground; + return cellStyle; + } + + /// + /// 导出设置只有主表时的交替行 单元格样式 + /// + /// + /// + private static ICellStyle SetExcelOnlyMainCellStyle(IWorkbook workbook) + { + var cellStyle = workbook.CreateCellStyle(); + cellStyle.FillBackgroundColor = IndexedColors.Grey25Percent.Index; + cellStyle.FillForegroundColor = IndexedColors.Grey25Percent.Index; + cellStyle.FillPattern = FillPattern.SolidForeground; + return cellStyle; + } + + /// + /// 设置分割单元格的演示 + /// + /// + /// + private static ICellStyle SetSplitCellStyle(IWorkbook workbook) + { + var cellStyle = workbook.CreateCellStyle(); + cellStyle.BorderLeft = BorderStyle.MediumDashed; + cellStyle.BorderRight = BorderStyle.MediumDashed; + cellStyle.LeftBorderColor = IndexedColors.BrightGreen.Index; + cellStyle.RightBorderColor = IndexedColors.Grey25Percent.Index; + cellStyle.FillBackgroundColor = IndexedColors.White.Index; + cellStyle.FillForegroundColor = IndexedColors.White.Index; + cellStyle.FillPattern = FillPattern.ThickVerticalBands; + return cellStyle; + } + + /// + /// 导出设置表头单元格样式 + /// + /// + /// + private static ICellStyle SetExcelHeadCellStyle(IWorkbook workbook) { var cellStyle = workbook.CreateCellStyle(); cellStyle.FillBackgroundColor = IndexedColors.LightOrange.Index; diff --git a/Code/Fe/public/config.js b/Code/Fe/public/config.js index f150e76..8a6e680 100644 --- a/Code/Fe/public/config.js +++ b/Code/Fe/public/config.js @@ -1,6 +1,7 @@ // dev_win window.SITE_CONFIG['base'] = 'http://dev.ccwin-in.com:60069' -window.SITE_CONFIG['columnsApiNames'] = '/api/abp/application-configuration' +window.SITE_CONFIG['columnsApiNames'] = '/api/abp/application-localization' +// window.SITE_CONFIG['columnsApiNames'] = '/api/abp/application-configuration' window.SITE_CONFIG['columnsApiNamesZh'] = 'Winin' window.SITE_CONFIG['isAutoLogin'] = false window.SITE_CONFIG['isSinglePage'] = false diff --git a/Code/Fe/src/api/wms-interface.js b/Code/Fe/src/api/wms-interface.js index a11d6a2..8c28acf 100644 --- a/Code/Fe/src/api/wms-interface.js +++ b/Code/Fe/src/api/wms-interface.js @@ -7,7 +7,9 @@ let colum_url = localStorage.getItem('columnsApiNames') export function getInterfaceBoard() { return request({ method:'get', - url: base_api + colum_url + url: base_api + colum_url, + params:{CultureName:'zh-Hans'} + // params:{IncludeLocalizationResources:true} }) } diff --git a/Code/Fe/src/components/commonTabel-drawer copy/index.vue b/Code/Fe/src/components/commonTabel-drawer copy/index.vue new file mode 100644 index 0000000..6d9e66d --- /dev/null +++ b/Code/Fe/src/components/commonTabel-drawer copy/index.vue @@ -0,0 +1,559 @@ + + + \ No newline at end of file diff --git a/Code/Fe/src/components/commonTabel-drawer copy/style/index.scss b/Code/Fe/src/components/commonTabel-drawer copy/style/index.scss new file mode 100644 index 0000000..877fd49 --- /dev/null +++ b/Code/Fe/src/components/commonTabel-drawer copy/style/index.scss @@ -0,0 +1,122 @@ +.el-drawer__wrapper { + z-index: 10 !important; + position: absolute; + left: 32%; + overflow: visible; + // height:calc(100% - 28px); + // top: 14px; + // right:14px + + ::v-deep .el-drawer { + height: 100%; + overflow: visible; + box-shadow: 0 8px 10px -5px rgb(0 0 0 / 15%), 0 16px 24px 2px rgb(0 0 0 / 9%), 0 6px 30px 5px rgb(0 0 0 / 7%); + + .el-drawer__body { + width: 100%; + height: 100%; + display: flex; + flex-direction: column; + + .drawer-heder { + display: flex; + padding: 15px 10px; + justify-content: space-between; + align-items: center; + + .heder-left { + display: flex; + justify-content: space-between; + + .heder-img { + width: 40px; + height: 40px; + margin-right: 10px; + } + + .header-text { + padding:0 20px; + display: flex; + flex-direction: column; + justify-content: space-between; + + span:nth-child(1) { + color: #333; + font-size: 22px; + } + + span:nth-child(2) { + color: #999; + font-size: 16px; + } + } + } + } + + .Descriptions { + padding: 0 10px; + } + + .drawer-main { + // padding-top: 20px; + flex: 1; + overflow: hidden; + // background-color: #efefef; + padding: 10px 20px 20px 30px; + border-top: solid 5px #f6f6f6; + + .el-tabs { + height: 100%; + display: flex; + flex-direction: column; + .el-tabs__header{ + // padding-bottom: 5px ; + .el-tabs__nav{ + z-index: auto !important; + } + } + + .el-tabs__content { + flex: 1; + + .el-tab-pane { + width: 100%; + height: 100%; + overflow-y: auto; + } + + .el-descriptions-item__label { + padding-right: 40px; + } + } + } + } + + .drawer-Shut { + width: 35px; + height: 100px; + position: absolute; + top: 200px; + left: -35px; + + .el-button { + width: 100%; + height: 100%; + display: flex; + justify-content: center; + align-items: center; + + ::v-deep span { + font-size: 12px; + letter-spacing: 10px; + writing-mode: tb-rl; + } + } + } + } + } +} + +::v-deep .el-tabs__nav-wrap::after{ + content: unset !important; +} diff --git a/Code/Fe/src/components/commonTabel-drawer/index.vue b/Code/Fe/src/components/commonTabel-drawer/index.vue index 6d9e66d..b993a82 100644 --- a/Code/Fe/src/components/commonTabel-drawer/index.vue +++ b/Code/Fe/src/components/commonTabel-drawer/index.vue @@ -66,16 +66,61 @@ :propsData="propsData" > + +
+ 字段设置 + 筛选 +
+ + + + + + + + \ No newline at end of file diff --git a/Code/Fe/src/components/filterForDetailPage/index.vue b/Code/Fe/src/components/filterForDetailPage/index.vue index acd7b76..ced8e1a 100644 --- a/Code/Fe/src/components/filterForDetailPage/index.vue +++ b/Code/Fe/src/components/filterForDetailPage/index.vue @@ -46,6 +46,7 @@ label="操作" :align="'center'" width="150" + fixed="right" >