Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
Sign in / Register
Toggle navigation
S
site-uniapp
概览
Overview
详情
活动
周期分析
版本库
存储库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
问题
0
Issues
0
列表
Board
标记
里程碑
合并请求
0
Merge Requests
0
CI / CD
CI / CD
流水线
作业
日程表
图表
维基
Wiki
代码片段
Snippets
Members
Collapse sidebar
Close sidebar
活动
图像
聊天
创建新问题
作业
提交
Issue Boards
Open sidebar
王柯
site-uniapp
Commits
fae7cee3
提交
fae7cee3
authored
2月 23, 2023
作者:
wk
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
初始模式项目ID
父级
e3867c0d
显示空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
6 行增加
和
3 行删除
+6
-3
pages/gallery/app/checkObjList/checkObjList.vue
+1
-1
pages/gallery/app/createCheck/createCheck.vue
+4
-2
pages/gallery/app/originalIndex/originalIndex.vue
+1
-0
没有找到文件。
pages/gallery/app/checkObjList/checkObjList.vue
View file @
fae7cee3
...
@@ -110,7 +110,7 @@
...
@@ -110,7 +110,7 @@
return
return
}
}
uni
.
navigateTo
({
uni
.
navigateTo
({
url
:
`/pages/gallery/app/createCheck/createCheck?check_item_id=
${
this
.
checkItemId
}
&title=
${
this
.
title
}
&check_tpl_id=
${
this
.
check_tpl_id
}
`
,
url
:
`/pages/gallery/app/createCheck/createCheck?check_item_id=
${
this
.
checkItemId
}
&title=
${
this
.
title
}
&check_tpl_id=
${
this
.
check_tpl_id
}
&project_id=
${
this
.
projectId
}
`
,
})
})
},
},
search
(
val
)
{
search
(
val
)
{
...
...
pages/gallery/app/createCheck/createCheck.vue
View file @
fae7cee3
...
@@ -127,7 +127,8 @@
...
@@ -127,7 +127,8 @@
windowHeight
:
"400px"
,
windowHeight
:
"400px"
,
popupData
:
[],
popupData
:
[],
curIndex
:
-
1
,
//当前操作的控件索引
curIndex
:
-
1
,
//当前操作的控件索引
check_tpl_id
:
""
check_tpl_id
:
""
,
project_id
:
""
}
}
},
},
methods
:
{
methods
:
{
...
@@ -396,7 +397,7 @@
...
@@ -396,7 +397,7 @@
this
.
$http
.
get
({
this
.
$http
.
get
({
url
:
"/api/v1/common_check/check_object/obj_list"
,
url
:
"/api/v1/common_check/check_object/obj_list"
,
data
:
{
data
:
{
"project_id"
:
uni
.
getStorageSync
(
"project_id"
)
,
"project_id"
:
this
.
project_id
,
"is_page"
:
0
"is_page"
:
0
// "check_item_id": this.checkItemId
// "check_item_id": this.checkItemId
},
},
...
@@ -525,6 +526,7 @@
...
@@ -525,6 +526,7 @@
this
.
title
=
option
.
title
this
.
title
=
option
.
title
this
.
check_tpl_id
=
option
.
check_tpl_id
this
.
check_tpl_id
=
option
.
check_tpl_id
this
.
checkItemId
=
option
.
check_item_id
this
.
checkItemId
=
option
.
check_item_id
this
.
project_id
=
option
.
project_id
uni
.
setNavigationBarTitle
({
uni
.
setNavigationBarTitle
({
title
:
option
.
title
title
:
option
.
title
})
})
...
...
pages/gallery/app/originalIndex/originalIndex.vue
View file @
fae7cee3
...
@@ -80,6 +80,7 @@
...
@@ -80,6 +80,7 @@
}
else
{
}
else
{
this
.
projectSelect
=
this
.
projectList
[
0
]
this
.
projectSelect
=
this
.
projectList
[
0
]
}
}
console
.
log
(
"项目:"
,
this
.
projectSelect
);
}
else
{
}
else
{
if
(
result
.
code
===
-
1
)
{
if
(
result
.
code
===
-
1
)
{
uni
.
showToast
({
uni
.
showToast
({
...
...
Write
Preview
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
Please
register
or
sign in
to comment