瀏覽代碼

移动端优化

wulanhaote
庞东旭 3 年之前
父節點
當前提交
2b19d8e654
共有 8 個文件被更改,包括 470 次插入93 次删除
  1. +1
    -1
      config/dev.env.js
  2. +1
    -1
      config/prod.env.js
  3. +8
    -0
      src/api/lawEnforcement/index.js
  4. +453
    -84
      src/views/lawEnforcement/case/caseDetail.vue
  5. +1
    -1
      src/views/lawEnforcement/case/caseList.vue
  6. +4
    -5
      src/views/lawEnforcement/index.vue
  7. +1
    -1
      src/views/lawEnforcement/login.vue
  8. +1
    -0
      src/views/lawEnforcement/user/waitingProcessing.vue

+ 1
- 1
config/dev.env.js 查看文件

@@ -5,5 +5,5 @@ const prodEnv = require('./prod.env')
module.exports = merge(prodEnv, {
NODE_ENV: '"development"',
VUE_APP_BASE_API: '"/api"',
VUE_APP_BASE_ROUTING_URL:'"http://192.168.31.26:8080"'
VUE_APP_BASE_ROUTING_URL:'"http://116.255.135.38:73"'
})

+ 1
- 1
config/prod.env.js 查看文件

@@ -2,5 +2,5 @@
module.exports = {
NODE_ENV: '"production"',
VUE_APP_BASE_API: '"/api"',
VUE_APP_BASE_ROUTING_URL:'"http://192.168.31.26:8080"'
VUE_APP_BASE_ROUTING_URL:'"http://116.255.135.38:73"'
}

+ 8
- 0
src/api/lawEnforcement/index.js 查看文件

@@ -278,3 +278,11 @@ export function listModelCustom(data) {
params: data
})
}

// 查询农业执法-案件-备案信息详细
export function getOnrecordByCaseId(caseId) {
return request({
url: '/enforce/onrecord/getOnrecordByCaseId/' + caseId,
method: 'get'
})
}

+ 453
- 84
src/views/lawEnforcement/case/caseDetail.vue 查看文件

@@ -7,7 +7,7 @@
left-arrow
@click-left="onClickLeft"
/>
<van-tabs type="card" :duration="0.2" animated background="transparent" v-model="caseProgress">
<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>
@@ -77,11 +77,12 @@
<span class="custom-title">案件文档<i class="bgBlue"></i></span>
</template>
</van-cell>
<van-uploader v-model="fileList" multiple :show-upload="false" :deletable="false" />
<van-uploader v-if="form.attachement != null" v-model="attachementOption" multiple :show-upload="false" :deletable="false" />
<van-empty v-else description="暂无文件" />
</div>
</van-tab>
<!-- 勘察-->
<van-tab :disabled="1 <= caseActive ? false : true">
<van-tab v-if="progressLength>=3" :disabled="1 <= caseActive ? false : true">
<template #title>
<div
:class="{ finish: 2 <= caseActive , notStarted: 2 > caseActive , ongoing: 1 == caseActive }"
@@ -197,7 +198,8 @@
<span class="custom-title">案件文档<i class="bgBlue"></i></span>
</template>
</van-cell>
<van-uploader v-model="fileList" multiple :show-upload="false" :deletable="false" />
<van-uploader v-if="surveyForm.attachement != null" v-model="surveyOption" multiple :show-upload="false" :deletable="false" />
<van-empty v-else description="暂无文件" />
</div>

<p class="splcTit">审批流程</p>
@@ -255,7 +257,7 @@
</div>
</van-tab>
<!-- 立案-->
<van-tab :disabled="2 <= caseActive ? false : true">
<van-tab v-if="progressLength>=4" :disabled="2 <= caseActive ? false : true">
<template #title>
<div
:class="{ finish: 3 <= caseActive , notStarted: 3 > caseActive , ongoing: 2 == caseActive }"
@@ -313,7 +315,7 @@
<van-cell title="查封日期" :value="putRecordForm.sealDate" />
<van-cell title="查封时效" :value="putRecordForm.sealTimeliness" />
<van-cell title="查封天数" :value="putRecordForm.sealDays" />
<van-cell title="产品保存地点" :value="putRecordForm.savePlace" />
<van-cell title="产品保存地点" :value="selectDictLabel(savePlaceOptions, putRecordForm.savePlace)" />
<van-cell title="现场情况" :value="putRecordForm.sceneCondition" />
<van-cell title="上诉单位" :value="putRecordForm.appealUnit" />
<van-cell title="复议单位" :value="putRecordForm.administrativeDept" />
@@ -366,14 +368,13 @@
<span class="custom-title">抽样信息<i class="bgBlue"></i></span>
</template>
</van-cell>
<van-cell title="抽样现场人员" :value="samplingForm.samplingScene" />
<van-cell title="抽样现场人员" :value="selectDictLabel(samplingSceneOptions, samplingForm.samplingScene)" />
<van-cell title="抽样时间" :value="samplingForm.samplingTime" />
<van-cell title="抽样地点" :value="samplingForm.samplingPlace" />
<van-cell title="联系人" :value="samplingForm.linkman" />
<van-cell title="联系电话" :value="samplingForm.linkPhone" />

