Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
T
TrainSys
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
苏州培训方案
TrainSys
提交
f891f28a
提交
f891f28a
编写于
11月 17, 2022
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
lxm1993 发布系统代码 [TrainSys,网页端]
上级
4056b098
变更
33
展开全部
隐藏空白字符变更
内嵌
并排
正在显示
33 个修改的文件
包含
18081 行增加
和
5143 行删除
+18081
-5143
package-lock.json
app_Web/package-lock.json
+13338
-0
package.json
app_Web/package.json
+8
-8
app-register.ts
app_Web/src/app-register.ts
+2
-0
ibiz-grid-checkbox.tsx
.../check-box-list/ibiz-grid-checkbox/ibiz-grid-checkbox.tsx
+5
-6
ibiz-grid-picker.tsx
.../editor/data-picker/ibiz-grid-picker/ibiz-grid-picker.tsx
+5
-6
ibiz-date-picker.tsx
.../editor/date-picker/ibiz-date-picker/ibiz-date-picker.tsx
+2
-1
ibiz-grid-date-picker.tsx
...te-picker/ibiz-grid-date-picker/ibiz-grid-date-picker.tsx
+5
-6
ibiz-grid-dropdown.tsx
...r/dropdown-list/ibiz-grid-dropdown/ibiz-grid-dropdown.tsx
+5
-6
grid-editor.tsx
app_Web/src/components/editor/grid-editor/grid-editor.tsx
+28
-0
index.ts
app_Web/src/components/editor/index.ts
+1
-0
ibiz-grid-radio.tsx
...tor/radio-button-list/ibiz-grid-radio/ibiz-grid-radio.tsx
+5
-6
ibiz-grid-input-number.tsx
...ext-box/ibiz-grid-input-number/ibiz-grid-input-number.tsx
+5
-6
ibiz-grid-input.tsx
...nents/editor/text-box/ibiz-grid-input/ibiz-grid-input.tsx
+5
-6
ibiz-input-number.tsx
...s/editor/text-box/ibiz-input-number/ibiz-input-number.tsx
+12
-8
ibiz-file-upload.tsx
...nents/editor/upload/ibiz-file-upload/ibiz-file-upload.tsx
+19
-266
ibiz-grid-file-upload-popover.tsx
...d/ibiz-grid-file-upload/ibiz-grid-file-upload-popover.tsx
+127
-0
ibiz-grid-file-upload.tsx
...or/upload/ibiz-grid-file-upload/ibiz-grid-file-upload.tsx
+119
-365
ibiz-image-upload.tsx
...nts/editor/upload/ibiz-image-upload/ibiz-image-upload.tsx
+64
-320
ibiz-upload.tsx
.../src/components/editor/upload/ibiz-upload/ibiz-upload.tsx
+106
-0
use-iview-upload.ts
app_Web/src/components/editor/upload/use/use-iview-upload.ts
+166
-0
mpickup-view.tsx
app_Web/src/components/views/mpickup-view/mpickup-view.tsx
+1
-1
grid-control.util.ts
.../src/components/widgets/grid-control/grid-control.util.ts
+2
-2
text-box-provider.ts
app_Web/src/provider/editor/text-box-provider.ts
+1
-1
app-popover-component.tsx
app_Web/src/util/app-popover/app-popover-component.tsx
+27
-19
yarn.lock
app_Web/yarn.lock
+3726
-3813
EditorTest.json
...YSAPPS/Web/PSAPPDATAENTITIES/Book/PSFORMS/EditorTest.json
+33
-33
Main.json
...PSSYSAPPS/Web/PSAPPDATAENTITIES/Reginfo/PSGRIDS/Main.json
+33
-33
Main.json
...PSSYSAPPS/Web/PSAPPDATAENTITIES/Student/PSFORMS/Main.json
+33
-33
ReginfoGridView.json
.../trainsys/PSSYSAPPS/Web/PSAPPDEVIEWS/ReginfoGridView.json
+33
-33
ReginfoStuInfoList.json
...ainsys/PSSYSAPPS/Web/PSAPPDEVIEWS/ReginfoStuInfoList.json
+33
-33
bookBookEditViewEditorTest.json
...SSYSAPPS/Web/PSAPPDEVIEWS/bookBookEditViewEditorTest.json
+33
-33
studentEditView.json
.../trainsys/PSSYSAPPS/Web/PSAPPDEVIEWS/studentEditView.json
+33
-33
PSSYSAPP.json
...ces/model/cn/ibizlab/trainsys/PSSYSAPPS/Web/PSSYSAPP.json
+66
-66
未找到文件。
app_Web/package-lock.json
0 → 100644
浏览文件 @
f891f28a
此差异已折叠。
点击以展开。
app_Web/package.json
浏览文件 @
f891f28a
...
...
@@ -12,14 +12,14 @@
},
"dependencies"
:
{
"@floating-ui/dom"
:
"^1.0.4"
,
"@ibiz-template/command"
:
"^0.0.1-
alpha.44
"
,
"@ibiz-template/controller"
:
"^0.0.1-
alpha.44
"
,
"@ibiz-template/core"
:
"^0.0.1-
alpha.44
"
,
"@ibiz-template/model"
:
"^0.0.1-
alpha.44
"
,
"@ibiz-template/runtime"
:
"^0.0.1-
alpha.44
"
,
"@ibiz-template/service"
:
"^0.0.1-
alpha.44
"
,
"@ibiz-template/theme"
:
"^0.0.1-
alpha.44
"
,
"@ibiz-template/vue-util"
:
"^0.0.1-
alpha.44
"
,
"@ibiz-template/command"
:
"^0.0.1-
beta.1
"
,
"@ibiz-template/controller"
:
"^0.0.1-
beta.1
"
,
"@ibiz-template/core"
:
"^0.0.1-
beta.1
"
,
"@ibiz-template/model"
:
"^0.0.1-
beta.1
"
,
"@ibiz-template/runtime"
:
"^0.0.1-
beta.1
"
,
"@ibiz-template/service"
:
"^0.0.1-
beta.1
"
,
"@ibiz-template/theme"
:
"^0.0.1-
beta.1
"
,
"@ibiz-template/vue-util"
:
"^0.0.1-
beta.1
"
,
"@ibiz/dynamic-model-api"
:
"^2.1.5"
,
"dayjs"
:
"^1.11.6"
,
"lodash-es"
:
"^4.17.21"
,
...
...
app_Web/src/app-register.ts
浏览文件 @
f891f28a
...
...
@@ -101,6 +101,7 @@ import {
IBizGridDropdown
,
IBizGridRadio
,
IBizGridPicker
,
GridEditor
,
}
from
'./components/editor'
;
export
const
AppRegister
=
{
...
...
@@ -178,6 +179,7 @@ export const AppRegister = {
v
.
component
(
'DataImport'
,
DataImport
);
v
.
component
(
'DataExport'
,
DataExport
);
// 注册编辑器组件
v
.
component
(
'GridEditor'
,
GridEditor
);
v
.
component
(
'IBizSpan'
,
IBizSpan
);
v
.
component
(
'IBizInput'
,
IBizInput
);
v
.
component
(
'IBizInputNumber'
,
IBizInputNumber
);
...
...
app_Web/src/components/editor/check-box-list/ibiz-grid-checkbox/ibiz-grid-checkbox.tsx
浏览文件 @
f891f28a
...
...
@@ -26,23 +26,22 @@ export const IBizGridCheckbox = defineComponent({
},
render
(
h
)
{
return
(
<
div
<
grid
-
editor
disabled=
{
this
.
disabled
}
ref=
'componentRef'
class=
{
`${this.ns.b()} ibiz-grid-editor`
}
onDblclick=
{
evt
=>
evt
.
stopPropagation
()
}
onClick=
{
evt
=>
evt
.
stopPropagation
()
}
class=
{
`${this.ns.b()}`
}
>
{
h
(
'IBizCheckbox'
,
{
props
:
{
...
this
.
$props
,
infoMode
:
this
.
isInfoMode
,
infoMode
:
this
.
disabled
||
this
.
isInfoMode
,
},
on
:
{
change
:
this
.
onChange
,
operate
:
this
.
onOperateChange
,
},
})
}
</
div
>
</
grid
-
editor
>
);
},
});
app_Web/src/components/editor/data-picker/ibiz-grid-picker/ibiz-grid-picker.tsx
浏览文件 @
f891f28a
...
...
@@ -43,24 +43,23 @@ export const IBizGridPicker = defineComponent({
},
render
(
h
)
{
return
(
<
div
<
grid
-
editor
disabled=
{
this
.
disabled
}
ref=
'componentRef'
class=
{
`${this.ns.b()} ibiz-grid-editor`
}
onDblclick=
{
evt
=>
evt
.
stopPropagation
()
}
onClick=
{
evt
=>
evt
.
stopPropagation
()
}
class=
{
`${this.ns.b()}`
}
>
{
this
.
provider
&&
h
(
this
.
provider
.
formEditor
,
{
props
:
{
...
this
.
$props
,
infoMode
:
this
.
isInfoMode
,
infoMode
:
this
.
disabled
||
this
.
isInfoMode
,
},
on
:
{
change
:
this
.
onChange
,
operate
:
this
.
onOperateChange
,
},
})
}
</
div
>
</
grid
-
editor
>
);
},
});
app_Web/src/components/editor/date-picker/ibiz-date-picker/ibiz-date-picker.tsx
浏览文件 @
f891f28a
...
...
@@ -47,7 +47,8 @@ export const IBizDatePicker = defineComponent({
watch
(
()
=>
props
.
value
,
(
newVal
,
oldVal
)
=>
{
if
(
newVal
!==
oldVal
)
{
// 空值不转换
if
(
newVal
&&
newVal
!==
oldVal
)
{
formatValue
.
value
=
dayjs
(
newVal
).
format
(
valueFormat
);
}
},
...
...
app_Web/src/components/editor/date-picker/ibiz-grid-date-picker/ibiz-grid-date-picker.tsx
浏览文件 @
f891f28a
...
...
@@ -25,16 +25,15 @@ export const IBizGridDatePicker = defineComponent({
},
render
(
h
)
{
return
(
<
div
<
grid
-
editor
disabled=
{
this
.
disabled
}
ref=
'componentRef'
class=
{
`${this.ns.b()} ibiz-grid-editor`
}
onDblclick=
{
evt
=>
evt
.
stopPropagation
()
}
onClick=
{
evt
=>
evt
.
stopPropagation
()
}
class=
{
`${this.ns.b()}`
}
>
{
h
(
'IBizDatePicker'
,
{
props
:
{
...
this
.
$props
,
infoMode
:
this
.
isInfoMode
,
infoMode
:
this
.
disabled
||
this
.
isInfoMode
,
autoFocus
:
true
,
},
on
:
{
...
...
@@ -42,7 +41,7 @@ export const IBizGridDatePicker = defineComponent({
operate
:
this
.
onOperateChange
,
},
})
}
</
div
>
</
grid
-
editor
>
);
},
});
app_Web/src/components/editor/dropdown-list/ibiz-grid-dropdown/ibiz-grid-dropdown.tsx
浏览文件 @
f891f28a
...
...
@@ -25,16 +25,15 @@ export const IBizGridDropdown = defineComponent({
},
render
(
h
)
{
return
(
<
div
<
grid
-
editor
disabled=
{
this
.
disabled
}
ref=
'componentRef'
class=
{
`${this.ns.b()} ibiz-grid-editor`
}
onDblclick=
{
evt
=>
evt
.
stopPropagation
()
}
onClick=
{
evt
=>
evt
.
stopPropagation
()
}
class=
{
`${this.ns.b()}`
}
>
{
h
(
'IBizDropdown'
,
{
props
:
{
...
this
.
$props
,
infoMode
:
this
.
isInfoMode
,
infoMode
:
this
.
disabled
||
this
.
isInfoMode
,
autoFocus
:
true
,
},
on
:
{
...
...
@@ -42,7 +41,7 @@ export const IBizGridDropdown = defineComponent({
operate
:
this
.
onOperateChange
,
},
})
}
</
div
>
</
grid
-
editor
>
);
},
});
app_Web/src/components/editor/grid-editor/grid-editor.tsx
0 → 100644
浏览文件 @
f891f28a
import
{
useNamespace
}
from
'@ibiz-template/vue-util'
;
import
{
defineComponent
}
from
'vue'
;
import
'@ibiz-template/theme/style/components/widgets/grid/grid-editor.scss'
;
export
const
GridEditor
=
defineComponent
({
name
:
'GridEditor'
,
props
:
{
disabled
:
{
type
:
Boolean
,
},
},
setup
()
{
const
ns
=
useNamespace
(
'grid-editor'
);
return
{
ns
};
},
render
()
{
return
(
<
div
class=
{
[
this
.
ns
.
b
(),
!
this
.
disabled
?
this
.
ns
.
m
(
'editable'
)
:
''
]
}
onDblclick=
{
evt
=>
evt
.
stopPropagation
()
}
onClick=
{
evt
=>
evt
.
stopPropagation
()
}
>
{
this
.
$slots
.
default
}
</
div
>
);
},
});
export
default
GridEditor
;
app_Web/src/components/editor/index.ts
浏览文件 @
f891f28a
export
*
from
'./grid-editor/grid-editor'
;
export
*
from
'./span'
;
export
*
from
'./text-box'
;
export
*
from
'./check-box-list'
;
...
...
app_Web/src/components/editor/radio-button-list/ibiz-grid-radio/ibiz-grid-radio.tsx
浏览文件 @
f891f28a
...
...
@@ -25,23 +25,22 @@ export const IBizGridRadio = defineComponent({
},
render
(
h
)
{
return
(
<
div
<
grid
-
editor
disabled=
{
this
.
disabled
}
ref=
'componentRef'
class=
{
`${this.ns.b()} ibiz-grid-editor`
}
onDblclick=
{
evt
=>
evt
.
stopPropagation
()
}
onClick=
{
evt
=>
evt
.
stopPropagation
()
}
class=
{
`${this.ns.b()}`
}
>
{
h
(
'IBizRadio'
,
{
props
:
{
...
this
.
$props
,
infoMode
:
this
.
isInfoMode
,
infoMode
:
this
.
disabled
||
this
.
isInfoMode
,
},
on
:
{
change
:
this
.
onChange
,
operate
:
this
.
onOperateChange
,
},
})
}
</
div
>
</
grid
-
editor
>
);
},
});
app_Web/src/components/editor/text-box/ibiz-grid-input-number/ibiz-grid-input-number.tsx
浏览文件 @
f891f28a
...
...
@@ -25,16 +25,15 @@ export const IBizGridInputNumber = defineComponent({
},
render
(
h
)
{
return
(
<
div
<
grid
-
editor
disabled=
{
this
.
disabled
}
ref=
'componentRef'
class=
{
`${this.ns.b()} ibiz-grid-editor`
}
onDblclick=
{
evt
=>
evt
.
stopPropagation
()
}
onClick=
{
evt
=>
evt
.
stopPropagation
()
}
class=
{
`${this.ns.b()}`
}
>
{
h
(
'IBizInputNumber'
,
{
props
:
{
...
this
.
$props
,
infoMode
:
this
.
isInfoMode
,
infoMode
:
this
.
disabled
||
this
.
isInfoMode
,
autoFocus
:
true
,
},
on
:
{
...
...
@@ -42,7 +41,7 @@ export const IBizGridInputNumber = defineComponent({
operate
:
this
.
onOperateChange
,
},
})
}
</
div
>
</
grid
-
editor
>
);
},
});
app_Web/src/components/editor/text-box/ibiz-grid-input/ibiz-grid-input.tsx
浏览文件 @
f891f28a
...
...
@@ -25,16 +25,15 @@ export const IBizGridInput = defineComponent({
},
render
(
h
)
{
return
(
<
div
<
grid
-
editor
disabled=
{
this
.
disabled
}
ref=
'componentRef'
class=
{
`${this.ns.b()} ibiz-grid-editor`
}
onDblclick=
{
evt
=>
evt
.
stopPropagation
()
}
onClick=
{
evt
=>
evt
.
stopPropagation
()
}
class=
{
`${this.ns.b()}`
}
>
{
h
(
'IBizInput'
,
{
props
:
{
...
this
.
$props
,
infoMode
:
this
.
isInfoMode
,
infoMode
:
this
.
disabled
||
this
.
isInfoMode
,
autoFocus
:
true
,
},
on
:
{
...
...
@@ -42,7 +41,7 @@ export const IBizGridInput = defineComponent({
operate
:
this
.
onOperateChange
,
},
})
}
</
div
>
</
grid
-
editor
>
);
},
});
app_Web/src/components/editor/text-box/ibiz-input-number/ibiz-input-number.tsx
浏览文件 @
f891f28a
...
...
@@ -52,14 +52,18 @@ export const IBizInputNumber = defineComponent({
render
()
{
return
(
<
div
class=
{
this
.
ns
.
b
()
}
>
<
i
-
input
-
number
ref=
'inputRef'
value=
{
this
.
currentVal
}
placeholder=
{
this
.
c
.
placeHolder
}
readonly=
{
this
.
c
.
model
.
readOnly
}
precision=
{
this
.
c
.
model
.
precision
}
on
-
on
-
change=
{
this
.
handleChange
}
></
i
-
input
-
number
>
{
this
.
infoMode
?
(
this
.
currentVal
)
:
(
<
i
-
input
-
number
ref=
'inputRef'
value=
{
this
.
currentVal
}
placeholder=
{
this
.
c
.
placeHolder
}
readonly=
{
this
.
c
.
model
.
readOnly
}
precision=
{
this
.
c
.
model
.
precision
}
on
-
on
-
change=
{
this
.
handleChange
}
></
i
-
input
-
number
>
)
}
</
div
>
);
},
...
...
app_Web/src/components/editor/upload/ibiz-file-upload/ibiz-file-upload.tsx
浏览文件 @
f891f28a
import
{
getCookie
}
from
'qx-util'
;
import
{
onMounted
,
ref
,
Ref
,
watch
,
defineComponent
}
from
'vue'
;
import
{
defineComponent
}
from
'vue'
;
import
{
getEditorEmits
,
getUploadProps
,
useNamespace
,
}
from
'@ibiz-template/vue-util'
;
import
{
RuntimeError
}
from
'@ibiz-template/core'
;
import
'@ibiz-template/theme/style/components/editor/ibiz-file-upload/ibiz-file-upload.scss'
;
import
{
useIViewUpload
}
from
'../use/use-iview-upload'
;
export
const
IBizFileUpload
=
defineComponent
({
name
:
'IBizFileUpload'
,
...
...
@@ -16,269 +15,23 @@ export const IBizFileUpload = defineComponent({
const
ns
=
useNamespace
(
'file-upload'
);
const
c
=
props
.
controller
;
// 文件列表
const
files
:
Ref
<
IData
[]
>
=
ref
([]);
// 请求头
const
headers
:
Ref
<
IData
>
=
ref
({});
// 上传文件路径
const
uploadUrl
:
Ref
<
string
>
=
ref
(
ibiz
.
env
.
baseUrl
+
ibiz
.
env
.
UploadFile
);
// 下载文件路径
const
downloadUrl
:
Ref
<
string
>
=
ref
(
ibiz
.
env
.
ExportFile
);
// 设置files
const
setFiles
=
(
value
:
string
|
null
|
undefined
)
=>
{
if
(
value
===
null
)
{
files
.
value
=
[];
}
if
(
!
value
)
{
return
;
}
const
_files
=
JSON
.
parse
(
value
);
if
(
value
&&
Object
.
prototype
.
toString
.
call
(
_files
)
===
'[object Array]'
)
{
files
.
value
=
_files
;
}
else
{
files
.
value
=
[];
}
};
// 文件上传缓存对象
const
uploadCache
:
IData
=
{
count
:
0
,
cacheFiles
:
[],
};
// 处理参数
const
dataProcess
=
()
=>
{
let
_url
=
ibiz
.
env
.
baseUrl
+
ibiz
.
env
.
UploadFile
;
if
(
c
.
upload_params
.
length
>
0
)
{
_url
+=
'?'
;
c
.
upload_params
.
forEach
((
item
:
IData
,
i
:
number
)
=>
{
_url
+=
`
${
Object
.
keys
(
item
)[
0
]}
=
${
Object
.
values
(
item
)[
0
]}
`
;
if
(
i
<
c
.
upload_params
.
length
-
1
)
{
_url
+=
'&'
;
}
});
}
uploadUrl
.
value
=
_url
;
files
.
value
.
forEach
((
file
:
IData
)
=>
{
let
url
=
`
${
downloadUrl
.
value
}
/
${
file
.
id
}
`
;
if
(
c
.
export_params
.
length
>
0
)
{
url
+=
'?'
;
c
.
export_params
.
forEach
((
item
:
IData
,
i
:
number
)
=>
{
url
+=
`
${
Object
.
keys
(
item
)[
0
]}
=
${
Object
.
values
(
item
)[
0
]}
`
;
if
(
i
<
c
.
export_params
.
length
-
1
)
{
url
+=
'&'
;
}
});
}
// eslint-disable-next-line no-param-reassign
file
.
url
=
url
;
});
};
// 设置头
const
setHeaders
=
()
=>
{
if
(
getCookie
(
'access_token'
))
{
headers
.
value
.
Authorization
=
`Bearer
${
getCookie
(
'access_token'
)}
`
;
}
};
setHeaders
();
watch
(
()
=>
props
.
value
,
newVal
=>
{
setFiles
(
newVal
);
dataProcess
();
},
{
immediate
:
true
},
);
watch
(
()
=>
props
.
data
,
newVal
=>
{
c
.
getParams
(
newVal
!
);
const
{
uploadUrl
,
headers
,
files
,
onDownload
,
onError
,
onRemove
,
onSuccess
,
beforeUpload
,
}
=
useIViewUpload
(
props
,
value
=>
{
emit
(
'change'
,
value
);
},
{
immediate
:
true
,
deep
:
true
}
,
c
,
);
onMounted
(()
=>
{
c
.
getParams
(
props
.
data
!
);
setFiles
(
props
.
value
);
dataProcess
();
});
// 上传前回调
const
beforeUpload
=
()
=>
{
uploadCache
.
count
+=
1
;
};
// 上传成功回调
const
onSuccess
=
(
response
:
IData
)
=>
{
if
(
!
response
)
{
return
;
}
// 处理回调数据,并缓存
const
arr
:
IData
[]
=
[];
if
(
response
?.
length
>
0
)
{
for
(
let
index
=
0
;
index
<
response
.
length
;
index
++
)
{
const
file
=
response
[
index
];
arr
.
push
({
name
:
file
.
filename
,
id
:
file
.
fileid
});
}
}
else
{
arr
.
push
({
name
:
response
.
filename
,
id
:
response
.
fileid
});
}
uploadCache
.
cacheFiles
.
push
(
arr
);
uploadCache
.
count
-=
1
;
// 回调都结束后的处理
if
(
uploadCache
.
count
===
0
)
{
const
result
:
IData
[]
=
[];
// 添加已有的文件数据
files
.
value
.
forEach
((
_file
:
IData
)
=>
{
result
.
push
({
name
:
_file
.
name
,
id
:
_file
.
id
});
});
// 添加缓存的文件数据
uploadCache
.
cacheFiles
.
forEach
((
item
:
IData
[])
=>
{
result
.
push
(...
item
);
});
// 抛出值变更事件
const
value
:
string
|
null
=
result
.
length
>
0
?
JSON
.
stringify
(
result
)
:
null
;
emit
(
'change'
,
value
);
// 清空缓存的文件数据
uploadCache
.
cacheFiles
=
[];
}
};
// 上传失败回调
const
onError
=
(
error
:
IData
)
=>
{
uploadCache
.
count
-=
1
;
throw
error
;
};
// 删除回调
const
onRemove
=
(
file
:
IData
,
fileList
:
IData
[])
=>
{
const
arr
:
Array
<
IData
>
=
[];
fileList
.
forEach
((
f
:
IData
)
=>
{
if
(
f
.
id
!==
file
.
id
)
{
arr
.
push
({
name
:
f
.
name
,
id
:
f
.
id
});
}
});
const
value
:
string
|
null
=
arr
.
length
>
0
?
JSON
.
stringify
(
arr
)
:
null
;
emit
(
'change'
,
value
);
};
// 计算文件mime类型
const
calcFilemime
=
(
filetype
:
string
)
=>
{
let
mime
=
'image/png'
;
switch
(
filetype
)
{
case
'.wps'
:
mime
=
'application/kswps'
;
break
;
case
'.doc'
:
mime
=
'application/msword'
;
break
;
case
'.docx'
:
mime
=
'application/vnd.openxmlformats-officedocument.wordprocessingml.document'
;
break
;
case
'.txt'
:
mime
=
'text/plain'
;
break
;
case
'.zip'
:
mime
=
'application/zip'
;
break
;
case
'.png'
:
mime
=
'image/png'
;
break
;
case
'.gif'
:
mime
=
'image/gif'
;
break
;
case
'.jpeg'
:
mime
=
'image/jpeg'
;
break
;
case
'.jpg'
:
mime
=
'image/jpeg'
;
break
;
case
'.rtf'
:
mime
=
'application/rtf'
;
break
;
case
'.avi'
:
mime
=
'video/x-msvideo'
;
break
;
case
'.gz'
:
mime
=
'application/x-gzip'
;
break
;
case
'.tar'
:
mime
=
'application/x-tar'
;
break
;
default
:
mime
=
'image/png'
;
}
return
mime
;
};
/**
* 下载文件
*/
const
DownloadFile
=
(
url
:
string
,
file
:
IData
)
=>
{
// 发送get请求
ibiz
.
net
.
get
(
url
,
{},
{},
{
responseType
:
'blob'
,
},
)
.
then
((
response
:
IData
)
=>
{
if
(
!
response
||
response
.
status
!==
200
)
{
throw
new
RuntimeError
(
'下载文件失败'
);
}
// 请求成功,后台返回的是一个文件流
if
(
response
.
data
)
{
// 获取文件名
const
filename
=
file
.
name
;
const
ext
=
`.
${
filename
.
split
(
'.'
).
pop
()}
`
;
const
filetype
=
calcFilemime
(
ext
);
// 用blob对象获取文件流
const
blob
=
new
Blob
([
response
.
data
],
{
type
:
filetype
});
// 通过文件流创建下载链接
const
href
=
URL
.
createObjectURL
(
blob
);
// 创建一个a元素并设置相关属性
const
a
=
document
.
createElement
(
'a'
);
a
.
href
=
href
;
a
.
download
=
filename
;
// 添加a元素到当前网页
document
.
body
.
appendChild
(
a
);
// 触发a元素的点击事件,实现下载
a
.
click
();
// 从当前网页移除a元素
document
.
body
.
removeChild
(
a
);
// 释放blob对象
URL
.
revokeObjectURL
(
href
);
}
else
{
throw
new
RuntimeError
(
'文件流数据不存在'
);
}
});
};
// 下载文件
const
onDownload
=
(
file
:
IData
)
=>
{
const
url
=
`
${
downloadUrl
.
value
}
/
${
file
.
id
}
`
;
DownloadFile
(
url
,
file
);
};
return
{
ns
,
c
,
...
...
@@ -305,9 +58,9 @@ export const IBizFileUpload = defineComponent({
action
:
this
.
uploadUrl
,
headers
:
this
.
headers
,
'default-file-list'
:
this
.
files
,
multiple
:
this
.
c
.
multiple
,
type
:
this
.
c
.
isDrag
?
'drag'
:
'select'
,
accept
:
this
.
c
.
accept
,
multiple
:
this
.
c
.
m
odel
.
m
ultiple
,
type
:
this
.
c
.
model
.
isDrag
?
'drag'
:
'select'
,
accept
:
this
.
c
.
model
.
accept
,
'before-upload'
:
this
.
beforeUpload
,
'on-success'
:
this
.
onSuccess
,
'on-error'
:
this
.
onError
,
...
...
app_Web/src/components/editor/upload/ibiz-grid-file-upload/ibiz-grid-file-upload-popover.tsx
0 → 100644
浏览文件 @
f891f28a
import
{
useClickOutside
,
useNamespace
}
from
'@ibiz-template/vue-util'
;
import
{
defineComponent
,
ref
,
watch
}
from
'vue'
;
import
{
IBizUpload
,
UploadFile
}
from
'../ibiz-upload/ibiz-upload'
;
export
const
IBizGridFileUploadPopover
=
defineComponent
({
name
:
'IBizGridFileUploadPopover'
,
props
:
{
uploadUrl
:
{
type
:
String
,
required
:
true
,
},
downloadUrl
:
{
type
:
String
,
required
:
true
,
},
value
:
{
type
:
Array
<
{
name
:
string
;
id
:
string
;
url
:
string
;
}
>
,
required
:
true
,
},
},
emits
:
{
close
:
(
_result
:
{
isModified
:
boolean
;
resultFiles
:
UploadFile
[]
})
=>
true
,
},
setup
(
props
,
{
emit
})
{
const
ns
=
useNamespace
(
'grid-upload'
);
const
upload
=
ref
();
const
componentRef
=
ref
();
const
isModified
=
ref
(
false
);
const
fileList
=
ref
<
UploadFile
[]
>
([]);
// 点击外部处理
useClickOutside
(
componentRef
,
async
_evt
=>
{
emit
(
'close'
,
{
isModified
:
isModified
.
value
,
resultFiles
:
fileList
.
value
,
});
});
// 值响应式变更
watch
(
()
=>
props
.
value
,
newVal
=>
{
fileList
.
value
=
newVal
.
map
(
item
=>
{
return
{
...
item
,
status
:
'finished'
,
percentage
:
100
};
});
},
{
immediate
:
true
},
);
const
onFinish
=
(
files
:
UploadFile
[])
=>
{
fileList
.
value
.
push
(...
files
);
isModified
.
value
=
true
;
};
const
selectFile
=
()
=>
{
upload
.
value
.
selectFile
();
};
const
deleteFile
=
(
file
:
UploadFile
)
=>
{
const
index
=
fileList
.
value
.
findIndex
(
item
=>
item
.
id
===
file
.
id
);
fileList
.
value
.
splice
(
index
,
1
);
isModified
.
value
=
true
;
};
return
{
ns
,
componentRef
,
upload
,
fileList
,
onFinish
,
selectFile
,
deleteFile
,
};
},
render
()
{
return
(
<
div
ref=
'componentRef'
style=
{
'width:300px;height:200px'
}
class=
{
this
.
ns
.
b
()
}
>
<
IBizUpload
ref=
'upload'
uploadUrl=
{
this
.
uploadUrl
}
downloadUrl=
{
this
.
downloadUrl
}
multiple=
{
true
}
on
-
finish=
{
this
.
onFinish
}
></
IBizUpload
>
<
div
class=
{
this
.
ns
.
b
(
'list'
)
}
>
{
this
.
fileList
.
map
(
file
=>
{
return
(
<
div
class=
{
this
.
ns
.
be
(
'list'
,
'item'
)
}
>
<
div
class=
{
this
.
ns
.
be
(
'list'
,
'info'
)
}
>
<
a
class=
{
this
.
ns
.
be
(
'list'
,
'file-name'
)
}
href=
{
file
.
url
}
download=
{
file
.
name
}
>
{
file
.
name
}
</
a
>
<
div
class=
{
this
.
ns
.
be
(
'list'
,
'actions'
)
}
>
<
i
-
icon
onClick=
{
()
=>
this
.
deleteFile
(
file
)
}
type=
'md-close'
/>
</
div
>
</
div
>
</
div
>
);
})
}
</
div
>
<
i
-
button
type=
'text'
onClick=
{
this
.
selectFile
}
class=
{
this
.
ns
.
e
(
'add-button'
)
}
>
<
i
-
icon
type=
'md-add'
/>
添加文件
</
i
-
button
>
</
div
>
);
},
});
app_Web/src/components/editor/upload/ibiz-grid-file-upload/ibiz-grid-file-upload.tsx
浏览文件 @
f891f28a
此差异已折叠。
点击以展开。
app_Web/src/components/editor/upload/ibiz-image-upload/ibiz-image-upload.tsx
浏览文件 @
f891f28a
此差异已折叠。
点击以展开。
app_Web/src/components/editor/upload/ibiz-upload/ibiz-upload.tsx
0 → 100644
浏览文件 @
f891f28a
import
{
useNamespace
}
from
'@ibiz-template/vue-util'
;
import
{
defineComponent
,
ref
}
from
'vue'
;
export
type
UploadFile
=
{
name
:
string
;
status
:
'uploading'
|
'finished'
|
'fail'
;
percentage
:
number
;
url
?:
string
;
id
:
string
;
};
export
const
IBizUpload
=
defineComponent
({
name
:
'IBizUpload'
,
props
:
{
uploadUrl
:
{
type
:
String
,
required
:
true
,
},
downloadUrl
:
{
type
:
String
,
},
accept
:
String
,
multiple
:
{
type
:
Boolean
,
default
:
false
,
},
},
emits
:
{
finish
:
(
_resultFiles
:
UploadFile
[])
=>
true
,
},
setup
(
props
,
{
emit
})
{
const
ns
=
useNamespace
(
'upload'
);
const
upload
=
ref
();
const
selectFile
=
()
=>
{
upload
.
value
.
click
();
};
const
uploadFiles
=
async
(
files
:
FileList
)
=>
{
const
resultFiles
:
UploadFile
[]
=
[];
await
Promise
.
allSettled
(
Array
.
from
({
length
:
files
.
length
}).
map
(
async
(
_value
,
i
)
=>
{
const
file
=
files
[
i
];
// 上传前处理
const
resultFile
:
UploadFile
=
{
status
:
'uploading'
,
name
:
file
.
name
,
percentage
:
0
,
id
:
''
,
};
resultFiles
.
push
(
resultFile
);
const
data
=
new
FormData
();
console
.
log
(
file
);
data
.
append
(
'file'
,
file
);
try
{
const
res
=
await
ibiz
.
net
.
request
(
props
.
uploadUrl
,
{
method
:
'post'
,
baseURL
:
''
,
data
,
headers
:
{
'Content-Type'
:
'multipart/form-data'
},
});
if
(
res
.
ok
&&
res
.
data
)
{
console
.
log
(
res
.
data
);
Object
.
assign
(
resultFile
,
{
id
:
res
.
data
.
id
,
url
:
props
.
downloadUrl
?
props
.
downloadUrl
.
replace
(
'%fileId%'
,
res
.
data
.
id
)
:
undefined
,
});
}
}
catch
(
error
)
{
ibiz
.
log
.
error
(
error
);
ibiz
.
message
.
error
(
`
${
file
.
name
}
上传失败`
);
}
}),
);
emit
(
'finish'
,
resultFiles
);
};
const
handleChange
=
(
e
:
Event
)
=>
{
const
inputEl
=
e
.
target
as
HTMLInputElement
;
const
files
=
inputEl
.
files
;
if
(
!
files
)
{
return
;
}
uploadFiles
(
files
);
inputEl
.
value
=
''
;
// 如果不置空,相同的文件不会触发change事件
};
return
{
ns
,
upload
,
selectFile
,
handleChange
};
},
render
()
{
return
(
<
input
accept=
{
this
.
accept
}
multiple=
{
this
.
multiple
}
onChange=
{
this
.
handleChange
}
ref=
'upload'
type=
'file'
style=
'display: none'
/>
);
},
});
app_Web/src/components/editor/upload/use/use-iview-upload.ts
0 → 100644
浏览文件 @
f891f28a
/* eslint-disable no-param-reassign */
import
{
UploadEditorController
}
from
'@ibiz-template/controller'
;
import
{
getCookie
}
from
'qx-util'
;
import
{
Ref
,
ref
,
watch
}
from
'vue'
;
/**
* iview的Upload适配逻辑
*
* @author lxm
* @date 2022-11-17 16:11:12
* @export
* @param {IParams} props
* @param {(_value: string | null) => {}} valueChange
* @param {UploadEditorController} c
* @returns {*}
*/
export
function
useIViewUpload
(
props
:
IParams
,
valueChange
:
(
_value
:
string
|
null
)
=>
void
,
c
:
UploadEditorController
,
)
{
// 文件列表
const
files
:
Ref
<
{
id
:
string
;
name
:
string
;
url
?:
string
;
}[]
>
=
ref
([]);
// 请求头
const
headers
:
Ref
<
IData
>
=
ref
({
Authorization
:
`Bearer
${
getCookie
(
'access_token'
)}
`
,
});
// 上传文件路径
const
uploadUrl
:
Ref
<
string
>
=
ref
(
''
);
// 下载文件路径
const
downloadUrl
:
Ref
<
string
>
=
ref
(
''
);
// 文件上传缓存对象
const
uploadCache
:
IData
=
{
count
:
0
,
cacheFiles
:
[],
// iview上传过程中不能改default-file-list,所以需要缓存
};
// 值响应式变更
watch
(
()
=>
props
.
value
,
newVal
=>
{
files
.
value
=
!
newVal
?
[]
:
JSON
.
parse
(
newVal
);
},
{
immediate
:
true
},
);
// data响应式变更基础路径
watch
(
()
=>
props
.
data
,
newVal
=>
{
if
(
newVal
)
{
const
urls
=
c
.
calcBaseUrl
(
newVal
);
uploadUrl
.
value
=
urls
.
uploadUrl
;
downloadUrl
.
value
=
urls
.
downloadUrl
;
}
},
{
immediate
:
true
,
deep
:
true
},
);
watch
(
files
,
newVal
=>
{
// 变更后且下载基础路径存在时解析
if
(
newVal
?.
length
&&
downloadUrl
.
value
)
{
newVal
.
forEach
((
file
:
IData
)
=>
{
file
.
url
=
file
.
url
||
downloadUrl
.
value
.
replace
(
'%fileId%'
,
file
.
id
);
});
}
},
{
immediate
:
true
},
);
watch
(
downloadUrl
,
newVal
=>
{
// 变更后且下载基础路径存在时解析
if
(
newVal
&&
files
.
value
.
length
)
{
files
.
value
.
forEach
((
file
:
IData
)
=>
{
file
.
url
=
downloadUrl
.
value
.
replace
(
'%fileId%'
,
file
.
id
);
});
}
},
{
immediate
:
true
},
);
/**
* 抛出值变更事件,根据files计算value
*
* @author lxm
* @date 2022-11-17 14:11:54
*/
const
emitValue
=
()
=>
{
const
_files
=
[...
files
.
value
,
...
uploadCache
.
cacheFiles
];
const
value
:
string
|
null
=
_files
.
length
>
0
?
JSON
.
stringify
(
_files
.
map
(
file
=>
({
name
:
file
.
name
,
id
:
file
.
id
})))
:
null
;
uploadCache
.
cacheFiles
=
[];
valueChange
(
value
);
};
// 上传前回调
const
beforeUpload
=
()
=>
{
uploadCache
.
count
+=
1
;
};
// 上传成功回调
const
onSuccess
=
(
response
:
IData
)
=>
{
if
(
!
response
)
{
return
;
}
uploadCache
.
cacheFiles
.
push
({
name
:
response
.
filename
,
id
:
response
.
fileid
,
});
uploadCache
.
count
-=
1
;
// 回调都结束后抛出值变更
if
(
uploadCache
.
count
===
0
)
{
emitValue
();
}
};
// 上传失败回调
const
onError
=
(
error
:
IData
)
=>
{
uploadCache
.
count
-=
1
;
throw
error
;
};
// 删除回调
const
onRemove
=
(
file
:
IData
)
=>
{
const
index
=
files
.
value
.
findIndex
(
item
=>
item
.
id
===
file
.
id
);
if
(
index
!==
-
1
)
{
files
.
value
.
splice
(
index
,
1
);
}
emitValue
();
};
// 下载文件
const
onDownload
=
(
file
:
IData
)
=>
{
const
url
=
file
.
url
||
downloadUrl
.
value
.
replace
(
'%fileId%'
,
file
.
id
);
c
.
fileDownload
(
url
,
file
);
};
return
{
uploadUrl
,
downloadUrl
,
headers
,
files
,
onDownload
,
onError
,
onRemove
,
onSuccess
,
beforeUpload
,
};
}
app_Web/src/components/views/mpickup-view/mpickup-view.tsx
浏览文件 @
f891f28a
...
...
@@ -141,7 +141,7 @@ export const MPickupView = defineComponent({
on
-
click=
{
()
=>
this
.
handleSelectionClick
(
item
)
}
>
{
item
.
srfmajortext
}
<
icon
<
i
-
i
con
type=
'ios-close'
size=
{
24
}
on
-
click=
{
()
=>
{
...
...
app_Web/src/components/widgets/grid-control/grid-control.util.ts
浏览文件 @
f891f28a
...
...
@@ -62,8 +62,8 @@ export function useITableColumns(c: GridController) {
const
copy
=
[...
originColumns
.
value
];
// 如果没有自适应列,深拷贝最后一个对象,改成自适应
const
flexColumn
=
copy
.
find
(
column
=>
!
!
column
.
width
);
if
(
flexColumn
)
{
const
flexColumn
=
copy
.
find
(
column
=>
!
column
.
width
);
if
(
!
flexColumn
)
{
// 修改自适应列的索引,默认最后一个
let
index
=
copy
.
length
-
1
;
if
(
copy
[
index
].
key
===
'rowEdit'
)
{
...
...
app_Web/src/provider/editor/text-box-provider.ts
浏览文件 @
f891f28a
...
...
@@ -22,7 +22,7 @@ export class TextBoxEditorProvider implements IEditorProvider {
constructor
(
editorType
?:
string
)
{
if
(
editorType
===
'NUMBER'
)
{
this
.
formEditor
=
'IBizInputNumber'
;
this
.
gridEditor
=
'IBizInputNumber'
;
this
.
gridEditor
=
'IBiz
Grid
InputNumber'
;
}
}
...
...
app_Web/src/util/app-popover/app-popover-component.tsx
浏览文件 @
f891f28a
...
...
@@ -31,10 +31,14 @@ async function computePos(
arrEl
:
HTMLElement
,
opts
:
IPopoverOptions
,
):
Promise
<
void
>
{
const
middlewareArr
=
[
offset
(
opts
.
offsetOpts
||
6
),
flip
(),
shift
()];
if
(
!
opts
.
noArrow
)
{
middlewareArr
.
push
(
arrow
({
element
:
arrEl
!
}));
}
const
options
=
await
computePosition
(
element
,
el
,
{
placement
:
opts
.
placement
,
strategy
:
'absolute'
,
middleware
:
[
offset
(
6
),
flip
(),
shift
(),
arrow
({
element
:
arrEl
!
})]
,
middleware
:
middlewareArr
,
});
{
const
{
x
,
y
,
placement
,
middlewareData
}
=
options
;
...
...
@@ -42,23 +46,25 @@ async function computePos(
style
.
left
=
`
${
x
}
px`
;
style
.
top
=
`
${
y
}
px`
;
// 箭头位置
const
{
x
:
arrowX
,
y
:
arrowY
}
=
middlewareData
.
arrow
!
;
const
staticSide
:
any
=
{
top
:
'bottom'
,
right
:
'left'
,
bottom
:
'top'
,
left
:
'right'
,
}[
placement
.
split
(
'-'
)[
0
]];
Object
.
assign
(
arrEl
.
style
,
{
left
:
arrowX
!=
null
?
`
${
arrowX
}
px`
:
''
,
top
:
arrowY
!=
null
?
`
${
arrowY
}
px`
:
''
,
right
:
''
,
bottom
:
''
,
[
staticSide
]:
'-4px'
,
});
if
(
!
opts
.
noArrow
)
{
// 箭头位置
const
{
x
:
arrowX
,
y
:
arrowY
}
=
middlewareData
.
arrow
!
;
const
staticSide
:
any
=
{
top
:
'bottom'
,
right
:
'left'
,
bottom
:
'top'
,
left
:
'right'
,
}[
placement
.
split
(
'-'
)[
0
]];
Object
.
assign
(
arrEl
.
style
,
{
left
:
arrowX
!=
null
?
`
${
arrowX
}
px`
:
''
,
top
:
arrowY
!=
null
?
`
${
arrowY
}
px`
:
''
,
right
:
''
,
bottom
:
''
,
[
staticSide
]:
'-4px'
,
});
}
}
}
...
...
@@ -165,7 +171,9 @@ const AppPopoverComponent = defineComponent({
onMouseenter=
{
this
.
onMouseenter
}
onMouseleave=
{
this
.
onMouseleave
}
>
<
div
class=
{
[
this
.
ns
.
e
(
'arrow'
)]
}
ref=
'arrEl'
></
div
>
{
!
this
.
opts
.
noArrow
&&
(
<
div
class=
{
[
this
.
ns
.
e
(
'arrow'
)]
}
ref=
'arrEl'
></
div
>
)
}
{
this
.
$slots
.
default
}
</
div
>
);
...
...
app_Web/yarn.lock
浏览文件 @
f891f28a
此差异已折叠。
点击以展开。
trainsys-core/src/main/resources/model/cn/ibizlab/trainsys/PSSYSAPPS/Web/PSAPPDATAENTITIES/Book/PSFORMS/EditorTest.json
浏览文件 @
f891f28a
...
...
@@ -1914,34 +1914,34 @@
"getPSAppViewLogics"
:
[
{
"logicTrigger"
:
"CUSTOM"
,
"logicType"
:
"APPVIEWUIACTION"
,
"name"
:
"grid_uagridcolumn1_u
a98d563
_click"
,
"name"
:
"grid_uagridcolumn1_u
479f517
_click"
,
"getPSAppViewUIAction"
:
{
"modelref"
:
true
,
"id"
:
"表格界面_
行编辑开关
操作"
"id"
:
"表格界面_
编辑
操作"
}
},
{
"logicTrigger"
:
"CUSTOM"
,
"logicType"
:
"APPVIEWUIACTION"
,
"name"
:
"grid_uagridcolumn1_u
479f517
_click"
,
"name"
:
"grid_uagridcolumn1_u
a98d563
_click"
,
"getPSAppViewUIAction"
:
{
"modelref"
:
true
,
"id"
:
"表格界面_
编辑
操作"
"id"
:
"表格界面_
行编辑开关
操作"
}
}
],
"getPSAppViewUIActions"
:
[
{
"name"
:
"表格界面_
行编辑开关
操作"
,
"name"
:
"表格界面_
编辑
操作"
,
"getPSUIAction"
:
{
"modelref"
:
true
,
"id"
:
"
ToggleRow
Edit"
"id"
:
"Edit"
},
"uIActionTarget"
:
"SINGLEKEY"
,
"xDataControlName"
:
"grid"
},
{
"name"
:
"表格界面_
编辑
操作"
,
"name"
:
"表格界面_
行编辑开关
操作"
,
"getPSUIAction"
:
{
"modelref"
:
true
,
"id"
:
"Edit"
"id"
:
"
ToggleRow
Edit"
},
"uIActionTarget"
:
"SINGLEKEY"
,
"xDataControlName"
:
"grid"
}
],
"getPSControlHandler"
:
{
...
...
@@ -2173,30 +2173,6 @@
"mOSFilePath"
:
"pssysapps/Web/psappdataentities/Reginfo/psappdeuagroups/A046596b6afb50f9e5b"
,
"name"
:
"操作列"
,
"getPSUIActionGroupDetails"
:
[
{
"detailType"
:
"DEUIACTION"
,
"name"
:
"ua98d563"
,
"getPSUIAction"
:
{
"caption"
:
"行编辑"
,
"codeName"
:
"ToggleRowEdit"
,
"fullCodeName"
:
"ToggleRowEdit"
,
"mOSFilePath"
:
"pssysapps/Web/pssysappdeuiactions/ToggleRowEdit"
,
"name"
:
"表格界面_行编辑开关操作"
,
"getPSSysImage"
:
{
"glyph"
:
"xf0ce@FontAwesome"
,
"cssClass"
:
"fa fa-table"
},
"predefinedType"
:
"GRIDVIEW_ROWEDITACTION"
,
"rTMOSFilePath"
:
"pssysapps/Web/pssysappdeuiactions/ToggleRowEdit"
,
"timeout"
:
60000
,
"uIActionMode"
:
"SYS"
,
"uIActionTag"
:
"ToggleRowEdit"
,
"uIActionType"
:
"DEUIACTION"
,
"enableToggleMode"
:
true
},
"addSeparator"
:
true
,
"showCaption"
:
true
,
"showIcon"
:
false
},
{
"detailType"
:
"DEUIACTION"
,
"name"
:
"u479f517"
,
"getPSUIAction"
:
{
...
...
@@ -2230,6 +2206,30 @@
"addSeparator"
:
true
,
"showCaption"
:
true
,
"showIcon"
:
true
},
{
"detailType"
:
"DEUIACTION"
,
"name"
:
"ua98d563"
,
"getPSUIAction"
:
{
"caption"
:
"行编辑"
,
"codeName"
:
"ToggleRowEdit"
,
"fullCodeName"
:
"ToggleRowEdit"
,
"mOSFilePath"
:
"pssysapps/Web/pssysappdeuiactions/ToggleRowEdit"
,
"name"
:
"表格界面_行编辑开关操作"
,
"getPSSysImage"
:
{
"glyph"
:
"xf0ce@FontAwesome"
,
"cssClass"
:
"fa fa-table"
},
"predefinedType"
:
"GRIDVIEW_ROWEDITACTION"
,
"rTMOSFilePath"
:
"pssysapps/Web/pssysappdeuiactions/ToggleRowEdit"
,
"timeout"
:
60000
,
"uIActionMode"
:
"SYS"
,
"uIActionTag"
:
"ToggleRowEdit"
,
"uIActionType"
:
"DEUIACTION"
,
"enableToggleMode"
:
true
},
"addSeparator"
:
true
,
"showCaption"
:
true
,
"showIcon"
:
false
}
],
"rTMOSFilePath"
:
"pssysapps/Web/psappdataentities/Reginfo/psappdeuagroups/A046596b6afb50f9e5b"
},
...
...
trainsys-core/src/main/resources/model/cn/ibizlab/trainsys/PSSYSAPPS/Web/PSAPPDATAENTITIES/Reginfo/PSGRIDS/Main.json
浏览文件 @
f891f28a
...
...
@@ -19,34 +19,34 @@
"getPSAppViewLogics"
:
[
{
"logicTrigger"
:
"CUSTOM"
,
"logicType"
:
"APPVIEWUIACTION"
,
"name"
:
"grid_uagridcolumn1_u
a98d563
_click"
,
"name"
:
"grid_uagridcolumn1_u
479f517
_click"
,
"getPSAppViewUIAction"
:
{
"modelref"
:
true
,
"id"
:
"表格界面_
行编辑开关
操作"
"id"
:
"表格界面_
编辑
操作"
}
},
{
"logicTrigger"
:
"CUSTOM"
,
"logicType"
:
"APPVIEWUIACTION"
,
"name"
:
"grid_uagridcolumn1_u
479f517
_click"
,
"name"
:
"grid_uagridcolumn1_u
a98d563
_click"
,
"getPSAppViewUIAction"
:
{
"modelref"
:
true
,
"id"
:
"表格界面_
编辑
操作"
"id"
:
"表格界面_
行编辑开关
操作"
}
}
],
"getPSAppViewUIActions"
:
[
{
"name"
:
"表格界面_
行编辑开关
操作"
,
"name"
:
"表格界面_
编辑
操作"
,
"getPSUIAction"
:
{
"modelref"
:
true
,
"id"
:
"
ToggleRow
Edit"
"id"
:
"Edit"
},
"uIActionTarget"
:
"SINGLEKEY"
,
"xDataControlName"
:
"grid"
},
{
"name"
:
"表格界面_
编辑
操作"
,
"name"
:
"表格界面_
行编辑开关
操作"
,
"getPSUIAction"
:
{
"modelref"
:
true
,
"id"
:
"Edit"
"id"
:
"
ToggleRow
Edit"
},
"uIActionTarget"
:
"SINGLEKEY"
,
"xDataControlName"
:
"grid"
}
],
"getPSControlLogics"
:
[
{
...
...
@@ -191,30 +191,6 @@
"mOSFilePath"
:
"pssysapps/Web/psappdataentities/Reginfo/psappdeuagroups/A046596b6afb50f9e5b"
,
"name"
:
"操作列"
,
"getPSUIActionGroupDetails"
:
[
{
"detailType"
:
"DEUIACTION"
,
"name"
:
"ua98d563"
,
"getPSUIAction"
:
{
"caption"
:
"行编辑"
,
"codeName"
:
"ToggleRowEdit"
,
"fullCodeName"
:
"ToggleRowEdit"
,
"mOSFilePath"
:
"pssysapps/Web/pssysappdeuiactions/ToggleRowEdit"
,
"name"
:
"表格界面_行编辑开关操作"
,
"getPSSysImage"
:
{
"glyph"
:
"xf0ce@FontAwesome"
,
"cssClass"
:
"fa fa-table"
},
"predefinedType"
:
"GRIDVIEW_ROWEDITACTION"
,
"rTMOSFilePath"
:
"pssysapps/Web/pssysappdeuiactions/ToggleRowEdit"
,
"timeout"
:
60000
,
"uIActionMode"
:
"SYS"
,
"uIActionTag"
:
"ToggleRowEdit"
,
"uIActionType"
:
"DEUIACTION"
,
"enableToggleMode"
:
true
},
"addSeparator"
:
true
,
"showCaption"
:
true
,
"showIcon"
:
false
},
{
"detailType"
:
"DEUIACTION"
,
"name"
:
"u479f517"
,
"getPSUIAction"
:
{
...
...
@@ -248,6 +224,30 @@
"addSeparator"
:
true
,
"showCaption"
:
true
,
"showIcon"
:
true
},
{
"detailType"
:
"DEUIACTION"
,
"name"
:
"ua98d563"
,
"getPSUIAction"
:
{
"caption"
:
"行编辑"
,
"codeName"
:
"ToggleRowEdit"
,
"fullCodeName"
:
"ToggleRowEdit"
,
"mOSFilePath"
:
"pssysapps/Web/pssysappdeuiactions/ToggleRowEdit"
,
"name"
:
"表格界面_行编辑开关操作"
,
"getPSSysImage"
:
{
"glyph"
:
"xf0ce@FontAwesome"
,
"cssClass"
:
"fa fa-table"
},
"predefinedType"
:
"GRIDVIEW_ROWEDITACTION"
,
"rTMOSFilePath"
:
"pssysapps/Web/pssysappdeuiactions/ToggleRowEdit"
,
"timeout"
:
60000
,
"uIActionMode"
:
"SYS"
,
"uIActionTag"
:
"ToggleRowEdit"
,
"uIActionType"
:
"DEUIACTION"
,
"enableToggleMode"
:
true
},
"addSeparator"
:
true
,
"showCaption"
:
true
,
"showIcon"
:
false
}
],
"rTMOSFilePath"
:
"pssysapps/Web/psappdataentities/Reginfo/psappdeuagroups/A046596b6afb50f9e5b"
},
...
...
trainsys-core/src/main/resources/model/cn/ibizlab/trainsys/PSSYSAPPS/Web/PSAPPDATAENTITIES/Student/PSFORMS/Main.json
浏览文件 @
f891f28a
...
...
@@ -609,34 +609,34 @@
"getPSAppViewLogics"
:
[
{
"logicTrigger"
:
"CUSTOM"
,
"logicType"
:
"APPVIEWUIACTION"
,
"name"
:
"grid_uagridcolumn1_u
a98d563
_click"
,
"name"
:
"grid_uagridcolumn1_u
479f517
_click"
,
"getPSAppViewUIAction"
:
{
"modelref"
:
true
,
"id"
:
"表格界面_
行编辑开关
操作"
"id"
:
"表格界面_
编辑
操作"
}
},
{
"logicTrigger"
:
"CUSTOM"
,
"logicType"
:
"APPVIEWUIACTION"
,
"name"
:
"grid_uagridcolumn1_u
479f517
_click"
,
"name"
:
"grid_uagridcolumn1_u
a98d563
_click"
,
"getPSAppViewUIAction"
:
{
"modelref"
:
true
,
"id"
:
"表格界面_
编辑
操作"
"id"
:
"表格界面_
行编辑开关
操作"
}
}
],
"getPSAppViewUIActions"
:
[
{
"name"
:
"表格界面_
行编辑开关
操作"
,
"name"
:
"表格界面_
编辑
操作"
,
"getPSUIAction"
:
{
"modelref"
:
true
,
"id"
:
"
ToggleRow
Edit"
"id"
:
"Edit"
},
"uIActionTarget"
:
"SINGLEKEY"
,
"xDataControlName"
:
"grid"
},
{
"name"
:
"表格界面_
编辑
操作"
,
"name"
:
"表格界面_
行编辑开关
操作"
,
"getPSUIAction"
:
{
"modelref"
:
true
,
"id"
:
"Edit"
"id"
:
"
ToggleRow
Edit"
},
"uIActionTarget"
:
"SINGLEKEY"
,
"xDataControlName"
:
"grid"
}
],
"getPSControlHandler"
:
{
...
...
@@ -868,30 +868,6 @@
"mOSFilePath"
:
"pssysapps/Web/psappdataentities/Reginfo/psappdeuagroups/A046596b6afb50f9e5b"
,
"name"
:
"操作列"
,
"getPSUIActionGroupDetails"
:
[
{
"detailType"
:
"DEUIACTION"
,
"name"
:
"ua98d563"
,
"getPSUIAction"
:
{
"caption"
:
"行编辑"
,
"codeName"
:
"ToggleRowEdit"
,
"fullCodeName"
:
"ToggleRowEdit"
,
"mOSFilePath"
:
"pssysapps/Web/pssysappdeuiactions/ToggleRowEdit"
,
"name"
:
"表格界面_行编辑开关操作"
,
"getPSSysImage"
:
{
"glyph"
:
"xf0ce@FontAwesome"
,
"cssClass"
:
"fa fa-table"
},
"predefinedType"
:
"GRIDVIEW_ROWEDITACTION"
,
"rTMOSFilePath"
:
"pssysapps/Web/pssysappdeuiactions/ToggleRowEdit"
,
"timeout"
:
60000
,
"uIActionMode"
:
"SYS"
,
"uIActionTag"
:
"ToggleRowEdit"
,
"uIActionType"
:
"DEUIACTION"
,
"enableToggleMode"
:
true
},
"addSeparator"
:
true
,
"showCaption"
:
true
,
"showIcon"
:
false
},
{
"detailType"
:
"DEUIACTION"
,
"name"
:
"u479f517"
,
"getPSUIAction"
:
{
...
...
@@ -925,6 +901,30 @@
"addSeparator"
:
true
,
"showCaption"
:
true
,
"showIcon"
:
true
},
{
"detailType"
:
"DEUIACTION"
,
"name"
:
"ua98d563"
,
"getPSUIAction"
:
{
"caption"
:
"行编辑"
,
"codeName"
:
"ToggleRowEdit"
,
"fullCodeName"
:
"ToggleRowEdit"
,
"mOSFilePath"
:
"pssysapps/Web/pssysappdeuiactions/ToggleRowEdit"
,
"name"
:
"表格界面_行编辑开关操作"
,
"getPSSysImage"
:
{
"glyph"
:
"xf0ce@FontAwesome"
,
"cssClass"
:
"fa fa-table"
},
"predefinedType"
:
"GRIDVIEW_ROWEDITACTION"
,
"rTMOSFilePath"
:
"pssysapps/Web/pssysappdeuiactions/ToggleRowEdit"
,
"timeout"
:
60000
,
"uIActionMode"
:
"SYS"
,
"uIActionTag"
:
"ToggleRowEdit"
,
"uIActionType"
:
"DEUIACTION"
,
"enableToggleMode"
:
true
},
"addSeparator"
:
true
,
"showCaption"
:
true
,
"showIcon"
:
false
}
],
"rTMOSFilePath"
:
"pssysapps/Web/psappdataentities/Reginfo/psappdeuagroups/A046596b6afb50f9e5b"
},
...
...
trainsys-core/src/main/resources/model/cn/ibizlab/trainsys/PSSYSAPPS/Web/PSAPPDEVIEWS/ReginfoGridView.json
浏览文件 @
f891f28a
...
...
@@ -389,34 +389,34 @@
"getPSAppViewLogics"
:
[
{
"logicTrigger"
:
"CUSTOM"
,
"logicType"
:
"APPVIEWUIACTION"
,
"name"
:
"grid_uagridcolumn1_u
a98d563
_click"
,
"name"
:
"grid_uagridcolumn1_u
479f517
_click"
,
"getPSAppViewUIAction"
:
{
"modelref"
:
true
,
"id"
:
"表格界面_
行编辑开关
操作"
"id"
:
"表格界面_
编辑
操作"
}
},
{
"logicTrigger"
:
"CUSTOM"
,
"logicType"
:
"APPVIEWUIACTION"
,
"name"
:
"grid_uagridcolumn1_u
479f517
_click"
,
"name"
:
"grid_uagridcolumn1_u
a98d563
_click"
,
"getPSAppViewUIAction"
:
{
"modelref"
:
true
,
"id"
:
"表格界面_
编辑
操作"
"id"
:
"表格界面_
行编辑开关
操作"
}
}
],
"getPSAppViewUIActions"
:
[
{
"name"
:
"表格界面_
行编辑开关
操作"
,
"name"
:
"表格界面_
编辑
操作"
,
"getPSUIAction"
:
{
"modelref"
:
true
,
"id"
:
"
ToggleRow
Edit"
"id"
:
"Edit"
},
"uIActionTarget"
:
"SINGLEKEY"
,
"xDataControlName"
:
"grid"
},
{
"name"
:
"表格界面_
编辑
操作"
,
"name"
:
"表格界面_
行编辑开关
操作"
,
"getPSUIAction"
:
{
"modelref"
:
true
,
"id"
:
"Edit"
"id"
:
"
ToggleRow
Edit"
},
"uIActionTarget"
:
"SINGLEKEY"
,
"xDataControlName"
:
"grid"
}
],
"getPSControlHandler"
:
{
...
...
@@ -648,30 +648,6 @@
"mOSFilePath"
:
"pssysapps/Web/psappdataentities/Reginfo/psappdeuagroups/A046596b6afb50f9e5b"
,
"name"
:
"操作列"
,
"getPSUIActionGroupDetails"
:
[
{
"detailType"
:
"DEUIACTION"
,
"name"
:
"ua98d563"
,
"getPSUIAction"
:
{
"caption"
:
"行编辑"
,
"codeName"
:
"ToggleRowEdit"
,
"fullCodeName"
:
"ToggleRowEdit"
,
"mOSFilePath"
:
"pssysapps/Web/pssysappdeuiactions/ToggleRowEdit"
,
"name"
:
"表格界面_行编辑开关操作"
,
"getPSSysImage"
:
{
"glyph"
:
"xf0ce@FontAwesome"
,
"cssClass"
:
"fa fa-table"
},
"predefinedType"
:
"GRIDVIEW_ROWEDITACTION"
,
"rTMOSFilePath"
:
"pssysapps/Web/pssysappdeuiactions/ToggleRowEdit"
,
"timeout"
:
60000
,
"uIActionMode"
:
"SYS"
,
"uIActionTag"
:
"ToggleRowEdit"
,
"uIActionType"
:
"DEUIACTION"
,
"enableToggleMode"
:
true
},
"addSeparator"
:
true
,
"showCaption"
:
true
,
"showIcon"
:
false
},
{
"detailType"
:
"DEUIACTION"
,
"name"
:
"u479f517"
,
"getPSUIAction"
:
{
...
...
@@ -705,6 +681,30 @@
"addSeparator"
:
true
,
"showCaption"
:
true
,
"showIcon"
:
true
},
{
"detailType"
:
"DEUIACTION"
,
"name"
:
"ua98d563"
,
"getPSUIAction"
:
{
"caption"
:
"行编辑"
,
"codeName"
:
"ToggleRowEdit"
,
"fullCodeName"
:
"ToggleRowEdit"
,
"mOSFilePath"
:
"pssysapps/Web/pssysappdeuiactions/ToggleRowEdit"
,
"name"
:
"表格界面_行编辑开关操作"
,
"getPSSysImage"
:
{
"glyph"
:
"xf0ce@FontAwesome"
,
"cssClass"
:
"fa fa-table"
},
"predefinedType"
:
"GRIDVIEW_ROWEDITACTION"
,
"rTMOSFilePath"
:
"pssysapps/Web/pssysappdeuiactions/ToggleRowEdit"
,
"timeout"
:
60000
,
"uIActionMode"
:
"SYS"
,
"uIActionTag"
:
"ToggleRowEdit"
,
"uIActionType"
:
"DEUIACTION"
,
"enableToggleMode"
:
true
},
"addSeparator"
:
true
,
"showCaption"
:
true
,
"showIcon"
:
false
}
],
"rTMOSFilePath"
:
"pssysapps/Web/psappdataentities/Reginfo/psappdeuagroups/A046596b6afb50f9e5b"
},
...
...
trainsys-core/src/main/resources/model/cn/ibizlab/trainsys/PSSYSAPPS/Web/PSAPPDEVIEWS/ReginfoStuInfoList.json
浏览文件 @
f891f28a
...
...
@@ -440,34 +440,34 @@
"getPSAppViewLogics"
:
[
{
"logicTrigger"
:
"CUSTOM"
,
"logicType"
:
"APPVIEWUIACTION"
,
"name"
:
"grid_uagridcolumn1_u
a98d563
_click"
,
"name"
:
"grid_uagridcolumn1_u
479f517
_click"
,
"getPSAppViewUIAction"
:
{
"modelref"
:
true
,
"id"
:
"表格界面_
行编辑开关
操作"
"id"
:
"表格界面_
编辑
操作"
}
},
{
"logicTrigger"
:
"CUSTOM"
,
"logicType"
:
"APPVIEWUIACTION"
,
"name"
:
"grid_uagridcolumn1_u
479f517
_click"
,
"name"
:
"grid_uagridcolumn1_u
a98d563
_click"
,
"getPSAppViewUIAction"
:
{
"modelref"
:
true
,
"id"
:
"表格界面_
编辑
操作"
"id"
:
"表格界面_
行编辑开关
操作"
}
}
],
"getPSAppViewUIActions"
:
[
{
"name"
:
"表格界面_
行编辑开关
操作"
,
"name"
:
"表格界面_
编辑
操作"
,
"getPSUIAction"
:
{
"modelref"
:
true
,
"id"
:
"
ToggleRow
Edit"
"id"
:
"Edit"
},
"uIActionTarget"
:
"SINGLEKEY"
,
"xDataControlName"
:
"grid"
},
{
"name"
:
"表格界面_
编辑
操作"
,
"name"
:
"表格界面_
行编辑开关
操作"
,
"getPSUIAction"
:
{
"modelref"
:
true
,
"id"
:
"Edit"
"id"
:
"
ToggleRow
Edit"
},
"uIActionTarget"
:
"SINGLEKEY"
,
"xDataControlName"
:
"grid"
}
],
"getPSControlHandler"
:
{
...
...
@@ -699,30 +699,6 @@
"mOSFilePath"
:
"pssysapps/Web/psappdataentities/Reginfo/psappdeuagroups/A046596b6afb50f9e5b"
,
"name"
:
"操作列"
,
"getPSUIActionGroupDetails"
:
[
{
"detailType"
:
"DEUIACTION"
,
"name"
:
"ua98d563"
,
"getPSUIAction"
:
{
"caption"
:
"行编辑"
,
"codeName"
:
"ToggleRowEdit"
,
"fullCodeName"
:
"ToggleRowEdit"
,
"mOSFilePath"
:
"pssysapps/Web/pssysappdeuiactions/ToggleRowEdit"
,
"name"
:
"表格界面_行编辑开关操作"
,
"getPSSysImage"
:
{
"glyph"
:
"xf0ce@FontAwesome"
,
"cssClass"
:
"fa fa-table"
},
"predefinedType"
:
"GRIDVIEW_ROWEDITACTION"
,
"rTMOSFilePath"
:
"pssysapps/Web/pssysappdeuiactions/ToggleRowEdit"
,
"timeout"
:
60000
,
"uIActionMode"
:
"SYS"
,
"uIActionTag"
:
"ToggleRowEdit"
,
"uIActionType"
:
"DEUIACTION"
,
"enableToggleMode"
:
true
},
"addSeparator"
:
true
,
"showCaption"
:
true
,
"showIcon"
:
false
},
{
"detailType"
:
"DEUIACTION"
,
"name"
:
"u479f517"
,
"getPSUIAction"
:
{
...
...
@@ -756,6 +732,30 @@
"addSeparator"
:
true
,
"showCaption"
:
true
,
"showIcon"
:
true
},
{
"detailType"
:
"DEUIACTION"
,
"name"
:
"ua98d563"
,
"getPSUIAction"
:
{
"caption"
:
"行编辑"
,
"codeName"
:
"ToggleRowEdit"
,
"fullCodeName"
:
"ToggleRowEdit"
,
"mOSFilePath"
:
"pssysapps/Web/pssysappdeuiactions/ToggleRowEdit"
,
"name"
:
"表格界面_行编辑开关操作"
,
"getPSSysImage"
:
{
"glyph"
:
"xf0ce@FontAwesome"
,
"cssClass"
:
"fa fa-table"
},
"predefinedType"
:
"GRIDVIEW_ROWEDITACTION"
,
"rTMOSFilePath"
:
"pssysapps/Web/pssysappdeuiactions/ToggleRowEdit"
,
"timeout"
:
60000
,
"uIActionMode"
:
"SYS"
,
"uIActionTag"
:
"ToggleRowEdit"
,
"uIActionType"
:
"DEUIACTION"
,
"enableToggleMode"
:
true
},
"addSeparator"
:
true
,
"showCaption"
:
true
,
"showIcon"
:
false
}
],
"rTMOSFilePath"
:
"pssysapps/Web/psappdataentities/Reginfo/psappdeuagroups/A046596b6afb50f9e5b"
},
...
...
trainsys-core/src/main/resources/model/cn/ibizlab/trainsys/PSSYSAPPS/Web/PSAPPDEVIEWS/bookBookEditViewEditorTest.json
浏览文件 @
f891f28a
...
...
@@ -2059,34 +2059,34 @@
"getPSAppViewLogics"
:
[
{
"logicTrigger"
:
"CUSTOM"
,
"logicType"
:
"APPVIEWUIACTION"
,
"name"
:
"grid_uagridcolumn1_u
a98d563
_click"
,
"name"
:
"grid_uagridcolumn1_u
479f517
_click"
,
"getPSAppViewUIAction"
:
{
"modelref"
:
true
,
"id"
:
"表格界面_
行编辑开关
操作"
"id"
:
"表格界面_
编辑
操作"
}
},
{
"logicTrigger"
:
"CUSTOM"
,
"logicType"
:
"APPVIEWUIACTION"
,
"name"
:
"grid_uagridcolumn1_u
479f517
_click"
,
"name"
:
"grid_uagridcolumn1_u
a98d563
_click"
,
"getPSAppViewUIAction"
:
{
"modelref"
:
true
,
"id"
:
"表格界面_
编辑
操作"
"id"
:
"表格界面_
行编辑开关
操作"
}
}
],
"getPSAppViewUIActions"
:
[
{
"name"
:
"表格界面_
行编辑开关
操作"
,
"name"
:
"表格界面_
编辑
操作"
,
"getPSUIAction"
:
{
"modelref"
:
true
,
"id"
:
"
ToggleRow
Edit"
"id"
:
"Edit"
},
"uIActionTarget"
:
"SINGLEKEY"
,
"xDataControlName"
:
"grid"
},
{
"name"
:
"表格界面_
编辑
操作"
,
"name"
:
"表格界面_
行编辑开关
操作"
,
"getPSUIAction"
:
{
"modelref"
:
true
,
"id"
:
"Edit"
"id"
:
"
ToggleRow
Edit"
},
"uIActionTarget"
:
"SINGLEKEY"
,
"xDataControlName"
:
"grid"
}
],
"getPSControlHandler"
:
{
...
...
@@ -2318,30 +2318,6 @@
"mOSFilePath"
:
"pssysapps/Web/psappdataentities/Reginfo/psappdeuagroups/A046596b6afb50f9e5b"
,
"name"
:
"操作列"
,
"getPSUIActionGroupDetails"
:
[
{
"detailType"
:
"DEUIACTION"
,
"name"
:
"ua98d563"
,
"getPSUIAction"
:
{
"caption"
:
"行编辑"
,
"codeName"
:
"ToggleRowEdit"
,
"fullCodeName"
:
"ToggleRowEdit"
,
"mOSFilePath"
:
"pssysapps/Web/pssysappdeuiactions/ToggleRowEdit"
,
"name"
:
"表格界面_行编辑开关操作"
,
"getPSSysImage"
:
{
"glyph"
:
"xf0ce@FontAwesome"
,
"cssClass"
:
"fa fa-table"
},
"predefinedType"
:
"GRIDVIEW_ROWEDITACTION"
,
"rTMOSFilePath"
:
"pssysapps/Web/pssysappdeuiactions/ToggleRowEdit"
,
"timeout"
:
60000
,
"uIActionMode"
:
"SYS"
,
"uIActionTag"
:
"ToggleRowEdit"
,
"uIActionType"
:
"DEUIACTION"
,
"enableToggleMode"
:
true
},
"addSeparator"
:
true
,
"showCaption"
:
true
,
"showIcon"
:
false
},
{
"detailType"
:
"DEUIACTION"
,
"name"
:
"u479f517"
,
"getPSUIAction"
:
{
...
...
@@ -2375,6 +2351,30 @@
"addSeparator"
:
true
,
"showCaption"
:
true
,
"showIcon"
:
true
},
{
"detailType"
:
"DEUIACTION"
,
"name"
:
"ua98d563"
,
"getPSUIAction"
:
{
"caption"
:
"行编辑"
,
"codeName"
:
"ToggleRowEdit"
,
"fullCodeName"
:
"ToggleRowEdit"
,
"mOSFilePath"
:
"pssysapps/Web/pssysappdeuiactions/ToggleRowEdit"
,
"name"
:
"表格界面_行编辑开关操作"
,
"getPSSysImage"
:
{
"glyph"
:
"xf0ce@FontAwesome"
,
"cssClass"
:
"fa fa-table"
},
"predefinedType"
:
"GRIDVIEW_ROWEDITACTION"
,
"rTMOSFilePath"
:
"pssysapps/Web/pssysappdeuiactions/ToggleRowEdit"
,
"timeout"
:
60000
,
"uIActionMode"
:
"SYS"
,
"uIActionTag"
:
"ToggleRowEdit"
,
"uIActionType"
:
"DEUIACTION"
,
"enableToggleMode"
:
true
},
"addSeparator"
:
true
,
"showCaption"
:
true
,
"showIcon"
:
false
}
],
"rTMOSFilePath"
:
"pssysapps/Web/psappdataentities/Reginfo/psappdeuagroups/A046596b6afb50f9e5b"
},
...
...
trainsys-core/src/main/resources/model/cn/ibizlab/trainsys/PSSYSAPPS/Web/PSAPPDEVIEWS/studentEditView.json
浏览文件 @
f891f28a
...
...
@@ -1682,34 +1682,34 @@
"getPSAppViewLogics"
:
[
{
"logicTrigger"
:
"CUSTOM"
,
"logicType"
:
"APPVIEWUIACTION"
,
"name"
:
"grid_uagridcolumn1_u
a98d563
_click"
,
"name"
:
"grid_uagridcolumn1_u
479f517
_click"
,
"getPSAppViewUIAction"
:
{
"modelref"
:
true
,
"id"
:
"表格界面_
行编辑开关
操作"
"id"
:
"表格界面_
编辑
操作"
}
},
{
"logicTrigger"
:
"CUSTOM"
,
"logicType"
:
"APPVIEWUIACTION"
,
"name"
:
"grid_uagridcolumn1_u
479f517
_click"
,
"name"
:
"grid_uagridcolumn1_u
a98d563
_click"
,
"getPSAppViewUIAction"
:
{
"modelref"
:
true
,
"id"
:
"表格界面_
编辑
操作"
"id"
:
"表格界面_
行编辑开关
操作"
}
}
],
"getPSAppViewUIActions"
:
[
{
"name"
:
"表格界面_
行编辑开关
操作"
,
"name"
:
"表格界面_
编辑
操作"
,
"getPSUIAction"
:
{
"modelref"
:
true
,
"id"
:
"
ToggleRow
Edit"
"id"
:
"Edit"
},
"uIActionTarget"
:
"SINGLEKEY"
,
"xDataControlName"
:
"grid"
},
{
"name"
:
"表格界面_
编辑
操作"
,
"name"
:
"表格界面_
行编辑开关
操作"
,
"getPSUIAction"
:
{
"modelref"
:
true
,
"id"
:
"Edit"
"id"
:
"
ToggleRow
Edit"
},
"uIActionTarget"
:
"SINGLEKEY"
,
"xDataControlName"
:
"grid"
}
],
"getPSControlHandler"
:
{
...
...
@@ -1941,30 +1941,6 @@
"mOSFilePath"
:
"pssysapps/Web/psappdataentities/Reginfo/psappdeuagroups/A046596b6afb50f9e5b"
,
"name"
:
"操作列"
,
"getPSUIActionGroupDetails"
:
[
{
"detailType"
:
"DEUIACTION"
,
"name"
:
"ua98d563"
,
"getPSUIAction"
:
{
"caption"
:
"行编辑"
,
"codeName"
:
"ToggleRowEdit"
,
"fullCodeName"
:
"ToggleRowEdit"
,
"mOSFilePath"
:
"pssysapps/Web/pssysappdeuiactions/ToggleRowEdit"
,
"name"
:
"表格界面_行编辑开关操作"
,
"getPSSysImage"
:
{
"glyph"
:
"xf0ce@FontAwesome"
,
"cssClass"
:
"fa fa-table"
},
"predefinedType"
:
"GRIDVIEW_ROWEDITACTION"
,
"rTMOSFilePath"
:
"pssysapps/Web/pssysappdeuiactions/ToggleRowEdit"
,
"timeout"
:
60000
,
"uIActionMode"
:
"SYS"
,
"uIActionTag"
:
"ToggleRowEdit"
,
"uIActionType"
:
"DEUIACTION"
,
"enableToggleMode"
:
true
},
"addSeparator"
:
true
,
"showCaption"
:
true
,
"showIcon"
:
false
},
{
"detailType"
:
"DEUIACTION"
,
"name"
:
"u479f517"
,
"getPSUIAction"
:
{
...
...
@@ -1998,6 +1974,30 @@
"addSeparator"
:
true
,
"showCaption"
:
true
,
"showIcon"
:
true
},
{
"detailType"
:
"DEUIACTION"
,
"name"
:
"ua98d563"
,
"getPSUIAction"
:
{
"caption"
:
"行编辑"
,
"codeName"
:
"ToggleRowEdit"
,
"fullCodeName"
:
"ToggleRowEdit"
,
"mOSFilePath"
:
"pssysapps/Web/pssysappdeuiactions/ToggleRowEdit"
,
"name"
:
"表格界面_行编辑开关操作"
,
"getPSSysImage"
:
{
"glyph"
:
"xf0ce@FontAwesome"
,
"cssClass"
:
"fa fa-table"
},
"predefinedType"
:
"GRIDVIEW_ROWEDITACTION"
,
"rTMOSFilePath"
:
"pssysapps/Web/pssysappdeuiactions/ToggleRowEdit"
,
"timeout"
:
60000
,
"uIActionMode"
:
"SYS"
,
"uIActionTag"
:
"ToggleRowEdit"
,
"uIActionType"
:
"DEUIACTION"
,
"enableToggleMode"
:
true
},
"addSeparator"
:
true
,
"showCaption"
:
true
,
"showIcon"
:
false
}
],
"rTMOSFilePath"
:
"pssysapps/Web/psappdataentities/Reginfo/psappdeuagroups/A046596b6afb50f9e5b"
},
...
...
trainsys-core/src/main/resources/model/cn/ibizlab/trainsys/PSSYSAPPS/Web/PSSYSAPP.json
浏览文件 @
f891f28a
...
...
@@ -7304,34 +7304,34 @@
"getPSAppViewLogics" : [ {
"logicTrigger" : "CUSTOM",
"logicType" : "APPVIEWUIACTION",
"name" : "grid_uagridcolumn1_u
a98d563
_click",
"name" : "grid_uagridcolumn1_u
479f517
_click",
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "表格界面_
行编辑开关
操作"
"id" : "表格界面_
编辑
操作"
}
}, {
"logicTrigger" : "CUSTOM",
"logicType" : "APPVIEWUIACTION",
"name" : "grid_uagridcolumn1_u
479f517
_click",
"name" : "grid_uagridcolumn1_u
a98d563
_click",
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "表格界面_
编辑
操作"
"id" : "表格界面_
行编辑开关
操作"
}
} ],
"getPSAppViewUIActions" : [ {
"name" : "表格界面_
行编辑开关
操作",
"name" : "表格界面_
编辑
操作",
"getPSUIAction" : {
"modelref" : true,
"id" : "
ToggleRow
Edit"
"id" : "Edit"
},
"uIActionTarget" : "SINGLEKEY",
"xDataControlName" : "grid"
}, {
"name" : "表格界面_
编辑
操作",
"name" : "表格界面_
行编辑开关
操作",
"getPSUIAction" : {
"modelref" : true,
"id" : "Edit"
"id" : "
ToggleRow
Edit"
},
"uIActionTarget" : "SINGLEKEY",
"xDataControlName" : "grid"
} ],
"getPSControlHandler" : {
...
...
@@ -7563,30 +7563,6 @@
"mOSFilePath" : "pssysapps/Web/psappdataentities/Reginfo/psappdeuagroups/A046596b6afb50f9e5b",
"name" : "操作列",
"getPSUIActionGroupDetails" : [ {
"detailType" : "DEUIACTION",
"name" : "ua98d563",
"getPSUIAction" : {
"caption" : "行编辑",
"codeName" : "ToggleRowEdit",
"fullCodeName" : "ToggleRowEdit",
"mOSFilePath" : "pssysapps/Web/pssysappdeuiactions/ToggleRowEdit",
"name" : "表格界面_行编辑开关操作",
"getPSSysImage" : {
"glyph" : "xf0ce@FontAwesome",
"cssClass" : "fa fa-table"
},
"predefinedType" : "GRIDVIEW_ROWEDITACTION",
"rTMOSFilePath" : "pssysapps/Web/pssysappdeuiactions/ToggleRowEdit",
"timeout" : 60000,
"uIActionMode" : "SYS",
"uIActionTag" : "ToggleRowEdit",
"uIActionType" : "DEUIACTION",
"enableToggleMode" : true
},
"addSeparator" : true,
"showCaption" : true,
"showIcon" : false
}, {
"detailType" : "DEUIACTION",
"name" : "u479f517",
"getPSUIAction" : {
...
...
@@ -7620,6 +7596,30 @@
"addSeparator" : true,
"showCaption" : true,
"showIcon" : true
}, {
"detailType" : "DEUIACTION",
"name" : "ua98d563",
"getPSUIAction" : {
"caption" : "行编辑",
"codeName" : "ToggleRowEdit",
"fullCodeName" : "ToggleRowEdit",
"mOSFilePath" : "pssysapps/Web/pssysappdeuiactions/ToggleRowEdit",
"name" : "表格界面_行编辑开关操作",
"getPSSysImage" : {
"glyph" : "xf0ce@FontAwesome",
"cssClass" : "fa fa-table"
},
"predefinedType" : "GRIDVIEW_ROWEDITACTION",
"rTMOSFilePath" : "pssysapps/Web/pssysappdeuiactions/ToggleRowEdit",
"timeout" : 60000,
"uIActionMode" : "SYS",
"uIActionTag" : "ToggleRowEdit",
"uIActionType" : "DEUIACTION",
"enableToggleMode" : true
},
"addSeparator" : true,
"showCaption" : true,
"showIcon" : false
} ],
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/Reginfo/psappdeuagroups/A046596b6afb50f9e5b"
},
...
...
@@ -12103,34 +12103,34 @@
"getPSAppViewLogics" : [ {
"logicTrigger" : "CUSTOM",
"logicType" : "APPVIEWUIACTION",
"name" : "grid_uagridcolumn1_u
a98d563
_click",
"name" : "grid_uagridcolumn1_u
479f517
_click",
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "表格界面_
行编辑开关
操作"
"id" : "表格界面_
编辑
操作"
}
}, {
"logicTrigger" : "CUSTOM",
"logicType" : "APPVIEWUIACTION",
"name" : "grid_uagridcolumn1_u
479f517
_click",
"name" : "grid_uagridcolumn1_u
a98d563
_click",
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "表格界面_
编辑
操作"
"id" : "表格界面_
行编辑开关
操作"
}
} ],
"getPSAppViewUIActions" : [ {
"name" : "表格界面_
行编辑开关
操作",
"name" : "表格界面_
编辑
操作",
"getPSUIAction" : {
"modelref" : true,
"id" : "
ToggleRow
Edit"
"id" : "Edit"
},
"uIActionTarget" : "SINGLEKEY",
"xDataControlName" : "grid"
}, {
"name" : "表格界面_
编辑
操作",
"name" : "表格界面_
行编辑开关
操作",
"getPSUIAction" : {
"modelref" : true,
"id" : "Edit"
"id" : "
ToggleRow
Edit"
},
"uIActionTarget" : "SINGLEKEY",
"xDataControlName" : "grid"
} ],
"getPSControlHandler" : {
...
...
@@ -12362,30 +12362,6 @@
"mOSFilePath" : "pssysapps/Web/psappdataentities/Reginfo/psappdeuagroups/A046596b6afb50f9e5b",
"name" : "操作列",
"getPSUIActionGroupDetails" : [ {
"detailType" : "DEUIACTION",
"name" : "ua98d563",
"getPSUIAction" : {
"caption" : "行编辑",
"codeName" : "ToggleRowEdit",
"fullCodeName" : "ToggleRowEdit",
"mOSFilePath" : "pssysapps/Web/pssysappdeuiactions/ToggleRowEdit",
"name" : "表格界面_行编辑开关操作",
"getPSSysImage" : {
"glyph" : "xf0ce@FontAwesome",
"cssClass" : "fa fa-table"
},
"predefinedType" : "GRIDVIEW_ROWEDITACTION",
"rTMOSFilePath" : "pssysapps/Web/pssysappdeuiactions/ToggleRowEdit",
"timeout" : 60000,
"uIActionMode" : "SYS",
"uIActionTag" : "ToggleRowEdit",
"uIActionType" : "DEUIACTION",
"enableToggleMode" : true
},
"addSeparator" : true,
"showCaption" : true,
"showIcon" : false
}, {
"detailType" : "DEUIACTION",
"name" : "u479f517",
"getPSUIAction" : {
...
...
@@ -12419,6 +12395,30 @@
"addSeparator" : true,
"showCaption" : true,
"showIcon" : true
}, {
"detailType" : "DEUIACTION",
"name" : "ua98d563",
"getPSUIAction" : {
"caption" : "行编辑",
"codeName" : "ToggleRowEdit",
"fullCodeName" : "ToggleRowEdit",
"mOSFilePath" : "pssysapps/Web/pssysappdeuiactions/ToggleRowEdit",
"name" : "表格界面_行编辑开关操作",
"getPSSysImage" : {
"glyph" : "xf0ce@FontAwesome",
"cssClass" : "fa fa-table"
},
"predefinedType" : "GRIDVIEW_ROWEDITACTION",
"rTMOSFilePath" : "pssysapps/Web/pssysappdeuiactions/ToggleRowEdit",
"timeout" : 60000,
"uIActionMode" : "SYS",
"uIActionTag" : "ToggleRowEdit",
"uIActionType" : "DEUIACTION",
"enableToggleMode" : true
},
"addSeparator" : true,
"showCaption" : true,
"showIcon" : false
} ],
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/Reginfo/psappdeuagroups/A046596b6afb50f9e5b"
},
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录