|
|
@@ -50,6 +50,10 @@ Page({
|
|
|
label: "任务",
|
|
|
icon: "icon-tabrenwu",
|
|
|
model: "#Work"
|
|
|
+ }, {
|
|
|
+ label: "报备进度",
|
|
|
+ icon: "icon-tabfujian1",
|
|
|
+ model: "#ReportingProgress"
|
|
|
}, {
|
|
|
label: "附件",
|
|
|
icon: "icon-tabfujian1",
|
|
|
@@ -233,12 +237,13 @@ Page({
|
|
|
isLeader = s.data.editable == 1;
|
|
|
editdataleader = s.data.editdataleader == 1;
|
|
|
}
|
|
|
+ /* , {
|
|
|
+ icon: "icon-genjin",
|
|
|
+ label: "报备驳回(退回)"
|
|
|
+ } */
|
|
|
if (isAdmin) tabbarList = [{
|
|
|
icon: "icon-genjin",
|
|
|
label: "报备审核"
|
|
|
- }, {
|
|
|
- icon: "icon-genjin",
|
|
|
- label: "报备驳回(退回)"
|
|
|
}].concat(tabbarList);
|
|
|
if (isLeader || isAdmin) {
|
|
|
if (status != '已失败') tabbarList = tabbarList.concat([{
|
|
|
@@ -361,14 +366,35 @@ Page({
|
|
|
})
|
|
|
break;
|
|
|
case "报备审核":
|
|
|
- wx.showModal({
|
|
|
- title: '提示',
|
|
|
- content: '是否确认审核项目',
|
|
|
- complete: ({
|
|
|
- confirm
|
|
|
- }) => {
|
|
|
- if (confirm) that.handleReport(2)
|
|
|
+ /* wx.showModal({
|
|
|
+ title: '提示',
|
|
|
+ content: '是否确认审核项目',
|
|
|
+ complete: ({
|
|
|
+ confirm
|
|
|
+ }) => {
|
|
|
+ if (confirm) that.handleReport(2)
|
|
|
+ }
|
|
|
+ }) */
|
|
|
+ _Http.basic({
|
|
|
+ "id": 20230628155602,
|
|
|
+ "content": {
|
|
|
+ "sa_projectid": that.data.sa_projectid,
|
|
|
+ "type": "mobile"
|
|
|
}
|
|
|
+ }).then(res => {
|
|
|
+ console.log("获取报备地址", res)
|
|
|
+ if (res.msg != '成功') return wx.showToast({
|
|
|
+ title: res.msg,
|
|
|
+ icon: "none"
|
|
|
+ });
|
|
|
+ if (res.data === '') return wx.showToast({
|
|
|
+ title: '暂无审核权限',
|
|
|
+ icon: "none"
|
|
|
+ });
|
|
|
+ getApp().globalData.webviewurl = res.data;
|
|
|
+ wx.navigateTo({
|
|
|
+ url: './webview',
|
|
|
+ })
|
|
|
})
|
|
|
break;
|
|
|
case "报备驳回(退回)":
|
|
|
@@ -568,6 +594,9 @@ Page({
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
+ onShow() {
|
|
|
+ console.log()
|
|
|
+ },
|
|
|
onReachBottom() {
|
|
|
this.partialRenewal();
|
|
|
},
|