Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
iBiz-Vue-Mob-R7-Res
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
iBiz-R7前端标准模板
iBiz-Vue-Mob-R7-Res
提交
c5d2b7ca
提交
c5d2b7ca
编写于
6月 11, 2020
作者:
KK
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
更换解析导航参数方法名
上级
b542ab15
变更
8
隐藏空白字符变更
内嵌
并排
正在显示
8 个修改的文件
包含
10 行增加
和
10 行删除
+10
-10
app-mob-check-list.vue
src/components/app-mob-check-list/app-mob-check-list.vue
+1
-1
app-mob-file-upload.vue
src/components/app-mob-file-upload/app-mob-file-upload.vue
+2
-2
app-mob-mpicker.vue
src/components/app-mob-mpicker/app-mob-mpicker.vue
+1
-1
app-mob-picker.vue
src/components/app-mob-picker/app-mob-picker.vue
+1
-1
app-mob-picture.vue
src/components/app-mob-picture/app-mob-picture.vue
+2
-2
app-mob-select-drop-down.vue
...nts/app-mob-select-drop-down/app-mob-select-drop-down.vue
+1
-1
app-mob-select.vue
src/components/app-mob-select/app-mob-select.vue
+1
-1
view-tool.ts
src/utils/view-tool/view-tool.ts
+1
-1
未找到文件。
src/components/app-mob-check-list/app-mob-check-list.vue
浏览文件 @
c5d2b7ca
...
...
@@ -184,7 +184,7 @@
arg
.
param
=
this
.
viewparams
?
{...
this
.
viewparams
}
:
{};
arg
.
context
=
this
.
context
?
{...
this
.
context
}
:
{};
// 附加参数处理
const
param
=
this
.
$viewTool
.
doEditorItem
Param
({
context
:
this
.
navigateContext
,
param
:
this
.
navigateParam
},
this
.
context
,
this
.
viewparams
,
this
.
data
);
const
param
=
this
.
$viewTool
.
formatNavigate
Param
({
context
:
this
.
navigateContext
,
param
:
this
.
navigateParam
},
this
.
context
,
this
.
viewparams
,
this
.
data
);
Object
.
assign
(
arg
.
context
,
param
.
context
);
Object
.
assign
(
arg
.
param
,
param
.
param
);
return
true
;
...
...
src/components/app-mob-file-upload/app-mob-file-upload.vue
浏览文件 @
c5d2b7ca
...
...
@@ -320,9 +320,9 @@ export default class AppMobFileUpload extends Vue {
*/
private
dataProcess
():
void
{
const
{
context
:
uploadContext
,
param
:
uploadParam
}
=
this
.
$viewTool
.
doEditorItem
Param
(
this
.
uploadParam
,
this
.
context
,
this
.
viewparams
,
JSON
.
parse
(
this
.
data
));
=
this
.
$viewTool
.
formatNavigate
Param
(
this
.
uploadParam
,
this
.
context
,
this
.
viewparams
,
JSON
.
parse
(
this
.
data
));
const
{
context
:
exportContext
,
param
:
exportParam
}
=
this
.
$viewTool
.
doEditorItem
Param
(
this
.
exportParam
,
this
.
context
,
this
.
viewparams
,
JSON
.
parse
(
this
.
data
));
=
this
.
$viewTool
.
formatNavigate
Param
(
this
.
exportParam
,
this
.
context
,
this
.
viewparams
,
JSON
.
parse
(
this
.
data
));
let
_uploadUrl
=
`
${
Environment
.
BaseUrl
}${
Environment
.
UploadFile
}
`
;
const
uploadContextStr
:
string
=
qs
.
stringify
(
uploadContext
,
{
delimiter
:
'&'
});
...
...
src/components/app-mob-mpicker/app-mob-mpicker.vue
浏览文件 @
c5d2b7ca
...
...
@@ -240,7 +240,7 @@ export default class AppMobMpicker extends Vue {
arg
.
param
=
this
.
viewparams
?
{...
this
.
viewparams
}
:
{};
arg
.
context
=
this
.
context
?
{...
this
.
context
}
:
{};
// 附加参数处理
const
param
=
this
.
$viewTool
.
doEditorItem
Param
({
context
:
this
.
navigateContext
,
param
:
this
.
navigateParam
},
this
.
context
,
this
.
viewparams
,
this
.
data
);
const
param
=
this
.
$viewTool
.
formatNavigate
Param
({
context
:
this
.
navigateContext
,
param
:
this
.
navigateParam
},
this
.
context
,
this
.
viewparams
,
this
.
data
);
Object
.
assign
(
arg
.
context
,
param
.
context
);
Object
.
assign
(
arg
.
param
,
param
.
param
);
return
true
;
...
...
src/components/app-mob-picker/app-mob-picker.vue
浏览文件 @
c5d2b7ca
...
...
@@ -694,7 +694,7 @@ export default class AppPicker extends Vue {
arg
.
param
=
this
.
viewparams
?
{...
this
.
viewparams
}
:
{};
arg
.
context
=
this
.
context
?
{...
this
.
context
}
:
{};
// 附加参数处理
const
param
=
this
.
$viewTool
.
doEditorItem
Param
({
context
:
this
.
navigateContext
,
param
:
this
.
navigateParam
},
this
.
context
,
this
.
viewparams
,
this
.
data
);
const
param
=
this
.
$viewTool
.
formatNavigate
Param
({
context
:
this
.
navigateContext
,
param
:
this
.
navigateParam
},
this
.
context
,
this
.
viewparams
,
this
.
data
);
Object
.
assign
(
arg
.
context
,
param
.
context
);
Object
.
assign
(
arg
.
param
,
param
.
param
);
return
true
;
...
...
src/components/app-mob-picture/app-mob-picture.vue
浏览文件 @
c5d2b7ca
...
...
@@ -315,9 +315,9 @@ export default class AppMobPicture extends Vue {
*/
private
dataProcess
():
void
{
const
{
context
:
uploadContext
,
param
:
uploadParam
}
=
this
.
$viewTool
.
doEditorItem
Param
(
this
.
uploadParam
,
this
.
context
,
this
.
viewparams
,
JSON
.
parse
(
this
.
data
));
=
this
.
$viewTool
.
formatNavigate
Param
(
this
.
uploadParam
,
this
.
context
,
this
.
viewparams
,
JSON
.
parse
(
this
.
data
));
const
{
context
:
exportContext
,
param
:
exportParam
}
=
this
.
$viewTool
.
doEditorItem
Param
(
this
.
exportParam
,
this
.
context
,
this
.
viewparams
,
JSON
.
parse
(
this
.
data
));
=
this
.
$viewTool
.
formatNavigate
Param
(
this
.
exportParam
,
this
.
context
,
this
.
viewparams
,
JSON
.
parse
(
this
.
data
));
let
_uploadUrl
=
`
${
Environment
.
BaseUrl
}${
Environment
.
UploadFile
}
`
;
const
uploadContextStr
:
string
=
qs
.
stringify
(
uploadContext
,
{
delimiter
:
'&'
});
...
...
src/components/app-mob-select-drop-down/app-mob-select-drop-down.vue
浏览文件 @
c5d2b7ca
...
...
@@ -647,7 +647,7 @@ export default class AppSelectDropDown extends Vue {
arg
.
param
=
this
.
viewparams
?
{...
this
.
viewparams
}
:
{};
arg
.
context
=
this
.
context
?
{...
this
.
context
}
:
{};
// 附加参数处理
const
param
=
this
.
$viewTool
.
doEditorItem
Param
({
context
:
this
.
navigateContext
,
param
:
this
.
navigateParam
},
this
.
context
,
this
.
viewparams
,
this
.
data
);
const
param
=
this
.
$viewTool
.
formatNavigate
Param
({
context
:
this
.
navigateContext
,
param
:
this
.
navigateParam
},
this
.
context
,
this
.
viewparams
,
this
.
data
);
Object
.
assign
(
arg
.
context
,
param
.
context
);
Object
.
assign
(
arg
.
param
,
param
.
param
);
return
true
;
...
...
src/components/app-mob-select/app-mob-select.vue
浏览文件 @
c5d2b7ca
...
...
@@ -230,7 +230,7 @@ export default class AppSelect extends Vue {
arg
.
param
=
this
.
viewparams
?
{...
this
.
viewparams
}
:
{};
arg
.
context
=
this
.
context
?
{...
this
.
context
}
:
{};
// 附加参数处理
const
param
=
this
.
$viewTool
.
doEditorItem
Param
({
context
:
this
.
navigateContext
,
param
:
this
.
navigateParam
},
this
.
context
,
this
.
viewparams
,
this
.
data
);
const
param
=
this
.
$viewTool
.
formatNavigate
Param
({
context
:
this
.
navigateContext
,
param
:
this
.
navigateParam
},
this
.
context
,
this
.
viewparams
,
this
.
data
);
Object
.
assign
(
arg
.
context
,
param
.
context
);
Object
.
assign
(
arg
.
param
,
param
.
param
);
return
true
;
...
...
src/utils/view-tool/view-tool.ts
浏览文件 @
c5d2b7ca
...
...
@@ -304,7 +304,7 @@ export class ViewTool {
* @returns {{ context: {}, param: {} }} 返回的对象
* @memberof ViewTool
*/
public
doEditorItem
Param
(
itemParam
:
any
=
{},
context
:
any
=
{},
viewparams
:
any
=
{},
formData
:
any
=
{}):
{
context
:
{},
param
:
{}
}
{
public
formatNavigate
Param
(
itemParam
:
any
=
{},
context
:
any
=
{},
viewparams
:
any
=
{},
formData
:
any
=
{}):
{
context
:
{},
param
:
{}
}
{
let
_itemParam
=
{
context
:
{},
param
:
{}
};
const
{
context
:
_context
,
param
:
_param
}
=
itemParam
;
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录