|
|
@@ -6,7 +6,7 @@ |
|
|
|
</div> |
|
|
|
<div style="height: 58px;"></div> |
|
|
|
<van-tabs type="card" :duration="0.2" animated background="transparent" style="border: none;" v-model="caseProgress"> |
|
|
|
<!-- 登记--> |
|
|
|
<!--登记--> |
|
|
|
<van-tab :disabled="0 <= caseActive ? false : true"> |
|
|
|
<template #title> |
|
|
|
<div :class="{ finish: 1 <= caseActive , notStarted: 1 > caseActive , ongoing: 0 == caseActive }" > |
|
|
@@ -105,7 +105,7 @@ |
|
|
|
</van-collapse> |
|
|
|
</div> |
|
|
|
</van-tab> |
|
|
|
<!-- 勘察--> |
|
|
|
<!--勘察--> |
|
|
|
<van-tab v-show="progressLength>=3" v-if="zhenchaShow" :disabled="1 <= caseActive ? false : true"> |
|
|
|
<template #title> |
|
|
|
<div |
|
|
@@ -176,8 +176,7 @@ |
|
|
|
</van-collapse-item> |
|
|
|
</van-collapse> |
|
|
|
</div> |
|
|
|
|
|
|
|
<van-form :readonly="caseProgress != 1 || (surveyForm.instanceId!='' && surveyForm.instanceId!=null && surveyForm.instanceId!=undefined)"> |
|
|
|
<van-form :readonly="surveyDiglogStatus && (caseProgress != 1 || (surveyForm.instanceId!='' && surveyForm.instanceId!=null && surveyForm.instanceId!=undefined))"> |
|
|
|
|
|
|
|
<div class="main_box"> |
|
|
|
<van-cell> |
|
|
@@ -368,7 +367,7 @@ |
|
|
|
<span class="custom-title">案件文档<i class="bgBlue"></i></span> |
|
|
|
</template> |
|
|
|
</van-cell> |
|
|
|
<van-uploader v-model="surveyOption" :after-read="afterRead" @delete="deleteFile" :show-upload="caseProgress == 1 && ( surveyForm.instanceId=='' || surveyForm.instanceId==null || surveyForm.instanceId==undefined )" :deletable="caseProgress == 1 && ( surveyForm.instanceId=='' || surveyForm.instanceId==null || surveyForm.instanceId==undefined )" /> |
|
|
|
<van-uploader v-model="surveyOption" :after-read="afterRead" @delete="deleteFile" :show-upload="!surveyDiglogStatus || (caseProgress == 1 && ( surveyForm.instanceId=='' || surveyForm.instanceId==null || surveyForm.instanceId==undefined ))" :deletable="!surveyDiglogStatus || (caseProgress == 1 && ( surveyForm.instanceId=='' || surveyForm.instanceId==null || surveyForm.instanceId==undefined ))" /> |
|
|
|
</div> |
|
|
|
</van-form> |
|
|
|
|
|
|
@@ -405,12 +404,36 @@ |
|
|
|
</van-row> |
|
|
|
</div> |
|
|
|
</template> |
|
|
|
<div class="submit_box" v-if="caseProgress == 1 && ( surveyForm.instanceId=='' || surveyForm.instanceId==null || surveyForm.instanceId==undefined )"> |
|
|
|
<div class="main_box examine_box" v-if="caseActive == 1 && type == 'waiting'"> |
|
|
|
<van-row type="flex" justify="space-between" align="center"> |
|
|
|
<van-col span="5">审批<br/>意见</van-col> |
|
|
|
<van-col span="19"> |
|
|
|
<van-radio-group v-model="pass" direction="horizontal" @change="radioChange"> |
|
|
|
<van-radio name="true">同意</van-radio> |
|
|
|
<van-radio name="false">驳回</van-radio> |
|
|
|
</van-radio-group> |
|
|
|
<van-field rows="2" autosize v-model="comment" type="textarea" placeholder="审批意见"/> |
|
|
|
</van-col> |
|
|
|
</van-row> |
|
|
|
</div> |
|
|
|
<!-- <div style="margin: 16px 2%;" v-if="caseActive == 1 && type == 'waiting'">--> |
|
|
|
<!-- <van-row>--> |
|
|
|
<!-- <van-col span="24" align="center">--> |
|
|
|
<!-- <van-button type="info" native-type="submit" @click="submitCase" class="submitButtonActive">提交</van-button>--> |
|
|
|
<!-- </van-col>--> |
|
|
|
<!-- </van-row>--> |
|
|
|
<!-- <div class="clear"></div>--> |
|
|
|
<!-- </div>--> |
|
|
|
<div class="submit_box" v-if="caseActive == 1 && type == 'waiting'"> |
|
|
|
<p class="submitButton" @click="preservation('submit')">保存1</p> |
|
|
|
<p class="submitButton" @click="submitCase">提交1</p> |
|
|
|
</div> |
|
|
|
<div class="submit_box" v-if=" type != 'waiting' || ( caseProgress == 1 && ( surveyForm.instanceId=='' || surveyForm.instanceId==null || surveyForm.instanceId==undefined ))"> |
|
|
|
<p class="submitButton" @click="preservation('submit')">保存</p> |
|
|
|
<p class="submitButton" @click="submit">提交</p> |
|
|
|
</div> |
|
|
|
</van-tab> |
|
|
|
<!-- 立案--> |
|
|
|
<!--立案--> |
|
|
|
<van-tab v-show="progressLength>=4" v-if="lianShow" :disabled="2 <= caseActive ? false : true"> |
|
|
|
<template #title> |
|
|
|
<div |
|
|
@@ -467,7 +490,7 @@ |
|
|
|
</van-collapse> |
|
|
|
</div> |
|
|
|
|
|
|
|
<van-form :readonly="caseProgress != 2 || (putRecordForm.instanceId!='' && putRecordForm.instanceId!=null && putRecordForm.instanceId!=undefined)"> |
|
|
|
<van-form :readonly="recordDiglogStatus &&( caseProgress != 2 || (putRecordForm.instanceId!='' && putRecordForm.instanceId!=null && putRecordForm.instanceId!=undefined))"> |
|
|
|
|
|
|
|
<div class="main_box"> |
|
|
|
<van-cell> |
|
|
@@ -676,7 +699,7 @@ |
|
|
|
<span class="custom-title">案件文档<i class="bgBlue"></i></span> |
|
|
|
</template> |
|
|
|
</van-cell> |
|
|
|
<van-uploader v-model="samplingOption" :after-read="afterReadSampling" :before-delete="deleteFileSampling" :show-upload="caseProgress == 2 && ( putRecordForm.instanceId=='' || putRecordForm.instanceId==null || putRecordForm.instanceId==undefined )" :deletable="caseProgress == 2 && ( putRecordForm.instanceId=='' || putRecordForm.instanceId==null || putRecordForm.instanceId==undefined )" /> |
|
|
|
<van-uploader v-model="samplingOption" :after-read="afterReadSampling" :before-delete="deleteFileSampling" :show-upload="!recordDiglogStatus || (caseProgress == 2 && ( putRecordForm.instanceId=='' || putRecordForm.instanceId==null || putRecordForm.instanceId==undefined ))" :deletable="!recordDiglogStatus || (caseProgress == 2 && ( putRecordForm.instanceId=='' || putRecordForm.instanceId==null || putRecordForm.instanceId==undefined ))" /> |
|
|
|
</div> |
|
|
|
|
|
|
|
</van-form> |
|
|
@@ -713,12 +736,39 @@ |
|
|
|
</van-row> |
|
|
|
</div> |
|
|
|
</template> |
|
|
|
<div class="submit_box" v-if="caseProgress == 2 && ( putRecordForm.instanceId=='' || putRecordForm.instanceId==null || putRecordForm.instanceId==undefined )"> |
|
|
|
|
|
|
|
<div class="main_box examine_box" v-if="caseActive == 2 && type == 'waiting'"> |
|
|
|
<van-row type="flex" justify="space-between" align="center"> |
|
|
|
<van-col span="5">审批<br/>意见</van-col> |
|
|
|
<van-col span="19"> |
|
|
|
<van-radio-group v-model="pass" direction="horizontal" @change="radioChange"> |
|
|
|
<van-radio name="true">同意</van-radio> |
|
|
|
<van-radio name="false">驳回</van-radio> |
|
|
|
</van-radio-group> |
|
|
|
<van-field rows="2" autosize v-model="comment" type="textarea" placeholder="审批意见"/> |
|
|
|
</van-col> |
|
|
|
</van-row> |
|
|
|
</div> |
|
|
|
<!-- <div style="margin: 16px 2%;" v-if="caseActive == 2 && type == 'waiting'">--> |
|
|
|
<!-- <van-row>--> |
|
|
|
<!-- <van-col span="24" align="center">--> |
|
|
|
<!-- <van-button type="info" native-type="submit" @click="submitPutRecord" class="submitButtonActive">提交</van-button>--> |
|
|
|
<!-- </van-col>--> |
|
|
|
<!-- </van-row>--> |
|
|
|
<!-- <div class="clear"></div>--> |
|
|
|
<!-- </div>--> |
|
|
|
|
|
|
|
<div class="submit_box" v-if="caseActive == 2 && type == 'waiting'"> |
|
|
|
<p class="submitButton" @click="submitPutRecordForm('submit')">保存1</p> |
|
|
|
<p class="submitButton" @click="submitPutRecord">提交1</p> |
|
|
|
</div> |
|
|
|
|
|
|
|
<div class="submit_box" v-if=" type != 'waiting' || (caseProgress == 2 && ( putRecordForm.instanceId=='' || putRecordForm.instanceId==null || putRecordForm.instanceId==undefined ))"> |
|
|
|
<p class="submitButton" @click="submitPutRecordForm('submit')">保存</p> |
|
|
|
<p class="submitButton" @click="submitDefine">提交</p> |
|
|
|
</div> |
|
|
|
</van-tab> |
|
|
|
<!-- 取证--> |
|
|
|
<!--取证--> |
|
|
|
<van-tab v-show="progressLength>=5" v-if="quzhengShow" :disabled="3 <= caseActive ? false : true"> |
|
|
|
<template #title> |
|
|
|
<div |
|
|
@@ -774,7 +824,7 @@ |
|
|
|
</van-collapse-item> |
|
|
|
</van-collapse> |
|
|
|
</div> |
|
|
|
<van-form :readonly="caseProgress != 3 || (evidenceForm.instanceId!='' && evidenceForm.instanceId!=null && evidenceForm.instanceId!=undefined)"> |
|
|
|
<van-form :readonly="evidenceDiglogStatus && (caseProgress != 3 || (evidenceForm.instanceId!='' && evidenceForm.instanceId!=null && evidenceForm.instanceId!=undefined))"> |
|
|
|
<div class="main_box"> |
|
|
|
<van-cell> |
|
|
|
<template #title> |
|
|
@@ -886,6 +936,33 @@ |
|
|
|
</van-row> |
|
|
|
</div> |
|
|
|
</template> |
|
|
|
|
|
|
|
<div class="main_box examine_box" v-if="caseActive == 3 && type == 'waiting'"> |
|
|
|
<van-row type="flex" justify="space-between" align="center"> |
|
|
|
<van-col span="5">审批<br/>意见</van-col> |
|
|
|
<van-col span="19"> |
|
|
|
<van-radio-group v-model="pass" direction="horizontal" @change="radioChange"> |
|
|
|
<van-radio name="true">同意</van-radio> |
|
|
|
<van-radio name="false">驳回</van-radio> |
|
|
|
</van-radio-group> |
|
|
|
<van-field rows="2" autosize v-model="comment" type="textarea" placeholder="审批意见"/> |
|
|
|
</van-col> |
|
|
|
</van-row> |
|
|
|
</div> |
|
|
|
<!-- <div style="margin: 16px 2%;" v-if="caseActive == 3 && type == 'waiting'">--> |
|
|
|
<!-- <van-row>--> |
|
|
|
<!-- <van-col span="24" align="center">--> |
|
|
|
<!-- <van-button type="info" native-type="submit" @click="submitEvidence" class="submitButtonActive">提交</van-button>--> |
|
|
|
<!-- </van-col>--> |
|
|
|
<!-- </van-row>--> |
|
|
|
<!-- <div class="clear"></div>--> |
|
|
|
<!-- </div>--> |
|
|
|
|
|
|
|
<div class="submit_box" v-if="caseActive == 3 && type == 'waiting'"> |
|
|
|
<p class="submitButton" @click="submitEvidenceForm('submit')">保存1</p> |
|
|
|
<p class="submitButton" @click="submitEvidence">提交1</p> |
|
|
|
</div> |
|
|
|
|
|
|
|
<div class="submit_box" v-if="caseProgress == 3 && ( evidenceForm.instanceId=='' || evidenceForm.instanceId==null || evidenceForm.instanceId==undefined )"> |
|
|
|
<p class="submitButton" @click="submitEvidenceForm('submit')">保存</p> |
|
|
|
<p class="submitButton" @click="submitDefineEvidenceForm">提交</p> |
|
|
@@ -1619,6 +1696,10 @@ export default { |
|
|
|
showSurveyEndTime:false, |
|
|
|
showConclusion:false, |
|
|
|
|
|
|
|
surveyDiglogStatus:false, |
|
|
|
recordDiglogStatus:false, |
|
|
|
evidenceDiglogStatus:false, |
|
|
|
|
|
|
|
form:{}, |
|
|
|
caseProgress:0, |
|
|
|
caseActive:0, |
|
|
@@ -2075,7 +2156,7 @@ export default { |
|
|
|
next(vm => { |
|
|
|
console.log(from.path) |
|
|
|
console.log(to.path) |
|
|
|
if (from.path === '/lawEnforcement/task'){ |
|
|
|
if (from.path === '/lawEnforcement/task' || from.path === '/lawEnforcement/waitingProcessing'){ |
|
|
|
location.reload() |
|
|
|
} |
|
|
|
}) |
|
|
@@ -2083,56 +2164,90 @@ export default { |
|
|
|
methods: { |
|
|
|
/** 保存审批意见提交 */ |
|
|
|
submitCase() { |
|
|
|
const data = { |
|
|
|
taskId: this.surveyForm.taskId, |
|
|
|
instanceId: this.surveyForm.instanceId, |
|
|
|
variables: JSON.stringify({ |
|
|
|
comment: this.comment, |
|
|
|
pass: this.pass, |
|
|
|
//"formData": this.row, |
|
|
|
}), |
|
|
|
}; |
|
|
|
return request({ |
|
|
|
url: "/activiti/process/complete", |
|
|
|
method: "post", |
|
|
|
params: data, |
|
|
|
}).then((response) => { |
|
|
|
if (response.code == 200 && response.msg == "操作成功") { |
|
|
|
this.$notify({ type: 'success' , message: "操作成功" }); |
|
|
|
setTimeout(function () { |
|
|
|
this.preservation(); |
|
|
|
var that = this; |
|
|
|
setTimeout(function(){ |
|
|
|
const data = { |
|
|
|
taskId: that.surveyForm.taskId, |
|
|
|
instanceId: that.surveyForm.instanceId, |
|
|
|
variables: JSON.stringify({ |
|
|
|
comment: that.comment, |
|
|
|
pass: that.pass, |
|
|
|
//"formData": this.row, |
|
|
|
}), |
|
|
|
}; |
|
|
|
return request({ |
|
|
|
url: "/activiti/process/complete", |
|
|
|
method: "post", |
|
|
|
params: data, |
|
|
|
}).then((response) => { |
|
|
|
if (response.code == 200 && response.msg == "操作成功") { |
|
|
|
that.$notify({ type: 'success' , message: "操作成功" }); |
|
|
|
history.back(-1); |
|
|
|
},1000) |
|
|
|
} else { |
|
|
|
this.$notify({ type: 'danger' , message: "操作失败" }); |
|
|
|
} |
|
|
|
}); |
|
|
|
} else { |
|
|
|
that.$notify({ type: 'danger' , message: "操作失败" }); |
|
|
|
} |
|
|
|
}); |
|
|
|
},2000); |
|
|
|
}, |
|
|
|
|
|
|
|
/** 保存审批意见提交 */ |
|
|
|
submitEvidence() { |
|
|
|
const data = { |
|
|
|
taskId: this.evidenceForm.taskId, |
|
|
|
instanceId: this.evidenceForm.instanceId, |
|
|
|
variables: JSON.stringify({ |
|
|
|
comment: this.comment, |
|
|
|
pass: this.pass, |
|
|
|
//"formData": this.row, |
|
|
|
}), |
|
|
|
}; |
|
|
|
return request({ |
|
|
|
url: "/activiti/process/complete", |
|
|
|
method: "post", |
|
|
|
params: data, |
|
|
|
}).then((response) => { |
|
|
|
if (response.code == 200 && response.msg == "操作成功") { |
|
|
|
this.$notify({ type: 'success' , message: "操作成功" }); |
|
|
|
setTimeout(function () { |
|
|
|
this.submitEvidenceForm() |
|
|
|
var that = this; |
|
|
|
setTimeout(function(){ |
|
|
|
const data = { |
|
|
|
taskId: that.evidenceForm.taskId, |
|
|
|
instanceId: that.evidenceForm.instanceId, |
|
|
|
variables: JSON.stringify({ |
|
|
|
comment: that.comment, |
|
|
|
pass: that.pass, |
|
|
|
//"formData": this.row, |
|
|
|
}), |
|
|
|
}; |
|
|
|
return request({ |
|
|
|
url: "/activiti/process/complete", |
|
|
|
method: "post", |
|
|
|
params: data, |
|
|
|
}).then((response) => { |
|
|
|
if (response.code == 200 && response.msg == "操作成功") { |
|
|
|
that.$notify({ type: 'success' , message: "操作成功" }); |
|
|
|
history.back(-1); |
|
|
|
},1000) |
|
|
|
} else { |
|
|
|
this.$notify({ type: 'danger' , message: "操作失败" }); |
|
|
|
} |
|
|
|
}); |
|
|
|
} else { |
|
|
|
that.$notify({ type: 'danger' , message: "操作失败" }); |
|
|
|
} |
|
|
|
}); |
|
|
|
},2000); |
|
|
|
}, |
|
|
|
|
|
|
|
/** 保存审批意见提交 */ |
|
|
|
submitPutRecord() { |
|
|
|
this.submitPutRecordForm() |
|
|
|
var that = this; |
|
|
|
setTimeout(function(){ |
|
|
|
const data = { |
|
|
|
taskId: that.putRecordForm.taskId, |
|
|
|
instanceId: that.putRecordForm.instanceId, |
|
|
|
variables: JSON.stringify({ |
|
|
|
comment: that.comment, |
|
|
|
pass: that.pass, |
|
|
|
//"formData": this.row, |
|
|
|
}), |
|
|
|
}; |
|
|
|
return request({ |
|
|
|
url: "/activiti/process/complete", |
|
|
|
method: "post", |
|
|
|
params: data, |
|
|
|
}).then((response) => { |
|
|
|
if (response.code == 200 && response.msg == "操作成功") { |
|
|
|
that.$notify({ type: 'success' , message: "操作成功" }); |
|
|
|
history.back(-1); |
|
|
|
} else { |
|
|
|
that.$notify({ type: 'danger' , message: "操作失败" }); |
|
|
|
} |
|
|
|
}); |
|
|
|
},2000); |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
/** 保存审批意见提交 */ |
|
|
@@ -2254,6 +2369,15 @@ export default { |
|
|
|
if(_this.surveyForm.isAvoid==null || _this.surveyForm.isAvoid==""){ |
|
|
|
_this.surveyForm.isAvoid = "N"; |
|
|
|
} |
|
|
|
var taskName = responseSurvey.data.taskName; |
|
|
|
console.log(taskName) |
|
|
|
if (taskName == "调整申请") { |
|
|
|
// 如果是调整申请 |
|
|
|
this.surveyDiglogStatus = false; |
|
|
|
} else { |
|
|
|
// 设置表单按钮不可编辑 |
|
|
|
this.surveyDiglogStatus = true; |
|
|
|
} |
|
|
|
_this.instanceId = responseSurvey.data.instanceId; |
|
|
|
if (responseSurvey.data.tEnforceCaseHandlerList){ |
|
|
|
_this.tEnforceCaseHandlerList = responseSurvey.data.tEnforceCaseHandlerList; |
|
|
@@ -2265,7 +2389,8 @@ export default { |
|
|
|
relationType: "2" |
|
|
|
} |
|
|
|
enforceLockinCount(data).then(resEnforceLockin => { |
|
|
|
_this.$set(_this.tEnforceCaseHandlerList[index],"num",resEnforceLockin.data) |
|
|
|
console.log(resEnforceLockin) |
|
|
|
_this.$set(_this.tEnforceCaseHandlerList[index],"num",resEnforceLockin.data.length) |
|
|
|
}); |
|
|
|
}); |
|
|
|
} |
|
|
@@ -2300,6 +2425,14 @@ export default { |
|
|
|
getputRecordByCaseId(_this.form.id).then(responsePutRecord => { |
|
|
|
getSamplingByCaseId(_this.form.id).then(responseSampling => { |
|
|
|
if(responsePutRecord.data != undefined){ |
|
|
|
var taskName = responsePutRecord.data.taskName; |
|
|
|
if (taskName == "调整申请") { |
|
|
|
// 如果是调整申请 |
|
|
|
this.recordDiglogStatus = false; |
|
|
|
} else { |
|
|
|
// 设置表单按钮不可编辑 |
|
|
|
this.recordDiglogStatus = true; |
|
|
|
} |
|
|
|
_this.tEnforcePutRecordHandlerList = responsePutRecord.data.tEnforceCaseHandlerList; |
|
|
|
if (responsePutRecord.data.tEnforceCaseHandlerList){ |
|
|
|
console.log(responsePutRecord.data.tEnforceCaseHandlerList) |
|
|
@@ -2311,7 +2444,7 @@ export default { |
|
|
|
relationType: "3" |
|
|
|
} |
|
|
|
enforceLockinCount(data).then(resEnforceLockin => { |
|
|
|
_this.$set(_this.tEnforcePutRecordHandlerList[index],"num",resEnforceLockin.data) |
|
|
|
_this.$set(_this.tEnforcePutRecordHandlerList[index],"num",resEnforceLockin.data.length) |
|
|
|
}); |
|
|
|
}); |
|
|
|
} |
|
|
@@ -2346,7 +2479,7 @@ export default { |
|
|
|
relationType: "3" |
|
|
|
} |
|
|
|
enforceLockinCount(data).then(resEnforceLockin => { |
|
|
|
_this.$set(_this.tEnforcePutRecordHandlerList[index],"num",resEnforceLockin.data) |
|
|
|
_this.$set(_this.tEnforcePutRecordHandlerList[index],"num",resEnforceLockin.data.length) |
|
|
|
}); |
|
|
|
|
|
|
|
}); |
|
|
@@ -2394,6 +2527,14 @@ export default { |
|
|
|
this.evidenceForm.caseId = this.form.id; |
|
|
|
getEvidenceByCaseId(this.form.id).then(responseEvidence => { |
|
|
|
getSamplingByCaseId(this.form.id).then(responseSampling => { |
|
|
|
var taskName = responseEvidence.data.taskName; |
|
|
|
if (taskName == "调整申请") { |
|
|
|
// 如果是调整申请 |
|
|
|
this.evidenceDiglogStatus = false; |
|
|
|
} else { |
|
|
|
// 设置表单按钮不可编辑 |
|
|
|
this.evidenceDiglogStatus = true; |
|
|
|
} |
|
|
|
for (var i = 0; i < responseSampling.data.tEnforceSamplingGoodsList.length; i++) { |
|
|
|
let goodsId = responseSampling.data.tEnforceSamplingGoodsList[i].id; |
|
|
|
let goodsName = responseSampling.data.tEnforceSamplingGoodsList[i].goodsName; |
|
|
@@ -2455,7 +2596,7 @@ export default { |
|
|
|
relationType: "4" |
|
|
|
} |
|
|
|
enforceLockinCount(data).then(resEnforceLockin => { |
|
|
|
_this.$set(_this.tEnforceEvidenceHandlerList[index],"num",resEnforceLockin.data) |
|
|
|
_this.$set(_this.tEnforceEvidenceHandlerList[index],"num",resEnforceLockin.data.length) |
|
|
|
}); |
|
|
|
|
|
|
|
}); |
|
|
@@ -2498,7 +2639,7 @@ export default { |
|
|
|
relationType: "4" |
|
|
|
} |
|
|
|
enforceLockinCount(data).then(resEnforceLockin => { |
|
|
|
_this.$set(_this.tEnforceEvidenceHandlerList[index],"num",resEnforceLockin.data) |
|
|
|
_this.$set(_this.tEnforceEvidenceHandlerList[index],"num",resEnforceLockin.data.length) |
|
|
|
}); |
|
|
|
|
|
|
|
}); |
|
|
@@ -3444,7 +3585,7 @@ export default { |
|
|
|
// 监听路由变化, 实现类似 小程序的 onShow 事件 |
|
|
|
if (to.path === '/lawEnforcement/taskHandle') { |
|
|
|
// do anything you want |
|
|
|
console.log(this.tEnforceCaseHandlerList) |
|
|
|
console.log(this.tEnforcePutRecordHandlerList) |
|
|
|
if (Cookies.get('enforcer')){ |
|
|
|
console.log(this.enforceType) |
|
|
|
JSON.parse(Cookies.get('enforcer')).map((res,index)=>{ |
|
|
|