<div v-for="(item,index) in tEnforceSamplingGoodsList" :key="index">
<van-cell title="" value=" " />
<van-cell title="物品名称" :value="item.goodsName" />
<van-cell title="商标" :value="item.goodsIcon" />
<van-cell title="生产单位" :value="item.productUnit" />
@@ -385,7 +386,9 @@
<van-cell title="样品基数" :value="item.basenum" />
<van-cell title="抽样数量" :value="item.samplingNum" />
<van-cell title="产品确认期限" :value="item.confirmTimeliness" />
<van-cell title="抽样产品附件" :value="item.attachement" />
<van-cell title="抽样产品附件" />
<van-uploader v-if="item.attachement != null" v-model="item.attachementList" multiple :show-upload="false" :deletable="false" />
<van-empty v-else description="暂无文件" />

<div class="cf">
<van-row>
@@ -423,11 +426,12 @@
<span class="custom-title">案件文档<i class="bgBlue"></i></span>
</template>
</van-cell>
<van-uploader v-model="fileList" multiple />
<van-uploader v-if="samplingForm.attachement != null" v-model="samplingOption" multiple :show-upload="false" :deletable="false" />
<van-empty v-else description="暂无文件" />
</div>
</van-tab>
<!-- 取证-->
<van-tab :disabled="3 <= caseActive ? false : true">
<van-tab v-if="progressLength>=5" :disabled="3 <= caseActive ? false : true">
<template #title>
<div
:class="{ finish: 4 <= caseActive , notStarted: 4 > caseActive , ongoing: 3 == caseActive }"
@@ -483,8 +487,10 @@
<div v-for="(item,index) in detectResults" :key="index">
<van-cell title="产品名称" v-model="item.goodsName" />
<van-cell title="检测报告编号" v-model="item.reportNum" />
<van-cell title="质量判定" v-model="item.qualityStatus"/>
<van-cell title="质量判定" v-model="item.qualityStatus == '1' ? '合格':'不合格'"/>
<van-cell title="检测结果附件" v-model="item.attachement"/>
<van-uploader v-if="item.attachement != null" v-model="item.attachementList" multiple :show-upload="false" :deletable="false" />
<van-empty v-else description="暂无文件" />
</div>
<van-cell title="检测结果" v-model="evidenceForm.detectionResult" />
<van-cell title="申请复检单位" v-model="evidenceForm.reviewUnit" />
@@ -516,7 +522,8 @@
<span class="custom-title">案件文档<i class="bgBlue"></i></span>
</template>
</van-cell>
<van-uploader v-model="fileList" multiple :show-upload="false" :deletable="false" />
<van-uploader v-if="evidenceForm.attachement != null" v-model="evidenceForm.attachementList" multiple :show-upload="false" :deletable="false" />
<van-empty v-else description="暂无文件" />
</div>

<p class="splcTit">审批流程</p>
@@ -574,7 +581,7 @@
</div>
</van-tab>
<!-- 处理-->
<van-tab :disabled="4 <= caseActive ? false : true">
<van-tab v-if="progressLength>=6" :disabled="4 <= caseActive ? false : true">
<template #title>
<div
:class="{ finish: 5 <= caseActive , notStarted: 5 > caseActive , ongoing: 4 == caseActive }"
@@ -627,7 +634,7 @@
<span class="custom-title">听证<i class="bgBlue"></i></span>
</template>
</van-cell>
<van-cell title="是否听证" v-model="treatForm.isHearing" />
<van-cell title="是否听证" v-model="treatForm.isHearing == 'Y' ? '是':'否'" />
<div v-if="treatForm.isHearing=='Y'">
<van-cell title="听证开始时间" v-model="treatForm.hearingStartTime" />
<van-cell title="听证结束时间" v-model="treatForm.hearingEndTime" />
@@ -675,7 +682,8 @@
<span class="custom-title">案件文档<i class="bgBlue"></i></span>
</template>
</van-cell>
<van-uploader v-model="fileList" multiple :show-upload="false" :deletable="false" />
<van-uploader v-if="treatForm.attachement != null" v-model="treatForm.attachementList" multiple :show-upload="false" :deletable="false" />
<van-empty v-else description="暂无文件" />
</div>

