Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
I
ibzdict
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
ibiz4jteam
ibzdict
提交
85a4e899
提交
85a4e899
编写于
4月 18, 2020
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
ibizdev提交
上级
35d9fa5c
变更
16
显示空白字符变更
内嵌
并排
正在显示
16 个修改的文件
包含
156 行增加
和
220 行删除
+156
-220
app-format-data.vue
app_web/src/components/app-format-data/app-format-data.vue
+13
-1
app-image-preview.vue
...eb/src/components/app-image-preview/app-image-preview.vue
+17
-17
app-range-editor.vue
app_web/src/components/app-range-editor/app-range-editor.vue
+1
-1
en-US.ts
app_web/src/locale/lang/en-US.ts
+9
-1
zh-CN.ts
app_web/src/locale/lang/zh-CN.ts
+9
-1
ibzdict-edit-view-base.vue
...c/pages/dict/ibzdict-edit-view/ibzdict-edit-view-base.vue
+18
-17
ibzdict-item-edit-view-base.vue
...ct/ibzdict-item-edit-view/ibzdict-item-edit-view-base.vue
+18
-17
app-index-view-appmenu-base.vue
...pp/app-index-view-appmenu/app-index-view-appmenu-base.vue
+3
-3
default-searchform-base.vue
...ts/ibzdict/default-searchform/default-searchform-base.vue
+3
-3
main-form-base.vue
app_web/src/widgets/ibzdict/main-form/main-form-base.vue
+11
-35
main-grid-base.vue
app_web/src/widgets/ibzdict/main-grid/main-grid-base.vue
+3
-3
main-grid.less
app_web/src/widgets/ibzdict/main-grid/main-grid.less
+7
-0
default-searchform-base.vue
...bzdictitem/default-searchform/default-searchform-base.vue
+3
-3
main-form-base.vue
app_web/src/widgets/ibzdictitem/main-form/main-form-base.vue
+31
-115
main-grid-base.vue
app_web/src/widgets/ibzdictitem/main-grid/main-grid-base.vue
+3
-3
main-grid.less
app_web/src/widgets/ibzdictitem/main-grid/main-grid.less
+7
-0
未找到文件。
app_web/src/components/app-format-data/app-format-data.vue
浏览文件 @
85a4e899
...
@@ -31,8 +31,20 @@ export default class AppFormatData extends Vue {
...
@@ -31,8 +31,20 @@ export default class AppFormatData extends Vue {
* @memberof AppFormatData
* @memberof AppFormatData
*/
*/
getcurValue
(){
getcurValue
(){
if
(
this
.
data
){
if
(
this
.
format
){
if
(
this
.
format
.
indexOf
(
'%1$t'
)
!==
-
1
){
return
moment
(
this
.
data
).
format
(
"YYYY-MM-DD HH:mm:ss"
);
}
else
{
return
moment
(
this
.
data
).
format
(
this
.
format
);
return
moment
(
this
.
data
).
format
(
this
.
format
);
}
}
}
else
{
return
this
.
data
;
}
}
else
{
return
""
;
}
}
}
}
</
script
>
</
script
>
...
...
app_web/src/components/app-image-preview/app-image-preview.vue
浏览文件 @
85a4e899
...
@@ -35,13 +35,13 @@ import { Environment } from '@/environments/environment';
...
@@ -35,13 +35,13 @@ import { Environment } from '@/environments/environment';
import
{
Subject
,
Unsubscribable
}
from
'rxjs'
;
import
{
Subject
,
Unsubscribable
}
from
'rxjs'
;
@
Component
({})
@
Component
({})
export
default
class
AppImage
Upload
extends
Vue
{
export
default
class
AppImage
Preview
extends
Vue
{
/**
/**
* 表单状态
* 表单状态
*
*
* @type {Subject<any>}
* @type {Subject<any>}
* @memberof AppImage
Upload
* @memberof AppImage
Preview
*/
*/
@
Prop
()
public
formState
?:
Subject
<
any
>
@
Prop
()
public
formState
?:
Subject
<
any
>
...
@@ -51,7 +51,7 @@ export default class AppImageUpload extends Vue {
...
@@ -51,7 +51,7 @@ export default class AppImageUpload extends Vue {
*
*
* @private
* @private
* @type {(Unsubscribable | undefined)}
* @type {(Unsubscribable | undefined)}
* @memberof AppImage
Upload
* @memberof AppImage
Preview
*/
*/
private
formStateEvent
:
Unsubscribable
|
undefined
;
private
formStateEvent
:
Unsubscribable
|
undefined
;
...
@@ -59,7 +59,7 @@ export default class AppImageUpload extends Vue {
...
@@ -59,7 +59,7 @@ export default class AppImageUpload extends Vue {
* 初始化值
* 初始化值
*
*
* @type {*}
* @type {*}
* @memberof AppImage
Upload
* @memberof AppImage
Preview
*/
*/
@
Prop
()
public
value
?:
any
;
@
Prop
()
public
value
?:
any
;
...
@@ -69,7 +69,7 @@ export default class AppImageUpload extends Vue {
...
@@ -69,7 +69,7 @@ export default class AppImageUpload extends Vue {
* @param {*} newval
* @param {*} newval
* @param {*} val
* @param {*} val
* @returns
* @returns
* @memberof AppImage
Upload
* @memberof AppImage
Preview
*/
*/
@
Watch
(
'value'
)
@
Watch
(
'value'
)
onValueChange
(
newval
:
any
,
val
:
any
)
{
onValueChange
(
newval
:
any
,
val
:
any
)
{
...
@@ -80,28 +80,28 @@ export default class AppImageUpload extends Vue {
...
@@ -80,28 +80,28 @@ export default class AppImageUpload extends Vue {
* 所属表单项名称
* 所属表单项名称
*
*
* @type {string}
* @type {string}
* @memberof AppImage
Upload
* @memberof AppImage
Preview
*/
*/
@
Prop
()
public
name
!
:
string
;
@
Prop
()
public
name
!
:
string
;
/**
/**
* 上传文件路径
* 上传文件路径
*
*
* @memberof AppImage
Upload
* @memberof AppImage
Preview
*/
*/
public
uploadUrl
=
Environment
.
BaseUrl
+
Environment
.
UploadFile
;
public
uploadUrl
=
Environment
.
BaseUrl
+
Environment
.
UploadFile
;
/**
/**
* 下载文件路径
* 下载文件路径
*
*
* @memberof AppImage
Upload
* @memberof AppImage
Preview
*/
*/
public
downloadUrl
=
Environment
.
BaseUrl
+
Environment
.
ExportFile
;
public
downloadUrl
=
Environment
.
BaseUrl
+
Environment
.
ExportFile
;
/**
/**
* 文件列表
* 文件列表
*
*
* @memberof AppImage
Upload
* @memberof AppImage
Preview
*/
*/
@
Provide
()
public
files
=
[];
@
Provide
()
public
files
=
[];
...
@@ -109,7 +109,7 @@ export default class AppImageUpload extends Vue {
...
@@ -109,7 +109,7 @@ export default class AppImageUpload extends Vue {
* 设置files
* 设置files
*
*
* @private
* @private
* @memberof AppImage
Upload
* @memberof AppImage
Preview
*/
*/
private
setFiles
(
value
:
any
):
void
{
private
setFiles
(
value
:
any
):
void
{
let
_files
=
JSON
.
parse
(
value
);
let
_files
=
JSON
.
parse
(
value
);
...
@@ -127,7 +127,7 @@ export default class AppImageUpload extends Vue {
...
@@ -127,7 +127,7 @@ export default class AppImageUpload extends Vue {
/**
/**
* vue 生命周期
* vue 生命周期
*
*
* @memberof AppImage
Upload
* @memberof AppImage
Preview
*/
*/
public
created
()
{
public
created
()
{
if
(
this
.
formState
)
{
if
(
this
.
formState
)
{
...
@@ -143,7 +143,7 @@ export default class AppImageUpload extends Vue {
...
@@ -143,7 +143,7 @@ export default class AppImageUpload extends Vue {
/**
/**
* vue 生命周期
* vue 生命周期
*
*
* @memberof AppImage
Upload
* @memberof AppImage
Preview
*/
*/
public
mounted
()
{
public
mounted
()
{
this
.
setFiles
(
this
.
value
);
this
.
setFiles
(
this
.
value
);
...
@@ -152,7 +152,7 @@ export default class AppImageUpload extends Vue {
...
@@ -152,7 +152,7 @@ export default class AppImageUpload extends Vue {
/**
/**
* 组件销毁
* 组件销毁
*
*
* @memberof AppImage
Upload
* @memberof AppImage
Preview
*/
*/
public
destroyed
():
void
{
public
destroyed
():
void
{
if
(
this
.
formStateEvent
)
{
if
(
this
.
formStateEvent
)
{
...
@@ -164,7 +164,7 @@ export default class AppImageUpload extends Vue {
...
@@ -164,7 +164,7 @@ export default class AppImageUpload extends Vue {
* 下载文件
* 下载文件
*
*
* @param {*} file
* @param {*} file
* @memberof AppImage
Upload
* @memberof AppImage
Preview
*/
*/
public
onDownload
(
file
:
any
)
{
public
onDownload
(
file
:
any
)
{
window
.
open
(
file
.
url
);
window
.
open
(
file
.
url
);
...
@@ -174,7 +174,7 @@ export default class AppImageUpload extends Vue {
...
@@ -174,7 +174,7 @@ export default class AppImageUpload extends Vue {
* 预览图片地址
* 预览图片地址
*
*
* @type {string}
* @type {string}
* @memberof AppImage
Upload
* @memberof AppImage
Preview
*/
*/
public
dialogImageUrl
:
string
=
''
;
public
dialogImageUrl
:
string
=
''
;
...
@@ -182,7 +182,7 @@ export default class AppImageUpload extends Vue {
...
@@ -182,7 +182,7 @@ export default class AppImageUpload extends Vue {
* 是否显示预览界面
* 是否显示预览界面
*
*
* @type {boolean}
* @type {boolean}
* @memberof AppImage
Upload
* @memberof AppImage
Preview
*/
*/
public
dialogVisible
:
boolean
=
false
;
public
dialogVisible
:
boolean
=
false
;
...
@@ -190,7 +190,7 @@ export default class AppImageUpload extends Vue {
...
@@ -190,7 +190,7 @@ export default class AppImageUpload extends Vue {
* 预览
* 预览
*
*
* @param {*} file
* @param {*} file
* @memberof AppImage
Upload
* @memberof AppImage
Preview
*/
*/
public
onPreview
(
file
:
any
)
{
public
onPreview
(
file
:
any
)
{
this
.
dialogImageUrl
=
file
.
url
;
this
.
dialogImageUrl
=
file
.
url
;
...
...
app_web/src/components/app-range-editor/app-range-editor.vue
浏览文件 @
85a4e899
<
template
>
<
template
>
<div
class=
"app-range-editor"
>
<div
class=
"app-range-editor"
>
<template
v-for=
"(item, index) in refFormItem"
>
<template
v-for=
"(item, index) in refFormItem"
>
<span
v-if=
"index > 0"
class=
"editor-space"
:key=
"index"
>
~
</span>
<span
v-if=
"index > 0"
class=
"editor-space"
:key=
"index
+10
"
>
~
</span>
<date-picker
<date-picker
:key=
"index"
:key=
"index"
v-if=
"Object.is(editorType, 'DATEPICKEREX') || Object.is(editorType, 'DATEPICKEREX_NOTIME')"
v-if=
"Object.is(editorType, 'DATEPICKEREX') || Object.is(editorType, 'DATEPICKEREX_NOTIME')"
...
...
app_web/src/locale/lang/en-US.ts
浏览文件 @
85a4e899
...
@@ -5,6 +5,12 @@ import codelist_en_US from '@locale/lanres/codelist/codelist_en_US';
...
@@ -5,6 +5,12 @@ import codelist_en_US from '@locale/lanres/codelist/codelist_en_US';
export
default
{
export
default
{
app
:
{
app
:
{
commonWords
:{
error
:
'Error'
,
success
:
'Success'
,
ok
:
'OK'
,
cancel
:
'Cancel'
,
},
gridpage
:
{
gridpage
:
{
choicecolumns
:
'Choice columns'
,
choicecolumns
:
'Choice columns'
,
refresh
:
'refresh'
,
refresh
:
'refresh'
,
...
@@ -32,7 +38,9 @@ export default {
...
@@ -32,7 +38,9 @@ export default {
month
:
'month'
,
month
:
'month'
,
week
:
'week'
,
week
:
'week'
,
day
:
'day'
,
day
:
'day'
,
list
:
'list'
list
:
'list'
,
dateSelectModalTitle
:
'select the time you wanted'
,
gotoDate
:
'goto'
,
},
},
// 非实体视图
// 非实体视图
views
:
{
views
:
{
...
...
app_web/src/locale/lang/zh-CN.ts
浏览文件 @
85a4e899
...
@@ -5,6 +5,12 @@ import codelist_zh_CN from '@locale/lanres/codelist/codelist_zh_CN';
...
@@ -5,6 +5,12 @@ import codelist_zh_CN from '@locale/lanres/codelist/codelist_zh_CN';
export
default
{
export
default
{
app
:
{
app
:
{
commonWords
:{
error
:
'失败'
,
success
:
'成功'
,
ok
:
'确认'
,
cancel
:
'取消'
,
},
gridpage
:
{
gridpage
:
{
choicecolumns
:
'选择列'
,
choicecolumns
:
'选择列'
,
refresh
:
'刷新'
,
refresh
:
'刷新'
,
...
@@ -32,7 +38,9 @@ export default {
...
@@ -32,7 +38,9 @@ export default {
month
:
'月'
,
month
:
'月'
,
week
:
'周'
,
week
:
'周'
,
day
:
'天'
,
day
:
'天'
,
list
:
'列'
list
:
'列'
,
dateSelectModalTitle
:
'选择要跳转的时间'
,
gotoDate
:
'跳转'
,
},
},
// 非实体视图
// 非实体视图
views
:
{
views
:
{
...
...
app_web/src/pages/dict/ibzdict-edit-view/ibzdict-edit-view-base.vue
浏览文件 @
85a4e899
...
@@ -1069,16 +1069,12 @@ export default class IBZDictEditViewBase extends Vue {
...
@@ -1069,16 +1069,12 @@ export default class IBZDictEditViewBase extends Vue {
* @memberof IBZDictEditViewBase
* @memberof IBZDictEditViewBase
*/
*/
protected
SaveAndExit
(
args
:
any
[],
contextJO
?:
any
,
params
?:
any
,
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
protected
SaveAndExit
(
args
:
any
[],
contextJO
?:
any
,
params
?:
any
,
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
// _this 指向容器对象
// xData 数据对象
const
_this
:
any
=
this
;
const
_this
:
any
=
this
;
if
(
xData
&&
xData
.
saveAndExit
instanceof
Function
)
{
if
(
xData
&&
xData
.
saveAndExit
instanceof
Function
)
{
xData
.
saveAndExit
().
then
((
response
:
any
)
=>
{
xData
.
saveAndExit
().
then
((
response
:
any
)
=>
{
if
(
!
response
||
response
.
status
!==
200
)
{
if
(
!
response
||
response
.
status
!==
200
)
{
_this
.
$emit
(
'viewdataschange'
,
null
);
return
;
return
;
}
}
_this
.
$emit
(
'viewdataschange'
,
[{
...
response
.
data
}]);
if
(
window
.
parent
){
if
(
window
.
parent
){
window
.
parent
.
postMessage
([{
...
response
.
data
}],
'*'
);
window
.
parent
.
postMessage
([{
...
response
.
data
}],
'*'
);
}
}
...
@@ -1088,7 +1084,6 @@ export default class IBZDictEditViewBase extends Vue {
...
@@ -1088,7 +1084,6 @@ export default class IBZDictEditViewBase extends Vue {
if
(
!
response
||
response
.
status
!==
200
)
{
if
(
!
response
||
response
.
status
!==
200
)
{
return
;
return
;
}
}
_this
.
$emit
(
'closeview'
,
[{
...
response
.
data
}]);
if
(
window
.
parent
){
if
(
window
.
parent
){
window
.
parent
.
postMessage
([{
...
response
.
data
}],
'*'
);
window
.
parent
.
postMessage
([{
...
response
.
data
}],
'*'
);
}
}
...
@@ -1108,20 +1103,26 @@ export default class IBZDictEditViewBase extends Vue {
...
@@ -1108,20 +1103,26 @@ export default class IBZDictEditViewBase extends Vue {
*/
*/
protected
RemoveAndExit
(
args
:
any
[],
contextJO
?:
any
,
params
?:
any
,
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
protected
RemoveAndExit
(
args
:
any
[],
contextJO
?:
any
,
params
?:
any
,
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
const
_this
:
any
=
this
;
const
_this
:
any
=
this
;
if
(
!
xData
||
!
(
xData
.
removeAndExit
instanceof
Function
))
{
if
(
xData
&&
xData
.
removeAndExit
instanceof
Function
)
{
return
;
xData
.
removeAndExit
().
then
((
response
:
any
)
=>
{
if
(
!
response
||
response
.
status
!==
200
)
{
return
;
}
if
(
window
.
parent
){
window
.
parent
.
postMessage
([{
...
response
.
data
}],
'*'
);
}
}
xData
.
removeAndExit
(
args
).
then
((
response
:
any
)
=>
{
});
}
else
if
(
_this
.
removeAndExit
&&
_this
.
removeAndExit
instanceof
Function
)
{
_this
.
removeAndExit
().
then
((
response
:
any
)
=>
{
if
(
!
response
||
response
.
status
!==
200
)
{
if
(
!
response
||
response
.
status
!==
200
)
{
_this
.
$emit
(
'viewdataschange'
,
JSON
.
stringify
({
status
:
'error'
,
action
:
'removeAndExit'
}));
return
;
return
;
}
}
_this
.
$emit
(
'viewdataschange'
,
JSON
.
stringify
({
status
:
'success'
,
action
:
'removeAndExit'
,
data
:
response
.
data
}));
if
(
window
.
parent
){
if
(
window
.
parent
){
window
.
parent
.
postMessage
([{
...
response
.
data
}],
'*'
);
window
.
parent
.
postMessage
([{
...
response
.
data
}],
'*'
);
}
}
});
});
}
}
}
/**
/**
* 开始流程
* 开始流程
*
*
...
...
app_web/src/pages/dict/ibzdict-item-edit-view/ibzdict-item-edit-view-base.vue
浏览文件 @
85a4e899
...
@@ -1069,16 +1069,12 @@ export default class IBZDictItemEditViewBase extends Vue {
...
@@ -1069,16 +1069,12 @@ export default class IBZDictItemEditViewBase extends Vue {
* @memberof IBZDictItemEditViewBase
* @memberof IBZDictItemEditViewBase
*/
*/
protected
SaveAndExit
(
args
:
any
[],
contextJO
?:
any
,
params
?:
any
,
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
protected
SaveAndExit
(
args
:
any
[],
contextJO
?:
any
,
params
?:
any
,
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
// _this 指向容器对象
// xData 数据对象
const
_this
:
any
=
this
;
const
_this
:
any
=
this
;
if
(
xData
&&
xData
.
saveAndExit
instanceof
Function
)
{
if
(
xData
&&
xData
.
saveAndExit
instanceof
Function
)
{
xData
.
saveAndExit
().
then
((
response
:
any
)
=>
{
xData
.
saveAndExit
().
then
((
response
:
any
)
=>
{
if
(
!
response
||
response
.
status
!==
200
)
{
if
(
!
response
||
response
.
status
!==
200
)
{
_this
.
$emit
(
'viewdataschange'
,
null
);
return
;
return
;
}
}
_this
.
$emit
(
'viewdataschange'
,
[{
...
response
.
data
}]);
if
(
window
.
parent
){
if
(
window
.
parent
){
window
.
parent
.
postMessage
([{
...
response
.
data
}],
'*'
);
window
.
parent
.
postMessage
([{
...
response
.
data
}],
'*'
);
}
}
...
@@ -1088,7 +1084,6 @@ export default class IBZDictItemEditViewBase extends Vue {
...
@@ -1088,7 +1084,6 @@ export default class IBZDictItemEditViewBase extends Vue {
if
(
!
response
||
response
.
status
!==
200
)
{
if
(
!
response
||
response
.
status
!==
200
)
{
return
;
return
;
}
}
_this
.
$emit
(
'closeview'
,
[{
...
response
.
data
}]);
if
(
window
.
parent
){
if
(
window
.
parent
){
window
.
parent
.
postMessage
([{
...
response
.
data
}],
'*'
);
window
.
parent
.
postMessage
([{
...
response
.
data
}],
'*'
);
}
}
...
@@ -1108,20 +1103,26 @@ export default class IBZDictItemEditViewBase extends Vue {
...
@@ -1108,20 +1103,26 @@ export default class IBZDictItemEditViewBase extends Vue {
*/
*/
protected
RemoveAndExit
(
args
:
any
[],
contextJO
?:
any
,
params
?:
any
,
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
protected
RemoveAndExit
(
args
:
any
[],
contextJO
?:
any
,
params
?:
any
,
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
const
_this
:
any
=
this
;
const
_this
:
any
=
this
;
if
(
!
xData
||
!
(
xData
.
removeAndExit
instanceof
Function
))
{
if
(
xData
&&
xData
.
removeAndExit
instanceof
Function
)
{
return
;
xData
.
removeAndExit
().
then
((
response
:
any
)
=>
{
if
(
!
response
||
response
.
status
!==
200
)
{
return
;
}
if
(
window
.
parent
){
window
.
parent
.
postMessage
([{
...
response
.
data
}],
'*'
);
}
}
xData
.
removeAndExit
(
args
).
then
((
response
:
any
)
=>
{
});
}
else
if
(
_this
.
removeAndExit
&&
_this
.
removeAndExit
instanceof
Function
)
{
_this
.
removeAndExit
().
then
((
response
:
any
)
=>
{
if
(
!
response
||
response
.
status
!==
200
)
{
if
(
!
response
||
response
.
status
!==
200
)
{
_this
.
$emit
(
'viewdataschange'
,
JSON
.
stringify
({
status
:
'error'
,
action
:
'removeAndExit'
}));
return
;
return
;
}
}
_this
.
$emit
(
'viewdataschange'
,
JSON
.
stringify
({
status
:
'success'
,
action
:
'removeAndExit'
,
data
:
response
.
data
}));
if
(
window
.
parent
){
if
(
window
.
parent
){
window
.
parent
.
postMessage
([{
...
response
.
data
}],
'*'
);
window
.
parent
.
postMessage
([{
...
response
.
data
}],
'*'
);
}
}
});
});
}
}
}
/**
/**
* 开始流程
* 开始流程
*
*
...
...
app_web/src/widgets/app/app-index-view-appmenu/app-index-view-appmenu-base.vue
浏览文件 @
85a4e899
...
@@ -201,12 +201,12 @@ export default class AppIndexViewBase extends Vue implements ControlInterface {
...
@@ -201,12 +201,12 @@ export default class AppIndexViewBase extends Vue implements ControlInterface {
/**
/**
* 关闭视图
* 关闭视图
*
*
* @param {any
[]
} args
* @param {any} args
* @memberof AppIndexView
* @memberof AppIndexView
*/
*/
protected
closeView
(
args
:
any
[]
):
void
{
protected
closeView
(
args
:
any
):
void
{
let
_this
:
any
=
this
;
let
_this
:
any
=
this
;
_this
.
$emit
(
'closeview'
,
args
);
_this
.
$emit
(
'closeview'
,
[
args
]
);
}
}
/**
/**
...
...
app_web/src/widgets/ibzdict/default-searchform/default-searchform-base.vue
浏览文件 @
85a4e899
...
@@ -127,12 +127,12 @@ export default class DefaultBase extends Vue implements ControlInterface {
...
@@ -127,12 +127,12 @@ export default class DefaultBase extends Vue implements ControlInterface {
/**
/**
* 关闭视图
* 关闭视图
*
*
* @param {any
[]
} args
* @param {any} args
* @memberof Default
* @memberof Default
*/
*/
protected
closeView
(
args
:
any
[]
):
void
{
protected
closeView
(
args
:
any
):
void
{
let
_this
:
any
=
this
;
let
_this
:
any
=
this
;
_this
.
$emit
(
'closeview'
,
args
);
_this
.
$emit
(
'closeview'
,
[
args
]
);
}
}
/**
/**
...
...
app_web/src/widgets/ibzdict/main-form/main-form-base.vue
浏览文件 @
85a4e899
...
@@ -8,40 +8,16 @@
...
@@ -8,40 +8,16 @@
<row>
<row>
<i-col
v-show=
"detailsModel.ibzdictid.visible"
:style=
"
{}" :md="{ span: 12, offset: 0 }" :lg="{ span: 12, offset: 0 }" :xl="{ span: 12, offset: 0 }">
<i-col
v-show=
"detailsModel.ibzdictid.visible"
:style=
"
{}" :md="{ span: 12, offset: 0 }" :lg="{ span: 12, offset: 0 }" :xl="{ span: 12, offset: 0 }">
!!!!模版产生代码错误:Syntax error in template "TEMPLCODE_zh_CN" in line 9, column 435:
<app-form-item
name=
'ibzdictid'
:itemRules=
"this.rules.ibzdictid"
class=
''
:caption=
"$t('ibzdict.main_form.details.ibzdictid')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.ibzdictid.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
Encountered "=", but was expecting one of:
<input-box
v-model=
"data.ibzdictid"
@
enter=
"onEnter($event)"
unit=
""
:disabled=
"detailsModel.ibzdictid.disabled"
type=
'text'
style=
""
></input-box>
<STRING
_LITERAL
>
</app-form-item>
<RAW
_STRING
>
"false"
"true"
<INTEGER>
<DECIMAL>
"."
"+"
"-"
"!"
"["
"("
"{"
<ID>
</i-col>
</i-col>
<i-col
v-show=
"detailsModel.ibzdictname.visible"
:style=
"
{}" :md="{ span: 12, offset: 0 }" :lg="{ span: 12, offset: 0 }" :xl="{ span: 12, offset: 0 }">
<i-col
v-show=
"detailsModel.ibzdictname.visible"
:style=
"
{}" :md="{ span: 12, offset: 0 }" :lg="{ span: 12, offset: 0 }" :xl="{ span: 12, offset: 0 }">
!!!!模版产生代码错误:Syntax error in template "TEMPLCODE_zh_CN" in line 9, column 435:
<app-form-item
name=
'ibzdictname'
:itemRules=
"this.rules.ibzdictname"
class=
''
:caption=
"$t('ibzdict.main_form.details.ibzdictname')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.ibzdictname.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
Encountered "=", but was expecting one of:
<input-box
v-model=
"data.ibzdictname"
@
enter=
"onEnter($event)"
unit=
""
:disabled=
"detailsModel.ibzdictname.disabled"
type=
'text'
style=
""
></input-box>
<STRING
_LITERAL
>
</app-form-item>
<RAW
_STRING
>
"false"
"true"
<INTEGER>
<DECIMAL>
"."
"+"
"-"
"!"
"["
"("
"{"
<ID>
</i-col>
</i-col>
</row>
</row>
...
@@ -156,12 +132,12 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -156,12 +132,12 @@ export default class MainBase extends Vue implements ControlInterface {
/**
/**
* 关闭视图
* 关闭视图
*
*
* @param {any
[]
} args
* @param {any} args
* @memberof Main
* @memberof Main
*/
*/
protected
closeView
(
args
:
any
[]
):
void
{
protected
closeView
(
args
:
any
):
void
{
let
_this
:
any
=
this
;
let
_this
:
any
=
this
;
_this
.
$emit
(
'closeview'
,
args
);
_this
.
$emit
(
'closeview'
,
[
args
]
);
}
}
/**
/**
...
...
app_web/src/widgets/ibzdict/main-grid/main-grid-base.vue
浏览文件 @
85a4e899
...
@@ -177,12 +177,12 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -177,12 +177,12 @@ export default class MainBase extends Vue implements ControlInterface {
/**
/**
* 关闭视图
* 关闭视图
*
*
* @param {any
[]
} args
* @param {any} args
* @memberof Main
* @memberof Main
*/
*/
protected
closeView
(
args
:
any
[]
):
void
{
protected
closeView
(
args
:
any
):
void
{
let
_this
:
any
=
this
;
let
_this
:
any
=
this
;
_this
.
$emit
(
'closeview'
,
args
);
_this
.
$emit
(
'closeview'
,
[
args
]
);
}
}
/**
/**
...
...
app_web/src/widgets/ibzdict/main-grid/main-grid.less
浏览文件 @
85a4e899
...
@@ -18,6 +18,13 @@
...
@@ -18,6 +18,13 @@
background : #ededed !important;
background : #ededed !important;
border-radius: 10px !important;
border-radius: 10px !important;
}
}
/*表头过长省略*/
.el-table th>.cell{
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
word-break: break-all;
}
.el-table {
.el-table {
.el-tooltip{
.el-tooltip{
.ivu-form-item{
.ivu-form-item{
...
...
app_web/src/widgets/ibzdictitem/default-searchform/default-searchform-base.vue
浏览文件 @
85a4e899
...
@@ -127,12 +127,12 @@ export default class DefaultBase extends Vue implements ControlInterface {
...
@@ -127,12 +127,12 @@ export default class DefaultBase extends Vue implements ControlInterface {
/**
/**
* 关闭视图
* 关闭视图
*
*
* @param {any
[]
} args
* @param {any} args
* @memberof Default
* @memberof Default
*/
*/
protected
closeView
(
args
:
any
[]
):
void
{
protected
closeView
(
args
:
any
):
void
{
let
_this
:
any
=
this
;
let
_this
:
any
=
this
;
_this
.
$emit
(
'closeview'
,
args
);
_this
.
$emit
(
'closeview'
,
[
args
]
);
}
}
/**
/**
...
...
app_web/src/widgets/ibzdictitem/main-form/main-form-base.vue
浏览文件 @
85a4e899
...
@@ -8,130 +8,46 @@
...
@@ -8,130 +8,46 @@
<row>
<row>
<i-col
v-show=
"detailsModel.ibzdictitemname.visible"
:style=
"
{}" :md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 6, offset: 0 }">
<i-col
v-show=
"detailsModel.ibzdictitemname.visible"
:style=
"
{}" :md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 6, offset: 0 }">
!!!!模版产生代码错误:Syntax error in template "TEMPLCODE_zh_CN" in line 9, column 435:
<app-form-item
name=
'ibzdictitemname'
:itemRules=
"this.rules.ibzdictitemname"
class=
''
:caption=
"$t('ibzdictitem.main_form.details.ibzdictitemname')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.ibzdictitemname.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
Encountered "=", but was expecting one of:
<input-box
v-model=
"data.ibzdictitemname"
@
enter=
"onEnter($event)"
unit=
""
:disabled=
"detailsModel.ibzdictitemname.disabled"
type=
'text'
style=
""
></input-box>
<STRING
_LITERAL
>
</app-form-item>
<RAW
_STRING
>
"false"
"true"
<INTEGER>
<DECIMAL>
"."
"+"
"-"
"!"
"["
"("
"{"
<ID>
</i-col>
</i-col>
<i-col
v-show=
"detailsModel.dictitemval.visible"
:style=
"
{}" :md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 6, offset: 0 }">
<i-col
v-show=
"detailsModel.dictitemval.visible"
:style=
"
{}" :md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 6, offset: 0 }">
!!!!模版产生代码错误:Syntax error in template "TEMPLCODE_zh_CN" in line 9, column 435:
<app-form-item
name=
'dictitemval'
:itemRules=
"this.rules.dictitemval"
class=
''
:caption=
"$t('ibzdictitem.main_form.details.dictitemval')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.dictitemval.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
Encountered "=", but was expecting one of:
<input-box
v-model=
"data.dictitemval"
@
enter=
"onEnter($event)"
unit=
""
:disabled=
"detailsModel.dictitemval.disabled"
type=
'text'
style=
""
></input-box>
<STRING
_LITERAL
>
</app-form-item>
<RAW
_STRING
>
"false"
"true"
<INTEGER>
<DECIMAL>
"."
"+"
"-"
"!"
"["
"("
"{"
<ID>
</i-col>
</i-col>
<i-col
v-show=
"detailsModel.pitemval.visible"
:style=
"
{}" :md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 6, offset: 0 }">
<i-col
v-show=
"detailsModel.pitemval.visible"
:style=
"
{}" :md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 6, offset: 0 }">
!!!!模版产生代码错误:Syntax error in template "TEMPLCODE_zh_CN" in line 9, column 435:
<app-form-item
name=
'pitemval'
:itemRules=
"this.rules.pitemval"
class=
''
:caption=
"$t('ibzdictitem.main_form.details.pitemval')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.pitemval.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
Encountered "=", but was expecting one of:
<input-box
v-model=
"data.pitemval"
@
enter=
"onEnter($event)"
unit=
""
:disabled=
"detailsModel.pitemval.disabled"
type=
'text'
style=
""
></input-box>
<STRING
_LITERAL
>
</app-form-item>
<RAW
_STRING
>
"false"
"true"
<INTEGER>
<DECIMAL>
"."
"+"
"-"
"!"
"["
"("
"{"
<ID>
</i-col>
</i-col>
<i-col
v-show=
"detailsModel.itemfilter.visible"
:style=
"
{}" :md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 6, offset: 0 }">
<i-col
v-show=
"detailsModel.itemfilter.visible"
:style=
"
{}" :md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 6, offset: 0 }">
!!!!模版产生代码错误:Syntax error in template "TEMPLCODE_zh_CN" in line 9, column 435:
<app-form-item
name=
'itemfilter'
:itemRules=
"this.rules.itemfilter"
class=
''
:caption=
"$t('ibzdictitem.main_form.details.itemfilter')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.itemfilter.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
Encountered "=", but was expecting one of:
<input-box
v-model=
"data.itemfilter"
@
enter=
"onEnter($event)"
unit=
""
:disabled=
"detailsModel.itemfilter.disabled"
type=
'text'
style=
""
></input-box>
<STRING
_LITERAL
>
</app-form-item>
<RAW
_STRING
>
"false"
"true"
<INTEGER>
<DECIMAL>
"."
"+"
"-"
"!"
"["
"("
"{"
<ID>
</i-col>
</i-col>
<i-col
v-show=
"detailsModel.itemcls.visible"
:style=
"
{}" :md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 6, offset: 0 }">
<i-col
v-show=
"detailsModel.itemcls.visible"
:style=
"
{}" :md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 6, offset: 0 }">
!!!!模版产生代码错误:Syntax error in template "TEMPLCODE_zh_CN" in line 9, column 435:
<app-form-item
name=
'itemcls'
:itemRules=
"this.rules.itemcls"
class=
''
:caption=
"$t('ibzdictitem.main_form.details.itemcls')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.itemcls.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
Encountered "=", but was expecting one of:
<input-box
v-model=
"data.itemcls"
@
enter=
"onEnter($event)"
unit=
""
:disabled=
"detailsModel.itemcls.disabled"
type=
'text'
style=
""
></input-box>
<STRING
_LITERAL
>
</app-form-item>
<RAW
_STRING
>
"false"
"true"
<INTEGER>
<DECIMAL>
"."
"+"
"-"
"!"
"["
"("
"{"
<ID>
</i-col>
</i-col>
<i-col
v-show=
"detailsModel.itemicon.visible"
:style=
"
{}" :md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 6, offset: 0 }">
<i-col
v-show=
"detailsModel.itemicon.visible"
:style=
"
{}" :md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 6, offset: 0 }">
!!!!模版产生代码错误:Syntax error in template "TEMPLCODE_zh_CN" in line 9, column 435:
<app-form-item
name=
'itemicon'
:itemRules=
"this.rules.itemicon"
class=
''
:caption=
"$t('ibzdictitem.main_form.details.itemicon')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.itemicon.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
Encountered "=", but was expecting one of:
<input-box
v-model=
"data.itemicon"
@
enter=
"onEnter($event)"
unit=
""
:disabled=
"detailsModel.itemicon.disabled"
type=
'text'
style=
""
></input-box>
<STRING
_LITERAL
>
</app-form-item>
<RAW
_STRING
>
"false"
"true"
<INTEGER>
<DECIMAL>
"."
"+"
"-"
"!"
"["
"("
"{"
<ID>
</i-col>
</i-col>
<i-col
v-show=
"detailsModel.showorder.visible"
:style=
"
{}" :md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 6, offset: 0 }">
<i-col
v-show=
"detailsModel.showorder.visible"
:style=
"
{}" :md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 6, offset: 0 }">
!!!!模版产生代码错误:Syntax error in template "TEMPLCODE_zh_CN" in line 9, column 435:
<app-form-item
name=
'showorder'
:itemRules=
"this.rules.showorder"
class=
''
:caption=
"$t('ibzdictitem.main_form.details.showorder')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.showorder.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
Encountered "=", but was expecting one of:
<input-box
v-model=
"data.showorder"
@
enter=
"onEnter($event)"
unit=
""
:disabled=
"detailsModel.showorder.disabled"
type=
'number'
style=
""
></input-box>
<STRING
_LITERAL
>
</app-form-item>
<RAW
_STRING
>
"false"
"true"
<INTEGER>
<DECIMAL>
"."
"+"
"-"
"!"
"["
"("
"{"
<ID>
</i-col>
</i-col>
</row>
</row>
...
@@ -246,12 +162,12 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -246,12 +162,12 @@ export default class MainBase extends Vue implements ControlInterface {
/**
/**
* 关闭视图
* 关闭视图
*
*
* @param {any
[]
} args
* @param {any} args
* @memberof Main
* @memberof Main
*/
*/
protected
closeView
(
args
:
any
[]
):
void
{
protected
closeView
(
args
:
any
):
void
{
let
_this
:
any
=
this
;
let
_this
:
any
=
this
;
_this
.
$emit
(
'closeview'
,
args
);
_this
.
$emit
(
'closeview'
,
[
args
]
);
}
}
/**
/**
...
...
app_web/src/widgets/ibzdictitem/main-grid/main-grid-base.vue
浏览文件 @
85a4e899
...
@@ -212,12 +212,12 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -212,12 +212,12 @@ export default class MainBase extends Vue implements ControlInterface {
/**
/**
* 关闭视图
* 关闭视图
*
*
* @param {any
[]
} args
* @param {any} args
* @memberof Main
* @memberof Main
*/
*/
protected
closeView
(
args
:
any
[]
):
void
{
protected
closeView
(
args
:
any
):
void
{
let
_this
:
any
=
this
;
let
_this
:
any
=
this
;
_this
.
$emit
(
'closeview'
,
args
);
_this
.
$emit
(
'closeview'
,
[
args
]
);
}
}
/**
/**
...
...
app_web/src/widgets/ibzdictitem/main-grid/main-grid.less
浏览文件 @
85a4e899
...
@@ -18,6 +18,13 @@
...
@@ -18,6 +18,13 @@
background : #ededed !important;
background : #ededed !important;
border-radius: 10px !important;
border-radius: 10px !important;
}
}
/*表头过长省略*/
.el-table th>.cell{
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
word-break: break-all;
}
.el-table {
.el-table {
.el-tooltip{
.el-tooltip{
.ivu-form-item{
.ivu-form-item{
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录