|
|
@@ -390,7 +390,13 @@ Page({
|
|
|
icon: "none",
|
|
|
mask: true
|
|
|
})
|
|
|
- if (res.data != '失败') this.getDetail();
|
|
|
+ if (res.data != '失败') {
|
|
|
+ if (type != 1) {
|
|
|
+ this.getDetail();
|
|
|
+ } else {
|
|
|
+ this.getTags();
|
|
|
+ }
|
|
|
+ }
|
|
|
})
|
|
|
},
|
|
|
//局部数据更新 tabs
|
|
|
@@ -472,6 +478,12 @@ Page({
|
|
|
getGroup() {
|
|
|
this.selectComponent("#Group").getList();
|
|
|
},
|
|
|
+ /* tag更新列表 */
|
|
|
+ onGetList(e) {
|
|
|
+ if (e.detail.data.systemtag.includes('报备中')) this.setData({
|
|
|
+ tabbarList: this.data.tabbarList.filter(v => v.label != '提交报备')
|
|
|
+ })
|
|
|
+ },
|
|
|
onUnload() {
|
|
|
const page = getCurrentPages().find(v => v.__route__ == 'packageA/project/index');
|
|
|
if (!page) return;
|