<p class="splcTit">审批流程</p>
@@ -733,7 +741,7 @@
</div>
</van-tab>
<!-- 裁决-->
<van-tab :disabled="5 <= caseActive ? false : true">
<van-tab v-if="progressLength>=7" :disabled="5 <= caseActive ? false : true">
<template #title>
<div
:class="{ finish: 6 <= caseActive , notStarted: 6 > caseActive , ongoing: 5 == caseActive }"
@@ -827,11 +835,12 @@
<span class="custom-title">案件文档<i class="bgBlue"></i></span>
</template>
</van-cell>
<van-uploader v-model="fileList" multiple :show-upload="false" :deletable="false" />
<van-uploader v-if="decisionForm.attachement != null" v-model="decisionForm.attachementList" multiple :show-upload="false" :deletable="false" />
<van-empty v-else description="暂无文件" />
</div>
</van-tab>
<!-- 执行-->
<van-tab :disabled="6 <= caseActive ? false : true">
<van-tab v-if="progressLength>=8" :disabled="6 <= caseActive ? false : true">
<template #title>
<div
:class="{ finish: 7 <= caseActive , notStarted: 7 > caseActive , ongoing: 6 == caseActive }"
@@ -895,22 +904,140 @@
<span class="custom-title">案件文档<i class="bgBlue"></i></span>
</template>
</van-cell>
<van-uploader v-model="fileList" multiple :show-upload="false" :deletable="false" />
<van-uploader v-if="executeForm.attachement != null" v-model="executeForm.attachementList" multiple :show-upload="false" :deletable="false" />
<van-empty v-else description="暂无文件" />
</div>
</van-tab>
<!-- 案-->
<van-tab :disabled="7 <= caseActive ? false : true">
<!-- 案-->
<van-tab v-if="caseActive == 7" :disabled="7 <= caseActive ? false : true">
<template #title>
<div
:class="{ finish: 8 <= caseActive , notStarted: 8 > caseActive , ongoing: 7 == caseActive }"
>
<p>案</p>
<p>案</p>
<p>
<van-icon name="success" v-if="8 <= caseActive"/>
<van-icon name="circle" v-if="caseActive == 7"/>
</p>
</div>
</template>
<div class="main_box">
<van-cell>
<template #title>
<van-icon name="../../../static/images/lawEnforcement/icon/icon_zxfa.png" size="20"></van-icon>
<span class="custom-title">执行<i class="bgBlue"></i></span>
</template>
</van-cell>
<van-cell title="案件名称" v-model="onrecordForm.caseName"/>
<van-cell title="关联方案" v-model="onrecordForm.schemeId"/>
</div>

<div class="main_box">
<van-cell>
<template #title>
<van-icon name="../../../static/images/lawEnforcement/icon/icon_xwxx.png" size="20"></van-icon>
<span class="custom-title">案件信息<i class="bgBlue"></i></span>
</template>
</van-cell>
<div v-if="onrecordForm.recordType=='1'">
<van-cell title="备案" value="交办执法" />
<van-cell title="交办原因" :label="onrecordForm.assignReason" />
<van-divider>交办单位</van-divider>
<van-cell title="交办单位" v-model="onrecordForm.assignDept" />
<van-cell title="辖区名称" v-model="onrecordForm.regionName" />
</div>
<div v-if="onrecordForm.recordType=='2'">
<van-cell title="备案" value="无违法行为" />
<van-cell title="案件结果" v-model="onrecordForm.surveyResult" />
</div>
<div v-if="onrecordForm.recordType=='3'">
<van-cell title="备案" value="刑事追责" />
<van-cell title="案件状态" v-model="onrecordForm.caseStatus" />
<van-divider>移送信息</van-divider>
<van-cell title="移送公安局" v-model="onrecordForm.transferPolice" />
<van-cell title="抄送" v-model="onrecordForm.transferCopy" />
<van-cell title="联系人" v-model="onrecordForm.contacts" />
<van-cell title="联系电话" v-model="onrecordForm.phone" />
</div>
<div v-if="onrecordForm.recordType=='4'">
<van-divider>办理人员</van-divider>
<div class="peopleList">
<van-row>
<van-col :span="4">序号</van-col>
<van-col :span="10">执行人员</van-col>
<van-col :span="10">执法证号</van-col>
</van-row>

<van-row v-for="(item,index) in tEnforceOnrecordHandlerList" :key="index">
<van-col :span="4">{{index+1}}</van-col>
<van-col :span="10">{{item.enforcerName}}</van-col>
<van-col :span="10">{{item.enforcerNum}}</van-col>
</van-row>
</div>
<van-divider>处罚整改</van-divider>
<van-cell title="处罚时间" v-model="onrecordForm.punishStartTime" />
<van-cell title="责令整改期限" v-model="onrecordForm.rectifyTime" />
<van-cell title="违法事实" v-model="onrecordForm.breakFact" />
<van-cell title="处罚依据" v-model="onrecordForm.punishmentBase" />
<van-cell title="违反条例" v-model="onrecordForm.punishContent" />
<van-cell title="告知事项">
<template #label>
<p>1、当事人应当对违法行为立即或者在{{onrecordForm.correctDays}}日内予以纠正;</p>
<p>2、当事人必须在收到处罚决定书之日起15日内持本决定书到 {{onrecordForm.punishAddress}} 缴纳罚款。逾期不缴纳的,每日按罚款数额的3%加处罚款;</p>
<p>3、对本处罚决定不服的,可以在收到本处罚决定书之日起60日内向 {{onrecordForm.peopleGov}} 人民政府或者
{{onrecordForm.reviewGov}} 申请行政复议;或者六个月内向
{{onrecordForm.peopleCourt}} 人民法院提起行政诉讼。
</p>
</template>
</van-cell>
<van-cell title="是否当场执行" v-model="onrecordForm.spotExecute" />
<van-cell title="其他执行方式" v-model="onrecordForm.executModes" />
<van-cell title="拒不改正办法" v-model="onrecordForm.refusalCorrect" />
<van-cell title="改正违法行为" v-model="onrecordForm.unillegal" />
<van-cell title="联系人" v-model="onrecordForm.contacts" />
<van-cell title="联系电话" v-model="onrecordForm.phone" />
<van-divider>案件信息</van-divider>
<van-cell title="备案" value="简易程序" />
<van-cell title="案件结果" v-model="onrecordForm.surveyResult" />
</div>
<div v-if="onrecordForm.recordType=='5'">
<van-cell title="备案" value="违法不予立案" />
<van-cell title="案件结果" v-model="onrecordForm.surveyResult" />
</div>
<div v-if="onrecordForm.recordType=='6'">
<van-cell title="备案" value="撤销立案" />
<van-cell title="案件结果" v-model="onrecordForm.surveyResult" />
</div>
<div v-if="onrecordForm.recordType=='7'">
<van-cell title="备案" value="不予行政处罚" />
<van-cell title="案件结果" v-model="onrecordForm.surveyResult" />
</div>
</div>

