Commit bbe9dbf2 by li_hongchao

添加异常捕获

parent 2ed6a950
......@@ -210,7 +210,7 @@ export default {
break
}
}
// logger.info('操作选项初始化', _that.curOpt)
// logger.info('操作选项初始化', _that.curOpt)
},
/**
......@@ -340,7 +340,6 @@ export default {
_that.isShowing = val
},
doSh(fhzt, shzt, desc = '') {
let TITLE = '审核'
let _that = this
logger.info('item:', JSON.stringify(_that.shInfo))
var ruleForm = {}
......@@ -358,11 +357,11 @@ export default {
_that.$emit('refresh', _that.shInfo)
_that.initShItem()
}
})
}).catch(err => {
})
},
doZg(zgzt, desc = '') {
let TITLE = '审核'
let _that = this
var ruleForm = {}
ruleForm.querytype = _that.shInfo.querytype
......@@ -378,11 +377,11 @@ export default {
_that.$emit('refresh', _that.shInfo)
_that.initShItem()
}
})
}).catch(err => {
})
},
doPlSb() {
let TITLE = '上报'
let _that = this
let ruleForm = {}
var ids = []
......@@ -393,13 +392,14 @@ export default {
ruleForm.level = _that.getLevel()
NetUtil.bzxxsh
.bzxxPlSb(ruleForm)
.plsb(ruleForm)
.then(res => {
if (res.code === 0) {
_that.$emit('refresh', _that.shInfo)
_that.initShItem()
}
})
}).catch(err => {
})
},
},
}
......
......@@ -700,7 +700,8 @@ export default {
_that.totalPage = Math.ceil(_that.total / _that.pageSize)
_that.refreshItemsData()
}
})
}).catch(err => {
})
},
onSbxxListener() {
......@@ -762,7 +763,8 @@ export default {
if (res.code === 0) {
_that.getData()
}
})
}).catch(err => {
})
},
onFztmSuccess(e) {
......
......@@ -566,7 +566,8 @@ export default {
}
})
}
})
}).catch(err => {
})
},
},
......
......@@ -612,7 +612,8 @@ export default {
}
})
}
})
}).catch(err => {
})
},
},
destroyed() {
......
......@@ -1216,7 +1216,8 @@ export default {
}
})
}
})
}).catch(err => {
})
},
// 滚动平面选择切换
......
......@@ -98,8 +98,8 @@ module.exports = {
// target: "http://127.0.0.1:8099",
// target: "http://47.92.225.109:5602",
// target: "http://www.meetfood.cn:2390", // 湖南-线上
// target:"http://zwpt.xzclub.top:9333/",
target: "http://192.168.128.102:8099", // 江
target:"http://zwpt.xzclub.top:9333/",
// target: "http://192.168.128.102:8099", // 江
ws: true,
changeOrigin: true,
pathRewrite: {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment