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

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

上级 57d688d0
......@@ -13,13 +13,13 @@
"dependencies": {
"@floating-ui/dom": "^1.0.11",
"@ibiz-template/command": "^0.0.1-beta.50",
"@ibiz-template/controller": "^0.0.1-beta.112",
"@ibiz-template/core": "^0.0.1-beta.112",
"@ibiz-template/model": "^0.0.1-beta.112",
"@ibiz-template/runtime": "^0.0.1-beta.112",
"@ibiz-template/service": "^0.0.1-beta.112",
"@ibiz-template/theme": "^0.0.1-beta.112",
"@ibiz-template/vue-util": "^0.0.1-beta.112",
"@ibiz-template/controller": "^0.0.1-beta.113",
"@ibiz-template/core": "^0.0.1-beta.113",
"@ibiz-template/model": "^0.0.1-beta.113",
"@ibiz-template/runtime": "^0.0.1-beta.113",
"@ibiz-template/service": "^0.0.1-beta.113",
"@ibiz-template/theme": "^0.0.1-beta.113",
"@ibiz-template/vue-util": "^0.0.1-beta.113",
"@ibiz/dynamic-model-api": "^2.1.28",
"@riophae/vue-treeselect": "^0.4.0",
"dayjs": "^1.11.7",
......
lockfileVersion: '6.0'
lockfileVersion: '6.1'
settings:
autoInstallPeers: true
......@@ -12,26 +12,26 @@ dependencies:
specifier: ^0.0.1-beta.50
version: 0.0.1-beta.50
'@ibiz-template/controller':
specifier: ^0.0.1-beta.112
version: 0.0.1-beta.112(@ibiz-template/core@0.0.1-beta.112)(@ibiz-template/model@0.0.1-beta.112)(@ibiz-template/runtime@0.0.1-beta.112)(@ibiz-template/service@0.0.1-beta.112)(lodash-es@4.17.21)(qs@6.11.1)(qx-util@0.4.8)
specifier: ^0.0.1-beta.113
version: 0.0.1-beta.113(@ibiz-template/core@0.0.1-beta.113)(@ibiz-template/model@0.0.1-beta.113)(@ibiz-template/runtime@0.0.1-beta.113)(@ibiz-template/service@0.0.1-beta.113)(lodash-es@4.17.21)(qs@6.11.1)(qx-util@0.4.8)
'@ibiz-template/core':
specifier: ^0.0.1-beta.112
version: 0.0.1-beta.112(lodash-es@4.17.21)(qx-util@0.4.8)(ramda@0.28.0)
specifier: ^0.0.1-beta.113
version: 0.0.1-beta.113(lodash-es@4.17.21)(qx-util@0.4.8)(ramda@0.28.0)
'@ibiz-template/model':
specifier: ^0.0.1-beta.112
version: 0.0.1-beta.112(@ibiz/dynamic-model-api@2.1.28)(lodash-es@4.17.21)(qx-util@0.4.8)
specifier: ^0.0.1-beta.113
version: 0.0.1-beta.113(@ibiz/dynamic-model-api@2.1.28)(lodash-es@4.17.21)(qx-util@0.4.8)
'@ibiz-template/runtime':
specifier: ^0.0.1-beta.112
version: 0.0.1-beta.112(@ibiz-template/core@0.0.1-beta.112)(@ibiz-template/model@0.0.1-beta.112)(@ibiz-template/service@0.0.1-beta.112)(qx-util@0.4.8)
specifier: ^0.0.1-beta.113
version: 0.0.1-beta.113(@ibiz-template/core@0.0.1-beta.113)(@ibiz-template/model@0.0.1-beta.113)(@ibiz-template/service@0.0.1-beta.113)(qx-util@0.4.8)
'@ibiz-template/service':
specifier: ^0.0.1-beta.112
version: 0.0.1-beta.112(@ibiz-template/core@0.0.1-beta.112)(@ibiz-template/model@0.0.1-beta.112)(qx-util@0.4.8)(ramda@0.28.0)
specifier: ^0.0.1-beta.113
version: 0.0.1-beta.113(@ibiz-template/core@0.0.1-beta.113)(@ibiz-template/model@0.0.1-beta.113)(qx-util@0.4.8)(ramda@0.28.0)
'@ibiz-template/theme':
specifier: ^0.0.1-beta.112
version: 0.0.1-beta.112
specifier: ^0.0.1-beta.113
version: 0.0.1-beta.113
'@ibiz-template/vue-util':
specifier: ^0.0.1-beta.112
version: 0.0.1-beta.112(@ibiz-template/controller@0.0.1-beta.112)(@ibiz-template/core@0.0.1-beta.112)(@ibiz-template/model@0.0.1-beta.112)(@ibiz-template/service@0.0.1-beta.112)(qs@6.11.1)(qx-util@0.4.8)(ramda@0.28.0)(vue-router@3.6.5)(vue@2.7.14)
specifier: ^0.0.1-beta.113
version: 0.0.1-beta.113(@ibiz-template/controller@0.0.1-beta.113)(@ibiz-template/core@0.0.1-beta.113)(@ibiz-template/model@0.0.1-beta.113)(@ibiz-template/service@0.0.1-beta.113)(qs@6.11.1)(qx-util@0.4.8)(ramda@0.28.0)(vue-router@3.6.5)(vue@2.7.14)
'@ibiz/dynamic-model-api':
specifier: ^2.1.28
version: 2.1.28(qx-util@0.4.8)
......@@ -939,8 +939,8 @@ packages:
qx-util: 0.4.8
dev: false
/@ibiz-template/controller@0.0.1-beta.112(@ibiz-template/core@0.0.1-beta.112)(@ibiz-template/model@0.0.1-beta.112)(@ibiz-template/runtime@0.0.1-beta.112)(@ibiz-template/service@0.0.1-beta.112)(lodash-es@4.17.21)(qs@6.11.1)(qx-util@0.4.8):
resolution: {integrity: sha512-bRdYu/KSs0Wez+5LZR+a+8xrx1cK9W5n1h8O9T+TWllfMcTPUoZxh8po4wnfQvWLqPIsX8szAk48U9s5aYlwdQ==}
/@ibiz-template/controller@0.0.1-beta.113(@ibiz-template/core@0.0.1-beta.113)(@ibiz-template/model@0.0.1-beta.113)(@ibiz-template/runtime@0.0.1-beta.113)(@ibiz-template/service@0.0.1-beta.113)(lodash-es@4.17.21)(qs@6.11.1)(qx-util@0.4.8):
resolution: {integrity: sha512-cVxCtMKkQIuLgQ8skUXkgHkoVzMYLY/jfXBwnnkf0tABqi216bRDZWIwWkCp7W+C/8poLJRQKrPPtbRYXX6CLA==}
peerDependencies:
'@ibiz-template/core': ^0.0.1-beta.30
'@ibiz-template/model': ^0.0.1-beta.30
......@@ -950,10 +950,10 @@ packages:
qs: ^6.11.0
qx-util: ^0.4.8
dependencies:
'@ibiz-template/core': 0.0.1-beta.112(lodash-es@4.17.21)(qx-util@0.4.8)(ramda@0.28.0)
'@ibiz-template/model': 0.0.1-beta.112(@ibiz/dynamic-model-api@2.1.28)(lodash-es@4.17.21)(qx-util@0.4.8)
'@ibiz-template/runtime': 0.0.1-beta.112(@ibiz-template/core@0.0.1-beta.112)(@ibiz-template/model@0.0.1-beta.112)(@ibiz-template/service@0.0.1-beta.112)(qx-util@0.4.8)
'@ibiz-template/service': 0.0.1-beta.112(@ibiz-template/core@0.0.1-beta.112)(@ibiz-template/model@0.0.1-beta.112)(qx-util@0.4.8)(ramda@0.28.0)
'@ibiz-template/core': 0.0.1-beta.113(lodash-es@4.17.21)(qx-util@0.4.8)(ramda@0.28.0)
'@ibiz-template/model': 0.0.1-beta.113(@ibiz/dynamic-model-api@2.1.28)(lodash-es@4.17.21)(qx-util@0.4.8)
'@ibiz-template/runtime': 0.0.1-beta.113(@ibiz-template/core@0.0.1-beta.113)(@ibiz-template/model@0.0.1-beta.113)(@ibiz-template/service@0.0.1-beta.113)(qx-util@0.4.8)
'@ibiz-template/service': 0.0.1-beta.113(@ibiz-template/core@0.0.1-beta.113)(@ibiz-template/model@0.0.1-beta.113)(qx-util@0.4.8)(ramda@0.28.0)
async-validator: 4.2.5
dayjs: 1.11.7
lodash-es: 4.17.21
......@@ -961,8 +961,8 @@ packages:
qx-util: 0.4.8
dev: false
/@ibiz-template/core@0.0.1-beta.112(lodash-es@4.17.21)(qx-util@0.4.8)(ramda@0.28.0):
resolution: {integrity: sha512-PxuEulENPwd2sz3l4caqQSE/GDGlUjhRC85Niz+CtmCvdr2MNn1X0obsZ/eYT2nK3WCGIu83Zc3JnK+F5OtcLw==}
/@ibiz-template/core@0.0.1-beta.113(lodash-es@4.17.21)(qx-util@0.4.8)(ramda@0.28.0):
resolution: {integrity: sha512-xmSAxwrJyRLNZpyf1vyT32Ui1NSrh2GogcjI0nPbzqyChs8pzq8m7hwzvEZRlvyLl5hwnSTWkuvY3wuvfRQ42Q==}
peerDependencies:
lodash-es: ^4.17.21
qx-util: ^0.4.8
......@@ -979,8 +979,8 @@ packages:
- debug
dev: false
/@ibiz-template/model@0.0.1-beta.112(@ibiz/dynamic-model-api@2.1.28)(lodash-es@4.17.21)(qx-util@0.4.8):
resolution: {integrity: sha512-mM2Z4RnsNRTGlZygY5w/SUjjCyX8nn1kF2aCvG5WctQsa4FqVqA3veD1m+Sm9l+vq811/by4yT+UuM7bwF7gYg==}
/@ibiz-template/model@0.0.1-beta.113(@ibiz/dynamic-model-api@2.1.28)(lodash-es@4.17.21)(qx-util@0.4.8):
resolution: {integrity: sha512-TTeCRYaCwUQHZI3HSizaVykOC2NPS1ifxlo774giG+SmgaZ16zSVRveL9+JsbSwaj+sye0fqS7wPHNCT/0kUew==}
peerDependencies:
'@ibiz/dynamic-model-api': ^2.1.28
lodash-es: ^4.17.21
......@@ -992,8 +992,8 @@ packages:
qx-util: 0.4.8
dev: false
/@ibiz-template/runtime@0.0.1-beta.112(@ibiz-template/core@0.0.1-beta.112)(@ibiz-template/model@0.0.1-beta.112)(@ibiz-template/service@0.0.1-beta.112)(qx-util@0.4.8):
resolution: {integrity: sha512-trdCDyZsRdsvRlRck3KWyV1ScuCSghvhcdknW4v2Cm2tVTlf5GzxG3JqBVflfCZjXZRMWAIWVKXLgIMNwxoy2g==}
/@ibiz-template/runtime@0.0.1-beta.113(@ibiz-template/core@0.0.1-beta.113)(@ibiz-template/model@0.0.1-beta.113)(@ibiz-template/service@0.0.1-beta.113)(qx-util@0.4.8):
resolution: {integrity: sha512-WbhZjd3UETF1k/7IAId1ROaoHA40xReVWSivvZ4VqE3UjHbZguqTcdamCX/ftLy/+FRuF4WF7XUUPVD6vhLK/A==}
peerDependencies:
'@ibiz-template/core': ^0.0.1-beta.30
'@ibiz-template/model': ^0.0.1-beta.30
......@@ -1001,33 +1001,33 @@ packages:
qx-util: ^0.4.8
dependencies:
'@ibiz-template/command': 0.0.1-beta.50
'@ibiz-template/core': 0.0.1-beta.112(lodash-es@4.17.21)(qx-util@0.4.8)(ramda@0.28.0)
'@ibiz-template/model': 0.0.1-beta.112(@ibiz/dynamic-model-api@2.1.28)(lodash-es@4.17.21)(qx-util@0.4.8)
'@ibiz-template/service': 0.0.1-beta.112(@ibiz-template/core@0.0.1-beta.112)(@ibiz-template/model@0.0.1-beta.112)(qx-util@0.4.8)(ramda@0.28.0)
'@ibiz-template/core': 0.0.1-beta.113(lodash-es@4.17.21)(qx-util@0.4.8)(ramda@0.28.0)
'@ibiz-template/model': 0.0.1-beta.113(@ibiz/dynamic-model-api@2.1.28)(lodash-es@4.17.21)(qx-util@0.4.8)
'@ibiz-template/service': 0.0.1-beta.113(@ibiz-template/core@0.0.1-beta.113)(@ibiz-template/model@0.0.1-beta.113)(qx-util@0.4.8)(ramda@0.28.0)
qs: 6.11.1
qx-util: 0.4.8
dev: false
/@ibiz-template/service@0.0.1-beta.112(@ibiz-template/core@0.0.1-beta.112)(@ibiz-template/model@0.0.1-beta.112)(qx-util@0.4.8)(ramda@0.28.0):
resolution: {integrity: sha512-XUPOUOGLuS07J7tO3o/mkXxsCMoth3V0tEWgjBiV6ZKOUdoPNfqb0TNzKBM9+1Gq0aCPE1SJ9uP7GRi3AJyvJw==}
/@ibiz-template/service@0.0.1-beta.113(@ibiz-template/core@0.0.1-beta.113)(@ibiz-template/model@0.0.1-beta.113)(qx-util@0.4.8)(ramda@0.28.0):
resolution: {integrity: sha512-/ECAWV7G15MUgXNu0wvyNeFW912XCAOyVxoC2IhigKksEGRdnUdYA6UpreSQvlODgh0Kb3OjJm8K2yJOvy5Nkg==}
peerDependencies:
'@ibiz-template/core': ^0.0.1-beta.30
'@ibiz-template/model': ^0.0.1-beta.30
qx-util: ^0.4.8
ramda: ^0.28.0
dependencies:
'@ibiz-template/core': 0.0.1-beta.112(lodash-es@4.17.21)(qx-util@0.4.8)(ramda@0.28.0)
'@ibiz-template/model': 0.0.1-beta.112(@ibiz/dynamic-model-api@2.1.28)(lodash-es@4.17.21)(qx-util@0.4.8)
'@ibiz-template/core': 0.0.1-beta.113(lodash-es@4.17.21)(qx-util@0.4.8)(ramda@0.28.0)
'@ibiz-template/model': 0.0.1-beta.113(@ibiz/dynamic-model-api@2.1.28)(lodash-es@4.17.21)(qx-util@0.4.8)
qx-util: 0.4.8
ramda: 0.28.0
dev: false
/@ibiz-template/theme@0.0.1-beta.112:
resolution: {integrity: sha512-uTcO5VINqiBCOQot8aBF6eSKWJc5cUEASjDTg9m8AOeveM5cHLWtMnYD/TgyR7ffXHraZAvQL8MveMRfPnj1uA==}
/@ibiz-template/theme@0.0.1-beta.113:
resolution: {integrity: sha512-q5exdQNNfqD1Bgz917459kdxGGAsbgtij/TNyebUpZTqNJFaxz8zJfYZL6fGnLgWcQcmz1crMcITyxmW5tEaZA==}
dev: false
/@ibiz-template/vue-util@0.0.1-beta.112(@ibiz-template/controller@0.0.1-beta.112)(@ibiz-template/core@0.0.1-beta.112)(@ibiz-template/model@0.0.1-beta.112)(@ibiz-template/service@0.0.1-beta.112)(qs@6.11.1)(qx-util@0.4.8)(ramda@0.28.0)(vue-router@3.6.5)(vue@2.7.14):
resolution: {integrity: sha512-r+QeZZsvXCI9MIf2dTlEPFCJss1Zmm6X8njpT7SaXgVoEgJd464M8bvftVlYfFkXR8YP8mOXVDidIkt9eHjYGw==}
/@ibiz-template/vue-util@0.0.1-beta.113(@ibiz-template/controller@0.0.1-beta.113)(@ibiz-template/core@0.0.1-beta.113)(@ibiz-template/model@0.0.1-beta.113)(@ibiz-template/service@0.0.1-beta.113)(qs@6.11.1)(qx-util@0.4.8)(ramda@0.28.0)(vue-router@3.6.5)(vue@2.7.14):
resolution: {integrity: sha512-g0xfcyVxZOIUju6Oc4mzifq9iTP1Py3Gtd3s6iUb9tjA8Jgr32LT3tL1S1bH9myACcoC+ygL+nIKBKwz/+V4ZQ==}
peerDependencies:
'@ibiz-template/controller': ^0.0.1-beta.30
'@ibiz-template/core': ^0.0.1-beta.30
......@@ -1039,10 +1039,10 @@ packages:
vue: ^2.7.14
vue-router: ^3.6.5
dependencies:
'@ibiz-template/controller': 0.0.1-beta.112(@ibiz-template/core@0.0.1-beta.112)(@ibiz-template/model@0.0.1-beta.112)(@ibiz-template/runtime@0.0.1-beta.112)(@ibiz-template/service@0.0.1-beta.112)(lodash-es@4.17.21)(qs@6.11.1)(qx-util@0.4.8)
'@ibiz-template/core': 0.0.1-beta.112(lodash-es@4.17.21)(qx-util@0.4.8)(ramda@0.28.0)
'@ibiz-template/model': 0.0.1-beta.112(@ibiz/dynamic-model-api@2.1.28)(lodash-es@4.17.21)(qx-util@0.4.8)
'@ibiz-template/service': 0.0.1-beta.112(@ibiz-template/core@0.0.1-beta.112)(@ibiz-template/model@0.0.1-beta.112)(qx-util@0.4.8)(ramda@0.28.0)
'@ibiz-template/controller': 0.0.1-beta.113(@ibiz-template/core@0.0.1-beta.113)(@ibiz-template/model@0.0.1-beta.113)(@ibiz-template/runtime@0.0.1-beta.113)(@ibiz-template/service@0.0.1-beta.113)(lodash-es@4.17.21)(qs@6.11.1)(qx-util@0.4.8)
'@ibiz-template/core': 0.0.1-beta.113(lodash-es@4.17.21)(qx-util@0.4.8)(ramda@0.28.0)
'@ibiz-template/model': 0.0.1-beta.113(@ibiz/dynamic-model-api@2.1.28)(lodash-es@4.17.21)(qx-util@0.4.8)
'@ibiz-template/service': 0.0.1-beta.113(@ibiz-template/core@0.0.1-beta.113)(@ibiz-template/model@0.0.1-beta.113)(qx-util@0.4.8)(ramda@0.28.0)
qs: 6.11.1
qx-util: 0.4.8
ramda: 0.28.0
......
......@@ -66,14 +66,37 @@ export const IBizImageUpload = defineComponent({
},
render() {
// 编辑态展示
return (
<div
class={[
this.ns.b(),
this.disabled ? this.ns.m('disabled') : '',
this.readonly ? this.ns.m('readonly') : '',
]}
>
let content = null;
if (this.c.model.editorType === 'PICTURE_ONE') {
if (this.files[0]) {
const item = this.files[0];
content = (
<div class={this.ns.e('image-upload-list')}>
<div key={item.id} class={this.ns.e('list-item')}>
<img src={item.url} />
<div class={this.ns.e('list-item-cover')}>
<i-icon
class={this.ns.e('preview-icon')}
type='ios-eye-outline'
on-click={() => this.onPreview(item)}
></i-icon>
<i-icon
class={this.ns.e('download-icon')}
type='ios-download-outline'
on-click={() => this.onDownload(item)}
></i-icon>
<i-icon
class={this.ns.e('remove-icon')}
type='ios-trash-outline'
on-click={() => this.onRemove(item)}
></i-icon>
</div>
</div>
</div>
);
}
} else {
content = (
<div class={this.ns.e('image-upload-list')}>
{this.files.map(item => (
<div key={item.id} class={this.ns.e('list-item')}>
......@@ -98,6 +121,23 @@ export const IBizImageUpload = defineComponent({
</div>
))}
</div>
);
}
return (
<div
class={[
this.ns.b(),
this.disabled ? this.ns.m('disabled') : '',
this.readonly ? this.ns.m('readonly') : '',
this.c.style.width || this.c.style.height
? this.ns.m(this.c.model.editorType)
: '',
]}
style={this.c.style}
>
{content}
{this.c.model.editorType === 'PICTURE_ONE' &&
this.files.length >= 1 ? null : (
<i-upload
ref='imageUpload'
action={this.uploadUrl}
......@@ -120,6 +160,7 @@ export const IBizImageUpload = defineComponent({
<i-icon type='ios-add' size='30'></i-icon>
</div>
</i-upload>
)}
<i-modal
class-name={this.ns.b('modal')}
footer-hide={true}
......
......@@ -1427,16 +1427,16 @@
"codeName" : "VMGroup2",
"name" : "视图消息组2",
"getPSAppViewMsgGroupDetails" : [ {
"name" : "视图消息",
"name" : "视图消息2",
"getPSAppViewMsg" : {
"modelref" : true,
"id" : "ViewMsg2"
"id" : "ViewMsg3"
}
}, {
"name" : "视图消息2",
"name" : "视图消息",
"getPSAppViewMsg" : {
"modelref" : true,
"id" : "ViewMsg3"
"id" : "ViewMsg2"
}
} ]
}, {
......
......@@ -9466,16 +9466,16 @@
"codeName" : "VMGroup2",
"name" : "视图消息组2",
"getPSAppViewMsgGroupDetails" : [ {
"name" : "视图消息",
"name" : "视图消息2",
"getPSAppViewMsg" : {
"modelref" : true,
"id" : "ViewMsg2"
"id" : "ViewMsg3"
}
}, {
"name" : "视图消息2",
"name" : "视图消息",
"getPSAppViewMsg" : {
"modelref" : true,
"id" : "ViewMsg3"
"id" : "ViewMsg2"
}
} ]
}, {
......@@ -9525,41 +9525,34 @@
"codeName" : "VMGroup4",
"name" : "视图消息位置测试",
"getPSAppViewMsgGroupDetails" : [ {
"name" : "消息位置-弹出",
"name" : "消息位置-视图内容区",
"getPSAppViewMsg" : {
"modelref" : true,
"id" : "ViewMsg10"
"id" : "ViewMsg9"
}
}, {
"name" : "消息位置-视图方",
"name" : "消息位置-视图方",
"getPSAppViewMsg" : {
"modelref" : true,
"id" : "ViewMsg8"
"id" : "ViewMsg7"
}
}, {
"name" : "消息位置-视图内容区",
"name" : "消息位置-弹出",
"getPSAppViewMsg" : {
"modelref" : true,
"id" : "ViewMsg9"
"id" : "ViewMsg10"
}
}, {
"name" : "消息位置-视图方",
"name" : "消息位置-视图方",
"getPSAppViewMsg" : {
"modelref" : true,
"id" : "ViewMsg7"
"id" : "ViewMsg8"
}
} ]
}, {
"codeName" : "VMGroup8",
"name" : "【静态测试】",
"getPSAppViewMsgGroupDetails" : [ {
"name" : "消息类型-错误信息",
"getPSAppViewMsg" : {
"modelref" : true,
"id" : "ViewMsg6"
},
"position" : "POPUP"
}, {
"name" : "关闭模式-无删除-上方-常规",
"getPSAppViewMsg" : {
"modelref" : true,
......@@ -9603,6 +9596,13 @@
"id" : "ViewMsg5"
},
"position" : "POPUP"
}, {
"name" : "消息类型-错误信息",
"getPSAppViewMsg" : {
"modelref" : true,
"id" : "ViewMsg6"
},
"position" : "POPUP"
} ]
}, {
"codeName" : "VMGroup5",
......@@ -9630,16 +9630,16 @@
"codeName" : "VMGroup6",
"name" : "视图消息动态模式测试",
"getPSAppViewMsgGroupDetails" : [ {
"name" : "动态模式-实体数据集",
"name" : "动态模式-静态内容",
"getPSAppViewMsg" : {
"modelref" : true,
"id" : "ViewMsg14"
"id" : "ViewMsg15"
}
}, {
"name" : "动态模式-静态内容",
"name" : "动态模式-实体数据集",
"getPSAppViewMsg" : {
"modelref" : true,
"id" : "ViewMsg15"
"id" : "ViewMsg14"
}
} ]
} ],
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册