Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
W
wangxiaolu-sfa-ui
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
sfa
wangxiaolu-sfa-ui
Commits
ea401052
提交
ea401052
authored
9月 03, 2025
作者:
lidongxu
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
修复:积木报表路由挂载不上问题
上级
c0bfb110
隐藏空白字符变更
内嵌
并排
正在显示
5 个修改的文件
包含
46 行增加
和
9 行删除
+46
-9
App.vue
src/App.vue
+3
-0
index.js
src/router/index.js
+1
-0
index.vue
...y/sales_point_inspection/examine/inspectionTask/index.vue
+2
-2
categoryInfomation.vue
...ection/examine/inspectionTask/tabs/categoryInfomation.vue
+33
-0
updateVersion.js
updateVersion.js
+7
-7
没有找到文件。
src/App.vue
浏览文件 @
ea401052
...
...
@@ -51,4 +51,7 @@ onMounted(() => {
<
style
scoped
lang=
"scss"
>
.wm-class
{
height
:
100%
;
}
</
style
>
src/router/index.js
浏览文件 @
ea401052
...
...
@@ -43,6 +43,7 @@ export let constantRoutes = [{
}]
// PC端 静态路由
export
const
constantPCRoutes
=
[
...
constantRoutes
,
{
path
:
'/redirect'
,
component
:
Layout
,
...
...
src/views/mobile/pages/audit_activity/sales_point_inspection/examine/inspectionTask/index.vue
浏览文件 @
ea401052
...
...
@@ -231,7 +231,7 @@ const getInspectionTaskDetailFn = async () => {
conventionRef
.
value
.
init
()
scheduleDisplayRef
.
value
.
init
()
scheduleAdjustmentRef
.
value
.
init
()
//
categoryInfomationRef.value.init()
categoryInfomationRef
.
value
.
init
()
})
// 一定在这里获取地理位置(保证稽查任务 id 创建完毕)
...
...
@@ -352,7 +352,7 @@ const handleTypeConfirm = async ({ selectedValues }) => {
}
/*************** tabs 组 ***************/
const
active
=
ref
(
2
)
const
active
=
ref
(
3
)
/*************** 其他信息填写 ***************/
// 礼盒礼袋在售
...
...
src/views/mobile/pages/audit_activity/sales_point_inspection/examine/inspectionTask/tabs/categoryInfomation.vue
浏览文件 @
ea401052
...
...
@@ -58,6 +58,12 @@
</template>
<
script
setup
>
const
props
=
defineProps
({
form
:
{
type
:
Object
,
default
:
()
=>
{
}
}
})
// 品类型
const
typeOptions
=
ref
([
{
...
...
@@ -250,6 +256,33 @@ const typeOptions = ref([
}
]);
const
selectedTypeObj
=
ref
(
typeOptions
.
value
[
0
])
// 创建任务
const
createTask
=
()
=>
{
displayGroup
.
value
.
push
({
type
:
selectedTypeObj
.
value
.
value
,
taste
:
selectedTypeObj
.
value
.
taste
.
map
(
item
=>
({
name
:
item
.
name
,
value
:
''
}))
})
}
const
init
=
()
=>
{
if
(
props
.
form
.
detailMap
)
{
if
(
props
.
form
.
detailMap
[
'品类信息'
])
{
checkProperty
(
props
.
form
.
detailMap
[
'品类信息'
])
displayGroup
.
value
=
props
.
form
.
detailMap
[
'品类信息'
]
||
[]
return
}
}
// 没传递则自己至少新建 1 个
if
(
displayGroup
.
value
.
length
===
0
)
{
createTask
()
}
}
defineExpose
({
init
})
</
script
>
<
style
lang=
"scss"
...
...
updateVersion.js
浏览文件 @
ea401052
...
...
@@ -16,19 +16,19 @@ function parseChangelog(changelogText) {
for
(
const
line
of
lines
)
{
const
trimmedLine
=
line
.
trim
();
// 检查是否是版本行
const
versionMatch
=
trimmedLine
.
match
(
versionRegex
);
if
(
versionMatch
)
{
// 保存当前版本对象(如果有)
if
(
currentVersionObj
)
{
// 清理空版本
if
(
currentVersionObj
.
breakingChanges
.
length
>
0
||
currentVersionObj
.
changes
.
length
>
0
)
{
if
(
currentVersionObj
.
breakingChanges
.
length
>
0
||
currentVersionObj
.
changes
.
length
>
0
)
{
result
.
push
(
currentVersionObj
);
}
}
// 创建新版本对象
currentVersionObj
=
{
version
:
versionMatch
[
1
],
...
...
@@ -81,9 +81,9 @@ function parseChangelog(changelogText) {
}
// 添加最后一个版本对象
if
(
currentVersionObj
&&
(
currentVersionObj
.
breakingChanges
.
length
>
0
||
currentVersionObj
.
changes
.
length
>
0
))
{
if
(
currentVersionObj
&&
(
currentVersionObj
.
breakingChanges
.
length
>
0
||
currentVersionObj
.
changes
.
length
>
0
))
{
result
.
push
(
currentVersionObj
);
}
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论