<div class="main_box" style="margin-top: 10px;">
<van-cell>
<template #title>
<van-icon name="../../../static/images/lawEnforcement/icon/icon_ajwd.png" size="20"></van-icon>
<span class="custom-title">案件文档<i class="bgBlue"></i></span>
</template>
</van-cell>
<van-uploader v-if="executeForm.attachement != null" v-model="executeForm.attachementList" multiple :show-upload="false" :deletable="false" />
<van-empty v-else description="暂无文件" />
</div>
</van-tab>
<!-- 结案-->
<van-tab v-if="caseActive == 8" :disabled="8 <= caseActive ? false : true">
<template #title>
<div
:class="{ finish: 9 <= caseActive , notStarted: 9 > caseActive , ongoing: 8 == caseActive }"
>
<p>结案</p>
<p>
<van-icon name="success" v-if="9 <= caseActive"/>
<van-icon name="circle" v-if="caseActive == 8"/>
</p>
</div>
</template>
<div class="main_box">
<van-cell>
<template #title>
@@ -970,7 +1097,8 @@
<span class="custom-title">案件文档<i class="bgBlue"></i></span>
</template>
</van-cell>
<van-uploader v-model="fileList" multiple />
<van-uploader v-if="endingForm.attachement != null" v-model="endingForm.attachementList" multiple :show-upload="false" :deletable="false" />
<van-empty v-else description="暂无文件" />
</div>
</van-tab>
</van-tabs>
@@ -993,6 +1121,7 @@ import {
getExecuteByCaseId ,
getEndingByCaseId ,
progressList ,
getOnrecordByCaseId
} from "@/api/lawEnforcement/index";
import law from "@/components/common/law_footer";
import request from "@/utils/request";
@@ -1014,12 +1143,18 @@ export default {
payeeType:'',
value:'',
type:'',
progressLength:0,

pass: "true",
comment: "同意",

bankTypeOptions:[],
payeeTypeOptions:[],
attachementOption:[],
savePlaceOptions:[],
qualityStatusOptions:[],
samplingSceneOptions:[],
conclusionOptions:[],
minDate: new Date(2020, 0, 1),
maxDate: new Date(2025, 10, 1),
currentDate: new Date(2021, 0, 17),
@@ -1099,6 +1234,7 @@ export default {
caseName: "",
schemeId: "",
},
//勘察表单参数
samplingForm:{
id: null,
caseId: null,
@@ -1235,7 +1371,7 @@ export default {
caseName: "",
schemeId: "",
},
// 表单参数
// 结案表单参数
endingForm: {
id: null,
caseId: null,
@@ -1262,6 +1398,40 @@ export default {
caseName: "",
schemeId: "",
},
// 备案表单参数
onrecordForm: {
id: null,
caseId: null,
surveyResult: null,
recordType: null,
punishStartTime: null,
rectifyTime: null,
breakFact: null,
punishmentBase: null,
punishContent: null,
correctDays: null,
punishAddress: null,
peopleGov: null,
reviewGov: null,
peopleCourt: null,
spotExecute: "0",
executModes: null,
refusalCorrect: null,
unillegal: null,
assignReason: null,
assignDept: null,
regionName: null,
caseStatus: "0",
transferPolice: null,
transferCopy: null,
contacts: null,
phone: null,
attachement: null,
createBy: null,
createTime: null,
updateBy: null,
updateTime: null
},
// 办理人员列表
tEnforceCaseHandlerList: [],
tEnforcePutRecordHandlerList: [],
@@ -1271,6 +1441,7 @@ export default {
tEnforceTreatHandlerList: [],
tEnforceDecisionHandlerList: [],
tEnforceExecuteHandlerList: [],
tEnforceOnrecordHandlerList: [],
getDecisionByCaseId: [],
historyList: [],
evidencHistoryList: [],
@@ -1281,6 +1452,11 @@ export default {
executeEnforcers: [],
endingEnforcers: [],
treatEnforcers: [],
surveyOption: [],
samplingOption: [],
putRecordOption: [],
documentTypeOptions: [],
agingStatusOptions: [],

// 案件执法进度 1:登记 2:勘察 3:立案 4:取证 5:处理 6:裁决 7:执行 8:备案 9:结案字典
caseProgressOptions: [],
@@ -1288,14 +1464,17 @@ export default {
active: 1, // 当前节点
};
},

created() {
if (parseInt(this.$route.query.caseProgress)>7){
this.caseProgress = 7;
this.caseActive = 7 ;
}else{
this.caseProgress = parseInt(this.$route.query.caseProgress)-1;
this.caseActive = parseInt(this.$route.query.caseProgress)-1 ;
}
this.caseProgress = parseInt(this.$route.query.caseProgress)-1;
this.caseActive = parseInt(this.$route.query.caseProgress)-1 ;
// if (parseInt(this.$route.query.caseProgress)>7){
// this.caseProgress = 7;
// this.caseActive = 7 ;
// }else{
// this.caseProgress = parseInt(this.$route.query.caseProgress)-1;
// this.caseActive = parseInt(this.$route.query.caseProgress)-1 ;
// }
this.type = this.$route.query.type;
console.log(this.caseProgress)
this.getDicts("case_source").then(response => {
@@ -1313,15 +1492,33 @@ export default {
this.getDicts("case_status").then(response => {
this.caseStatusOptions = response.data;
});
this.getDicts("case_node").then(response => {
this.caseProgressOptions = response.data;
});
// this.getDicts("case_node").then(response => {
// this.caseProgressOptions = response.data;
// });
this.getDicts("enforce_category").then(response => {
this.enforceCategoryOptions = response.data;
});
this.getDicts("approve_type").then(response => {
this.surveyResultOptions = response.data;
});
this.getDicts("goods_location").then(response => {
this.savePlaceOptions = response.data;
});
this.getDicts("sampling_person_type").then(response => {
this.samplingSceneOptions = response.data;
});
this.getDicts("quality_type").then(response => {
this.qualityStatusOptions = response.data;
});
this.getDicts("conclusion_type").then(response => {
this.conclusionOptions = response.data;
});
this.getDicts("cert_type").then(response => {
this.documentTypeOptions = response.data;
});
this.getDicts("aging_status").then(response => {
this.agingStatusOptions = response.data;
});
// 关联方案下拉框
var schemeQueryParam = {
applyStatus: "1"
@@ -1409,44 +1606,60 @@ export default {
},
getInformation(){
getCase(this.$route.query.id).then(response => {
console.log(response)
response.data.caseSource = this.selectDictLabel(this.caseSourceOptions, response.data.caseSource);
response.data.schemeId = this.selectDictScheme(this.schemeOptions, response.data.schemeId);
response.data.typeLable = this.selectDictLabel(this.typeOptions, response.data.type);
response.data.sex = this.selectDictLabel(this.sexOptions, response.data.sex);
response.data.nation = this.selectDictLabel(this.nationOptions, response.data.nation);
// response.data.deptId = this.selectDictDeptId(this.deptOptions, response.data.deptId);
this.form = response.data;

console.log(this.caseActive)
if(this.caseActive >= 1){//勘察
console.log("勘察")
this.caseSurvey();
}
if(this.caseActive >= 2){// 立案
console.log("立案")
this.getFileCase();
}
if(this.caseActive >= 3){//取证
console.log("取证")
this.getEvidenceCase();
}
if(this.caseActive >= 4){ // 处理
console.log("处理")
this.getTreat();
}
if(this.caseActive >= 5){// 裁决
console.log("裁决")
this.getDecision();
}
if(this.caseActive >= 6){// 执行
console.log("执行")
this.getExecuteCase();
}
if(this.caseActive >= 7){// 结案
console.log("结案")
this.getEndingForm();
if (response.data.attachement){
var attachement = response.data.attachement.split( "," );
attachement.forEach(res=>{
this.attachementOption.push({
url:res
});
})
}

// response.data.deptId = this.selectDictDeptId(this.deptOptions, response.data.deptId);
this.form = response.data;
this.progressSpeed()
// if (this.caseActive == 7){//判断是否为备案
//
// }else{
// if( this.caseActive >= 1 ){//勘察
// console.log("勘察")
// this.caseSurvey();
// }
// if( this.caseActive >= 2 ){//立案
// console.log("立案")
// this.getFileCase();
// }
// if( this.caseActive >= 3 ){//取证
// console.log("取证")
// this.getEvidenceCase();
// }
// if( this.caseActive >= 4 ){//处理
// console.log("处理")
// this.getTreat();
// }
// if( this.caseActive >= 5 ){//裁决
// console.log("裁决")
// this.getDecision();
// }
// if( this.caseActive >= 6 ){//执行
// console.log("执行")
// this.getExecuteCase();
// }
// if( this.caseActive >= 7 ){//备案
// console.log("备案")
// this.getOnrecord();
// }
// if( this.caseActive >= 8 ){//结案
// console.log("结案")
// this.getEndingForm();
// }
// }
});
},
//勘察表单查询
@@ -1462,13 +1675,20 @@ export default {
_this.instanceId = responseSurvey.data.instanceId;
_this.tEnforceCaseHandlerList = responseSurvey.data.tEnforceCaseHandlerList;
}
if (responseSurvey.data.attachement){
var attachement = responseSurvey.data.attachement.split( "," );
attachement.forEach(response=>{
this.surveyOption.push({
url:response
});
})
}
_this.surveyForm.gender = this.selectDictLabel(this.sexOptions, _this.surveyForm.gender);
_this.surveyForm.surveyResult = this.selectDictLabel(this.surveyResultOptions, _this.surveyForm.surveyResult);
_this.surveyForm.caseName = this.form.caseName;
_this.surveyForm.schemeId = this.form.schemeId;
// 查询审批历史记录
_this.getHistoryList(_this.surveyForm,'');

});
}
},
@@ -1488,6 +1708,27 @@ export default {
if(responseSampling.data != undefined) {
_this.samplingForm = responseSampling.data;
_this.tEnforceSamplingGoodsList = responseSampling.data.tEnforceSamplingGoodsList;

for (var i = 0 ; i < responseSampling.data.tEnforceSamplingGoodsList.length ; i++){
if (responseSampling.data.tEnforceSamplingGoodsList[i].attachement){
responseSampling.data.tEnforceSamplingGoodsList[i].attachementList = [];
var Sampling = responseSampling.data.tEnforceSamplingGoodsList[i].attachement.split( "," );
Sampling.forEach(response=>{
responseSampling.data.tEnforceSamplingGoodsList[i].attachementList.push({
url:process.env.VUE_APP_BASE_ROUTING_URL + process.env.VUE_APP_BASE_API + response,
});
})
}
}
console.log(responseSampling.data.tEnforceSamplingGoodsList)
}
if (responsePutRecord.data.attachement){
var attachement = responsePutRecord.data.attachement.split( "," );
attachement.forEach(response=>{
this.samplingOption.push({
url:process.env.VUE_APP_BASE_ROUTING_URL + process.env.VUE_APP_BASE_API + response,
});
})
}
_this.putRecordForm.caseName = this.form.caseName;
_this.putRecordForm.schemeId = this.form.schemeId;
@@ -1507,9 +1748,12 @@ export default {
let goodsId = responseSampling.data.tEnforceSamplingGoodsList[i].id;
let goodsName = responseSampling.data.tEnforceSamplingGoodsList[i].goodsName;
getReportByGoodsId(goodsId).then(responseReport => {
console.log(responseReport)
if (responseReport.data != undefined) {
responseReport.data.goodsId = goodsId;
responseReport.data.goodsName = goodsName;
responseReport.data.attachementList = [];

_this.detectResults.push(responseReport.data);
} else {
var goodsObj = {
@@ -1521,9 +1765,35 @@ export default {
});
}
if (responseEvidence.data != undefined) {
responseEvidence.data.attachementList = [];

responseEvidence.data.conclusion = this.selectDictLabel(this.conclusionOptions,responseEvidence.data.conclusion)

_this.evidenceForm = responseEvidence.data;
_this.tEnforceEvidenceHandlerList = responseEvidence.data.tEnforceCaseHandlerList;
console.log(responseEvidence.data)
if (responseEvidence.data.attachement){
var Evidence = responseEvidence.data.attachement.split( "," );
Evidence.forEach(response=>{
responseEvidence.data.attachementList.push({
url:process.env.VUE_APP_BASE_ROUTING_URL + process.env.VUE_APP_BASE_API + response,
});
})
}
}
setTimeout(function () {
for (var i = 0 ; i < responseSampling.data.tEnforceSamplingGoodsList.length ; i++){
console.log(_this.detectResults[0])
if (responseSampling.data.tEnforceSamplingGoodsList[i].attachement){
var Sampling = responseSampling.data.tEnforceSamplingGoodsList[i].attachement.split( "," );
Sampling.forEach(response=>{
_this.detectResults[i].attachementList.push({
url:process.env.VUE_APP_BASE_ROUTING_URL + process.env.VUE_APP_BASE_API + response,
});
})
}
}
},1000)
_this.evidenceForm.caseName = this.form.caseName;
_this.evidenceForm.schemeId = this.form.schemeId;
// 查询审批历史记录
@@ -1533,7 +1803,7 @@ export default {
}
},

//查询取证表单数据
//查询处理表单数据
getTreat(){
// 执行人员列表查询
getEnforcerList().then(response => {
@@ -1553,9 +1823,22 @@ export default {
if (this.form.id != null && this.form.id != "") {
this.treatForm.caseId = this.form.id;
getTreatByCaseId(this.form.id).then(responseTreat => {
console.log(responseTreat)
if (responseTreat.data != undefined) {
responseTreat.data.attachementList = [];
responseTreat.data.documentType = this.selectDictLabel(this.documentTypeOptions,responseTreat.data.documentType)
responseTreat.data.agentDocumentType = this.selectDictLabel(this.documentTypeOptions,responseTreat.data.agentDocumentType)
_this.treatForm = responseTreat.data;
_this.tEnforceTreatHandlerList = responseTreat.data.tEnforceCaseHandlerList;

if (responseTreat.data.attachement){
var Treat = responseTreat.data.attachement.split( "," );
Treat.forEach(response=>{
responseTreat.data.attachementList.push({
url:process.env.VUE_APP_BASE_ROUTING_URL + process.env.VUE_APP_BASE_API + response,
});
})
}
}
_this.treatForm.caseName = this.form.caseName;
_this.treatForm.schemeId = this.form.schemeId;
@@ -1566,6 +1849,7 @@ export default {
}
},

//查询裁决表单数据
getDecision(){
// 执行人员列表查询
getEnforcerList().then(response => {
@@ -1580,14 +1864,25 @@ export default {
this.decisionEnforcers.push(res);
}
});
// 查询立案表单数据
// 查询裁决表单数据
var _this = this;
if (this.form.id != null && this.form.id != "") {
this.decisionForm.caseId = this.form.id;
getDecisionByCaseId(this.form.id).then(responseDecision => {
if (responseDecision.data != undefined) {
console.log(responseDecision)
responseDecision.data.attachementList = [];
_this.decisionForm = responseDecision.data;
_this.tEnforceDecisionHandlerList = responseDecision.data.tEnforceCaseHandlerList;

if (responseDecision.data.attachement){
var Treat = responseDecision.data.attachement.split( "," );
Treat.forEach(response=>{
responseDecision.data.attachementList.push({
url:process.env.VUE_APP_BASE_ROUTING_URL + process.env.VUE_APP_BASE_API + response,
});
})
}
}
_this.decisionForm.caseName = this.form.caseName;
_this.decisionForm.schemeId = this.form.schemeId;
@@ -1595,6 +1890,7 @@ export default {
}
},

//查询执行表单数据
getExecuteCase(){
// 执行人员列表查询
getEnforcerList().then(response => {
@@ -1610,14 +1906,24 @@ export default {
}
});

// 查询表单数据
// 查询执行表单数据
var _this = this;
if (this.form.id != null && this.form.id != "") {
this.executeForm.caseId = this.form.id;
getExecuteByCaseId(this.form.id).then(responseExecute => {
if (responseExecute.data != undefined) {
responseExecute.data.attachementList = [];
_this.executeForm = responseExecute.data;
_this.tEnforceExecuteHandlerList = responseExecute.data.tEnforceCaseHandlerList;

if (responseExecute.data.attachement){
var Execute = responseExecute.data.attachement.split( "," );
Execute.forEach(response=>{
responseExecute.data.attachementList.push({
url:process.env.VUE_APP_BASE_ROUTING_URL + process.env.VUE_APP_BASE_API + response,
});
})
}
}
_this.executeForm.caseName = this.form.caseName;
_this.executeForm.schemeId = this.form.schemeId;
@@ -1625,6 +1931,24 @@ export default {
}
},

getOnrecord(){
// 查询备案表单数据
if (this.form.id != null && this.form.id != "") {
this.onrecordForm.caseId = this.form.id;
getCase(this.form.id).then(response => {
getOnrecordByCaseId(this.form.id).then(responseOnrecord => {
if (responseOnrecord.data != undefined) {
this.onrecordForm = responseOnrecord.data;
this.tEnforceOnrecordHandlerList = responseOnrecord.data.tEnforceCaseHandlerList;
}
this.onrecordForm.caseName = this.form.caseName;
this.onrecordForm.schemeId = this.form.schemeId;
});
});
}
},

//查询结案表单数据
getEndingForm(){
// 执行人员列表查询
getEnforcerList().then(response => {
@@ -1645,7 +1969,18 @@ export default {
this.endingForm.caseId = this.form.id;
getEndingByCaseId(this.form.id).then(responseEnding => {
if (responseEnding.data != undefined) {
responseEnding.data.attachementList = [];
responseEnding.data.agingStatus = this.selectDictLabel(this.agingStatusOptions,responseEnding.data.agingStatus)
_this.endingForm = responseEnding.data;

if (responseEnding.data.attachement){
var Execute = responseEnding.data.attachement.split( "," );
Execute.forEach(response=>{
responseEnding.data.attachementList.push({
url:process.env.VUE_APP_BASE_ROUTING_URL + process.env.VUE_APP_BASE_API + response,
});
})
}
}
_this.endingForm.caseName = this.form.caseName;
_this.endingForm.schemeId = this.form.schemeId;
@@ -1655,25 +1990,15 @@ export default {

progressSpeed(){
console.log(this.form)
if(this.form.caseProgress != undefined && this.form !="add"){
this.active = this.form.caseProgress;
this.successActive = this.form.caseProgress -1;

if((this.form.caseStatus == "2" || this.form.caseStatus == "3") &&
(this.form.caseProgress=="8" || this.form.caseProgress=="9")){
this.successActive = this.form.caseProgress;
}
} else{
this.form.caseProgress = undefined;
}

if((this.form.caseStatus == "2" || this.form.caseStatus == "3") &&
(this.form.caseProgress=="8" || this.form.caseProgress=="9")){
console.log("a")
// 已结束备案或者结案阶段的案件,查询显示已保存案件的历史流程节点
var progressParam = {
"caseId": this.form.id
};
progressList(progressParam).then(response => {
console.log(response)
for (var i = 0; i < response.data.length; i++) {
var obj={
dictLabel:response.data[i].caseProgressName,
@@ -1683,6 +2008,7 @@ export default {
}
});
} else if(this.form.caseProgress=="8" && this.form.caseStatus == "1"){
console.log("b")
// 进行中的案件到达备案阶段显示历史节点和备案节点
var progressParam = {
"caseId": this.form.id
@@ -1702,9 +2028,11 @@ export default {
this.caseProgressOptions.push(onrecordObj);
});
} else{
console.log("c")
// 非备案或者结案阶段的案件,显示所有节点判断状态
this.getDicts("case_node").then(response => {
if (this.form.caseProgress == "9") { // 结案状态
console.log(this.form.caseProgress)
if (this.form.caseProgress == "8") { // 结案状态
for (var i = 0; i < response.data.length; i++) {
if (response.data[i].dictValue != "8") { // 如果是结案,步骤条不显示备案
this.caseProgressOptions.push(response.data[i]);
@@ -1713,9 +2041,46 @@ export default {
} else{
this.caseProgressOptions = response.data;
}

});
}

var that = this ;
setTimeout(function () {
that.progressLength = that.caseProgressOptions.length;

if( that.caseProgressOptions.length >= 3 && that.caseActive >= 1 ){//勘察
console.log("勘察")
that.caseSurvey();
}
if( that.caseProgressOptions.length >= 4 && that.caseActive >= 2 ){//立案
console.log("立案")
that.getFileCase();
}
if( that.caseProgressOptions.length >= 5 && that.caseActive >= 3 ){//取证
console.log("取证")
that.getEvidenceCase();
}
if( that.caseProgressOptions.length >= 6 && that.caseActive >= 4 ){//处理
console.log("处理")
that.getTreat();
}
if( that.caseProgressOptions.length >= 7 && that.caseActive >= 5 ){//裁决
console.log("裁决")
that.getDecision();
}
if( that.caseProgressOptions.length >= 8 && that.caseActive >= 6 ){//执行
console.log("执行")
that.getExecuteCase();
}
if( that.caseActive == 8 ){//执行
console.log("结案")
that.getEndingForm();
}
if (that.caseActive == 7){//判断是否为备案
console.log("备案")
that.getOnrecord();
}
},1000)
console.log(this.caseProgressOptions)
},

@@ -1842,6 +2207,10 @@ export default {
border-bottom: 1px solid #eee;
}
}
/deep/.van-tabs .van-tabs__nav{
border: none;
height: auto;
}
/deep/.van-radio--horizontal{
margin-left: 20px;
margin-right: 0;


+ 1
- 1
src/views/lawEnforcement/case/caseList.vue 查看文件

@@ -119,7 +119,7 @@
<van-icon name="../../../static/images/lawEnforcement/icon/icon_aj.png" size="30" color="#539FFD" style="margin-right: 10px;" />
</template>
<template #label>
<p>{{item.caseNum}}<i style="margin-right: 0.5rem;"></i><i style="margin-right: 0.5rem;"></i>{{item.name}}</p>
<p>{{item.caseNumPart1}}农{{item.caseNumPart2}}[{{item.caseNumPart3}}]{{item.caseNum}}号<i style="margin-right: 0.5rem;"></i>{{item.name}}</p>
</template>
<template #default>
<p>{{item.caseStatus}}</p>


+ 4
- 5
src/views/lawEnforcement/index.vue 查看文件

@@ -9,7 +9,7 @@

<van-swipe class="my-swipe" :autoplay="3000" height="128" indicator-color="white">
<van-swipe-item v-for="(item , index) in workImgList" :key="index">
<van-image :src="item.img" height="128" />
<van-image :src="item.img" height="128" @click="goWork(item.id)"/>
<p class="bannerTit">{{item.title}}</p>
</van-swipe-item>
</van-swipe>
@@ -44,7 +44,7 @@
<span class="custom-title">执法方案<i class="bgBlue"></i></span>
</template>
</van-cell>
<van-cell v-for="(item , index) in schemeList" :key="index" :title="item.schemeName" :value="item.applyTime"></van-cell>
<van-cell v-for="(item , index) in schemeList" :key="index" :title="item.schemeName" :value="item.applyTime" :to="{name:'schemeDetail',query:{id:item.id}}"></van-cell>
</van-cell-group>

<van-cell-group class="listBox">
@@ -218,9 +218,8 @@ export default {
this.loading = false;
});
},
goDetail(id){
console.log(id)
window.location = 'news/newDetail?id='+id;
goWork(id){
window.location = '/lawEnforcement/workDetail?id='+id;
},
},
};


+ 1
- 1
src/views/lawEnforcement/login.vue 查看文件

@@ -279,7 +279,7 @@
this.$store
.dispatch("Login", this.formData)
.then(() => {
this.$router.push({ path: "/onlineHome/workbench" }).catch(() => {});
this.$router.push({ path: "/lawEnforcement" }).catch(() => {});
})
.catch((error) => {
console.log(error)


+ 1
- 0
src/views/lawEnforcement/user/waitingProcessing.vue 查看文件

@@ -74,6 +74,7 @@ export default {
taskId: null,
taskName: null,
systemType: 26,
orderByColumn: "A.ID_",
activityBusinessType:'',
isAsc:''
},


Loading…
取消
儲存