提交 fae7cee3 作者: wk

初始模式项目ID

父级 e3867c0d
......@@ -110,7 +110,7 @@
return
}
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) {
......
......@@ -127,7 +127,8 @@
windowHeight: "400px",
popupData: [],
curIndex: -1, //当前操作的控件索引
check_tpl_id: ""
check_tpl_id: "",
project_id: ""
}
},
methods: {
......@@ -396,7 +397,7 @@
this.$http.get({
url: "/api/v1/common_check/check_object/obj_list",
data: {
"project_id": uni.getStorageSync("project_id"),
"project_id": this.project_id,
"is_page": 0
// "check_item_id": this.checkItemId
},
......@@ -525,6 +526,7 @@
this.title = option.title
this.check_tpl_id = option.check_tpl_id
this.checkItemId = option.check_item_id
this.project_id = option.project_id
uni.setNavigationBarTitle({
title: option.title
})
......
......@@ -80,6 +80,7 @@
} else {
this.projectSelect = this.projectList[0]
}
console.log("项目:", this.projectSelect);
} else {
if (result.code === -1) {
uni.showToast({
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
Please register or to comment