逻辑调整

test
zhangdi 1 year ago
parent 89880d5675
commit eaf1cf6c51
  1. 12
      config/status.js
  2. 55
      pages/inspection/questOrder.vue

@ -82,21 +82,21 @@ export const tabList = {
name: "全部",
key: "9999",
},
{
name: "已驳回",
key: "100,101,102",
},
{
name: "待审批",
key: "3",
},
{
name: "维修中",
key: "5",
},
{
name: "已通过",
key: "4",
},
{
name: "维修中",
key: "5",
name: "已驳回",
key: "100,101,102",
},
{
name: "维修完成",

@ -496,34 +496,33 @@ export default {
taskId: this.detailForm.id
})
})
console.log(11111111, newArr)
// this.$u.api.updateDetaile(queryData).then(res => {
// if (res.code == 200) {
// let signInfo = {
// id: this.detailForm.id,
// signUrl: this.signUrl,
// remark: this.remark
// }
// this.$u.api.updateSign(signInfo).then(res => {
// if (res.code == 200) {
// let query = {
// id: this.detailForm.id,
// }
// this.$u.api.taskServicemanSubmit(query).then(res => {
// if (res.code == 200) {
// uni.showToast({ title: "", icon: "none" });
// setTimeout(() => {
// uni.navigateBack({
// delta: 1 // 1退
// })
// }, 500)
// }
// })
// }
// })
// }
// })
this.$u.api.updateDetaile(queryData).then(res => {
if (res.code == 200) {
let signInfo = {
id: this.detailForm.id,
signUrl: this.signUrl,
remark: this.remark
}
this.$u.api.updateSign(signInfo).then(res => {
if (res.code == 200) {
let query = {
id: this.detailForm.id,
}
this.$u.api.taskServicemanSubmit(query).then(res => {
if (res.code == 200) {
uni.showToast({ title: "提交成功", icon: "none" });
setTimeout(() => {
uni.navigateBack({
delta: 1 // 1退
})
}, 500)
}
})
}
})
}
})
},
//
changeApproveResult(e) {

Loading…
Cancel
Save