Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
C
company_app
概览
概览
详情
活动
周期分析
版本库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
问题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程表
图表
维基
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
毛细亚
company_app
Commits
6e376668
提交
6e376668
authored
6月 25, 2025
作者:
毛细亚
浏览文件
操作
浏览文件
下载
差异文件
Merge branch '1.1' into release
上级
80311fef
f017ec66
显示空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
37 行增加
和
0 行删除
+37
-0
index.html
company_app/index.html
+0
-0
main.js
src/main.js
+33
-0
searchUser.vue
src/views/components/order/searchUser.vue
+4
-0
没有找到文件。
company_app/index.html
浏览文件 @
6e376668
src/main.js
浏览文件 @
6e376668
...
@@ -62,6 +62,39 @@ Vue.prototype.$lodash = _;
...
@@ -62,6 +62,39 @@ Vue.prototype.$lodash = _;
Vue
.
prototype
.
$moment
=
moment
;
Vue
.
prototype
.
$moment
=
moment
;
Vue
.
prototype
.
$ww
=
ww
;
Vue
.
prototype
.
$ww
=
ww
;
Vue
.
prototype
.
$clone
=
deepClone
// vue原型挂载递归拷贝方法
Vue
.
prototype
.
$clone
=
deepClone
// vue原型挂载递归拷贝方法
// 设置全局 Message 默认显示时间为 2 秒
Vue
.
prototype
.
$message
=
function
(
options
)
{
if
(
typeof
options
===
'string'
)
{
return
ElementUI
.
Message
({
message
:
options
,
duration
:
1000
});
}
else
{
return
ElementUI
.
Message
({
duration
:
1000
,
...
options
});
}
};
// 设置各种类型的 Message 默认显示时间
[
'success'
,
'warning'
,
'info'
,
'error'
].
forEach
(
type
=>
{
Vue
.
prototype
.
$message
[
type
]
=
function
(
options
)
{
if
(
typeof
options
===
'string'
)
{
return
ElementUI
.
Message
[
type
]({
message
:
options
,
duration
:
1000
});
}
else
{
return
ElementUI
.
Message
[
type
]({
duration
:
1000
,
...
options
});
}
};
});
new
Vue
({
new
Vue
({
router
,
router
,
store
,
store
,
...
...
src/views/components/order/searchUser.vue
浏览文件 @
6e376668
...
@@ -95,6 +95,10 @@
...
@@ -95,6 +95,10 @@
this
.
$emit
(
'result'
,
value
,
valueItem
)
this
.
$emit
(
'result'
,
value
,
valueItem
)
},
},
requestAccountList
()
{
requestAccountList
()
{
if
(
this
.
accountSelect
==
''
)
{
this
.
$message
.
warning
(
'暂无关联的账号,请先去关联账号!'
)
return
false
}
roleList
({
role_name
:
this
.
resulte
,
member_id
:
this
.
accountSelect
,
...
this
.
pageInfo
}).
then
((
res
)
=>
{
roleList
({
role_name
:
this
.
resulte
,
member_id
:
this
.
accountSelect
,
...
this
.
pageInfo
}).
then
((
res
)
=>
{
this
.
loading
=
false
this
.
loading
=
false
this
.
searchUserOption
=
this
.
searchUserOption
.
concat
(
res
.
data
.
data
)
this
.
searchUserOption
=
this
.
searchUserOption
.
concat
(
res
.
data
.
data
)
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论