Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
B
basic-vue-admin
概览
概览
详情
活动
周期分析
版本库
存储库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
问题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程表
图表
维基
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
Basic
basic-vue-admin
Commits
d31cb904
Unverified
提交
d31cb904
authored
3月 25, 2022
作者:
wangxiaoer5200
提交者:
GitHub
3月 25, 2022
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fix: 修复控制台一些常见报错和警告 (#1750)
Co-authored-by: wangbin <18695686631@163.com>
上级
a542317d
隐藏空白字符变更
内嵌
并排
正在显示
11 个修改的文件
包含
80 行增加
和
64 行删除
+80
-64
AppLocalePicker.vue
src/components/Application/src/AppLocalePicker.vue
+1
-1
SizeSetting.vue
src/components/Table/src/components/settings/SizeSetting.vue
+1
-1
LockModal.vue
src/layouts/default/header/components/lock/LockModal.vue
+3
-0
TabContent.vue
src/layouts/default/tabs/components/TabContent.vue
+7
-1
index.less
src/layouts/default/tabs/index.less
+6
-0
VisitRadar.vue
src/views/dashboard/analysis/components/VisitRadar.vue
+6
-12
SaleRadar.vue
src/views/dashboard/workbench/components/SaleRadar.vue
+6
-12
SaleRadar.vue
src/views/demo/charts/SaleRadar.vue
+6
-12
index.vue
src/views/demo/feat/request-demo/index.vue
+1
-1
data.ts
src/views/demo/page/form/basic/data.ts
+41
-22
index.vue
src/views/demo/page/form/basic/index.vue
+2
-2
没有找到文件。
src/components/Application/src/AppLocalePicker.vue
浏览文件 @
d31cb904
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
-->
-->
<
template
>
<
template
>
<Dropdown
<Dropdown
placement=
"bottom
Center
"
placement=
"bottom"
:trigger=
"['click']"
:trigger=
"['click']"
:dropMenuList=
"localeList"
:dropMenuList=
"localeList"
:selectedKeys=
"selectedKeys"
:selectedKeys=
"selectedKeys"
...
...
src/components/Table/src/components/settings/SizeSetting.vue
浏览文件 @
d31cb904
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
<span>
{{
t
(
'component.table.settingDens'
)
}}
</span>
<span>
{{
t
(
'component.table.settingDens'
)
}}
</span>
</
template
>
</
template
>
<Dropdown
placement=
"bottom
Center
"
:trigger=
"['click']"
:getPopupContainer=
"getPopupContainer"
>
<Dropdown
placement=
"bottom"
:trigger=
"['click']"
:getPopupContainer=
"getPopupContainer"
>
<ColumnHeightOutlined
/>
<ColumnHeightOutlined
/>
<
template
#
overlay
>
<
template
#
overlay
>
<Menu
@
click=
"handleTitleClick"
selectable
v-model:selectedKeys=
"selectedKeysRef"
>
<Menu
@
click=
"handleTitleClick"
selectable
v-model:selectedKeys=
"selectedKeysRef"
>
...
...
src/layouts/default/header/components/lock/LockModal.vue
浏览文件 @
d31cb904
...
@@ -53,6 +53,9 @@
...
@@ -53,6 +53,9 @@
{
{
field
:
'password'
,
field
:
'password'
,
label
:
t
(
'layout.header.lockScreenPassword'
),
label
:
t
(
'layout.header.lockScreenPassword'
),
colProps
:
{
span
:
24
,
},
component
:
'InputPassword'
,
component
:
'InputPassword'
,
required
:
true
,
required
:
true
,
},
},
...
...
src/layouts/default/tabs/components/TabContent.vue
浏览文件 @
d31cb904
<
template
>
<
template
>
<Dropdown
:dropMenuList=
"getDropMenuList"
:trigger=
"getTrigger"
@
menu-event=
"handleMenuEvent"
>
<Dropdown
:dropMenuList=
"getDropMenuList"
:trigger=
"getTrigger"
placement=
"bottom"
overlayClassName=
"multiple-tabs__dropdown"
@
menu-event=
"handleMenuEvent"
>
<div
:class=
"`$
{prefixCls}__info`" @contextmenu="handleContext" v-if="getIsTabs">
<div
:class=
"`$
{prefixCls}__info`" @contextmenu="handleContext" v-if="getIsTabs">
<span
class=
"ml-1"
>
{{
getTitle
}}
</span>
<span
class=
"ml-1"
>
{{
getTitle
}}
</span>
</div>
</div>
...
...
src/layouts/default/tabs/index.less
浏览文件 @
d31cb904
...
@@ -180,3 +180,9 @@ html[data-theme='light'] {
...
@@ -180,3 +180,9 @@ html[data-theme='light'] {
}
}
}
}
}
}
.
multiple-tabs__dropdown
{
.
ant-dropdown-content
{
width:
172
px
;
}
}
src/views/dashboard/analysis/components/VisitRadar.vue
浏览文件 @
d31cb904
...
@@ -39,28 +39,22 @@
...
@@ -39,28 +39,22 @@
splitNumber
:
8
,
splitNumber
:
8
,
indicator
:
[
indicator
:
[
{
{
text
:
'电脑'
,
name
:
'电脑'
,
max
:
100
,
},
},
{
{
text
:
'充电器'
,
name
:
'充电器'
,
max
:
100
,
},
},
{
{
text
:
'耳机'
,
name
:
'耳机'
,
max
:
100
,
},
},
{
{
text
:
'手机'
,
name
:
'手机'
,
max
:
100
,
},
},
{
{
text
:
'Ipad'
,
name
:
'Ipad'
,
max
:
100
,
},
},
{
{
text
:
'耳机'
,
name
:
'耳机'
,
max
:
100
,
},
},
],
],
},
},
...
...
src/views/dashboard/workbench/components/SaleRadar.vue
浏览文件 @
d31cb904
...
@@ -39,28 +39,22 @@
...
@@ -39,28 +39,22 @@
splitNumber
:
8
,
splitNumber
:
8
,
indicator
:
[
indicator
:
[
{
{
text
:
'2017'
,
name
:
'2017'
,
max
:
100
,
},
},
{
{
text
:
'2017'
,
name
:
'2017'
,
max
:
100
,
},
},
{
{
text
:
'2018'
,
name
:
'2018'
,
max
:
100
,
},
},
{
{
text
:
'2019'
,
name
:
'2019'
,
max
:
100
,
},
},
{
{
text
:
'2020'
,
name
:
'2020'
,
max
:
100
,
},
},
{
{
text
:
'2021'
,
name
:
'2021'
,
max
:
100
,
},
},
],
],
},
},
...
...
src/views/demo/charts/SaleRadar.vue
浏览文件 @
d31cb904
...
@@ -43,28 +43,22 @@
...
@@ -43,28 +43,22 @@
splitNumber
:
8
,
splitNumber
:
8
,
indicator
:
[
indicator
:
[
{
{
text
:
'2017'
,
name
:
'2017'
,
max
:
100
,
},
},
{
{
text
:
'2017'
,
name
:
'2017'
,
max
:
100
,
},
},
{
{
text
:
'2018'
,
name
:
'2018'
,
max
:
100
,
},
},
{
{
text
:
'2019'
,
name
:
'2019'
,
max
:
100
,
},
},
{
{
text
:
'2020'
,
name
:
'2020'
,
max
:
100
,
},
},
{
{
text
:
'2021'
,
name
:
'2021'
,
max
:
100
,
},
},
],
],
},
},
...
...
src/views/demo/feat/request-demo/index.vue
浏览文件 @
d31cb904
<
template
>
<
template
>
<div
class=
"request-box"
>
<div
class=
"request-box"
>
<a-button
@
click=
"handleClick"
color
=
"primary"
>
点击会重新发起请求5次
</a-button>
<a-button
@
click=
"handleClick"
type
=
"primary"
>
点击会重新发起请求5次
</a-button>
<p>
打开浏览器的network面板,可以看到发出了六次请求
</p>
<p>
打开浏览器的network面板,可以看到发出了六次请求
</p>
</div>
</div>
</
template
>
</
template
>
...
...
src/views/demo/page/form/basic/data.ts
浏览文件 @
d31cb904
import
{
FormSchema
}
from
'/@/components/Form'
;
import
{
FormSchema
}
from
'/@/components/Form'
;
const
colProps
=
{
span
:
8
,
};
export
const
schemas
:
FormSchema
[]
=
[
export
const
schemas
:
FormSchema
[]
=
[
{
{
field
:
'title'
,
field
:
'title'
,
component
:
'Input'
,
component
:
'Input'
,
label
:
'标题'
,
label
:
'标题'
,
colProps
,
componentProps
:
{
componentProps
:
{
placeholder
:
'给目标起个名字'
,
placeholder
:
'给目标起个名字'
,
},
},
...
@@ -14,12 +18,37 @@ export const schemas: FormSchema[] = [
...
@@ -14,12 +18,37 @@ export const schemas: FormSchema[] = [
field
:
'time'
,
field
:
'time'
,
component
:
'RangePicker'
,
component
:
'RangePicker'
,
label
:
'起止日期'
,
label
:
'起止日期'
,
colProps
,
required
:
true
,
required
:
true
,
},
},
{
{
field
:
'client'
,
component
:
'Input'
,
colProps
,
label
:
'客户'
,
helpMessage
:
'目标的服务对象'
,
subLabel
:
'( 选填 )'
,
componentProps
:
{
placeholder
:
'请描述你服务的客户,内部客户直接 @姓名/工号'
,
},
},
{
field
:
'weights'
,
component
:
'InputNumber'
,
label
:
'权重'
,
colProps
,
subLabel
:
'( 选填 )'
,
componentProps
:
{
formatter
:
(
value
:
string
)
=>
(
value
?
`
${
value
}
%`
:
''
),
parser
:
(
value
:
string
)
=>
value
.
replace
(
'%'
,
''
),
placeholder
:
'请输入'
,
},
},
{
field
:
'target'
,
field
:
'target'
,
component
:
'InputTextArea'
,
component
:
'InputTextArea'
,
label
:
'目标描述'
,
label
:
'目标描述'
,
colProps
,
componentProps
:
{
componentProps
:
{
placeholder
:
'请输入你的阶段性工作目标'
,
placeholder
:
'请输入你的阶段性工作目标'
,
rows
:
4
,
rows
:
4
,
...
@@ -30,46 +59,33 @@ export const schemas: FormSchema[] = [
...
@@ -30,46 +59,33 @@ export const schemas: FormSchema[] = [
field
:
'metrics'
,
field
:
'metrics'
,
component
:
'InputTextArea'
,
component
:
'InputTextArea'
,
label
:
'衡量标准'
,
label
:
'衡量标准'
,
colProps
,
componentProps
:
{
componentProps
:
{
placeholder
:
'请输入衡量标准'
,
placeholder
:
'请输入衡量标准'
,
rows
:
4
,
rows
:
4
,
},
},
required
:
true
,
required
:
true
,
},
},
{
field
:
'client'
,
component
:
'Input'
,
label
:
'客户'
,
helpMessage
:
'目标的服务对象'
,
subLabel
:
'( 选填 )'
,
componentProps
:
{
placeholder
:
'请描述你服务的客户,内部客户直接 @姓名/工号'
,
},
},
{
{
field
:
'inviteer'
,
field
:
'inviteer'
,
component
:
'Input'
,
component
:
'Input'
,
label
:
'邀评人'
,
label
:
'邀评人'
,
subLabel
:
'( 选填 )'
,
colProps
:
{
componentProps
:
{
span
:
8
,
placeholder
:
'请直接 @姓名/工号,最多可邀请 5 人'
,
},
},
},
{
field
:
'weights'
,
component
:
'InputNumber'
,
label
:
'权重'
,
subLabel
:
'( 选填 )'
,
subLabel
:
'( 选填 )'
,
componentProps
:
{
componentProps
:
{
formatter
:
(
value
:
string
)
=>
(
value
?
`
${
value
}
%`
:
''
),
placeholder
:
'请直接 @姓名/工号,最多可邀请 5 人'
,
parser
:
(
value
:
string
)
=>
value
.
replace
(
'%'
,
''
),
placeholder
:
'请输入'
,
},
},
},
},
{
{
field
:
'disclosure'
,
field
:
'disclosure'
,
component
:
'RadioGroup'
,
component
:
'RadioGroup'
,
label
:
'目标公开'
,
label
:
'目标公开'
,
colProps
:
{
span
:
16
,
},
itemProps
:
{
itemProps
:
{
extra
:
'客户、邀评人默认被分享'
,
extra
:
'客户、邀评人默认被分享'
,
},
},
...
@@ -91,9 +107,12 @@ export const schemas: FormSchema[] = [
...
@@ -91,9 +107,12 @@ export const schemas: FormSchema[] = [
},
},
},
},
{
{
field
:
'disclosure
r
'
,
field
:
'disclosure'
,
component
:
'Select'
,
component
:
'Select'
,
label
:
' '
,
label
:
' '
,
colProps
:
{
span
:
8
,
},
show
:
({
model
})
=>
{
show
:
({
model
})
=>
{
return
model
.
disclosure
===
'2'
;
return
model
.
disclosure
===
'2'
;
},
},
...
...
src/views/demo/page/form/basic/index.vue
浏览文件 @
d31cb904
...
@@ -25,12 +25,12 @@
...
@@ -25,12 +25,12 @@
span
:
8
,
span
:
8
,
},
},
wrapperCol
:
{
wrapperCol
:
{
span
:
1
0
,
span
:
1
5
,
},
},
schemas
:
schemas
,
schemas
:
schemas
,
actionColOptions
:
{
actionColOptions
:
{
offset
:
8
,
offset
:
8
,
span
:
12
,
span
:
23
,
},
},
submitButtonOptions
:
{
submitButtonOptions
:
{
text
:
'提交'
,
text
:
'提交'
,
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论