提交 e200c852 编写于 作者: ibizdev's avatar ibizdev

lxm1993 发布系统代码 [TrainSys,网页端]

上级 857d568f
...@@ -72,7 +72,7 @@ ...@@ -72,7 +72,7 @@
"@interactjs/actions": "^1.10.11", "@interactjs/actions": "^1.10.11",
"@interactjs/modifiers": "^1.10.11", "@interactjs/modifiers": "^1.10.11",
"@interactjs/dev-tools": "^1.10.11", "@interactjs/dev-tools": "^1.10.11",
"@ibiz/dynamic-model-api": "1.0.7", "@ibiz/dynamic-model-api": "2.0.3",
"@ibiz/model-location": "^0.0.4", "@ibiz/model-location": "^0.0.4",
"xgplayer":"2.31.4", "xgplayer":"2.31.4",
"xlsx": "^0.16.9" "xlsx": "^0.16.9"
......
...@@ -86,7 +86,7 @@ ...@@ -86,7 +86,7 @@
</div> </div>
</template> </template>
<script lang="ts"> <script lang="ts">
import { IPSDEFormItemEx } from "node_modules/@ibiz/dynamic-model-api/dist/types"; import { IPSDEFormItemEx } from "@ibiz/dynamic-model-api";
import { Vue, Component, Prop, Watch } from "vue-property-decorator"; import { Vue, Component, Prop, Watch } from "vue-property-decorator";
@Component({}) @Component({})
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
</div> </div>
</div> </div>
<div v-if="!Object.is(labelPos,'NONE') && !isEmptyCaption" :class="dynaCationClass"> <div v-if="!Object.is(labelPos,'NONE') && !isEmptyCaption" :class="dynaCationClass">
<span v-if="required" style="color:red;">* </span> <span v-if="required">* </span>
{{ caption }} {{ caption }}
</div> </div>
<div v-if="Object.is(labelPos,'BOTTOM') || Object.is(labelPos,'TOP') || Object.is(labelPos,'LEFT') || Object.is(labelPos,'RIGHT')" class="app-panel-field__editor"> <div v-if="Object.is(labelPos,'BOTTOM') || Object.is(labelPos,'TOP') || Object.is(labelPos,'LEFT') || Object.is(labelPos,'RIGHT')" class="app-panel-field__editor">
......
...@@ -102,7 +102,7 @@ ...@@ -102,7 +102,7 @@
</template> </template>
</template> </template>
</el-select> </el-select>
<span style="position: absolute; right: 5px; color: #c0c4cc; top: 0; font-size: 13px"> <span class="app-picker__select__icon">
<i v-show="open" class="el-icon-arrow-up" @click="closeDropdown"></i> <i v-show="open" class="el-icon-arrow-up" @click="closeDropdown"></i>
<i v-show="!open" class="el-icon-arrow-down" @click="openDropdown"></i> <i v-show="!open" class="el-icon-arrow-down" @click="openDropdown"></i>
</span> </span>
...@@ -454,7 +454,7 @@ export default class AppPicker extends Vue { ...@@ -454,7 +454,7 @@ export default class AppPicker extends Vue {
* @memberof AppPicker * @memberof AppPicker
*/ */
public mounted() { public mounted() {
const dropdownDom: any = this.$el.getElementsByClassName('app-picker-dropdown')[0]; const dropdownDom: any = this.$el.getElementsByClassName('app-picker__select')[0];
this.dropdownDom = dropdownDom; this.dropdownDom = dropdownDom;
} }
......
...@@ -59,7 +59,11 @@ export default class AppQuickSearch extends Vue { ...@@ -59,7 +59,11 @@ export default class AppQuickSearch extends Vue {
quickSearchFields.forEach((field: IPSAppDEField, index: number) => { quickSearchFields.forEach((field: IPSAppDEField, index: number) => {
const _field: IPSAppDEField | null | undefined = this.appDataEntity?.findPSAppDEField(field.codeName); const _field: IPSAppDEField | null | undefined = this.appDataEntity?.findPSAppDEField(field.codeName);
if (_field) { if (_field) {
placeholder += (_this.$tl(_field.getLNPSLanguageRes()?.lanResTag, _field.logicName) + (index === quickSearchFields.length - 1 ? '' : ', ')); if(_field.quickSearchPlaceHolder){
placeholder += (this.$tl(_field.getQSPHPSLanguageRes()?.lanResTag, _field.quickSearchPlaceHolder) + (index === quickSearchFields.length - 1 ? '' : ', '));
}else{
placeholder += (_this.$tl(_field.getLNPSLanguageRes()?.lanResTag, _field.logicName) + (index === quickSearchFields.length - 1 ? '' : ', '));
}
} }
}) })
} }
......
import { Emit, Prop, Watch } from 'vue-property-decorator'; import { Emit, Prop, Watch } from 'vue-property-decorator';
import { Util } from 'ibiz-core'; import { Util } from 'ibiz-core';
import { TabViewPanelBase } from '../../../widgets'; import { TabViewPanelBase } from '../../../widgets';
import { IPSAppDEView } from '@ibiz/dynamic-model-api/dist/types/exports'; import { IPSAppDEView } from '@ibiz/dynamic-model-api';
/** /**
* 分页视图面板部件基类 * 分页视图面板部件基类
......
...@@ -85,7 +85,6 @@ export class ViewToolbar extends Vue { ...@@ -85,7 +85,6 @@ export class ViewToolbar extends Vue {
if (this.toolbarModels) { if (this.toolbarModels) {
this.items = []; this.items = [];
this.format(); this.format();
console.log(this.items);
} }
} }
......
import { IPSAppDEField, IPSDEEditFormItem, IPSDEGridEditItem, IPSNumberEditor } from '@ibiz/dynamic-model-api'; import { IPSAppDEField } from '@ibiz/dynamic-model-api';
import { DataTypes, ModelTool, Util } from 'ibiz-core'; import { DataTypes, ModelTool, Util } from 'ibiz-core';
import { Vue, Component, Prop, Inject } from 'vue-property-decorator'; import { Component, Prop } from 'vue-property-decorator';
import { VueLifeCycleProcessing } from '../../../decorators'; import { VueLifeCycleProcessing } from '../../../decorators';
import { EditorBase } from '../editor-base/editor-base'; import { EditorBase } from '../editor-base/editor-base';
...@@ -45,20 +45,10 @@ export default class TextboxEditor extends EditorBase { ...@@ -45,20 +45,10 @@ export default class TextboxEditor extends EditorBase {
this.customProps.enableShowPwd = this.editorInstance.editorParams?.['enableShowPwd'] ? JSON.parse(this.editorInstance.editorParams['enableShowPwd'] as string) : false; this.customProps.enableShowPwd = this.editorInstance.editorParams?.['enableShowPwd'] ? JSON.parse(this.editorInstance.editorParams['enableShowPwd'] as string) : false;
break; break;
case 'TEXTAREA': case 'TEXTAREA':
this.customProps.isDebounce = this.isDebounce; this.initTextAreaParams();
this.customProps.type = 'textarea';
this.customProps.textareaId = Util.createUUID();
if (this.parentItem.contentHeight) {
this.customProps.textareaStyle = `height: ${this.parentItem.contentHeight}px`
}
break; break;
case 'TEXTAREA_10': case 'TEXTAREA_10':
this.customProps.isDebounce = this.isDebounce; this.initTextAreaParams();
this.customProps.type = 'textarea';
this.customProps.textareaId = Util.createUUID();
if (this.parentItem.contentHeight) {
this.customProps.textareaStyle = `height: ${this.parentItem.contentHeight}px`
}
this.customProps.rows = 10; this.customProps.rows = 10;
break; break;
case 'NUMBER': case 'NUMBER':
...@@ -74,10 +64,26 @@ export default class TextboxEditor extends EditorBase { ...@@ -74,10 +64,26 @@ export default class TextboxEditor extends EditorBase {
this.initFormatParams(); this.initFormatParams();
} }
/**
* 初始化多行文本输入框参数
*
* @memberof TextboxEditor
*/
initTextAreaParams() {
this.customProps.isDebounce = this.isDebounce;
this.customProps.type = 'textarea';
this.customProps.textareaId = Util.createUUID();
if (this.editorInstance.editorHeight) {
this.customProps.textareaStyle = `height: ${this.editorInstance.editorHeight}px; max-height: ${this.editorInstance.editorHeight}px`
}
if (this.parentItem.contentHeight) {
this.customProps.textareaStyle = `height: ${this.parentItem.contentHeight}px; max-height: ${this.parentItem.contentHeight}px`
}
}
/** /**
* 初始化格式化参数 * 初始化格式化参数
* *
* @param {*} value
* @memberof TextboxEditor * @memberof TextboxEditor
*/ */
public initFormatParams() { public initFormatParams() {
...@@ -158,6 +164,9 @@ export default class TextboxEditor extends EditorBase { ...@@ -158,6 +164,9 @@ export default class TextboxEditor extends EditorBase {
if (params.fontSize) { if (params.fontSize) {
param.fontSize = this.handleNumber(params.fontSize); param.fontSize = this.handleNumber(params.fontSize);
} }
if (params.enableShowPwd) {
param.enableShowPwd = this.handleBoolean(params.enableShowPwd);
}
return Object.assign(params, param); return Object.assign(params, param);
} }
......
...@@ -37,19 +37,23 @@ export class AppListModel { ...@@ -37,19 +37,23 @@ export class AppListModel {
let modelArray: any[] = [ let modelArray: any[] = [
{ {
name: 'size', name: 'size',
prop: 'size' prop: 'size',
dataType: 'QUERYPARAM'
}, },
{ {
name: 'query', name: 'query',
prop: 'query' prop: 'query',
dataType: 'QUERYPARAM'
}, },
{ {
name: 'sort', name: 'sort',
prop: 'sort' prop: 'sort',
dataType: 'QUERYPARAM'
}, },
{ {
name: 'page', name: 'page',
prop: 'page' prop: 'page',
dataType: 'QUERYPARAM'
}, },
// 前端新增修改标识,新增为"0",修改为"1"或未设值 // 前端新增修改标识,新增为"0",修改为"1"或未设值
{ {
......
.app-button.ivu-button { .app-button.ivu-button {
height: 28px;
font-size: 12px; font-size: 12px;
> span { > span {
......
...@@ -16,13 +16,7 @@ ...@@ -16,13 +16,7 @@
img { img {
padding-right: 3px; padding-right: 3px;
} }
} }
.ivu-tabs-tab.ivu-tabs-tab-active {
.tab-exp-title {
// border-bottom: 1px solid var(--view-font-color-bright);
}
}
> .ivu-tabs-content { > .ivu-tabs-content {
width: 100%; width: 100%;
...@@ -32,14 +26,14 @@ ...@@ -32,14 +26,14 @@
> .ivu-tabs-tabpane { > .ivu-tabs-tabpane {
width: 100%; width: 100%;
height: 100%; height: 100%;
> .tab-exp-item-content {
width: 100%;
height: 100%;
overflow-x: hidden;
overflow-y: auto;
}
} }
} }
> .tab-exp-item-content {
width: 100%;
height: 100%;
overflow-x: hidden;
overflow-y: auto;
}
} }
} }
...@@ -5,9 +5,6 @@ ...@@ -5,9 +5,6 @@
> .exp-actions { > .exp-actions {
height: 100%; height: 100%;
width: 48px; width: 48px;
// color: var(--leftsidebar-font-color);
// background: var(--leftsidebar-background-color);
> .action-item { > .action-item {
position: relative; position: relative;
height: 48px; height: 48px;
...@@ -33,8 +30,6 @@ ...@@ -33,8 +30,6 @@
} }
> .action-item.active { > .action-item.active {
// color: var(--leftsidebar-font-color-bright);
// background-color: var(--leftsidebar-background-color-bright);
> .active-item-indicator::before { > .active-item-indicator::before {
content: ''; content: '';
position: absolute; position: absolute;
...@@ -44,14 +39,8 @@ ...@@ -44,14 +39,8 @@
height: 100%; height: 100%;
width: 0; width: 0;
border-left: 2px solid; border-left: 2px solid;
// border-left-color: var(--leftsidebar-font-color-bright);
} }
} }
> .action-item:hover {
// color: var(--leftsidebar-font-color-bright);
// background-color: var(--leftsidebar-background-color-bright);
}
} }
> .exp-content { > .exp-content {
...@@ -65,7 +54,7 @@ ...@@ -65,7 +54,7 @@
overflow-x: hidden; overflow-x: hidden;
overflow-y: auto; overflow-y: auto;
.ivu-card-body{ .ivu-card-body{
height: calc(100% - 57px) !important; height: calc(100% - 57px) ;
} }
.view-header { .view-header {
> .quick-search { > .quick-search {
......
...@@ -2,77 +2,73 @@ ...@@ -2,77 +2,73 @@
height: 100%; height: 100%;
width: 100%; width: 100%;
> .ivu-split-wrapper.app-content-split.hidden-left { .app-content-left {
> .ivu-split-horizontal { height: 100%;
> .left-pane.ivu-split-pane { width: 100%;
right: calc(100vw - 48px) !important; }
}
.app-content-right.hidden-bottom {
> .ivu-split-wrapper {
> .ivu-split-vertical {
> .top-pane.ivu-split-pane {
bottom: 0px ;
} }
> .ivu-split-trigger-con { > .ivu-split-trigger-con {
display: none !important; display: none;
} }
> .right-pane.ivu-split-pane { > .bottom-pane.ivu-split-pane {
left: 48px !important; display: none;
} }
} }
} }
}
.ivu-split-wrapper.app-content-split.hidden-left {
> .ivu-split-horizontal {
> .left-pane.ivu-split-pane {
right: calc(100vw - 48px);
}
.app-content-left { > .ivu-split-trigger-con {
height: 100%; display: none;
width: 100%; }
> .right-pane.ivu-split-pane {
left: 48px;
}
} }
}
.app-content-right { .app-content-right {
height: 100%;
width: 100%;
.app-content-exp {
height: 100%; height: 100%;
width: 100%; width: 100%;
overflow: hidden;
.app-content-exp { > .view-warp {
height: 100%; height: calc(100% - 34px);
width: 100%;
overflow: hidden;
> .view-warp {
height: calc(100% - 34px);
}
}
.app-content-bottom {
position: relative;
height: 100%;
width: 100%;
> .app-content-bottom-close {
position: absolute;
cursor: pointer;
// color: var(--view-button-background-color);
top: 2px;
right: 5px;
font-size: 16px;
z-index: 1;
}
} }
} }
.app-content-right.hidden-bottom { .app-content-bottom {
> .ivu-split-wrapper { position: relative;
> .ivu-split-vertical { height: 100%;
> .top-pane.ivu-split-pane { width: 100%;
bottom: 0px !important;
}
> .ivu-split-trigger-con {
display: none;
}
> .bottom-pane.ivu-split-pane { > .app-content-bottom-close {
display: none; position: absolute;
} cursor: pointer;
} top: 2px;
right: 5px;
font-size: 16px;
z-index: 1;
} }
} }
} }
// 样式二布局修正 // 样式二布局修正
.app-layout.style2 { .app-layout.style2 {
.app-content { .app-content {
......
...@@ -4,10 +4,6 @@ ...@@ -4,10 +4,6 @@
align-items: center; align-items: center;
height: 100%; height: 100%;
padding: 0; padding: 0;
// color: var(--app-background-color);
// fill: var(--app-background-color);
// background: var(--app-footer-background-color);
> .app-footer-left, > .app-footer-left,
> .app-footer-center, > .app-footer-center,
> .app-footer-right { > .app-footer-right {
...@@ -18,8 +14,6 @@ ...@@ -18,8 +14,6 @@
> .item { > .item {
cursor: pointer; cursor: pointer;
padding: 0px 6px; padding: 0px 6px;
// color: var(--app-background-color);
// fill: var(--app-background-color);
font-size: 14px; font-size: 14px;
> .action-item { > .action-item {
......
...@@ -13,6 +13,7 @@ ...@@ -13,6 +13,7 @@
white-space: nowrap; white-space: nowrap;
font-size: 14px; font-size: 14px;
font-weight: 600; font-weight: 600;
line-height: 24px;
} }
&.label--top, &.label--bottom { &.label--top, &.label--bottom {
>.app-form-item__label { >.app-form-item__label {
......
...@@ -8,12 +8,9 @@ body { ...@@ -8,12 +8,9 @@ body {
width: 100vw; width: 100vw;
height: 100vh; height: 100vh;
overflow: hidden; overflow: hidden;
// background: var(--app-background-color);
// color: var(--app-font-color);
> .app-layout-header-warp { > .app-layout-header-warp {
height: 42px; height: 42px;
// border-bottom: 1px solid var(--app-font-color-light);
} }
> .app-layout-content-warp { > .app-layout-content-warp {
...@@ -22,6 +19,5 @@ body { ...@@ -22,6 +19,5 @@ body {
> .app-layout-footer-warp { > .app-layout-footer-warp {
height: 22px; height: 22px;
// border-top: 1px solid var(--app-font-color-light);
} }
} }
.app-picker { .app-picker {
width: 100%; width: 100%;
position: relative; position: relative;
.app-picker__select__icon {
top: 1px;
right: 5px;
font-size: 13px;
position: absolute;
}
} }
.app-picker__ac { .app-picker__ac {
...@@ -23,7 +29,12 @@ ...@@ -23,7 +29,12 @@
display: inline-block; display: inline-block;
} }
} }
} }
.app-picker__select {
.el-input__suffix {
right: 14px;
}
}
// 下拉列表的远程加载样式 // 下拉列表的远程加载样式
.app-picker__select__popper { .app-picker__select__popper {
.is-empty { .is-empty {
......
.view-header__right__quicksearch { .view-header__right__quicksearch {
.ivu-btn { .ivu-btn {
height: 28px;
border-top-left-radius: 0px; border-top-left-radius: 0px;
border-bottom-left-radius: 0px; border-bottom-left-radius: 0px;
margin-left: -1px; margin-left: -1px;
...@@ -15,17 +14,7 @@ ...@@ -15,17 +14,7 @@
} }
} }
.app-quick-search { .app-quick-search {
height: 28px;
max-width: 400px; max-width: 400px;
.ivu-icon-ios-search {
width: 28px;
height: 28px;
line-height: 28px;
}
.ivu-input {
height: 28px;
line-height: 28px;
}
&.is-filter { &.is-filter {
.ivu-input { .ivu-input {
border-top-right-radius: 0px; border-top-right-radius: 0px;
......
.wf-opinion-container { .wf-opinion-container {
height: 0px; height: 0px;
background-color: #F5F5F5; background-color: #F5F5F5;
.opinion-container__content {
.opinion-container__header { height: calc(100% - 40px);
width: 100%;
height: 40px;
background-color: #E2EEFE;
border-radius: 4px 4px 0px 0px;
display: flex; display: flex;
flex-direction: row; }
justify-content: space-between; .opinion-container__content__textarea {
color: #57A3FD; background-color: #fff;
width: 80%;
.opinion-container__header__title { margin: 10px 5px 26px 10px;
font-size: 14px; border-radius: 4px;
line-height: 20px;
padding: 10px 0px 10px 12px; >.ivu-form-item,
>.ivu-form-item>.ivu-form-item-content {
height: 100%;
} }
>.opinion-container__header__icon-container { .input-unit {
line-height: 20px; height: 100%;
// padding: 10px 12px 10px 0px; padding: 0px;
padding: 10px 0px;
.icon {
cursor: pointer;
}
.icon.enable {
cursor: no-drop;
}
& :first-child {
padding-right: 12px;
}
} }
} }
}
.opinion-container__header {
width: 100%;
height: 40px;
background-color: #E2EEFE;
border-radius: 4px 4px 0px 0px;
display: flex;
flex-direction: row;
justify-content: space-between;
color: #57A3FD;
.opinion-container__header__title {
font-size: 14px;
line-height: 20px;
padding: 10px 0px 10px 12px;
}
.opinion-container__content { >.opinion-container__header__icon-container {
height: calc(100% - 40px); line-height: 20px;
display: flex; padding: 10px 0px;
.opinion-container__content__textarea { .icon {
background-color: #fff; cursor: pointer;
width: 80%;
margin: 10px 5px 26px 10px;
border-radius: 4px;
>.ivu-form-item,
>.ivu-form-item>.ivu-form-item-content {
height: 100%;
}
.input-unit {
height: 100%;
padding: 0px;
}
} }
.opinion-container__content__navbar { .icon.enable {
border-radius: 4px; cursor: no-drop;
width: 20%; }
background-color: #fff;
margin: 10px 10px 26px 5px; & :first-child {
padding-right: 12px;
>.navbar__header {
padding: 8px 6px 2px 6px;
}
>.navbar__items {
display: flex;
flex-direction: column;
margin: 6px;
height: 100%;
//需要搜索框时恢复注释
// padding: 0px 8px;
// height: calc(100% - 42px);
overflow: auto;
.filter-item {
height: 28px;
font-size: 10px;
line-height: 28px;
padding-left: 11px;
cursor: pointer;
}
.filter-item.select-item,
.filter-item:hover {
background: #EFF6FF;
color: #57A3FD;
}
}
} }
} }
} }
...@@ -111,6 +71,42 @@ ...@@ -111,6 +71,42 @@
} }
.opinion-container__content__navbar {
border-radius: 4px;
width: 20%;
background-color: #fff;
margin: 10px 10px 26px 5px;
>.navbar__header {
padding: 8px 6px 2px 6px;
}
>.navbar__items {
display: flex;
flex-direction: column;
margin: 6px;
height: 100%;
//需要搜索框时恢复注释
// padding: 0px 8px;
// height: calc(100% - 42px);
overflow: auto;
.filter-item {
height: 28px;
font-size: 10px;
line-height: 28px;
padding-left: 11px;
cursor: pointer;
}
.filter-item.select-item,
.filter-item:hover {
background: #EFF6FF;
color: #57A3FD;
}
}
}
.view-default .app-wf-opinion { .view-default .app-wf-opinion {
.el-button { .el-button {
position: fixed; position: fixed;
......
...@@ -8,7 +8,6 @@ ...@@ -8,7 +8,6 @@
> div:nth-child(1) { > div:nth-child(1) {
flex-grow: 1; flex-grow: 1;
padding-left: 0; padding-left: 0;
// border-right: 1px solid var(--item-font-color);
display: flex; display: flex;
flex-direction: column; flex-direction: column;
} }
......
...@@ -13,14 +13,13 @@ ...@@ -13,14 +13,13 @@
width: 100px; width: 100px;
.flex(row, right, center); .flex(row, right, center);
> .ivu-btn { > .ivu-btn {
height: 28px;
width: 80px; width: 80px;
border-radius: 4px 0 0 4px; border-radius: 4px 0 0 4px;
} }
} }
.app-control-searchform__dropdown__icon { .app-control-searchform__dropdown__icon {
width: 20px; width: 20px;
height: 28px; height: 32px;
border-radius: 0 4px 4px 0; border-radius: 0 4px 4px 0;
.flex(row, center, center); .flex(row, center, center);
} }
......
...@@ -141,7 +141,11 @@ export class MDViewBase extends MainViewBase implements MDViewInterface { ...@@ -141,7 +141,11 @@ export class MDViewBase extends MainViewBase implements MDViewInterface {
quickSearchFields.forEach((field: IPSAppDEField, index: number) => { quickSearchFields.forEach((field: IPSAppDEField, index: number) => {
const _field: IPSAppDEField | null | undefined = (this.viewInstance as IPSAppDEMultiDataView).getPSAppDataEntity()?.findPSAppDEField(field.codeName); const _field: IPSAppDEField | null | undefined = (this.viewInstance as IPSAppDEMultiDataView).getPSAppDataEntity()?.findPSAppDEField(field.codeName);
if (_field) { if (_field) {
this.placeholder += (this.$tl(_field.getLNPSLanguageRes()?.lanResTag, _field.logicName) + (index === quickSearchFields.length - 1 ? '' : ', ')); if(_field.quickSearchPlaceHolder){
this.placeholder += (this.$tl(_field.getQSPHPSLanguageRes()?.lanResTag, _field.quickSearchPlaceHolder) + (index === quickSearchFields.length - 1 ? '' : ', '));
}else{
this.placeholder += (this.$tl(_field.getLNPSLanguageRes()?.lanResTag, _field.logicName) + (index === quickSearchFields.length - 1 ? '' : ', '));
}
} }
}) })
} }
......
...@@ -239,7 +239,11 @@ export class WfDynaExpGridViewBase extends MainViewBase implements WFDynaExpGrid ...@@ -239,7 +239,11 @@ export class WfDynaExpGridViewBase extends MainViewBase implements WFDynaExpGrid
quickSearchFields.forEach((field: IPSAppDEField, index: number) => { quickSearchFields.forEach((field: IPSAppDEField, index: number) => {
const _field: IPSAppDEField | null | undefined = (this.viewInstance as any).getPSAppDataEntity()?.findPSAppDEField(field.codeName); const _field: IPSAppDEField | null | undefined = (this.viewInstance as any).getPSAppDataEntity()?.findPSAppDEField(field.codeName);
if (_field) { if (_field) {
this.placeholder += (this.$tl(_field.getLNPSLanguageRes()?.lanResTag, _field.logicName) + (index === quickSearchFields.length - 1 ? '' : ', ')); if(_field.quickSearchPlaceHolder){
this.placeholder += (this.$tl(_field.getQSPHPSLanguageRes()?.lanResTag, _field.quickSearchPlaceHolder) + (index === quickSearchFields.length - 1 ? '' : ', '));
}else{
this.placeholder += (this.$tl(_field.getLNPSLanguageRes()?.lanResTag, _field.logicName) + (index === quickSearchFields.length - 1 ? '' : ', '));
}
} }
}) })
} }
......
import { IPSDERBase, IPSMapExpBar, IPSSysMap, IPSSysMapItem } from '@ibiz/dynamic-model-api'; import { IPSDERBase, IPSMapExpBar, IPSSysMap, IPSSysMapItem } from '@ibiz/dynamic-model-api';
import { IPSAppDataEntity } from '@ibiz/dynamic-model-api/dist/types/app/dataentity/ipsapp-data-entity'; import { IPSAppDataEntity } from '@ibiz/dynamic-model-api';
import { MapExpBarControlInterface, Util } from 'ibiz-core'; import { MapExpBarControlInterface, Util } from 'ibiz-core';
import { ExpBarControlBase } from './expbar-control-base'; import { ExpBarControlBase } from './expbar-control-base';
/** /**
......
...@@ -116,7 +116,7 @@ ...@@ -116,7 +116,7 @@
// 项文本色 // 项文本色
@item-text-color: @app-text-color; @item-text-color: @app-text-color;
// 项边框色 // 项边框色
@item-border-color: mix(@app-text-color, @app-background-color, 70%); @item-border-color: mix(@app-background-color, @app-text-color, 85%);
// 项背景色(激活) // 项背景色(激活)
@item-background-color--active: mix(@primary, #FFF, 20%); @item-background-color--active: mix(@primary, #FFF, 20%);
...@@ -343,7 +343,9 @@ body { ...@@ -343,7 +343,9 @@ body {
} }
// 表格样式 // 表格样式
.app-control-grid { .app-control-grid {
// 表格默认样式 .el-table td {
border-bottom: 1px solid @item-border-color;
}
.ascending .sort-caret.ascending { .ascending .sort-caret.ascending {
border-bottom-color: @color-primary-base !important; border-bottom-color: @color-primary-base !important;
} }
...@@ -2132,4 +2134,60 @@ body { ...@@ -2132,4 +2134,60 @@ body {
.approval-content-item-info-item{ .approval-content-item-info-item{
border-bottom:1px solid @color-primary-base; border-bottom:1px solid @color-primary-base;
} }
}
.app-content-right{
.app-content-bottom{
> .app-content-bottom-close{
color: @color-primary-base;
}
}
}
.app-content-bottom-exp{
.ivu-tabs-tab.ivu-tabs-tab-active {
.tab-exp-title {
border-bottom: 1px solid @color-primary-base;
}
}
}
.app-content-left-exp{
.action-item.active {
> .active-item-indicatorbefore {
border-left-color: @app-divider-color;
}
> .action-item:hover {
color: @item-text-color--hover;
background-color: @item-background-color--hover;
}
}
}
.app-footer{
color: @app-text-color;
fill: @app-text-color;
background: @app-background-color;
> .app-footer-left,
> .app-footer-center,
> .app-footer-right {
>.item{
color: @app-text-color;
fill: @app-text-color;
}
}
}
.app-layout{
> .app-layout-header-warp {
border-bottom: 1px solid @app-divider-color;
}
> .app-layout-footer-warp {
border-top: 1px solid @app-divider-color;
}
}
.left-and-right{
> div:nth-child(1) {
border-right: 1px solid @app-divider-color;
}
} }
\ No newline at end of file
...@@ -231,7 +231,7 @@ ...@@ -231,7 +231,7 @@
</changeSet> </changeSet>
<!--输出实体[REGINFOF]数据结构 --> <!--输出实体[REGINFOF]数据结构 -->
<changeSet author="root" id="tab-reginfof-40-9"> <changeSet author="root" id="tab-reginfof-41-9">
<createTable tableName="T_REGINFOF"> <createTable tableName="T_REGINFOF">
<column name="REGINFOFID" remarks="" type="VARCHAR(100)"> <column name="REGINFOFID" remarks="" type="VARCHAR(100)">
<constraints primaryKey="true" primaryKeyName="PK_REGINFOF"/> <constraints primaryKey="true" primaryKeyName="PK_REGINFOF"/>
......
...@@ -4,6 +4,7 @@ ...@@ -4,6 +4,7 @@
"codeName" : "ReginfofOptionView", "codeName" : "ReginfofOptionView",
"dynaModelFilePath" : "PSSYSAPPS/Web/PSAPPDEVIEWS/ReginfofOptionView.json", "dynaModelFilePath" : "PSSYSAPPS/Web/PSAPPDEVIEWS/ReginfofOptionView.json",
"name" : "ReginfofOptionView", "name" : "ReginfofOptionView",
"openMode" : "POPUPMODAL",
"getPSAppDataEntity" : { "getPSAppDataEntity" : {
"modelref" : true, "modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Reginfof.json" "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Reginfof.json"
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册