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

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

上级 361c35c2
.app-panel-field { .app-panel-field {
height: 100%; height: auto;
width: 100%; width: auto;
display: flex; display: flex;
padding: 0 8px; padding: 0 8px;
.editor{ .editor{
......
.app-simpleflex-container{ .app-simpleflex-container{
width: 100%; width: 100%;
height: 100%;
display: flex; display: flex;
.app-pos-container{ .app-pos-container{
.app-simpleflex-container-item{ .app-simpleflex-container-item{
......
...@@ -91,10 +91,10 @@ export class AppSimpleFlexContainer extends Vue { ...@@ -91,10 +91,10 @@ export class AppSimpleFlexContainer extends Vue {
} }
if (layoutPos && layoutPos.layout == 'SIMPLEFLEX') { if (layoutPos && layoutPos.layout == 'SIMPLEFLEX') {
if (layoutPos?.grow && (layoutPos?.grow !== -1)) { if (layoutPos?.grow && (layoutPos?.grow !== -1)) {
Object.assign(boxLayoutPosStyle, { width: `${(100 / 12) * layoutPos?.grow}%`, height: 'auto' }); Object.assign(boxLayoutPosStyle, { width: `${(100 / 12) * layoutPos?.grow}%`, height: '100%' });
} else { } else {
// 简单FLEX布局自适应 // 简单FLEX布局自适应
Object.assign(boxLayoutPosStyle, { 'flex-grow': 1, 'min-width': `${(100 / 12)}%`, height: 'auto' }); Object.assign(boxLayoutPosStyle, { 'flex-grow': 1, 'min-width': `${(100 / 12)}%`, height: '100%' });
} }
} }
// 边缘布局 // 边缘布局
......
...@@ -246,7 +246,7 @@ export class AppDataViewBase extends DataViewControlBase { ...@@ -246,7 +246,7 @@ export class AppDataViewBase extends DataViewControlBase {
</row> </row>
{this.selections.length > 0 ? this.renderBatchToolbar() : null} {this.selections.length > 0 ? this.renderBatchToolbar() : null}
{!this.ctrlLoadingService?.isLoading ? this.renderEmptyDataTip() : this.renderLoadDataTip()} {!this.ctrlLoadingService?.isLoading ? this.renderEmptyDataTip() : this.renderLoadDataTip()}
<el-backtop target={`#${this.controlId}`}></el-backtop> {this.backTopVisible && <el-backtop target={`#${this.controlId}`}></el-backtop>}
</div> </div>
); );
} }
......
...@@ -16,7 +16,7 @@ import SwitchEditor from './switch-editor/switch-editor'; ...@@ -16,7 +16,7 @@ import SwitchEditor from './switch-editor/switch-editor';
import IpAddressEditor from './ipaddress-editor/ipaddress-editor'; import IpAddressEditor from './ipaddress-editor/ipaddress-editor';
import { IPSEditor } from '@ibiz/dynamic-model-api'; import { IPSEditor } from '@ibiz/dynamic-model-api';
import CodeEditor from './code-editor/code-editor' import CodeEditor from './code-editor/code-editor'
import { AppServiceBase, LogUtil } from 'ibiz-core'; import { AppServiceBase, LogUtil, Util } from 'ibiz-core';
/** /**
...@@ -419,6 +419,7 @@ export class AppDefaultEditor extends Vue { ...@@ -419,6 +419,7 @@ export class AppDefaultEditor extends Vue {
if (editorComponentName) { if (editorComponentName) {
return this.$createElement(editorComponentName, { return this.$createElement(editorComponentName, {
class: this.editorInstance?.getPSSysCss()?.cssName, class: this.editorInstance?.getPSSysCss()?.cssName,
key: Util.createUUID(),
ref: 'editor', ref: 'editor',
props: { props: {
editorInstance: editor, editorInstance: editor,
......
...@@ -236,6 +236,21 @@ export class DataViewControlBase extends MDControlBase implements DataViewContro ...@@ -236,6 +236,21 @@ export class DataViewControlBase extends MDControlBase implements DataViewContro
*/ */
public dataviewControlEvent: Subscription | undefined; public dataviewControlEvent: Subscription | undefined;
/**
* @description 是否显示回到顶部
* @readonly
* @type {boolean}
* @memberof DataViewControlBase
*/
get backTopVisible(): boolean {
let visible: boolean = false;
const el = document.querySelector(`#${this.controlId}`);
if (el) {
visible = true;
}
return visible;
}
/** /**
* 监听静态参数变化 * 监听静态参数变化
* *
......
...@@ -3,7 +3,7 @@ services: ...@@ -3,7 +3,7 @@ services:
trainsys-app-web: trainsys-app-web:
image: dstimage image: dstimage
ports: ports:
- "50100:80" - "80:80"
networks: networks:
- agent_network - agent_network
environment: environment:
......
...@@ -55,15 +55,6 @@ ...@@ -55,15 +55,6 @@
git clone -b master $para2 trainsys/ git clone -b master $para2 trainsys/
export NODE_OPTIONS=--max-old-space-size=4096 export NODE_OPTIONS=--max-old-space-size=4096
cd trainsys/ cd trainsys/
mkdir -p /var/lib/jenkins/appcache/A3064A91-F42D-4D7F-BC1C-4173A4F5772C
if [ -e app_Web/.dynamic ]
then
cd app_Web
else
cd app_Web/app
fi
sed -i "s#dstimage#registry.cn-shanghai.aliyuncs.com/ibizsys/ibizcloud-standardsys-app-webapp:2022.07.29.003#g" swarm.yaml
docker -H $para1 stack deploy --compose-file=swarm.yaml ebsx --with-registry-auth
</command> </command>
</hudson.tasks.Shell> </hudson.tasks.Shell>
</builders> </builders>
......
...@@ -50,7 +50,7 @@ ...@@ -50,7 +50,7 @@
</changeSet> </changeSet>
<!--输出实体[BOOK]数据结构 --> <!--输出实体[BOOK]数据结构 -->
<changeSet author="root" id="tab-book-114-3"> <changeSet author="root" id="tab-book-115-3">
<createTable tableName="T_BOOK"> <createTable tableName="T_BOOK">
<column name="BOOKNAME" remarks="" type="VARCHAR(200)"> <column name="BOOKNAME" remarks="" type="VARCHAR(200)">
</column> </column>
......
...@@ -36,7 +36,7 @@ ...@@ -36,7 +36,7 @@
"value" : "1" "value" : "1"
} ], } ],
"getPSCodeListTemplId" : "CODELIST_00054", "getPSCodeListTemplId" : "CODELIST_00054",
"refFlag" : false, "refFlag" : true,
"systemTag" : "TrainSys", "systemTag" : "TrainSys",
"codeItemValueNumber" : false, "codeItemValueNumber" : false,
"enableCache" : true, "enableCache" : true,
......
...@@ -2,6 +2,9 @@ ...@@ -2,6 +2,9 @@
"getAllPSCodeLists" : [ { "getAllPSCodeLists" : [ {
"modelref" : true, "modelref" : true,
"path" : "PSMODULES/common/PSCODELISTS/PhoneType.json" "path" : "PSMODULES/common/PSCODELISTS/PhoneType.json"
}, {
"modelref" : true,
"path" : "PSMODULES/common/PSCODELISTS/CodeList.json"
} ], } ],
"getAllPSDataEntities" : [ { "getAllPSDataEntities" : [ {
"modelref" : true, "modelref" : true,
......
{
"codeListTag" : "common__CodeList",
"codeListType" : "DYNAMIC",
"codeName" : "CodeList",
"dynaInstMode" : 0,
"dynaModelFilePath" : "PSMODULES/common/PSCODELISTS/CodeList.json",
"emptyText" : "未定义",
"name" : "原材料(动态)",
"getPSDEDataSet" : {
"modelref" : true,
"id" : "Default"
},
"getPSDataEntity" : {
"modelref" : true,
"path" : "PSMODULES/common/PSDATAENTITIES/RawMaterial.json"
},
"getPSSystemModule" : {
"modelref" : true,
"path" : "PSMODULES/common.json"
},
"refFlag" : true,
"systemTag" : "TrainSys",
"codeItemValueNumber" : false,
"enableCache" : true,
"subSysAsCloud" : false,
"subSysCodeList" : false,
"userScope" : false
}
\ No newline at end of file
{
"codeListTag" : "common__CodeList",
"codeListType" : "DYNAMIC",
"codeName" : "CodeList",
"dynaInstMode" : 0,
"dynaModelFilePath" : "PSSYSAPPS/Web/PSAPPCODELISTS/CodeList.json",
"emptyText" : "未定义",
"name" : "原材料(动态)",
"getPSAppDEDataSet" : {
"modelref" : true,
"id" : "FetchDefault"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/RawMaterial.json"
},
"enableCache" : true
}
\ No newline at end of file
{
"codeListTag" : "CodeList46",
"codeListType" : "STATIC",
"codeName" : "CodeList46",
"dynaInstMode" : 0,
"dynaModelFilePath" : "PSSYSAPPS/Web/PSAPPCODELISTS/CodeList46.json",
"emptyText" : "未定义",
"name" : "星期(1~7)",
"getPSCodeItems" : [ {
"codeName" : "Item_2",
"text" : "星期一",
"value" : "2"
}, {
"codeName" : "Item_3",
"text" : "星期二",
"value" : "3"
}, {
"codeName" : "Item_4",
"text" : "星期三",
"value" : "4"
}, {
"codeName" : "Item_5",
"text" : "星期四",
"value" : "5"
}, {
"codeName" : "Item_6",
"text" : "星期五",
"value" : "6"
}, {
"codeName" : "Item_7",
"text" : "星期六",
"value" : "7"
}, {
"codeName" : "Item_1",
"text" : "星期日",
"value" : "1"
} ],
"enableCache" : true
}
\ No newline at end of file
...@@ -377,7 +377,11 @@ ...@@ -377,7 +377,11 @@
}, },
"getPSEditor" : { "getPSEditor" : {
"editorType" : "CHECKBOXLIST", "editorType" : "CHECKBOXLIST",
"name" : "field3" "name" : "field3",
"getPSAppCodeList" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPCODELISTS/CodeList46.json"
}
}, },
"getPSLayoutPos" : { "getPSLayoutPos" : {
"colMD" : 24, "colMD" : 24,
...@@ -404,7 +408,11 @@ ...@@ -404,7 +408,11 @@
}, },
"getPSEditor" : { "getPSEditor" : {
"editorType" : "RADIOBUTTONLIST", "editorType" : "RADIOBUTTONLIST",
"name" : "field5" "name" : "field5",
"getPSAppCodeList" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPCODELISTS/CodeList.json"
}
}, },
"getPSLayoutPos" : { "getPSLayoutPos" : {
"colMD" : 24, "colMD" : 24,
......
...@@ -498,7 +498,11 @@ ...@@ -498,7 +498,11 @@
}, },
"getPSEditor" : { "getPSEditor" : {
"editorType" : "CHECKBOXLIST", "editorType" : "CHECKBOXLIST",
"name" : "field3" "name" : "field3",
"getPSAppCodeList" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPCODELISTS/CodeList46.json"
}
}, },
"getPSLayoutPos" : { "getPSLayoutPos" : {
"colMD" : 24, "colMD" : 24,
...@@ -525,7 +529,11 @@ ...@@ -525,7 +529,11 @@
}, },
"getPSEditor" : { "getPSEditor" : {
"editorType" : "RADIOBUTTONLIST", "editorType" : "RADIOBUTTONLIST",
"name" : "field5" "name" : "field5",
"getPSAppCodeList" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPCODELISTS/CodeList.json"
}
}, },
"getPSLayoutPos" : { "getPSLayoutPos" : {
"colMD" : 24, "colMD" : 24,
......
{ {
"getAllPSAppCodeLists" : [ { "getAllPSAppCodeLists" : [ {
"codeListTag" : "common__CodeList",
"codeListType" : "DYNAMIC",
"codeName" : "CodeList",
"dynaInstMode" : 0,
"dynaModelFilePath" : "PSSYSAPPS/Web/PSAPPCODELISTS/CodeList.json",
"emptyText" : "未定义",
"name" : "原材料(动态)",
"getPSAppDEDataSet" : {
"modelref" : true,
"id" : "FetchDefault"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/RawMaterial.json"
},
"enableCache" : true
}, {
"codeListTag" : "CodeList46",
"codeListType" : "STATIC",
"codeName" : "CodeList46",
"dynaInstMode" : 0,
"dynaModelFilePath" : "PSSYSAPPS/Web/PSAPPCODELISTS/CodeList46.json",
"emptyText" : "未定义",
"name" : "星期(1~7)",
"getPSCodeItems" : [ {
"codeName" : "Item_2",
"text" : "星期一",
"value" : "2"
}, {
"codeName" : "Item_3",
"text" : "星期二",
"value" : "3"
}, {
"codeName" : "Item_4",
"text" : "星期三",
"value" : "4"
}, {
"codeName" : "Item_5",
"text" : "星期四",
"value" : "5"
}, {
"codeName" : "Item_6",
"text" : "星期五",
"value" : "6"
}, {
"codeName" : "Item_7",
"text" : "星期六",
"value" : "7"
}, {
"codeName" : "Item_1",
"text" : "星期日",
"value" : "1"
} ],
"enableCache" : true
}, {
"codeListTag" : "common__PhoneType", "codeListTag" : "common__PhoneType",
"codeListType" : "STATIC", "codeListType" : "STATIC",
"codeName" : "PhoneType", "codeName" : "PhoneType",
...@@ -4541,7 +4596,11 @@ ...@@ -4541,7 +4596,11 @@
}, },
"getPSEditor" : { "getPSEditor" : {
"editorType" : "CHECKBOXLIST", "editorType" : "CHECKBOXLIST",
"name" : "field3" "name" : "field3",
"getPSAppCodeList" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPCODELISTS/CodeList46.json"
}
}, },
"getPSLayoutPos" : { "getPSLayoutPos" : {
"colMD" : 24, "colMD" : 24,
...@@ -4568,7 +4627,11 @@ ...@@ -4568,7 +4627,11 @@
}, },
"getPSEditor" : { "getPSEditor" : {
"editorType" : "RADIOBUTTONLIST", "editorType" : "RADIOBUTTONLIST",
"name" : "field5" "name" : "field5",
"getPSAppCodeList" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPCODELISTS/CodeList.json"
}
}, },
"getPSLayoutPos" : { "getPSLayoutPos" : {
"colMD" : 24, "colMD" : 24,
......
...@@ -324,6 +324,9 @@ ...@@ -324,6 +324,9 @@
}, { }, {
"modelref" : true, "modelref" : true,
"path" : "PSCODELISTS/CodeList49.json" "path" : "PSCODELISTS/CodeList49.json"
}, {
"modelref" : true,
"path" : "PSMODULES/common/PSCODELISTS/CodeList.json"
}, { }, {
"modelref" : true, "modelref" : true,
"path" : "PSCODELISTS/CodeList26.json" "path" : "PSCODELISTS/CodeList26.json"
...@@ -565,6 +568,9 @@ ...@@ -565,6 +568,9 @@
"getAllPSCodeLists" : [ { "getAllPSCodeLists" : [ {
"modelref" : true, "modelref" : true,
"path" : "PSMODULES/common/PSCODELISTS/PhoneType.json" "path" : "PSMODULES/common/PSCODELISTS/PhoneType.json"
}, {
"modelref" : true,
"path" : "PSMODULES/common/PSCODELISTS/CodeList.json"
} ], } ],
"getAllPSDataEntities" : [ { "getAllPSDataEntities" : [ {
"modelref" : true, "modelref" : true,
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册