Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
功
功能演示系统
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
示例
功能演示系统
提交
0d792e89
提交
0d792e89
编写于
11月 22, 2020
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
tony001 发布系统代码 [后台服务,演示应用]
上级
8c85ceb2
变更
140
展开全部
隐藏空白字符变更
内嵌
并排
正在显示
140 个修改的文件
包含
10675 行增加
和
2305 行删除
+10675
-2305
CHANGELOG.md
app_Web/CHANGELOG.md
+148
-0
package.json
app_Web/package.json
+3
-9
avue.min.js
app_Web/public/assets/js/avue.min.js
+3
-3
app-register.ts
app_Web/src/app-register.ts
+4
-0
codelist-service.ts
app_Web/src/codelist/codelist-service.ts
+24
-0
ordertype.ts
app_Web/src/codelist/ordertype.ts
+2
-0
app-alert-group.vue
app_Web/src/components/app-alert-group/app-alert-group.vue
+8
-1
app-form-druipart.vue
...eb/src/components/app-form-druipart/app-form-druipart.vue
+42
-1
app-form-item.less
app_Web/src/components/app-form-item/app-form-item.less
+3
-1
app-form-item.vue
app_Web/src/components/app-form-item/app-form-item.vue
+33
-1
app-map-position.less
...Web/src/components/app-map-position/app-map-position.less
+54
-0
app-map-position.vue
app_Web/src/components/app-map-position/app-map-position.vue
+466
-0
app-rate.vue
app_Web/src/components/app-rate/app-rate.vue
+214
-50
app-vue-pivottable.vue
.../src/components/app-vue-pivottable/app-vue-pivottable.vue
+208
-0
codelist.vue
app_Web/src/components/codelist/codelist.vue
+59
-3
dropdown-list.vue
app_Web/src/components/dropdown-list/dropdown-list.vue
+1
-2
map-view-engine.ts
app_Web/src/engine/view/map-view-engine.ts
+68
-0
map-view9-engine.ts
app_Web/src/engine/view/map-view9-engine.ts
+13
-0
view-engine.ts
app_Web/src/engine/view/view-engine.ts
+7
-1
wfdyna-edit-view-engine.ts
app_Web/src/engine/view/wfdyna-edit-view-engine.ts
+7
-5
components_en_US.ts
app_Web/src/locale/lanres/components/components_en_US.ts
+4
-0
components_zh_CN.ts
app_Web/src/locale/lanres/components/components_zh_CN.ts
+4
-0
main.ts
app_Web/src/pages/sample/index/main.ts
+9
-0
ibizaccount-service-base.ts
app_Web/src/service/ibizaccount/ibizaccount-service-base.ts
+14
-0
ibizbook-service-base.ts
app_Web/src/service/ibizbook/ibizbook-service-base.ts
+14
-0
ibizcpu-service-base.ts
app_Web/src/service/ibizcpu/ibizcpu-service-base.ts
+14
-0
ibizcustom-service-base.ts
app_Web/src/service/ibizcustom/ibizcustom-service-base.ts
+14
-0
ibizcustomer-intf-service-base.ts
...rvice/ibizcustomer-intf/ibizcustomer-intf-service-base.ts
+29
-1
ibizcustomer-mg-service-base.ts
...c/service/ibizcustomer-mg/ibizcustomer-mg-service-base.ts
+14
-0
ibizcustomer-service-base.ts
...Web/src/service/ibizcustomer/ibizcustomer-service-base.ts
+14
-0
ibizhardware-service-base.ts
...Web/src/service/ibizhardware/ibizhardware-service-base.ts
+28
-0
ibizorder-detail-service-base.ts
...service/ibizorder-detail/ibizorder-detail-service-base.ts
+56
-0
ibizorder-type-service-base.ts
...src/service/ibizorder-type/ibizorder-type-service-base.ts
+14
-0
ibizorder-service-base.ts
app_Web/src/service/ibizorder/ibizorder-service-base.ts
+224
-0
ibizsample-service-base.ts
app_Web/src/service/ibizsample/ibizsample-service-base.ts
+28
-0
ibizsample0001-service-base.ts
...src/service/ibizsample0001/ibizsample0001-service-base.ts
+18
-0
ibizsample0002-service-base.ts
...src/service/ibizsample0002/ibizsample0002-service-base.ts
+14
-0
ibizsample0003-service-base.ts
...src/service/ibizsample0003/ibizsample0003-service-base.ts
+42
-0
ibizsample0004-service-base.ts
...src/service/ibizsample0004/ibizsample0004-service-base.ts
+14
-0
ibizsample0005-service-base.ts
...src/service/ibizsample0005/ibizsample0005-service-base.ts
+14
-0
ibizsample0006-service-base.ts
...src/service/ibizsample0006/ibizsample0006-service-base.ts
+14
-0
ibizsample0007-service-base.ts
...src/service/ibizsample0007/ibizsample0007-service-base.ts
+28
-0
ibizsample0008-service-base.ts
...src/service/ibizsample0008/ibizsample0008-service-base.ts
+14
-0
ibizsample0009-service-base.ts
...src/service/ibizsample0009/ibizsample0009-service-base.ts
+14
-0
ibizsample0010-service-base.ts
...src/service/ibizsample0010/ibizsample0010-service-base.ts
+14
-0
ibizsample0011-service-base.ts
...src/service/ibizsample0011/ibizsample0011-service-base.ts
+14
-0
ibizsample0012-service-base.ts
...src/service/ibizsample0012/ibizsample0012-service-base.ts
+14
-0
ibizsample0013-service-base.ts
...src/service/ibizsample0013/ibizsample0013-service-base.ts
+14
-0
ibizsample0014-service-base.ts
...src/service/ibizsample0014/ibizsample0014-service-base.ts
+28
-0
ibizsample0015-service-base.ts
...src/service/ibizsample0015/ibizsample0015-service-base.ts
+14
-0
ibizsample0016-service-base.ts
...src/service/ibizsample0016/ibizsample0016-service-base.ts
+14
-0
ibizsample0017-service-base.ts
...src/service/ibizsample0017/ibizsample0017-service-base.ts
+28
-0
ibizsample0018-service-base.ts
...src/service/ibizsample0018/ibizsample0018-service-base.ts
+14
-0
ibizsample0019-service-base.ts
...src/service/ibizsample0019/ibizsample0019-service-base.ts
+14
-0
ibizsample0020-service-base.ts
...src/service/ibizsample0020/ibizsample0020-service-base.ts
+14
-0
ibizsoftware-suit-service-base.ts
...rvice/ibizsoftware-suit/ibizsoftware-suit-service-base.ts
+14
-0
ibizstorage-service-base.ts
app_Web/src/service/ibizstorage/ibizstorage-service-base.ts
+14
-0
ibizsupplier-service-base.ts
...Web/src/service/ibizsupplier/ibizsupplier-service-base.ts
+14
-0
ibizuniproduct-service-base.ts
...src/service/ibizuniproduct/ibizuniproduct-service-base.ts
+28
-0
shims-vue.d.ts
app_Web/src/shims-vue.d.ts
+3
-1
default.less
app_Web/src/styles/default.less
+1
-1
template.html
app_Web/src/template.html
+1
-1
internal-func-grid-base.vue
...s/ibizbook/internal-func-grid/internal-func-grid-base.vue
+219
-37
main-form-base.vue
app_Web/src/widgets/ibizbook/main-form/main-form-base.vue
+56
-28
main2-grid-base.vue
app_Web/src/widgets/ibizbook/main2-grid/main2-grid-base.vue
+221
-39
main3-grid-base.vue
app_Web/src/widgets/ibizbook/main3-grid/main3-grid-base.vue
+221
-39
main4-grid-base.vue
app_Web/src/widgets/ibizbook/main4-grid/main4-grid-base.vue
+221
-37
main5-grid-base.vue
app_Web/src/widgets/ibizbook/main5-grid/main5-grid-base.vue
+221
-37
new-default-grid-base.vue
...dgets/ibizbook/new-default-grid/new-default-grid-base.vue
+222
-38
row-edit-grid-base.vue
...src/widgets/ibizbook/row-edit-grid/row-edit-grid-base.vue
+223
-37
row-rules-grid-base.vue
...c/widgets/ibizbook/row-rules-grid/row-rules-grid-base.vue
+219
-37
update-default-grid-base.vue
...ibizbook/update-default-grid/update-default-grid-base.vue
+222
-38
main-form-base.vue
app_Web/src/widgets/ibizcpu/main-form/main-form-base.vue
+56
-28
main-form-base.vue
...Web/src/widgets/ibizcustomer/main-form/main-form-base.vue
+56
-28
main-grid-base.vue
...Web/src/widgets/ibizcustomer/main-grid/main-grid-base.vue
+215
-33
index-type-dataview-base.vue
...hardware/index-type-dataview/index-type-dataview-base.vue
+65
-7
index-type-dataview.less
...ibizhardware/index-type-dataview/index-type-dataview.less
+29
-16
main-form-base.vue
...Web/src/widgets/ibizhardware/main-form/main-form-base.vue
+56
-28
main-grid-base.vue
...Web/src/widgets/ibizhardware/main-grid/main-grid-base.vue
+215
-33
data-0010-grid-base.vue
...s/ibizorder-detail/data-0010-grid/data-0010-grid-base.vue
+219
-33
logic-0007-form-base.vue
...ibizorder-detail/logic-0007-form/logic-0007-form-base.vue
+56
-28
main-form-base.vue
...src/widgets/ibizorder-detail/main-form/main-form-base.vue
+56
-28
main-grid-base.vue
...src/widgets/ibizorder-detail/main-grid/main-grid-base.vue
+219
-33
main2-form-base.vue
...c/widgets/ibizorder-detail/main2-form/main2-form-base.vue
+56
-28
main3-form-base.vue
...c/widgets/ibizorder-detail/main3-form/main3-form-base.vue
+56
-28
ui-0007-form-base.vue
...dgets/ibizorder-detail/ui-0007-form/ui-0007-form-base.vue
+56
-28
main-grid-base.vue
...b/src/widgets/ibizorder-type/main-grid/main-grid-base.vue
+213
-33
data-0024-form-base.vue
.../widgets/ibizorder/data-0024-form/data-0024-form-base.vue
+57
-29
logic-0007-form-base.vue
...idgets/ibizorder/logic-0007-form/logic-0007-form-base.vue
+57
-29
main-form-base.vue
app_Web/src/widgets/ibizorder/main-form/main-form-base.vue
+57
-29
main-grid-base.vue
app_Web/src/widgets/ibizorder/main-grid/main-grid-base.vue
+218
-36
main2-form-base.vue
app_Web/src/widgets/ibizorder/main2-form/main2-form-base.vue
+57
-29
main3-form-base.vue
app_Web/src/widgets/ibizorder/main3-form/main3-form-base.vue
+58
-29
main4-form-base.vue
app_Web/src/widgets/ibizorder/main4-form/main4-form-base.vue
+57
-29
main5-form-base.vue
app_Web/src/widgets/ibizorder/main5-form/main5-form-base.vue
+57
-29
sform-form-base.vue
app_Web/src/widgets/ibizorder/sform-form/sform-form-base.vue
+57
-29
ui-0007-form-base.vue
.../src/widgets/ibizorder/ui-0007-form/ui-0007-form-base.vue
+57
-29
ui-0017-form-base.vue
.../src/widgets/ibizorder/ui-0017-form/ui-0017-form-base.vue
+56
-28
ui-0018-form-base.vue
.../src/widgets/ibizorder/ui-0018-form/ui-0018-form-base.vue
+56
-28
uipart-0006-form-base.vue
...gets/ibizorder/uipart-0006-form/uipart-0006-form-base.vue
+56
-28
uipart-0009-form-base.vue
...gets/ibizorder/uipart-0009-form/uipart-0009-form-base.vue
+57
-29
uipart-0010-form-base.vue
...gets/ibizorder/uipart-0010-form/uipart-0010-form-base.vue
+57
-29
uipart-0011-form-base.vue
...gets/ibizorder/uipart-0011-form/uipart-0011-form-base.vue
+66
-32
uipart-0013-searchform-base.vue
...er/uipart-0013-searchform/uipart-0013-searchform-base.vue
+2
-2
uipart-0015-grid-base.vue
...gets/ibizorder/uipart-0015-grid/uipart-0015-grid-base.vue
+218
-36
uipart-0017-grid-base.vue
...gets/ibizorder/uipart-0017-grid/uipart-0017-grid-base.vue
+221
-37
uipart-0018-grid-base.vue
...gets/ibizorder/uipart-0018-grid/uipart-0018-grid-base.vue
+224
-36
main-form-base.vue
...b/src/widgets/ibizsample0001/main-form/main-form-base.vue
+60
-32
main3-form-base.vue
...src/widgets/ibizsample0001/main3-form/main3-form-base.vue
+56
-28
main4-form-base.vue
...src/widgets/ibizsample0001/main4-form/main4-form-base.vue
+73
-38
main5-form-base.vue
...src/widgets/ibizsample0001/main5-form/main5-form-base.vue
+56
-28
main-form-base.vue
...b/src/widgets/ibizsample0003/main-form/main-form-base.vue
+56
-28
main-grid-base.vue
...b/src/widgets/ibizsample0003/main-grid/main-grid-base.vue
+215
-33
ui-0008-form-base.vue
...widgets/ibizsample0003/ui-0008-form/ui-0008-form-base.vue
+56
-28
ui-0009-form-base.vue
...widgets/ibizsample0003/ui-0009-form/ui-0009-form-base.vue
+56
-28
ui-0010-form-base.vue
...widgets/ibizsample0003/ui-0010-form/ui-0010-form-base.vue
+56
-28
ui-0011-form-base.vue
...widgets/ibizsample0003/ui-0011-form/ui-0011-form-base.vue
+56
-28
ui-0022-form-base.vue
...widgets/ibizsample0003/ui-0022-form/ui-0022-form-base.vue
+56
-28
main-grid-base.vue
...b/src/widgets/ibizsample0013/main-grid/main-grid-base.vue
+217
-33
main-form-base.vue
...b/src/widgets/ibizsample0014/main-form/main-form-base.vue
+56
-28
main-grid-base.vue
...b/src/widgets/ibizsample0014/main-grid/main-grid-base.vue
+213
-33
main-grid-base.vue
...b/src/widgets/ibizsample0015/main-grid/main-grid-base.vue
+213
-33
form-type-dataview-base.vue
...sample0017/form-type-dataview/form-type-dataview-base.vue
+65
-7
form-type-dataview.less
...ibizsample0017/form-type-dataview/form-type-dataview.less
+29
-16
form10-form-base.vue
...c/widgets/ibizsample0017/form10-form/form10-form-base.vue
+57
-29
form20-form-base.vue
...c/widgets/ibizsample0017/form20-form/form20-form-base.vue
+57
-29
form30-form-base.vue
...c/widgets/ibizsample0017/form30-form/form30-form-base.vue
+57
-29
main-form-base.vue
...b/src/widgets/ibizsample0017/main-form/main-form-base.vue
+57
-29
main-grid-base.vue
...b/src/widgets/ibizsample0017/main-grid/main-grid-base.vue
+211
-33
main-form-base.vue
...b/src/widgets/ibizsample0018/main-form/main-form-base.vue
+56
-28
main-grid-base.vue
...b/src/widgets/ibizsample0018/main-grid/main-grid-base.vue
+211
-33
main-form-base.vue
...rc/widgets/ibizsoftware-suit/main-form/main-form-base.vue
+56
-28
main-grid-base.vue
...rc/widgets/ibizsoftware-suit/main-grid/main-grid-base.vue
+211
-33
main-form-base.vue
app_Web/src/widgets/ibizstorage/main-form/main-form-base.vue
+56
-28
index-type-dataview-base.vue
...iproduct/index-type-dataview/index-type-dataview-base.vue
+65
-7
index-type-dataview.less
...izuniproduct/index-type-dataview/index-type-dataview.less
+29
-16
main-form-base.vue
...b/src/widgets/ibizuniproduct/main-form/main-form-base.vue
+56
-28
main-grid-base.vue
...b/src/widgets/ibizuniproduct/main-grid/main-grid-base.vue
+215
-33
IBIZBOOKDataImport.java
...va/cn/ibizlab/core/sample/mapping/IBIZBOOKDataImport.java
+1
-1
IBIZOrderImport.java
.../java/cn/ibizlab/core/sample/mapping/IBIZOrderImport.java
+2
-2
未找到文件。
app_Web/CHANGELOG.md
浏览文件 @
0d792e89
此差异已折叠。
点击以展开。
app_Web/package.json
浏览文件 @
0d792e89
...
...
@@ -9,8 +9,7 @@
"dev-build"
:
"node --max_old_space_size=8102 ./node_modules/@vue/cli-service/bin/vue-cli-service build --mode development"
,
"test:unit"
:
"vue-cli-service test:unit"
,
"test:e2e"
:
"vue-cli-service test:e2e"
,
"lint"
:
"vue-cli-service lint"
,
"format-code"
:
"prettier-eslint --write
\"
src/**/*.js
\"
\"
src/**/*.vue
\"
\"
src/**/*.tsx
\"
\"
src/**/*.ts
\"
\"
src/**/*.less
\"
"
"lint"
:
"vue-cli-service lint"
},
"dependencies"
:
{
"@fullcalendar/core"
:
"^4.4.0"
,
...
...
@@ -30,6 +29,7 @@
"font-awesome"
:
"^4.7.0"
,
"ibiz-gantt-elastic"
:
"^1.0.17"
,
"ibiz-vue-lib"
:
"^0.1.13"
,
"ibiz-vue-pivottable"
:
"^1.0.6"
,
"interactjs"
:
"^1.9.4"
,
"moment"
:
"^2.24.0"
,
"path-to-regexp"
:
"^6.1.0"
,
...
...
@@ -38,6 +38,7 @@
"tinymce"
:
"4.8.5"
,
"view-design"
:
"4.2.0"
,
"vue"
:
"^2.6.10"
,
"vue-amap"
:
"^0.5.10"
,
"vue-class-component"
:
"^7.0.2"
,
"vue-grid-layout"
:
"^2.3.7"
,
"vue-i18n"
:
"^8.15.3"
,
...
...
@@ -67,12 +68,5 @@
"script-loader"
:
"^0.7.2"
,
"typescript"
:
"~3.5.3"
,
"vue-template-compiler"
:
"^2.6.10"
},
"eslintConfig"
:
{
"root"
:
true
,
"extends"
:
[
"gitee"
,
"stylelint-config-prettier"
]
}
}
app_Web/public/assets/js/avue.min.js
浏览文件 @
0d792e89
此差异已折叠。
点击以展开。
app_Web/src/app-register.ts
浏览文件 @
0d792e89
...
...
@@ -99,6 +99,8 @@ import AppAlertGroup from './components/app-alert-group/app-alert-group.vue'
import
AppRawItem
from
'./components/app-rawitem/app-rawitem.vue'
import
AppImageRomate
from
'./components/app-image-romate/app-image-romate.vue'
import
{
MenuIcon
}
from
'./components/menu-icon/menu-icon'
import
AppVuePivottable
from
'./components/app-vue-pivottable/app-vue-pivottable.vue'
;
import
AppMapPosition
from
'./components/app-map-position/app-map-position.vue'
;
// 全局挂载UI实体服务注册中心
window
[
'uiServiceRegister'
]
=
uiServiceRegister
;
...
...
@@ -213,5 +215,7 @@ export const AppComponents = {
v
.
component
(
'app-rawitem'
,
AppRawItem
);
v
.
component
(
'app-image-romate'
,
AppImageRomate
);
v
.
component
(
'menu-icon'
,
MenuIcon
);
v
.
component
(
'app-vue-pivottable'
,
AppVuePivottable
);
v
.
component
(
'app-map-position'
,
AppMapPosition
);
},
};
\ No newline at end of file
app_Web/src/codelist/codelist-service.ts
浏览文件 @
0d792e89
...
...
@@ -69,6 +69,30 @@ export default class CodeListService {
return
(
window
as
any
)[
'codeListRegister'
].
getService
(
name
);
}
/**
* 获取代码表数据
*
* @param {string} tag 代码表标识
* @param {*} context
* @param {*} data
* @param {boolean} isloading
* @returns {Promise<any[]>}
* @memberof CodeListService
*/
public
async
getDataItems
(
codelist
:
any
,
context
?:
any
,
data
?:
any
,
isloading
?:
boolean
){
let
dataItems
:
Array
<
any
>
=
[];
try
{
if
(
codelist
.
tag
&&
Object
.
is
(
codelist
.
type
,
"STATIC"
)){
dataItems
=
await
this
.
getStaticItems
(
codelist
.
tag
);
}
else
{
dataItems
=
await
this
.
getItems
(
codelist
.
tag
,
codelist
.
context
,
codelist
.
viewparam
,
codelist
.
isloading
);
}
}
catch
(
error
){
console
.
warn
(
"代码表加载异常"
+
error
);
}
return
dataItems
;
}
/**
* 获取静态代码表
*
...
...
app_Web/src/codelist/ordertype.ts
浏览文件 @
0d792e89
...
...
@@ -114,6 +114,8 @@ export default class ORDERTYPE {
Object
.
assign
(
itemdata
,{
text
:
item
.
ibizordertypename
});
Object
.
assign
(
itemdata
,{
label
:
item
.
ibizordertypename
});
_items
.
push
(
itemdata
);
});
}
...
...
app_Web/src/components/app-alert-group/app-alert-group.vue
浏览文件 @
0d792e89
...
...
@@ -110,4 +110,11 @@ export default class AppAlertGroup extends Vue {
});
}
}
</
script
>
\ No newline at end of file
</
script
>
<
style
lang=
"less"
>
.view-body-messages {
margin-top: -10px;
margin-bottom: 6px;
}
</
style
>
\ No newline at end of file
app_Web/src/components/app-form-druipart/app-form-druipart.vue
浏览文件 @
0d792e89
<
template
>
<div
class=
'form-druipart'
>
<component
ref=
"appFormDruipart"
:is=
"viewname"
class=
"viewcontainer2"
:viewdata =
"viewdata"
...
...
@@ -178,6 +179,14 @@ export default class AppFormDRUIPart extends Vue {
*/
private
formStateEvent
:
Unsubscribable
|
undefined
;
/**
* 定时器实例
*
* @type {[any]}
* @memberof AppFormDRUIPart
*/
protected
timer
?:
any
;
/**
* 监控值
*
...
...
@@ -308,11 +317,43 @@ export default class AppFormDRUIPart extends Vue {
}
if
(
!
this
.
isForbidLoad
){
setTimeout
(()
=>
{
this
.
formDruipart
.
next
({
action
:
'load'
,
data
:{
srfparentdename
:
this
.
parentName
,
srfparentkey
:
_paramitem
}}
);
this
.
partViewEvent
(
'load'
,{
data
:{
srfparentdename
:
this
.
parentName
,
srfparentkey
:
_paramitem
}},
0
);
},
0
);
}
}
/**
* 向关系视图发送事件,采用轮询模式。避免异步视图出现加载慢情况
*
* @param {*} action 触发行为
* @param {*} data 数据
* @param {*} count 轮询计数
* @memberof AppFormDRUIPart
*/
protected
partViewEvent
(
action
:
string
,
data
:
any
,
count
:
number
=
0
):
void
{
if
(
count
>
100
)
{
return
;
}
const
clearResource
:
Function
=
()
=>
{
if
(
this
.
timer
!==
undefined
){
clearTimeout
(
this
.
timer
);
this
.
timer
=
undefined
;
}
}
if
(
count
===
0
)
{
clearResource
();
}
if
(
this
.
$refs
.
appFormDruipart
)
{
this
.
formDruipart
.
next
({
action
:
action
,
data
});
clearResource
();
return
;
}
this
.
timer
=
setTimeout
(()
=>
{
count
++
;
this
.
partViewEvent
(
action
,
data
,
count
);
},
30
);
}
/**
* vue 生命周期
*
...
...
app_Web/src/components/app-form-item/app-form-item.less
浏览文件 @
0d792e89
...
...
@@ -10,7 +10,9 @@
}
.app-form-item-label {
padding: 6px 10px 6px 0px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
}
...
...
app_Web/src/components/app-form-item/app-form-item.vue
浏览文件 @
0d792e89
...
...
@@ -31,7 +31,17 @@
:class=
"labelclasses"
>
<span
v-if=
"required"
style=
"color:red;"
>
*
</span>
{{
this
.
isEmptyCaption
?
''
:
this
.
caption
}}
<span
v-if=
"!isEmptyCaption"
>
<el-tooltip
v-if=
"isShowTip"
placement=
"top"
effect=
"light"
>
<span
v-html=
"caption"
></span>
<template
>
<span
slot=
"content"
v-html=
"caption"
></span>
</
template
>
</el-tooltip>
<
template
v-if=
"!isShowTip"
>
<span
v-html=
"caption"
></span>
</
template
>
</span>
</span>
<div
v-if=
"Object.is(this.labelPos,'TOP') || Object.is(this.labelPos,'LEFT') || Object.is(this.labelPos,'RIGHT')"
...
...
@@ -136,6 +146,14 @@ export default class AppFormItem extends Vue {
*/
@
Prop
()
public
itemRules
!
:
any
;
/**
* 是否显示表单项Label提示
*
* @memberof AppFormItem
*/
public
isShowTip
:
boolean
=
false
;
/**
* 值规则数组
*
...
...
@@ -266,7 +284,21 @@ export default class AppFormItem extends Vue {
});
}
catch
(
error
)
{}
}
this
.
getShowTip
();
}
/**
* 计算是否显示表单项Label提示
*
* @memberof AppFormItem
*/
public
getShowTip
(){
if
(
this
.
caption
&&
((
this
.
caption
.
length
)
*
14
)
>
this
.
labelWidth
){
this
.
isShowTip
=
true
;
}
}
}
</
script
>
<
style
lang=
'less'
>
...
...
app_Web/src/components/app-map-position/app-map-position.less
0 → 100644
浏览文件 @
0d792e89
.app-map-position {
.map-modal {
.el-dialog {
margin-top: 60px !important;
width: 90%;
.el-dialog__header {
padding: 10px 0px 10px 40px;
}
.el-dialog__body {
padding: 6px 10px;
.search-toolbar {
display: flex;
#map__result {
position: absolute;
z-index: 20;
right: 10px;
top: 110px;
}
.el-vue-search-box-container {
border: 1px solid #DCDFE6;
height: 40px;
margin-right: 20px;
}
}
}
.amap-marker-content {
img {
width: 25px;
height: 34px;
}
.input-map__marker {
position: absolute;
top: -28px;
right: -160px;
color: #fff;
padding: 0px 10px;
-webkit-box-shadow: 1px 1px 1px rgba(10,10,10,.2);
box-shadow: 1px 1px 1px rgba(10,10,10,.2);
white-space: nowrap;
font-size: 12px;
font-family: "";
background-color: #25a5f7;
border-radius: 3px;
}
}
}
.el-vue-amap-container {
padding-top: 20px;
height: 640px;
}
}
}
\ No newline at end of file
app_Web/src/components/app-map-position/app-map-position.vue
0 → 100644
浏览文件 @
0d792e89
此差异已折叠。
点击以展开。
app_Web/src/components/app-rate/app-rate.vue
浏览文件 @
0d792e89
<
template
>
<div>
<el-rate
:value =
"currentVal"
:disabled=
"disabled"
:max=
"max"
@
change=
"change"
>
</el-rate>
</div>
<div>
<el-rate
:value=
"currentVal"
:disabled=
"disabled"
:max=
"maxItem"
@
change=
"change"
>
</el-rate>
</div>
</
template
>
<
script
lang=
'ts'
>
import
{
Component
,
Vue
,
Prop
,
Model
,
Watch
}
from
"vue-property-decorator"
;
<
script
lang=
"ts"
>
import
{
Component
,
Vue
,
Prop
,
Model
,
Watch
}
from
'vue-property-decorator'
;
import
CodeListService
from
'@codelist/codelist-service'
;
@
Component
({})
export
default
class
AppRate
extends
Vue
{
/**
* 传入值
* @type {any}
* @memberof AppRate
*/
@
Prop
()
public
value
?:
any
;
/**
* 是否禁用
* @type {boolean}
* @memberof AppRate
*/
@
Prop
()
public
disabled
?:
boolean
;
/**
* 最大值
* @type {number}
* @memberof AppRate
*/
@
Prop
({
default
:
5
})
public
max
!
:
number
;
/**
* 当前值
*
* @memberof AppRate
*/
get
currentVal
()
{
return
this
.
value
;
}
/**
* change
*/
public
change
(
val
:
any
)
{
this
.
$emit
(
"change"
,
val
);
}
/**
* 传入值
* @type {any}
* @memberof AppRate
*/
@
Prop
()
public
value
?:
any
;
/**
* 是否禁用
* @type {boolean}
* @memberof AppRate
*/
@
Prop
()
public
disabled
?:
boolean
;
/**
* 下发数据
* @type {number}
* @memberof AppRate
*/
@
Prop
()
public
data
?:
any
;
/**
* 代码表服务对象
*
* @type {CodeListService}
* @memberof AppRate
*/
public
codeListService
:
CodeListService
=
new
CodeListService
({
$store
:
this
.
$store
});
/**
* 传递最大值
* @type {*}
* @memberof AppRate
*/
@
Prop
({
default
:
5
})
public
max
!
:
number
;
/**
* 应用上下文
* @type {*}
* @memberof AppRate
*/
@
Prop
()
context
:
any
;
/**
* 视图参数
* @type {*}
* @memberof AppRate
*/
@
Prop
()
viewparams
:
any
;
/**
* 临时上下文
* @type {*}
* @memberof AppRate
*/
@
Prop
()
localContext
:
any
;
/**
* 临时参数
* @type {*}
* @memberof AppRate
*/
@
Prop
()
localParam
:
any
;
/**
* 代码表标识
* @type {string}
* @memberof AppRate
*/
@
Prop
()
tag
?:
string
;
/**
* 代码表类型
* @type {string}
* @memberof AppRate
*/
@
Prop
()
codelistType
?:
string
;
/**
* 代码表值分隔符
* @type {string}
* @memberof AppRate
*/
@
Prop
({
default
:
','
})
valueSeparator
?:
string
;
/**
* 数据名称
* @type {*}
* @memberof AppRate
*/
@
Prop
()
name
:
any
;
/**
* 最大值
* @type {number}
* @memberof AppRate
*/
public
maxItem
:
number
=
5
;
/**
* 监听数据变化
*
* @memberof AppRate
*/
@
Watch
(
'data'
,{
immediate
:
true
,
deep
:
true
})
onDataChange
(
newVal
:
any
,
oldVal
:
any
)
{
if
(
newVal
){
if
(
this
.
tag
&&
this
.
codelistType
==
'DYNAMIC'
){
// 公共参数处理
let
data
:
any
=
{};
this
.
handlePublicParams
(
data
);
// 参数处理
let
_context
=
data
.
context
;
let
_param
=
data
.
param
;
this
.
codeListService
.
getItems
(
this
.
tag
,
_context
,
_param
).
then
((
res
:
any
)
=>
{
const
items
=
res
;
// 获取最大值
const
maxItem
=
Math
.
max
.
apply
(
Math
,
items
.
map
((
item
:
any
)
=>
{
return
item
.
value
;
}));
this
.
maxItem
=
maxItem
>
5
?
5
:
maxItem
;
}).
catch
((
error
:
any
)
=>
{
console
.
log
(
`----
${
this
.
tag
}
----$t('components.appCheckBox.notExist')`
);
});
}
}
}
/**
* 当前值
*
* @memberof AppRate
*/
get
currentVal
()
{
return
Number
(
this
.
value
);
}
/**
* change
*/
public
change
(
val
:
any
)
{
this
.
$emit
(
'change'
,
val
);
}
/**
* Vue生命周期
* @memberof AppRate
*/
public
created
()
{
if
(
this
.
max
)
{
this
.
maxItem
=
this
.
max
;
}
this
.
handleCodelist
();
}
/**
* 公共参数处理
*
* @param {*} arg
* @returns
* @memberof AppRate
*/
public
handlePublicParams
(
arg
:
any
)
{
// 合并表单参数
arg
.
param
=
this
.
viewparams
?
JSON
.
parse
(
JSON
.
stringify
(
this
.
viewparams
))
:
{};
arg
.
context
=
this
.
context
?
JSON
.
parse
(
JSON
.
stringify
(
this
.
context
))
:
{};
// 附加参数处理
if
(
this
.
localContext
&&
Object
.
keys
(
this
.
localContext
).
length
>
0
)
{
let
_context
=
this
.
$util
.
computedNavData
(
this
.
data
,
arg
.
context
,
arg
.
param
,
this
.
localContext
);
Object
.
assign
(
arg
.
context
,
_context
);
}
if
(
this
.
localParam
&&
Object
.
keys
(
this
.
localParam
).
length
>
0
)
{
let
_param
=
this
.
$util
.
computedNavData
(
this
.
data
,
arg
.
param
,
arg
.
param
,
this
.
localParam
);
Object
.
assign
(
arg
.
param
,
_param
);
}
}
/**
* 根据代码表获取最大值
* @memberof AppRate
*/
public
handleCodelist
()
{
if
(
this
.
tag
&&
Object
.
is
(
this
.
codelistType
,
'STATIC'
))
{
const
codelist
=
this
.
$store
.
getters
.
getCodeList
(
this
.
tag
);
if
(
codelist
)
{
const
items
=
[...
JSON
.
parse
(
JSON
.
stringify
(
codelist
.
items
))];
// 获取最大值
const
maxItem
=
Math
.
max
.
apply
(
Math
,
items
.
map
((
item
:
any
)
=>
{
return
item
.
value
;
}));
this
.
maxItem
=
maxItem
>
5
?
5
:
maxItem
;
}
else
{
console
.
log
(
`----
${
this
.
tag
}
----$t('components.appCheckBox.notExist')`
);
}
}
else
if
(
this
.
tag
&&
Object
.
is
(
this
.
codelistType
,
'DYNAMIC'
))
{
// 公共参数处理
let
data
:
any
=
{};
this
.
handlePublicParams
(
data
);
// 参数处理
let
_context
=
data
.
context
;
let
_param
=
data
.
param
;
this
.
codeListService
.
getItems
(
this
.
tag
,
_context
,
_param
).
then
((
res
:
any
)
=>
{
const
items
=
res
;
// 获取最大值
let
maxItem
=
Math
.
max
.
apply
(
Math
,
items
.
map
((
item
:
any
)
=>
{
return
item
.
value
;
}));
this
.
maxItem
=
maxItem
>
5
?
5
:
maxItem
;
}).
catch
((
error
:
any
)
=>
{
console
.
log
(
`----
${
this
.
tag
}
----$t('components.appCheckBox.notExist')`
);
});
}
}
}
</
script
>
<
style
lang=
'less'
>
@import "./app-rate.less";
</
style
>
\ No newline at end of file
<
style
lang=
"less"
>
@import './app-rate.less';
</
style
>
app_Web/src/components/app-vue-pivottable/app-vue-pivottable.vue
0 → 100644
浏览文件 @
0d792e89
<
template
>
<vue-pivottable-ui
class=
"app-vue-pivottable"
:data=
"datas"
:aggregatorName=
"aggregatorName"
:rendererName=
"rendererName"
:columns=
"columns"
:rows=
"rows"
:cols=
"cols"
:vals=
"vals"
:locales=
"locales"
:rowTotal=
"rowTotal"
:colTotal=
"colTotal"
:onChange=
"onChange"
:hiddenFromDragDrop=
"hiddenFromDragDrop"
>
</vue-pivottable-ui>
</
template
>
<
script
lang =
'ts'
>
import
{
Vue
,
Component
,
Prop
}
from
'vue-property-decorator'
;
import
{
VuePivottableUi
}
from
'ibiz-vue-pivottable'
;
import
'ibiz-vue-pivottable/dist/vue-pivottable.css'
;
@
Component
({
components
:
{
VuePivottableUi
}
})
export
default
class
AppVuePivotTable
extends
Vue
{
/**
* 数据集
*
* @type {*}
* @memberof AppVuePivotTable
*/
@
Prop
()
datas
:
any
;
/**
* 列集合
*
* @type {*}
* @memberof AppVuePivotTable
*/
@
Prop
()
allColumns
:
any
;
/**
* 聚合模式
*
* @type {string}
* @memberof AppVuePivotTable
*/
protected
aggregatorName
:
string
=
'Sum'
;
/**
* 渲染模式
*
* @type {string}
* @memberof AppVuePivotTable
*/
protected
rendererName
:
string
=
'Table Heatmap'
;
/**
* 行统计
*
* @type {boolean}
* @memberof AppVuePivotTable
*/
protected
rowTotal
:
boolean
=
true
;
/**
* 列统计
*
* @type {boolean}
* @memberof AppVuePivotTable
*/
protected
colTotal
:
boolean
=
true
;
/**
* 列属性列集合
*
* @type {*}
* @memberof AppVuePivotTable
*/
protected
cols
:
any
[]
=
[];
/**
* 行属性列集合
*
* @type {*}
* @memberof AppVuePivotTable
*/
protected
rows
:
any
[]
=
[];
/**
* 值属性集合
*
* @type {*}
* @memberof AppVuePivotTable
*/
protected
vals
:
any
[]
=
[];
/**
* 隐藏列集合
*
* @type {*}
* @memberof AppVuePivotTable
*/
protected
hiddenFromDragDrop
:
any
[]
=
[];
/**
* 展现列集合
*
* @type {*}
* @memberof AppVuePivotTable
*/
protected
columns
:
any
[]
=
[];
/**
* 语言资源
*
* @type {*}
* @memberof AppVuePivotTable
*/
protected
locales
:
any
=
{
aggregators
:
{
'Count'
:
'Count'
,
'Count Unique Values'
:
'Count Unique Values'
,
'List Unique Values'
:
'List Unique Values'
,
'Sum'
:
'Sum'
,
'Integer Sum'
:
'Integer Sum'
,
'Average'
:
'Average'
,
'Median'
:
'Median'
,
'Sample Variance'
:
'Sample Variance'
,
'Sample Standard Deviation'
:
'Sample Standard Deviation'
,
'Minimum'
:
'Minimum'
,
'Maximum'
:
'Maximum'
,
'First'
:
'First'
,
'Last'
:
'Last'
,
'Sum over Sum'
:
'Sum over Sum'
,
'Sum as Fraction of Total'
:
'Sum as Fraction of Total'
,
'Sum as Fraction of Rows'
:
'Sum as Fraction of Rows'
,
'Sum as Fraction of Columns'
:
'Sum as Fraction of Columns'
,
'Count as Fraction of Total'
:
'Count as Fraction of Total'
,
'Count as Fraction of Rows'
:
'Count as Fraction of Rows'
,
'Count as Fraction of Columns'
:
'Count as Fraction of Columns'
},
renderer
:
{
'Table'
:
'Table'
,
'Table Heatmap'
:
'Table Heatmap'
,
'Table Col Heatmap'
:
'Table Col Heatmap'
,
'Table Row Heatmap'
:
'Table Row Heatmap'
,
'Expor Table TSV'
:
'Expor Table TSV'
,
'Grouped Column Chart'
:
'Grouped Column Chart'
,
'Stacked Column Chart'
:
'Stacked Column Chart'
,
'Grouped Bar Chart'
:
'Grouped Bar Chart'
,
'Stacked Bar Chart'
:
'Stacked Bar Chart'
,
'Line Chart'
:
'Line Chart'
,
'Dot Chart'
:
'Dot Chart'
,
'Area Chart'
:
'Area Chart'
,
'Scatter Chart'
:
'Scatter Chart'
,
'Multiple Pie Chart'
:
'Multiple Pie Chart'
},
'Filter Values'
:
'Filter Values'
,
'Select All'
:
'Select All'
,
'Deselect All'
:
'Deselect All'
,
'Totals'
:
'Totals'
};
/**
* 生命周期
*
* @type {*}
* @memberof AppVuePivotTable
*/
public
created
()
{
if
(
this
.
allColumns
)
{
this
.
allColumns
.
forEach
((
item
:
any
)
=>
{
if
(
!
item
.
show
)
{
this
.
hiddenFromDragDrop
.
push
(
item
.
name
);
}
let
col
:
any
=
{
...
item
};
col
.
prop
=
col
.
name
;
this
.
columns
.
push
(
col
);
});
}
}
/**
* 事件
*
* @type {*}
* @memberof AppVuePivotTable
*/
public
onChange
(
evt
:
any
)
{
console
.
log
(
evt
);
}
}
</
script
>
<
style
lang=
"less"
>
.app-vue-pivottable {
height: calc(100% - 1px);
.pvtTable {
min-width: 100%;
}
}
</
style
>
\ No newline at end of file
app_Web/src/components/codelist/codelist.vue
浏览文件 @
0d792e89
...
...
@@ -3,9 +3,14 @@
<span
v-if=
"ifEmpty"
>
{{
$t
(
'codelist.'
+
tag
+
'.empty'
)
}}
</span>
<template
v-if=
"!ifEmpty"
>
<template
v-for=
"(item, index) in items"
>
<span>
{{
index
!=
0
?
textSeparator
:
''
}}
</span>
<i
v-if=
"item.iconCls"
:class=
"item.iconCls"
></i>
<span
:class=
"item.textCls"
:style=
"
{color:item.color}">
{{
isUseLangres
?
$t
(
item
.
text
)
:
item
.
text
}}
</span>
<div
class=
"codelist-item"
:key=
"index"
>
<span
v-if=
"index != 0"
>
{{
textSeparator
}}
</span>
<i
v-if=
"item.iconcls"
:class=
"item.iconcls"
></i>
<img
v-if=
"item.icon"
:src=
"getIcon(item.icon)"
/>
<span
:class=
"item.class"
:style=
"
{ color: item.color }">
{{
isUseLangres
?
$t
(
item
.
text
)
:
item
.
text
}}
</span>
</div>
</
template
>
</template>
</div>
...
...
@@ -14,6 +19,7 @@
<
script
lang=
"ts"
>
import
{
Vue
,
Component
,
Prop
,
Model
,
Watch
}
from
'vue-property-decorator'
;
import
CodeListService
from
"@/codelist/codelist-service"
;
import
{
Environment
}
from
'@/environments/environment'
;
@
Component
({})
export
default
class
CodeList
extends
Vue
{
...
...
@@ -288,6 +294,45 @@ export default class CodeList extends Vue {
}
}
/**
* 获取图片路径
*
* @param {*} arg
* @returns
* @memberof CodeList
*/
public
getIcon
(
arg
:
any
){
if
(
!
arg
){
return
;
}
if
(
Object
.
prototype
.
toString
.
call
(
arg
)
==
"[object String]"
){
try
{
let
targetData
:
any
=
JSON
.
parse
(
arg
);
if
(
Object
.
prototype
.
toString
.
call
(
targetData
)
==
"[object Array]"
){
if
(
targetData
&&
targetData
.
length
>
0
){
let
fileId
:
string
=
targetData
[
0
]
&&
targetData
[
0
].
id
;
return
Environment
.
BaseUrl
+
Environment
.
ExportFile
+
fileId
;
}
}
else
if
(
Object
.
prototype
.
toString
.
call
(
targetData
)
===
'[object Object]'
){
let
fileId
:
string
=
targetData
&&
targetData
.
id
;
return
Environment
.
BaseUrl
+
Environment
.
ExportFile
+
fileId
;
}
}
catch
(
error
)
{
return
arg
;
}
}
else
if
(
Object
.
prototype
.
toString
.
call
(
arg
)
==
"[object Array]"
){
if
(
arg
&&
arg
.
length
>
0
){
let
fileId
:
string
=
arg
[
0
]
&&
arg
[
0
].
id
;
return
Environment
.
BaseUrl
+
Environment
.
ExportFile
+
fileId
;
}
}
else
if
(
Object
.
prototype
.
toString
.
call
(
arg
)
===
'[object Object]'
){
let
fileId
:
string
=
arg
&&
arg
.
id
;
return
Environment
.
BaseUrl
+
Environment
.
ExportFile
+
fileId
;
}
else
{
return
arg
;
}
}
}
</
script
>
...
...
@@ -297,5 +342,16 @@ export default class CodeList extends Vue {
text-overflow: ellipsis;
word-break: break-all;
overflow: hidden;
.codelist-item{
display: flex;
align-items: center;
max-height: 32px;
> img{
max-height: 32px;
width: auto;
margin-right: 6px;
border-radius: 50%;
}
}
}
</
style
>
\ No newline at end of file
app_Web/src/components/dropdown-list/dropdown-list.vue
浏览文件 @
0d792e89
...
...
@@ -265,9 +265,8 @@ export default class DropDownList extends Vue {
this
.
loadData
();
}
});
}
else
{
this
.
loadData
();
}
this
.
loadData
();
}
/**
...
...
app_Web/src/engine/view/map-view-engine.ts
0 → 100644
浏览文件 @
0d792e89
import
MDViewEngine
from
'./md-view-engine'
;
/**
* 视图引擎基础
*
* @export
* @class GridViewEngine
* @extends {MDViewEngine}
*/
export
default
class
MapViewEngine
extends
MDViewEngine
{
/**
* 表格部件
*
* @type {*}
* @memberof GridViewEngine
*/
protected
map
:
any
;
/**
* Creates an instance of GridViewEngine.
* @memberof MapViewEngine
*/
constructor
()
{
super
();
}
/**
* 引擎初始化
*
* @param {*} [options={}]
* @memberof MapViewEngine
*/
public
init
(
options
:
any
=
{}):
void
{
this
.
map
=
options
.
map
;
super
.
init
(
options
);
}
/**
* 引擎加载
*
* @param {*} [opts={}]
* @memberof MapViewEngine
*/
public
load
(
opts
:
any
=
{},
isnotify
:
boolean
=
false
):
void
{
if
(
!
this
.
view
.
isformDruipart
){
super
.
load
(
opts
,
isnotify
);
}
else
{
if
(
isnotify
){
super
.
load
(
opts
,
isnotify
);
}
}
}
/**
* 获取多数据部件
*
* @returns {*}
* @memberof MapViewEngine
*/
public
getMDCtrl
():
any
{
return
this
.
map
;
}
}
\ No newline at end of file
app_Web/src/engine/view/map-view9-engine.ts
0 → 100644
浏览文件 @
0d792e89
import
MapViewEngine
from
'./map-view-engine'
;
/**
* 视图引擎基础
*
* @export
* @class GridViewEngine
* @extends {MDViewEngine}
*/
export
default
class
MapView9Engine
extends
MapViewEngine
{
}
\ No newline at end of file
app_Web/src/engine/view/view-engine.ts
浏览文件 @
0d792e89
...
...
@@ -197,7 +197,13 @@ export default class ViewEngine {
if
(
_item
&&
_item
[
'dataaccaction'
]
&&
_this
.
view
.
appUIService
){
let
dataActionResult
:
any
;
if
(
_item
.
uiaction
&&
(
Object
.
is
(
_item
.
uiaction
.
target
,
"NONE"
)
||
Object
.
is
(
_item
.
uiaction
.
target
,
""
))){
dataActionResult
=
_this
.
view
.
appUIService
.
getResourceOPPrivs
(
_item
[
'dataaccaction'
]);
if
(
Object
.
is
(
_item
.
uiaction
.
target
,
""
)
&&
Object
.
is
(
_item
.
uiaction
.
tag
,
"Save"
)){
if
(
data
&&
Object
.
keys
(
data
).
length
>
0
){
dataActionResult
=
_this
.
view
.
appUIService
.
getAllOPPrivs
(
data
)[
_item
[
'dataaccaction'
]];
}
}
else
{
dataActionResult
=
_this
.
view
.
appUIService
.
getResourceOPPrivs
(
_item
[
'dataaccaction'
]);
}
}
else
{
if
(
data
&&
Object
.
keys
(
data
).
length
>
0
){
dataActionResult
=
_this
.
view
.
appUIService
.
getAllOPPrivs
(
data
)[
_item
[
'dataaccaction'
]];
...
...
app_Web/src/engine/view/wfdyna-edit-view-engine.ts
浏览文件 @
0d792e89
...
...
@@ -18,13 +18,15 @@ export default class WFDynaEditViewEngine extends EditViewEngine {
}
/**
*
表单加载完成
*
引擎加载
*
* @param {*}
args
* @param {*}
[opts={}]
* @memberof WFDynaEditViewEngine
*/
public
onFormLoad
(
arg
:
any
):
void
{
super
.
onFormLoad
(
arg
);
this
.
view
.
getWFLinkModel
();
public
load
(
opts
:
any
=
{}):
void
{
if
(
this
.
view
.
getWFLinkModel
&&
this
.
view
.
getWFLinkModel
instanceof
Function
){
this
.
view
.
getWFLinkModel
();
}
}
}
\ No newline at end of file
app_Web/src/locale/lanres/components/components_en_US.ts
浏览文件 @
0d792e89
...
...
@@ -375,5 +375,9 @@ export default {
false
:
'False'
,
deleteImageFailure
:
'Image deletion failed'
,
updateFailure
:
'Batch update file failed'
,
},
appMapPosition
:
{
submit
:
'Submit'
,
title
:
'Please select address'
}
};
\ No newline at end of file
app_Web/src/locale/lanres/components/components_zh_CN.ts
浏览文件 @
0d792e89
...
...
@@ -376,5 +376,9 @@ export default {
false
:
'取消'
,
deleteImageFailure
:
'删除图片失败'
,
updateFailure
:
'批量更新文件失败'
,
},
appMapPosition
:
{
submit
:
'确认'
,
title
:
'请选择地址'
}
};
\ No newline at end of file
app_Web/src/pages/sample/index/main.ts
浏览文件 @
0d792e89
...
...
@@ -15,6 +15,15 @@ import 'view-design/dist/styles/iview.css';
import
'ibiz-vue-lib/lib/ibiz-vue-lib.css'
;
import
'@/styles/default.less'
;
import
VueAMap
from
'vue-amap'
;
Vue
.
use
(
VueAMap
);
VueAMap
.
initAMapApiLoader
({
key
:
'6ab2751103aea67e817c90a5528181b5'
,
plugin
:
[
"AMap.Geolocation"
,
"AMap.PlaceSearch"
,
"AMap.Geocoder"
,
"AMap.Autocomplete"
],
uiVersion
:
'1.1'
});
// 模拟数据
if
(
process
.
env
.
NODE_ENV
===
'development'
)
{
require
(
'@/mock'
);
...
...
app_Web/src/service/ibizaccount/ibizaccount-service-base.ts
浏览文件 @
0d792e89
...
...
@@ -184,4 +184,18 @@ export default class IBIZAccountServiceBase extends EntityService {
let
res
:
any
=
Http
.
getInstance
().
get
(
`/ibizaccounts/fetchdefault`
,
tempData
,
isloading
);
return
res
;
}
/**
* searchDefault接口方法
*
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof IBIZAccountServiceBase
*/
public
async
searchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
return
await
Http
.
getInstance
().
post
(
`/ibizaccounts/searchdefault`
,
tempData
,
isloading
);
}
}
\ No newline at end of file
app_Web/src/service/ibizbook/ibizbook-service-base.ts
浏览文件 @
0d792e89
...
...
@@ -184,4 +184,18 @@ export default class IBIZBOOKServiceBase extends EntityService {
let
res
:
any
=
Http
.
getInstance
().
get
(
`/ibizbooks/fetchdefault`
,
tempData
,
isloading
);
return
res
;
}
/**
* searchDefault接口方法
*
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof IBIZBOOKServiceBase
*/
public
async
searchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
return
await
Http
.
getInstance
().
post
(
`/ibizbooks/searchdefault`
,
tempData
,
isloading
);
}
}
\ No newline at end of file
app_Web/src/service/ibizcpu/ibizcpu-service-base.ts
浏览文件 @
0d792e89
...
...
@@ -184,4 +184,18 @@ export default class IBIZCPUServiceBase extends EntityService {
let
res
:
any
=
Http
.
getInstance
().
get
(
`/ibizcpus/fetchdefault`
,
tempData
,
isloading
);
return
res
;
}
/**
* searchDefault接口方法
*
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof IBIZCPUServiceBase
*/
public
async
searchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
return
await
Http
.
getInstance
().
post
(
`/ibizcpus/searchdefault`
,
tempData
,
isloading
);
}
}
\ No newline at end of file
app_Web/src/service/ibizcustom/ibizcustom-service-base.ts
浏览文件 @
0d792e89
...
...
@@ -184,4 +184,18 @@ export default class IBIZCustomServiceBase extends EntityService {
let
res
:
any
=
Http
.
getInstance
().
get
(
`/ibizcustoms/fetchdefault`
,
tempData
,
isloading
);
return
res
;
}
/**
* searchDefault接口方法
*
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof IBIZCustomServiceBase
*/
public
async
searchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
return
await
Http
.
getInstance
().
post
(
`/ibizcustoms/searchdefault`
,
tempData
,
isloading
);
}
}
\ No newline at end of file
app_Web/src/service/ibizcustomer-intf/ibizcustomer-intf-service-base.ts
浏览文件 @
0d792e89
...
...
@@ -49,10 +49,24 @@ export default class IBIZCustomer_INTFServiceBase extends EntityService {
*/
public
async
FetchCurCustomer
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
res
:
any
=
Http
.
getInstance
().
ge
t
(
`/ibizcustomer_intfs/fetchcurcustomer`
,
tempData
,
isloading
);
let
res
:
any
=
Http
.
getInstance
().
pos
t
(
`/ibizcustomer_intfs/fetchcurcustomer`
,
tempData
,
isloading
);
return
res
;
}
/**
* searchCurCustomer接口方法
*
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof IBIZCustomer_INTFServiceBase
*/
public
async
searchCurCustomer
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
return
await
Http
.
getInstance
().
post
(
`/ibizcustomer_intfs/searchcurcustomer`
,
tempData
,
isloading
);
}
/**
* Get接口方法
*
...
...
@@ -213,4 +227,18 @@ export default class IBIZCustomer_INTFServiceBase extends EntityService {
let
res
:
any
=
Http
.
getInstance
().
get
(
`/ibizcustomer_intfs/fetchdefault`
,
tempData
,
isloading
);
return
res
;
}
/**
* searchDefault接口方法
*
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof IBIZCustomer_INTFServiceBase
*/
public
async
searchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
return
await
Http
.
getInstance
().
post
(
`/ibizcustomer_intfs/searchdefault`
,
tempData
,
isloading
);
}
}
\ No newline at end of file
app_Web/src/service/ibizcustomer-mg/ibizcustomer-mg-service-base.ts
浏览文件 @
0d792e89
...
...
@@ -184,4 +184,18 @@ export default class IBIZCustomerMGServiceBase extends EntityService {
let
res
:
any
=
Http
.
getInstance
().
get
(
`/ibizcustomermgs/fetchdefault`
,
tempData
,
isloading
);
return
res
;
}
/**
* searchDefault接口方法
*
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof IBIZCustomerMGServiceBase
*/
public
async
searchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
return
await
Http
.
getInstance
().
post
(
`/ibizcustomermgs/searchdefault`
,
tempData
,
isloading
);
}
}
\ No newline at end of file
app_Web/src/service/ibizcustomer/ibizcustomer-service-base.ts
浏览文件 @
0d792e89
...
...
@@ -184,4 +184,18 @@ export default class IBIZCustomerServiceBase extends EntityService {
let
res
:
any
=
Http
.
getInstance
().
get
(
`/ibizcustomers/fetchdefault`
,
tempData
,
isloading
);
return
res
;
}
/**
* searchDefault接口方法
*
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof IBIZCustomerServiceBase
*/
public
async
searchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
return
await
Http
.
getInstance
().
post
(
`/ibizcustomers/searchdefault`
,
tempData
,
isloading
);
}
}
\ No newline at end of file
app_Web/src/service/ibizhardware/ibizhardware-service-base.ts
浏览文件 @
0d792e89
...
...
@@ -185,6 +185,20 @@ export default class IBIZHardwareServiceBase extends EntityService {
return
res
;
}
/**
* searchDefault接口方法
*
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof IBIZHardwareServiceBase
*/
public
async
searchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
return
await
Http
.
getInstance
().
post
(
`/ibizhardwares/searchdefault`
,
tempData
,
isloading
);
}
/**
* FetchIndexDER接口方法
*
...
...
@@ -199,4 +213,18 @@ export default class IBIZHardwareServiceBase extends EntityService {
let
res
:
any
=
Http
.
getInstance
().
get
(
`/ibizhardwares/fetchindexder`
,
tempData
,
isloading
);
return
res
;
}
/**
* searchIndexDER接口方法
*
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof IBIZHardwareServiceBase
*/
public
async
searchIndexDER
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
return
await
Http
.
getInstance
().
post
(
`/ibizhardwares/searchindexder`
,
tempData
,
isloading
);
}
}
\ No newline at end of file
app_Web/src/service/ibizorder-detail/ibizorder-detail-service-base.ts
浏览文件 @
0d792e89
...
...
@@ -377,6 +377,20 @@ export default class IBIZOrderDetailServiceBase extends EntityService {
return
res
;
}
/**
* searchCSMXDY接口方法
*
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof IBIZOrderDetailServiceBase
*/
public
async
searchCSMXDY
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
return
await
Http
.
getInstance
().
post
(
`/ibizorderdetails/searchcsmxdy`
,
tempData
,
isloading
);
}
/**
* FetchTempCSMXDY接口方法
*
...
...
@@ -406,6 +420,20 @@ export default class IBIZOrderDetailServiceBase extends EntityService {
return
res
;
}
/**
* searchDefault接口方法
*
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof IBIZOrderDetailServiceBase
*/
public
async
searchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
return
await
Http
.
getInstance
().
post
(
`/ibizorderdetails/searchdefault`
,
tempData
,
isloading
);
}
/**
* FetchTempDefault接口方法
*
...
...
@@ -435,6 +463,20 @@ export default class IBIZOrderDetailServiceBase extends EntityService {
return
res
;
}
/**
* searchLOGIC_0007接口方法
*
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof IBIZOrderDetailServiceBase
*/
public
async
searchLOGIC_0007
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
return
await
Http
.
getInstance
().
post
(
`/ibizorderdetails/searchlogic_0007`
,
tempData
,
isloading
);
}
/**
* FetchTempLOGIC_0007接口方法
*
...
...
@@ -464,6 +506,20 @@ export default class IBIZOrderDetailServiceBase extends EntityService {
return
res
;
}
/**
* searchX接口方法
*
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof IBIZOrderDetailServiceBase
*/
public
async
searchX
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
return
await
Http
.
getInstance
().
post
(
`/ibizorderdetails/searchx`
,
tempData
,
isloading
);
}
/**
* FetchTempX接口方法
*
...
...
app_Web/src/service/ibizorder-type/ibizorder-type-service-base.ts
浏览文件 @
0d792e89
...
...
@@ -198,4 +198,18 @@ export default class IBIZOrderTypeServiceBase extends EntityService {
let
res
:
any
=
Http
.
getInstance
().
get
(
`/ibizordertypes/fetchdefault`
,
tempData
,
isloading
);
return
res
;
}
/**
* searchDefault接口方法
*
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof IBIZOrderTypeServiceBase
*/
public
async
searchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
return
await
Http
.
getInstance
().
post
(
`/ibizordertypes/searchdefault`
,
tempData
,
isloading
);
}
}
\ No newline at end of file
app_Web/src/service/ibizorder/ibizorder-service-base.ts
浏览文件 @
0d792e89
此差异已折叠。
点击以展开。
app_Web/src/service/ibizsample/ibizsample-service-base.ts
浏览文件 @
0d792e89
...
...
@@ -185,6 +185,20 @@ export default class IBIZSampleServiceBase extends EntityService {
return
res
;
}
/**
* searchDefault接口方法
*
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof IBIZSampleServiceBase
*/
public
async
searchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
return
await
Http
.
getInstance
().
post
(
`/ibizsamples/searchdefault`
,
tempData
,
isloading
);
}
/**
* FetchFormType接口方法
*
...
...
@@ -199,4 +213,18 @@ export default class IBIZSampleServiceBase extends EntityService {
let
res
:
any
=
Http
.
getInstance
().
get
(
`/ibizsamples/fetchformtype`
,
tempData
,
isloading
);
return
res
;
}
/**
* searchFormType接口方法
*
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof IBIZSampleServiceBase
*/
public
async
searchFormType
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
return
await
Http
.
getInstance
().
post
(
`/ibizsamples/searchformtype`
,
tempData
,
isloading
);
}
}
\ No newline at end of file
app_Web/src/service/ibizsample0001/ibizsample0001-service-base.ts
浏览文件 @
0d792e89
...
...
@@ -244,4 +244,22 @@ export default class IBIZSample0001ServiceBase extends EntityService {
let
res
:
any
=
Http
.
getInstance
().
get
(
`/ibizsample0001s/fetchdefault`
,
tempData
,
isloading
);
return
res
;
}
/**
* searchDefault接口方法
*
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof IBIZSample0001ServiceBase
*/
public
async
searchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
if
(
context
.
ibizsample0002
&&
true
){
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
return
await
Http
.
getInstance
().
post
(
`/ibizsample0002s/
${
context
.
ibizsample0002
}
/ibizsample0001s/searchdefault`
,
tempData
,
isloading
);
}
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
return
await
Http
.
getInstance
().
post
(
`/ibizsample0001s/searchdefault`
,
tempData
,
isloading
);
}
}
\ No newline at end of file
app_Web/src/service/ibizsample0002/ibizsample0002-service-base.ts
浏览文件 @
0d792e89
...
...
@@ -185,4 +185,18 @@ export default class IBIZSample0002ServiceBase extends EntityService {
let
res
:
any
=
Http
.
getInstance
().
get
(
`/ibizsample0002s/fetchdefault`
,
tempData
,
isloading
);
return
res
;
}
/**
* searchDefault接口方法
*
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof IBIZSample0002ServiceBase
*/
public
async
searchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
return
await
Http
.
getInstance
().
post
(
`/ibizsample0002s/searchdefault`
,
tempData
,
isloading
);
}
}
\ No newline at end of file
app_Web/src/service/ibizsample0003/ibizsample0003-service-base.ts
浏览文件 @
0d792e89
...
...
@@ -185,6 +185,20 @@ export default class IBIZSample0003ServiceBase extends EntityService {
return
res
;
}
/**
* searchCurData接口方法
*
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof IBIZSample0003ServiceBase
*/
public
async
searchCurData
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
return
await
Http
.
getInstance
().
post
(
`/ibizsample0003s/searchcurdata`
,
tempData
,
isloading
);
}
/**
* FetchDefault接口方法
*
...
...
@@ -200,6 +214,20 @@ export default class IBIZSample0003ServiceBase extends EntityService {
return
res
;
}
/**
* searchDefault接口方法
*
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof IBIZSample0003ServiceBase
*/
public
async
searchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
return
await
Http
.
getInstance
().
post
(
`/ibizsample0003s/searchdefault`
,
tempData
,
isloading
);
}
/**
* FetchTopData接口方法
*
...
...
@@ -214,4 +242,18 @@ export default class IBIZSample0003ServiceBase extends EntityService {
let
res
:
any
=
Http
.
getInstance
().
get
(
`/ibizsample0003s/fetchtopdata`
,
tempData
,
isloading
);
return
res
;
}
/**
* searchTopData接口方法
*
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof IBIZSample0003ServiceBase
*/
public
async
searchTopData
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
return
await
Http
.
getInstance
().
post
(
`/ibizsample0003s/searchtopdata`
,
tempData
,
isloading
);
}
}
\ No newline at end of file
app_Web/src/service/ibizsample0004/ibizsample0004-service-base.ts
浏览文件 @
0d792e89
...
...
@@ -184,4 +184,18 @@ export default class IBIZSample0004ServiceBase extends EntityService {
let
res
:
any
=
Http
.
getInstance
().
get
(
`/ibizsample0004s/fetchdefault`
,
tempData
,
isloading
);
return
res
;
}
/**
* searchDefault接口方法
*
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof IBIZSample0004ServiceBase
*/
public
async
searchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
return
await
Http
.
getInstance
().
post
(
`/ibizsample0004s/searchdefault`
,
tempData
,
isloading
);
}
}
\ No newline at end of file
app_Web/src/service/ibizsample0005/ibizsample0005-service-base.ts
浏览文件 @
0d792e89
...
...
@@ -184,4 +184,18 @@ export default class IBIZSample0005ServiceBase extends EntityService {
let
res
:
any
=
Http
.
getInstance
().
get
(
`/ibizsample0005s/fetchdefault`
,
tempData
,
isloading
);
return
res
;
}
/**
* searchDefault接口方法
*
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof IBIZSample0005ServiceBase
*/
public
async
searchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
return
await
Http
.
getInstance
().
post
(
`/ibizsample0005s/searchdefault`
,
tempData
,
isloading
);
}
}
\ No newline at end of file
app_Web/src/service/ibizsample0006/ibizsample0006-service-base.ts
浏览文件 @
0d792e89
...
...
@@ -184,4 +184,18 @@ export default class IBIZSample0006ServiceBase extends EntityService {
let
res
:
any
=
Http
.
getInstance
().
get
(
`/ibizsample0006s/fetchdefault`
,
tempData
,
isloading
);
return
res
;
}
/**
* searchDefault接口方法
*
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof IBIZSample0006ServiceBase
*/
public
async
searchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
return
await
Http
.
getInstance
().
post
(
`/ibizsample0006s/searchdefault`
,
tempData
,
isloading
);
}
}
\ No newline at end of file
app_Web/src/service/ibizsample0007/ibizsample0007-service-base.ts
浏览文件 @
0d792e89
...
...
@@ -185,6 +185,20 @@ export default class IBIZSample0007ServiceBase extends EntityService {
return
res
;
}
/**
* searchCurGW接口方法
*
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof IBIZSample0007ServiceBase
*/
public
async
searchCurGW
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
return
await
Http
.
getInstance
().
post
(
`/ibizsample0007s/searchcurgw`
,
tempData
,
isloading
);
}
/**
* FetchDefault接口方法
*
...
...
@@ -199,4 +213,18 @@ export default class IBIZSample0007ServiceBase extends EntityService {
let
res
:
any
=
Http
.
getInstance
().
get
(
`/ibizsample0007s/fetchdefault`
,
tempData
,
isloading
);
return
res
;
}
/**
* searchDefault接口方法
*
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof IBIZSample0007ServiceBase
*/
public
async
searchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
return
await
Http
.
getInstance
().
post
(
`/ibizsample0007s/searchdefault`
,
tempData
,
isloading
);
}
}
\ No newline at end of file
app_Web/src/service/ibizsample0008/ibizsample0008-service-base.ts
浏览文件 @
0d792e89
...
...
@@ -184,4 +184,18 @@ export default class IBIZSample0008ServiceBase extends EntityService {
let
res
:
any
=
Http
.
getInstance
().
get
(
`/ibizsample0008s/fetchdefault`
,
tempData
,
isloading
);
return
res
;
}
/**
* searchDefault接口方法
*
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof IBIZSample0008ServiceBase
*/
public
async
searchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
return
await
Http
.
getInstance
().
post
(
`/ibizsample0008s/searchdefault`
,
tempData
,
isloading
);
}
}
\ No newline at end of file
app_Web/src/service/ibizsample0009/ibizsample0009-service-base.ts
浏览文件 @
0d792e89
...
...
@@ -184,4 +184,18 @@ export default class IBIZSample0009ServiceBase extends EntityService {
let
res
:
any
=
Http
.
getInstance
().
get
(
`/ibizsample0009s/fetchdefault`
,
tempData
,
isloading
);
return
res
;
}
/**
* searchDefault接口方法
*
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof IBIZSample0009ServiceBase
*/
public
async
searchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
return
await
Http
.
getInstance
().
post
(
`/ibizsample0009s/searchdefault`
,
tempData
,
isloading
);
}
}
\ No newline at end of file
app_Web/src/service/ibizsample0010/ibizsample0010-service-base.ts
浏览文件 @
0d792e89
...
...
@@ -184,4 +184,18 @@ export default class IBIZSample0010ServiceBase extends EntityService {
let
res
:
any
=
Http
.
getInstance
().
get
(
`/ibizsample0010s/fetchdefault`
,
tempData
,
isloading
);
return
res
;
}
/**
* searchDefault接口方法
*
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof IBIZSample0010ServiceBase
*/
public
async
searchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
return
await
Http
.
getInstance
().
post
(
`/ibizsample0010s/searchdefault`
,
tempData
,
isloading
);
}
}
\ No newline at end of file
app_Web/src/service/ibizsample0011/ibizsample0011-service-base.ts
浏览文件 @
0d792e89
...
...
@@ -184,4 +184,18 @@ export default class IBIZSample0011ServiceBase extends EntityService {
let
res
:
any
=
Http
.
getInstance
().
get
(
`/ibizsample0011s/fetchdefault`
,
tempData
,
isloading
);
return
res
;
}
/**
* searchDefault接口方法
*
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof IBIZSample0011ServiceBase
*/
public
async
searchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
return
await
Http
.
getInstance
().
post
(
`/ibizsample0011s/searchdefault`
,
tempData
,
isloading
);
}
}
\ No newline at end of file
app_Web/src/service/ibizsample0012/ibizsample0012-service-base.ts
浏览文件 @
0d792e89
...
...
@@ -184,4 +184,18 @@ export default class IBIZSample0012ServiceBase extends EntityService {
let
res
:
any
=
Http
.
getInstance
().
get
(
`/ibizsample0012s/fetchdefault`
,
tempData
,
isloading
);
return
res
;
}
/**
* searchDefault接口方法
*
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof IBIZSample0012ServiceBase
*/
public
async
searchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
return
await
Http
.
getInstance
().
post
(
`/ibizsample0012s/searchdefault`
,
tempData
,
isloading
);
}
}
\ No newline at end of file
app_Web/src/service/ibizsample0013/ibizsample0013-service-base.ts
浏览文件 @
0d792e89
...
...
@@ -184,4 +184,18 @@ export default class IBIZSample0013ServiceBase extends EntityService {
let
res
:
any
=
Http
.
getInstance
().
get
(
`/ibizsample0013s/fetchdefault`
,
tempData
,
isloading
);
return
res
;
}
/**
* searchDefault接口方法
*
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof IBIZSample0013ServiceBase
*/
public
async
searchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
return
await
Http
.
getInstance
().
post
(
`/ibizsample0013s/searchdefault`
,
tempData
,
isloading
);
}
}
\ No newline at end of file
app_Web/src/service/ibizsample0014/ibizsample0014-service-base.ts
浏览文件 @
0d792e89
...
...
@@ -185,6 +185,20 @@ export default class IBIZSample0014ServiceBase extends EntityService {
return
res
;
}
/**
* searchCurIBIZSample0014接口方法
*
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof IBIZSample0014ServiceBase
*/
public
async
searchCurIBIZSample0014
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
return
await
Http
.
getInstance
().
post
(
`/ibizsample0014s/searchcuribizsample0014`
,
tempData
,
isloading
);
}
/**
* FetchDefault接口方法
*
...
...
@@ -199,4 +213,18 @@ export default class IBIZSample0014ServiceBase extends EntityService {
let
res
:
any
=
Http
.
getInstance
().
get
(
`/ibizsample0014s/fetchdefault`
,
tempData
,
isloading
);
return
res
;
}
/**
* searchDefault接口方法
*
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof IBIZSample0014ServiceBase
*/
public
async
searchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
return
await
Http
.
getInstance
().
post
(
`/ibizsample0014s/searchdefault`
,
tempData
,
isloading
);
}
}
\ No newline at end of file
app_Web/src/service/ibizsample0015/ibizsample0015-service-base.ts
浏览文件 @
0d792e89
...
...
@@ -184,4 +184,18 @@ export default class IBIZSample0015ServiceBase extends EntityService {
let
res
:
any
=
Http
.
getInstance
().
get
(
`/ibizsample0015s/fetchdefault`
,
tempData
,
isloading
);
return
res
;
}
/**
* searchDefault接口方法
*
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof IBIZSample0015ServiceBase
*/
public
async
searchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
return
await
Http
.
getInstance
().
post
(
`/ibizsample0015s/searchdefault`
,
tempData
,
isloading
);
}
}
\ No newline at end of file
app_Web/src/service/ibizsample0016/ibizsample0016-service-base.ts
浏览文件 @
0d792e89
...
...
@@ -184,4 +184,18 @@ export default class IBIZSample0016ServiceBase extends EntityService {
let
res
:
any
=
Http
.
getInstance
().
get
(
`/ibizsample0016s/fetchdefault`
,
tempData
,
isloading
);
return
res
;
}
/**
* searchDefault接口方法
*
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof IBIZSample0016ServiceBase
*/
public
async
searchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
return
await
Http
.
getInstance
().
post
(
`/ibizsample0016s/searchdefault`
,
tempData
,
isloading
);
}
}
\ No newline at end of file
app_Web/src/service/ibizsample0017/ibizsample0017-service-base.ts
浏览文件 @
0d792e89
...
...
@@ -185,6 +185,20 @@ export default class IBIZSample0017ServiceBase extends EntityService {
return
res
;
}
/**
* searchDefault接口方法
*
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof IBIZSample0017ServiceBase
*/
public
async
searchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
return
await
Http
.
getInstance
().
post
(
`/ibizsample0017s/searchdefault`
,
tempData
,
isloading
);
}
/**
* FetchFormType接口方法
*
...
...
@@ -199,4 +213,18 @@ export default class IBIZSample0017ServiceBase extends EntityService {
let
res
:
any
=
Http
.
getInstance
().
get
(
`/ibizsample0017s/fetchformtype`
,
tempData
,
isloading
);
return
res
;
}
/**
* searchFormType接口方法
*
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof IBIZSample0017ServiceBase
*/
public
async
searchFormType
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
return
await
Http
.
getInstance
().
post
(
`/ibizsample0017s/searchformtype`
,
tempData
,
isloading
);
}
}
\ No newline at end of file
app_Web/src/service/ibizsample0018/ibizsample0018-service-base.ts
浏览文件 @
0d792e89
...
...
@@ -184,4 +184,18 @@ export default class IBIZSample0018ServiceBase extends EntityService {
let
res
:
any
=
Http
.
getInstance
().
get
(
`/ibizsample0018s/fetchdefault`
,
tempData
,
isloading
);
return
res
;
}
/**
* searchDefault接口方法
*
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof IBIZSample0018ServiceBase
*/
public
async
searchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
return
await
Http
.
getInstance
().
post
(
`/ibizsample0018s/searchdefault`
,
tempData
,
isloading
);
}
}
\ No newline at end of file
app_Web/src/service/ibizsample0019/ibizsample0019-service-base.ts
浏览文件 @
0d792e89
...
...
@@ -188,4 +188,18 @@ export default class IBIZSample0019ServiceBase extends EntityService {
let
res
:
any
=
Http
.
getInstance
().
get
(
`/ibizsample0019s/fetchdefault`
,
tempData
,
isloading
);
return
res
;
}
/**
* searchDefault接口方法
*
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof IBIZSample0019ServiceBase
*/
public
async
searchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
return
await
Http
.
getInstance
().
post
(
`/ibizsample0019s/searchdefault`
,
tempData
,
isloading
);
}
}
\ No newline at end of file
app_Web/src/service/ibizsample0020/ibizsample0020-service-base.ts
浏览文件 @
0d792e89
...
...
@@ -184,4 +184,18 @@ export default class IBIZSample0020ServiceBase extends EntityService {
let
res
:
any
=
Http
.
getInstance
().
get
(
`/ibizsample0020s/fetchdefault`
,
tempData
,
isloading
);
return
res
;
}
/**
* searchDefault接口方法
*
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof IBIZSample0020ServiceBase
*/
public
async
searchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
return
await
Http
.
getInstance
().
post
(
`/ibizsample0020s/searchdefault`
,
tempData
,
isloading
);
}
}
\ No newline at end of file
app_Web/src/service/ibizsoftware-suit/ibizsoftware-suit-service-base.ts
浏览文件 @
0d792e89
...
...
@@ -184,4 +184,18 @@ export default class IBIZSoftwareSuitServiceBase extends EntityService {
let
res
:
any
=
Http
.
getInstance
().
get
(
`/ibizsoftwaresuits/fetchdefault`
,
tempData
,
isloading
);
return
res
;
}
/**
* searchDefault接口方法
*
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof IBIZSoftwareSuitServiceBase
*/
public
async
searchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
return
await
Http
.
getInstance
().
post
(
`/ibizsoftwaresuits/searchdefault`
,
tempData
,
isloading
);
}
}
\ No newline at end of file
app_Web/src/service/ibizstorage/ibizstorage-service-base.ts
浏览文件 @
0d792e89
...
...
@@ -184,4 +184,18 @@ export default class IBIZStorageServiceBase extends EntityService {
let
res
:
any
=
Http
.
getInstance
().
get
(
`/ibizstorages/fetchdefault`
,
tempData
,
isloading
);
return
res
;
}
/**
* searchDefault接口方法
*
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof IBIZStorageServiceBase
*/
public
async
searchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
return
await
Http
.
getInstance
().
post
(
`/ibizstorages/searchdefault`
,
tempData
,
isloading
);
}
}
\ No newline at end of file
app_Web/src/service/ibizsupplier/ibizsupplier-service-base.ts
浏览文件 @
0d792e89
...
...
@@ -184,4 +184,18 @@ export default class IBIZSupplierServiceBase extends EntityService {
let
res
:
any
=
Http
.
getInstance
().
get
(
`/ibizsuppliers/fetchdefault`
,
tempData
,
isloading
);
return
res
;
}
/**
* searchDefault接口方法
*
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof IBIZSupplierServiceBase
*/
public
async
searchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
return
await
Http
.
getInstance
().
post
(
`/ibizsuppliers/searchdefault`
,
tempData
,
isloading
);
}
}
\ No newline at end of file
app_Web/src/service/ibizuniproduct/ibizuniproduct-service-base.ts
浏览文件 @
0d792e89
...
...
@@ -185,6 +185,20 @@ export default class IBIZUNIProductServiceBase extends EntityService {
return
res
;
}
/**
* searchDefault接口方法
*
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof IBIZUNIProductServiceBase
*/
public
async
searchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
return
await
Http
.
getInstance
().
post
(
`/ibizuniproducts/searchdefault`
,
tempData
,
isloading
);
}
/**
* FetchIndexDER接口方法
*
...
...
@@ -199,4 +213,18 @@ export default class IBIZUNIProductServiceBase extends EntityService {
let
res
:
any
=
Http
.
getInstance
().
get
(
`/ibizuniproducts/fetchindexder`
,
tempData
,
isloading
);
return
res
;
}
/**
* searchIndexDER接口方法
*
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof IBIZUNIProductServiceBase
*/
public
async
searchIndexDER
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
return
await
Http
.
getInstance
().
post
(
`/ibizuniproducts/searchindexder`
,
tempData
,
isloading
);
}
}
\ No newline at end of file
app_Web/src/shims-vue.d.ts
浏览文件 @
0d792e89
...
...
@@ -9,4 +9,6 @@ declare module '@fullcalendar/list';
declare
module
'@fullcalendar/interaction'
;
declare
module
'vue-grid-layout'
;
declare
module
'vue-print-nb'
;
declare
module
'vuedraggable'
;
\ No newline at end of file
declare
module
'vuedraggable'
;
declare
module
'ibiz-vue-pivottable'
;
declare
module
'vue-amap'
;
\ No newline at end of file
app_Web/src/styles/default.less
浏览文件 @
0d792e89
...
...
@@ -97,7 +97,7 @@
border-color: rgb(221, 221, 221);
border-style: solid;
border-width: 0px 0px 1px;
margin: 0px 0px
11
px;
margin: 0px 0px
6
px;
padding: 6px 0px 2px;
> .header-container{
min-height: 42px;
...
...
app_Web/src/template.html
浏览文件 @
0d792e89
...
...
@@ -13,6 +13,6 @@
</noscript>
<div
id=
"app"
></div>
<script
src=
"./environments/environment.js"
></script>
<script
src=
".
.
/assets/js/avue.min.js"
></script>
<script
src=
"./assets/js/avue.min.js"
></script>
</body>
</html>
app_Web/src/widgets/ibizbook/internal-func-grid/internal-func-grid-base.vue
浏览文件 @
0d792e89
此差异已折叠。
点击以展开。
app_Web/src/widgets/ibizbook/main-form/main-form-base.vue
浏览文件 @
0d792e89
...
...
@@ -331,6 +331,14 @@ export default class MainBase extends Vue implements ControlInterface {
*/
public
formKeyItemName
:
string
=
'ibizbookid'
;
/**
* 是否自动加载
*
* @type {boolean}
* @memberof MainBase
*/
@
Prop
({
default
:
false
})
public
isautoload
?:
boolean
;
/**
* 界面UI服务对象
*
...
...
@@ -694,34 +702,40 @@ export default class MainBase extends Vue implements ControlInterface {
startOp
(
true
);
return
falg
;
}
// 常规规则
if
(
item
.
type
==
'SIMPLE'
){
startOp
(
!
this
.
$verify
.
checkFieldSimpleRule
(
dataValue
,
item
.
condOP
,
item
.
paramValue
,
item
.
ruleInfo
,
item
.
paramType
,
this
.
data
,
item
.
isKeyCond
));
falg
.
infoMessage
=
item
.
ruleInfo
;
if
(
!
falg
.
isPast
)
return
falg
;
}
// 数值范围
if
(
item
.
type
==
'VALUERANGE2'
){
startOp
(
!
this
.
$verify
.
checkFieldValueRangeRule
(
dataValue
,
item
.
minValue
,
item
.
isIncludeMinValue
,
item
.
maxValue
,
item
.
isIncludeMaxValue
,
item
.
ruleInfo
,
item
.
isKeyCond
));
falg
.
infoMessage
=
item
.
ruleInfo
;
if
(
!
falg
.
isPast
)
return
falg
;
}
// 正则式
if
(
item
.
type
==
"REGEX"
)
{
startOp
(
!
this
.
$verify
.
checkFieldRegExRule
(
dataValue
,
item
.
regExCode
,
item
.
ruleInfo
,
item
.
isKeyCond
));
falg
.
infoMessage
=
item
.
ruleInfo
;
if
(
!
falg
.
isPast
)
return
falg
;
}
// 长度
if
(
item
.
type
==
"STRINGLENGTH"
)
{
startOp
(
!
this
.
$verify
.
checkFieldStringLengthRule
(
dataValue
,
item
.
minValue
,
item
.
isIncludeMinValue
,
item
.
maxValue
,
item
.
isIncludeMaxValue
,
item
.
ruleInfo
,
item
.
isKeyCond
));
falg
.
infoMessage
=
item
.
ruleInfo
;
if
(
!
falg
.
isPast
)
return
falg
;
}
// 系统值规则
if
(
item
.
type
==
"SYSVALUERULE"
)
{
startOp
(
!
this
.
$verify
.
checkFieldSysValueRule
(
dataValue
,
item
.
sysRule
.
regExCode
,
item
.
ruleInfo
,
item
.
isKeyCond
));
try
{
// 常规规则
if
(
item
.
type
==
'SIMPLE'
){
startOp
(
!
this
.
$verify
.
checkFieldSimpleRule
(
dataValue
,
item
.
condOP
,
item
.
paramValue
,
item
.
ruleInfo
,
item
.
paramType
,
this
.
data
,
item
.
isKeyCond
));
falg
.
infoMessage
=
item
.
ruleInfo
;
if
(
!
falg
.
isPast
)
return
falg
;
}
// 数值范围
if
(
item
.
type
==
'VALUERANGE2'
){
startOp
(
!
this
.
$verify
.
checkFieldValueRangeRule
(
dataValue
,
item
.
minValue
,
item
.
isIncludeMinValue
,
item
.
maxValue
,
item
.
isIncludeMaxValue
,
item
.
ruleInfo
,
item
.
isKeyCond
));
falg
.
infoMessage
=
item
.
ruleInfo
;
if
(
!
falg
.
isPast
)
return
falg
;
}
// 正则式
if
(
item
.
type
==
"REGEX"
)
{
startOp
(
!
this
.
$verify
.
checkFieldRegExRule
(
dataValue
,
item
.
regExCode
,
item
.
ruleInfo
,
item
.
isKeyCond
));
falg
.
infoMessage
=
item
.
ruleInfo
;
if
(
!
falg
.
isPast
)
return
falg
;
}
// 长度
if
(
item
.
type
==
"STRINGLENGTH"
)
{
startOp
(
!
this
.
$verify
.
checkFieldStringLengthRule
(
dataValue
,
item
.
minValue
,
item
.
isIncludeMinValue
,
item
.
maxValue
,
item
.
isIncludeMaxValue
,
item
.
ruleInfo
,
item
.
isKeyCond
));
falg
.
infoMessage
=
item
.
ruleInfo
;
if
(
!
falg
.
isPast
)
return
falg
;
}
// 系统值规则
if
(
item
.
type
==
"SYSVALUERULE"
)
{
startOp
(
!
this
.
$verify
.
checkFieldSysValueRule
(
dataValue
,
item
.
sysRule
.
regExCode
,
item
.
ruleInfo
,
item
.
isKeyCond
));
falg
.
infoMessage
=
item
.
ruleInfo
;
if
(
!
falg
.
isPast
)
return
falg
;
}
}
catch
(
error
)
{
falg
.
infoMessage
=
item
.
ruleInfo
;
startOp
(
false
);
if
(
!
falg
.
isPast
)
return
falg
;
}
// 分组
...
...
@@ -736,7 +750,7 @@ export default class MainBase extends Vue implements ControlInterface {
if
(
!
falg
.
hasOwnProperty
(
"isPast"
)){
falg
.
isPast
=
true
;
}
if
(
!
this
.
data
[
name
]){
if
(
!
this
.
data
[
name
]
&&
this
.
data
[
name
]
!=
0
){
falg
.
isPast
=
true
;
}
return
falg
;
...
...
@@ -1361,6 +1375,9 @@ export default class MainBase extends Vue implements ControlInterface {
* @memberof MainBase
*/
public
afterCreated
(){
if
(
this
.
isautoload
){
this
.
autoLoad
({
srfkey
:
this
.
context
.
documentcenter
});
}
if
(
this
.
viewState
)
{
this
.
viewStateEvent
=
this
.
viewState
.
subscribe
(({
tag
,
action
,
data
})
=>
{
if
(
!
Object
.
is
(
tag
,
this
.
name
))
{
...
...
@@ -2176,6 +2193,17 @@ export default class MainBase extends Vue implements ControlInterface {
public
updateDefault
(){
}
/**
* 面板数据变化处理事件
* @param {any} item 当前列数据
* @param {any} $event 面板事件数据
*
* @memberof MainBase
*/
public
onPanelDataChange
(
item
:
any
,
$event
:
any
)
{
Object
.
assign
(
item
,
$event
,
{
rowDataState
:
'update'
});
}
}
</
script
>
...
...
app_Web/src/widgets/ibizbook/main2-grid/main2-grid-base.vue
浏览文件 @
0d792e89
此差异已折叠。
点击以展开。
app_Web/src/widgets/ibizbook/main3-grid/main3-grid-base.vue
浏览文件 @
0d792e89
此差异已折叠。
点击以展开。
app_Web/src/widgets/ibizbook/main4-grid/main4-grid-base.vue
浏览文件 @
0d792e89
此差异已折叠。
点击以展开。
app_Web/src/widgets/ibizbook/main5-grid/main5-grid-base.vue
浏览文件 @
0d792e89
此差异已折叠。
点击以展开。
app_Web/src/widgets/ibizbook/new-default-grid/new-default-grid-base.vue
浏览文件 @
0d792e89
此差异已折叠。
点击以展开。
app_Web/src/widgets/ibizbook/row-edit-grid/row-edit-grid-base.vue
浏览文件 @
0d792e89
此差异已折叠。
点击以展开。
app_Web/src/widgets/ibizbook/row-rules-grid/row-rules-grid-base.vue
浏览文件 @
0d792e89
此差异已折叠。
点击以展开。
app_Web/src/widgets/ibizbook/update-default-grid/update-default-grid-base.vue
浏览文件 @
0d792e89
此差异已折叠。
点击以展开。
app_Web/src/widgets/ibizcpu/main-form/main-form-base.vue
浏览文件 @
0d792e89
...
...
@@ -264,6 +264,14 @@ export default class MainBase extends Vue implements ControlInterface {
*/
public
formKeyItemName
:
string
=
''
;
/**
* 是否自动加载
*
* @type {boolean}
* @memberof MainBase
*/
@
Prop
({
default
:
false
})
public
isautoload
?:
boolean
;
/**
* 界面UI服务对象
*
...
...
@@ -603,34 +611,40 @@ export default class MainBase extends Vue implements ControlInterface {
startOp
(
true
);
return
falg
;
}
// 常规规则
if
(
item
.
type
==
'SIMPLE'
){
startOp
(
!
this
.
$verify
.
checkFieldSimpleRule
(
dataValue
,
item
.
condOP
,
item
.
paramValue
,
item
.
ruleInfo
,
item
.
paramType
,
this
.
data
,
item
.
isKeyCond
));
falg
.
infoMessage
=
item
.
ruleInfo
;
if
(
!
falg
.
isPast
)
return
falg
;
}
// 数值范围
if
(
item
.
type
==
'VALUERANGE2'
){
startOp
(
!
this
.
$verify
.
checkFieldValueRangeRule
(
dataValue
,
item
.
minValue
,
item
.
isIncludeMinValue
,
item
.
maxValue
,
item
.
isIncludeMaxValue
,
item
.
ruleInfo
,
item
.
isKeyCond
));
falg
.
infoMessage
=
item
.
ruleInfo
;
if
(
!
falg
.
isPast
)
return
falg
;
}
// 正则式
if
(
item
.
type
==
"REGEX"
)
{
startOp
(
!
this
.
$verify
.
checkFieldRegExRule
(
dataValue
,
item
.
regExCode
,
item
.
ruleInfo
,
item
.
isKeyCond
));
falg
.
infoMessage
=
item
.
ruleInfo
;
if
(
!
falg
.
isPast
)
return
falg
;
}
// 长度
if
(
item
.
type
==
"STRINGLENGTH"
)
{
startOp
(
!
this
.
$verify
.
checkFieldStringLengthRule
(
dataValue
,
item
.
minValue
,
item
.
isIncludeMinValue
,
item
.
maxValue
,
item
.
isIncludeMaxValue
,
item
.
ruleInfo
,
item
.
isKeyCond
));
falg
.
infoMessage
=
item
.
ruleInfo
;
if
(
!
falg
.
isPast
)
return
falg
;
}
// 系统值规则
if
(
item
.
type
==
"SYSVALUERULE"
)
{
startOp
(
!
this
.
$verify
.
checkFieldSysValueRule
(
dataValue
,
item
.
sysRule
.
regExCode
,
item
.
ruleInfo
,
item
.
isKeyCond
));
try
{
// 常规规则
if
(
item
.
type
==
'SIMPLE'
){
startOp
(
!
this
.
$verify
.
checkFieldSimpleRule
(
dataValue
,
item
.
condOP
,
item
.
paramValue
,
item
.
ruleInfo
,
item
.
paramType
,
this
.
data
,
item
.
isKeyCond
));
falg
.
infoMessage
=
item
.
ruleInfo
;
if
(
!
falg
.
isPast
)
return
falg
;
}
// 数值范围
if
(
item
.
type
==
'VALUERANGE2'
){
startOp
(
!
this
.
$verify
.
checkFieldValueRangeRule
(
dataValue
,
item
.
minValue
,
item
.
isIncludeMinValue
,
item
.
maxValue
,
item
.
isIncludeMaxValue
,
item
.
ruleInfo
,
item
.
isKeyCond
));
falg
.
infoMessage
=
item
.
ruleInfo
;
if
(
!
falg
.
isPast
)
return
falg
;
}
// 正则式
if
(
item
.
type
==
"REGEX"
)
{
startOp
(
!
this
.
$verify
.
checkFieldRegExRule
(
dataValue
,
item
.
regExCode
,
item
.
ruleInfo
,
item
.
isKeyCond
));
falg
.
infoMessage
=
item
.
ruleInfo
;
if
(
!
falg
.
isPast
)
return
falg
;
}
// 长度
if
(
item
.
type
==
"STRINGLENGTH"
)
{
startOp
(
!
this
.
$verify
.
checkFieldStringLengthRule
(
dataValue
,
item
.
minValue
,
item
.
isIncludeMinValue
,
item
.
maxValue
,
item
.
isIncludeMaxValue
,
item
.
ruleInfo
,
item
.
isKeyCond
));
falg
.
infoMessage
=
item
.
ruleInfo
;
if
(
!
falg
.
isPast
)
return
falg
;
}
// 系统值规则
if
(
item
.
type
==
"SYSVALUERULE"
)
{
startOp
(
!
this
.
$verify
.
checkFieldSysValueRule
(
dataValue
,
item
.
sysRule
.
regExCode
,
item
.
ruleInfo
,
item
.
isKeyCond
));
falg
.
infoMessage
=
item
.
ruleInfo
;
if
(
!
falg
.
isPast
)
return
falg
;
}
}
catch
(
error
)
{
falg
.
infoMessage
=
item
.
ruleInfo
;
startOp
(
false
);
if
(
!
falg
.
isPast
)
return
falg
;
}
// 分组
...
...
@@ -645,7 +659,7 @@ export default class MainBase extends Vue implements ControlInterface {
if
(
!
falg
.
hasOwnProperty
(
"isPast"
)){
falg
.
isPast
=
true
;
}
if
(
!
this
.
data
[
name
]){
if
(
!
this
.
data
[
name
]
&&
this
.
data
[
name
]
!=
0
){
falg
.
isPast
=
true
;
}
return
falg
;
...
...
@@ -1210,6 +1224,9 @@ export default class MainBase extends Vue implements ControlInterface {
* @memberof MainBase
*/
public
afterCreated
(){
if
(
this
.
isautoload
){
this
.
autoLoad
({
srfkey
:
this
.
context
.
documentcenter
});
}
if
(
this
.
viewState
)
{
this
.
viewStateEvent
=
this
.
viewState
.
subscribe
(({
tag
,
action
,
data
})
=>
{
if
(
!
Object
.
is
(
tag
,
this
.
name
))
{
...
...
@@ -2024,6 +2041,17 @@ export default class MainBase extends Vue implements ControlInterface {
public
updateDefault
(){
}
/**
* 面板数据变化处理事件
* @param {any} item 当前列数据
* @param {any} $event 面板事件数据
*
* @memberof MainBase
*/
public
onPanelDataChange
(
item
:
any
,
$event
:
any
)
{
Object
.
assign
(
item
,
$event
,
{
rowDataState
:
'update'
});
}
}
</
script
>
...
...
app_Web/src/widgets/ibizcustomer/main-form/main-form-base.vue
浏览文件 @
0d792e89
此差异已折叠。
点击以展开。
app_Web/src/widgets/ibizcustomer/main-grid/main-grid-base.vue
浏览文件 @
0d792e89
此差异已折叠。
点击以展开。
app_Web/src/widgets/ibizhardware/index-type-dataview/index-type-dataview-base.vue
浏览文件 @
0d792e89
此差异已折叠。
点击以展开。
app_Web/src/widgets/ibizhardware/index-type-dataview/index-type-dataview.less
浏览文件 @
0d792e89
此差异已折叠。
点击以展开。
app_Web/src/widgets/ibizhardware/main-form/main-form-base.vue
浏览文件 @
0d792e89
此差异已折叠。
点击以展开。
app_Web/src/widgets/ibizhardware/main-grid/main-grid-base.vue
浏览文件 @
0d792e89
此差异已折叠。
点击以展开。
app_Web/src/widgets/ibizorder-detail/data-0010-grid/data-0010-grid-base.vue
浏览文件 @
0d792e89
此差异已折叠。
点击以展开。
app_Web/src/widgets/ibizorder-detail/logic-0007-form/logic-0007-form-base.vue
浏览文件 @
0d792e89
此差异已折叠。
点击以展开。
app_Web/src/widgets/ibizorder-detail/main-form/main-form-base.vue
浏览文件 @
0d792e89
此差异已折叠。
点击以展开。
app_Web/src/widgets/ibizorder-detail/main-grid/main-grid-base.vue
浏览文件 @
0d792e89
此差异已折叠。
点击以展开。
app_Web/src/widgets/ibizorder-detail/main2-form/main2-form-base.vue
浏览文件 @
0d792e89
此差异已折叠。
点击以展开。
app_Web/src/widgets/ibizorder-detail/main3-form/main3-form-base.vue
浏览文件 @
0d792e89
此差异已折叠。
点击以展开。
app_Web/src/widgets/ibizorder-detail/ui-0007-form/ui-0007-form-base.vue
浏览文件 @
0d792e89
此差异已折叠。
点击以展开。
app_Web/src/widgets/ibizorder-type/main-grid/main-grid-base.vue
浏览文件 @
0d792e89
此差异已折叠。
点击以展开。
app_Web/src/widgets/ibizorder/data-0024-form/data-0024-form-base.vue
浏览文件 @
0d792e89
此差异已折叠。
点击以展开。
app_Web/src/widgets/ibizorder/logic-0007-form/logic-0007-form-base.vue
浏览文件 @
0d792e89
此差异已折叠。
点击以展开。
app_Web/src/widgets/ibizorder/main-form/main-form-base.vue
浏览文件 @
0d792e89
此差异已折叠。
点击以展开。
app_Web/src/widgets/ibizorder/main-grid/main-grid-base.vue
浏览文件 @
0d792e89
此差异已折叠。
点击以展开。
app_Web/src/widgets/ibizorder/main2-form/main2-form-base.vue
浏览文件 @
0d792e89
此差异已折叠。
点击以展开。
app_Web/src/widgets/ibizorder/main3-form/main3-form-base.vue
浏览文件 @
0d792e89
此差异已折叠。
点击以展开。
app_Web/src/widgets/ibizorder/main4-form/main4-form-base.vue
浏览文件 @
0d792e89
此差异已折叠。
点击以展开。
app_Web/src/widgets/ibizorder/main5-form/main5-form-base.vue
浏览文件 @
0d792e89
此差异已折叠。
点击以展开。
app_Web/src/widgets/ibizorder/sform-form/sform-form-base.vue
浏览文件 @
0d792e89
此差异已折叠。
点击以展开。
app_Web/src/widgets/ibizorder/ui-0007-form/ui-0007-form-base.vue
浏览文件 @
0d792e89
此差异已折叠。
点击以展开。
app_Web/src/widgets/ibizorder/ui-0017-form/ui-0017-form-base.vue
浏览文件 @
0d792e89
此差异已折叠。
点击以展开。
app_Web/src/widgets/ibizorder/ui-0018-form/ui-0018-form-base.vue
浏览文件 @
0d792e89
此差异已折叠。
点击以展开。
app_Web/src/widgets/ibizorder/uipart-0006-form/uipart-0006-form-base.vue
浏览文件 @
0d792e89
此差异已折叠。
点击以展开。
app_Web/src/widgets/ibizorder/uipart-0009-form/uipart-0009-form-base.vue
浏览文件 @
0d792e89
此差异已折叠。
点击以展开。
app_Web/src/widgets/ibizorder/uipart-0010-form/uipart-0010-form-base.vue
浏览文件 @
0d792e89
此差异已折叠。
点击以展开。
app_Web/src/widgets/ibizorder/uipart-0011-form/uipart-0011-form-base.vue
浏览文件 @
0d792e89
此差异已折叠。
点击以展开。
app_Web/src/widgets/ibizorder/uipart-0013-searchform/uipart-0013-searchform-base.vue
浏览文件 @
0d792e89
此差异已折叠。
点击以展开。
app_Web/src/widgets/ibizorder/uipart-0015-grid/uipart-0015-grid-base.vue
浏览文件 @
0d792e89
此差异已折叠。
点击以展开。
app_Web/src/widgets/ibizorder/uipart-0017-grid/uipart-0017-grid-base.vue
浏览文件 @
0d792e89
此差异已折叠。
点击以展开。
app_Web/src/widgets/ibizorder/uipart-0018-grid/uipart-0018-grid-base.vue
浏览文件 @
0d792e89
此差异已折叠。
点击以展开。
app_Web/src/widgets/ibizsample0001/main-form/main-form-base.vue
浏览文件 @
0d792e89
此差异已折叠。
点击以展开。
app_Web/src/widgets/ibizsample0001/main3-form/main3-form-base.vue
浏览文件 @
0d792e89
此差异已折叠。
点击以展开。
app_Web/src/widgets/ibizsample0001/main4-form/main4-form-base.vue
浏览文件 @
0d792e89
此差异已折叠。
点击以展开。
app_Web/src/widgets/ibizsample0001/main5-form/main5-form-base.vue
浏览文件 @
0d792e89
此差异已折叠。
点击以展开。
app_Web/src/widgets/ibizsample0003/main-form/main-form-base.vue
浏览文件 @
0d792e89
此差异已折叠。
点击以展开。
app_Web/src/widgets/ibizsample0003/main-grid/main-grid-base.vue
浏览文件 @
0d792e89
此差异已折叠。
点击以展开。
app_Web/src/widgets/ibizsample0003/ui-0008-form/ui-0008-form-base.vue
浏览文件 @
0d792e89
此差异已折叠。
点击以展开。
app_Web/src/widgets/ibizsample0003/ui-0009-form/ui-0009-form-base.vue
浏览文件 @
0d792e89
此差异已折叠。
点击以展开。
app_Web/src/widgets/ibizsample0003/ui-0010-form/ui-0010-form-base.vue
浏览文件 @
0d792e89
此差异已折叠。
点击以展开。
app_Web/src/widgets/ibizsample0003/ui-0011-form/ui-0011-form-base.vue
浏览文件 @
0d792e89
此差异已折叠。
点击以展开。
app_Web/src/widgets/ibizsample0003/ui-0022-form/ui-0022-form-base.vue
浏览文件 @
0d792e89
此差异已折叠。
点击以展开。
app_Web/src/widgets/ibizsample0013/main-grid/main-grid-base.vue
浏览文件 @
0d792e89
此差异已折叠。
点击以展开。
app_Web/src/widgets/ibizsample0014/main-form/main-form-base.vue
浏览文件 @
0d792e89
此差异已折叠。
点击以展开。
app_Web/src/widgets/ibizsample0014/main-grid/main-grid-base.vue
浏览文件 @
0d792e89
此差异已折叠。
点击以展开。
app_Web/src/widgets/ibizsample0015/main-grid/main-grid-base.vue
浏览文件 @
0d792e89
此差异已折叠。
点击以展开。
app_Web/src/widgets/ibizsample0017/form-type-dataview/form-type-dataview-base.vue
浏览文件 @
0d792e89
此差异已折叠。
点击以展开。
app_Web/src/widgets/ibizsample0017/form-type-dataview/form-type-dataview.less
浏览文件 @
0d792e89
此差异已折叠。
点击以展开。
app_Web/src/widgets/ibizsample0017/form10-form/form10-form-base.vue
浏览文件 @
0d792e89
此差异已折叠。
点击以展开。
app_Web/src/widgets/ibizsample0017/form20-form/form20-form-base.vue
浏览文件 @
0d792e89
此差异已折叠。
点击以展开。
app_Web/src/widgets/ibizsample0017/form30-form/form30-form-base.vue
浏览文件 @
0d792e89
此差异已折叠。
点击以展开。
app_Web/src/widgets/ibizsample0017/main-form/main-form-base.vue
浏览文件 @
0d792e89
此差异已折叠。
点击以展开。
app_Web/src/widgets/ibizsample0017/main-grid/main-grid-base.vue
浏览文件 @
0d792e89
此差异已折叠。
点击以展开。
app_Web/src/widgets/ibizsample0018/main-form/main-form-base.vue
浏览文件 @
0d792e89
此差异已折叠。
点击以展开。
app_Web/src/widgets/ibizsample0018/main-grid/main-grid-base.vue
浏览文件 @
0d792e89
此差异已折叠。
点击以展开。
app_Web/src/widgets/ibizsoftware-suit/main-form/main-form-base.vue
浏览文件 @
0d792e89
此差异已折叠。
点击以展开。
app_Web/src/widgets/ibizsoftware-suit/main-grid/main-grid-base.vue
浏览文件 @
0d792e89
此差异已折叠。
点击以展开。
app_Web/src/widgets/ibizstorage/main-form/main-form-base.vue
浏览文件 @
0d792e89
此差异已折叠。
点击以展开。
app_Web/src/widgets/ibizuniproduct/index-type-dataview/index-type-dataview-base.vue
浏览文件 @
0d792e89
此差异已折叠。
点击以展开。
app_Web/src/widgets/ibizuniproduct/index-type-dataview/index-type-dataview.less
浏览文件 @
0d792e89
此差异已折叠。
点击以展开。
app_Web/src/widgets/ibizuniproduct/main-form/main-form-base.vue
浏览文件 @
0d792e89
此差异已折叠。
点击以展开。
app_Web/src/widgets/ibizuniproduct/main-grid/main-grid-base.vue
浏览文件 @
0d792e89
此差异已折叠。
点击以展开。
demo-core/src/main/java/cn/ibizlab/core/sample/mapping/IBIZBOOKDataImport.java
浏览文件 @
0d792e89
此差异已折叠。
点击以展开。
demo-core/src/main/java/cn/ibizlab/core/sample/mapping/IBIZOrderImport.java
浏览文件 @
0d792e89
此差异已折叠。
点击以展开。
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录