|
|
@@ -341,11 +341,25 @@ export default {
|
|
|
let obj = {taskId:taskId}
|
|
|
getMonitorStart(obj).then(res => {
|
|
|
let { code, data, msg } = res
|
|
|
- if (data) {
|
|
|
+ let dayNums = data.dayNums;
|
|
|
+ let noComplete = data.noComplete;
|
|
|
+ if (noComplete > 0) {
|
|
|
this.$router.push('/consultInfo/' + this.taskId)
|
|
|
}else{
|
|
|
- this.$refs.scandialog.visible = true;
|
|
|
- this.globalLoading=true;
|
|
|
+
|
|
|
+ if(dayNums >= 5){
|
|
|
+ //提醒确认
|
|
|
+ Dialog.confirm({
|
|
|
+ title: '提示',
|
|
|
+ message: '当前调阅任务今日调阅已达到5次,是否继续调阅?!',
|
|
|
+ }).then(() => {
|
|
|
+ this.$refs.scandialog.visible = true;
|
|
|
+ this.globalLoading=true;
|
|
|
+ })
|
|
|
+ }else{
|
|
|
+ this.$refs.scandialog.visible = true;
|
|
|
+ this.globalLoading=true;
|
|
|
+ }
|
|
|
}
|
|
|
})
|
|
|
|