diff --git a/pc4mobx/organization/components/log/LogView.js b/pc4mobx/organization/components/log/LogView.js
index 15851f9..77df038 100644
--- a/pc4mobx/organization/components/log/LogView.js
+++ b/pc4mobx/organization/components/log/LogView.js
@@ -167,9 +167,9 @@ export default class LogView extends React.Component {
iconBgcolor="#217346"
visible={visible}
closable={true}
- hasScroll={true}
+ hasScroll={false}
onCancel={() => onCancel()}
- style={{ height: height, width: width }}
+ style={{ height: height, width: width}}
initLoadCss
className="logWrapper"
>
@@ -181,12 +181,15 @@ export default class LogView extends React.Component {
searchsAd={showSearchAd ? this.getPanelComponents() :
}
buttonsAd={this.getTabBtn()}
/>
- this.reRenderColumns(c)}
- />
+
+ this.reRenderColumns(c)}
+ />
+
+
{
Api.getSearchTemplate({ type: bool ? 'search' : 'custom' }).then(res => {
if (res.code === 200) {
- bool ? this.setTemplates(res.data) : this.setCustomTemplates(res.data);
+ if(res.data.templateId) {
+ this.customTemplateId = res.data.templateId;
+ }
+ bool ? this.setTemplates(res.data.templates) : this.setCustomTemplates(res.data.templates);
} else {
message.warning(res.msg);
}
diff --git a/pc4mobx/organization/style/common.less b/pc4mobx/organization/style/common.less
index 84aa123..de20ad6 100644
--- a/pc4mobx/organization/style/common.less
+++ b/pc4mobx/organization/style/common.less
@@ -71,6 +71,7 @@
}
+
//日志弹框样式
.logWrapper{
.ant-table-body{
@@ -93,7 +94,7 @@
.wea-table-indent {
overflow: hidden;
text-overflow: ellipsis;
- white-space: nowrap;overflow: hidden;
+ white-space: nowrap;
}
//列定制
@@ -109,4 +110,9 @@
// width: 85px;
// float: right;
// }
- // }
\ No newline at end of file
+ // }
+
+
+
+
+
\ No newline at end of file
diff --git a/pc4mobx/organization/style/index.less b/pc4mobx/organization/style/index.less
index 5dd610b..deb176d 100644
--- a/pc4mobx/organization/style/index.less
+++ b/pc4mobx/organization/style/index.less
@@ -35,6 +35,26 @@ html {
background-color: transparent;
}
+//列表滚动条
+.wea-new-table {
+ ::-webkit-scrollbar {
+ width: 10px !important;
+ height: 10px !important;
+ background-color: transparent;
+ }
+ /*定义滚动条轨道 内阴影+圆角*/
+ ::-webkit-scrollbar-track {
+ -webkit-box-shadow: transparent;
+ background-color: transparent;
+ }
+ /*定义滑块 内阴影+圆角*/
+ ::-webkit-scrollbar-thumb {
+ border-radius: 10px;
+ -webkit-box-shadow: none;
+ background-color: #ccc;
+ }
+}
+
//自定义设置
.fieldDef{
width: 100%;