@@ -2,7 +2,7 @@ | |||||
<div class="app-container"> | <div class="app-container"> | ||||
<div class="header_main"> | <div class="header_main"> | ||||
执法依据 | 执法依据 | ||||
<div class="return_btn" @click="onClickLeft"></div> | |||||
<div class="return_btn" @click="onClickLeftIndex"></div> | |||||
</div> | </div> | ||||
<div class="jg"></div> | <div class="jg"></div> | ||||
@@ -81,6 +81,11 @@ | |||||
this.enforceNewsTypeOptions.push({text: response.data[i].dictLabel, value: response.data[i].dictValue}); | this.enforceNewsTypeOptions.push({text: response.data[i].dictLabel, value: response.data[i].dictValue}); | ||||
} | } | ||||
}); | }); | ||||
if (this.$route.query.searchInput){ | |||||
this.searchInput = this.$route.query.searchInput; | |||||
this.goSearch(); | |||||
} | |||||
}, | }, | ||||
methods: { | methods: { | ||||
getList(){ | getList(){ | ||||
@@ -111,7 +116,8 @@ | |||||
}, | }, | ||||
goSearch(){ | goSearch(){ | ||||
if (this.searchInput == ''){ | if (this.searchInput == ''){ | ||||
location.reload() | |||||
let path = this.$route.path; //先获取路由路径 | |||||
this.$router.push(path); //再跳转路由路径,query参数没带过去,所以被清除了 | |||||
} | } | ||||
this.list = []; | this.list = []; | ||||
this.finished = false; | this.finished = false; | ||||
@@ -120,6 +126,9 @@ | |||||
this.queryParams.pageNum = 1; | this.queryParams.pageNum = 1; | ||||
this.getList(); | this.getList(); | ||||
}, | }, | ||||
onClickLeftIndex(){ | |||||
this.$router.push('/lawEnforcement/index_new') | |||||
} | |||||
}, | }, | ||||
} | } | ||||
</script> | </script> | ||||
@@ -236,7 +236,8 @@ | |||||
/> | /> | ||||
</van-popup> | </van-popup> | ||||
<!-- <van-field v-model="form.nation" label="民族" placeholder="请输入民族" :border="false" label-width="auto" input-align="right" is-link arrow-direction="down" />--> | <!-- <van-field v-model="form.nation" label="民族" placeholder="请输入民族" :border="false" label-width="auto" input-align="right" is-link arrow-direction="down" />--> | ||||
<van-field v-model="form.companyPosition" label="工作单位及职务" placeholder="请输入工作单位及职务" :border="false" label-width="auto" input-align="right" /> | |||||
<van-field v-model="form.companyPosition" label="工作单位" placeholder="请输入工作单位及职务" :border="false" label-width="auto" input-align="right" /> | |||||
<van-field v-model="form.duties" label="职务" placeholder="请输入职务" :border="false" label-width="auto" input-align="right" /> | |||||
<van-field v-model="form.zihao" label="字号名称" placeholder="请输入字号名称" :border="false" label-width="auto" input-align="right" /> | <van-field v-model="form.zihao" label="字号名称" placeholder="请输入字号名称" :border="false" label-width="auto" input-align="right" /> | ||||
</template> | </template> | ||||
<template v-if="form.type=='2'"> | <template v-if="form.type=='2'"> | ||||
@@ -326,6 +327,8 @@ | |||||
registerDate:this.format(new Date(),'yyyy-MM-dd'), | registerDate:this.format(new Date(),'yyyy-MM-dd'), | ||||
caseProgress:'1', | caseProgress:'1', | ||||
caseStatus:'1', | caseStatus:'1', | ||||
attachement:[], | |||||
attachementList:[] | |||||
}, | }, | ||||
registerDate:new Date(), | registerDate:new Date(), | ||||
birthday:new Date(), | birthday:new Date(), | ||||
@@ -28,7 +28,7 @@ | |||||
<template #label> | <template #label> | ||||
<p>{{item.caseSource}}</p> | <p>{{item.caseSource}}</p> | ||||
<p>第{{item.belongTeam}}</p> | <p>第{{item.belongTeam}}</p> | ||||
<p>{{item.shouanDate}}</p> | |||||
<p>{{item.registerDate}}</p> | |||||
</template> | </template> | ||||
</van-cell> | </van-cell> | ||||
<template #right> | <template #right> | ||||
@@ -65,6 +65,7 @@ | |||||
caseName: null, | caseName: null, | ||||
caseProgress: "2", | caseProgress: "2", | ||||
title:"", | title:"", | ||||
isDistribute: "N" | |||||
}, | }, | ||||
list:[], | list:[], | ||||
belongTeamOptions:[], | belongTeamOptions:[], | ||||
@@ -13,13 +13,13 @@ | |||||
</template> | </template> | ||||
</van-cell> | </van-cell> | ||||
<van-cell title="案件来源" :border="false" v-model="form.caseSource" /> | <van-cell title="案件来源" :border="false" v-model="form.caseSource" /> | ||||
<van-cell title="关联方案" :border="false" v-model="form.schemeId" /> | |||||
<van-cell title="关联方案" :border="false" v-model="form.scheme" /> | |||||
<van-cell title="案件属地" :border="false" v-model="form.deptId" /> | <van-cell title="案件属地" :border="false" v-model="form.deptId" /> | ||||
<van-cell title="执行主体" :border="false" v-model="form.belongTeam" /> | <van-cell title="执行主体" :border="false" v-model="form.belongTeam" /> | ||||
<van-cell title="案件名称" :border="false" v-model="form.caseName" /> | <van-cell title="案件名称" :border="false" v-model="form.caseName" /> | ||||
<van-cell title="登记日期" :border="false" v-model="form.registerDate" /> | <van-cell title="登记日期" :border="false" v-model="form.registerDate" /> | ||||
<van-cell title="执法类别" :border="false" v-model="form.enforceCategory" /> | <van-cell title="执法类别" :border="false" v-model="form.enforceCategory" /> | ||||
<!-- <van-cell title="案件简述1" :border="false" v-model="form.caseSource" />--> | |||||
<van-cell title="案件简述" :border="false" v-model="form.caseDescribe" /> | |||||
</div> | </div> | ||||
<div class="main_box" style="margin-top: 10px;"> | <div class="main_box" style="margin-top: 10px;"> | ||||
@@ -36,7 +36,8 @@ | |||||
<van-cell title="身份证号" :border="false" v-model="form.cardNum" /> | <van-cell title="身份证号" :border="false" v-model="form.cardNum" /> | ||||
<van-cell title="出生日期" :border="false" v-model="form.birthday" /> | <van-cell title="出生日期" :border="false" v-model="form.birthday" /> | ||||
<van-cell title="民族" :border="false" v-model="form.nation" /> | <van-cell title="民族" :border="false" v-model="form.nation" /> | ||||
<van-cell title="工作单位及职务" :border="false" v-model="form.companyPosition" /> | |||||
<van-cell title="工作单位" :border="false" v-model="form.companyPosition" /> | |||||
<van-cell title="职务" :border="false" v-model="form.duties" /> | |||||
<van-cell title="字号名称" :border="false" v-model="form.zihao" /> | <van-cell title="字号名称" :border="false" v-model="form.zihao" /> | ||||
</template> | </template> | ||||
<template v-if="form.type=='企业'"> | <template v-if="form.type=='企业'"> | ||||
@@ -99,7 +100,7 @@ | |||||
</template> | </template> | ||||
<script> | <script> | ||||
import { getCase , getDeptName , getSurveyByCaseId } from "@/api/lawEnforcement/index"; | |||||
import { getCase , getDeptName , getSurveyByCaseId , schemeList } from "@/api/lawEnforcement/index"; | |||||
export default { | export default { | ||||
name: "programmeDetail", | name: "programmeDetail", | ||||
data() { | data() { | ||||
@@ -126,6 +127,7 @@ | |||||
caseSourceOptions:[], | caseSourceOptions:[], | ||||
belongTeamOptions:[], | belongTeamOptions:[], | ||||
schemeOptions:[], | |||||
// 查询参数 | // 查询参数 | ||||
queryParams: { | queryParams: { | ||||
@@ -155,7 +157,11 @@ | |||||
this.getDicts("sex").then(response => { | this.getDicts("sex").then(response => { | ||||
this.sexOptions = response.data; | this.sexOptions = response.data; | ||||
}); | }); | ||||
this.getDicts("nationality").then(response => { | |||||
this.nationOptions = response.data; | |||||
}); | |||||
this.getDetail(); | this.getDetail(); | ||||
}, | }, | ||||
methods: { | methods: { | ||||
getDetail(){ | getDetail(){ | ||||
@@ -164,6 +170,11 @@ | |||||
response.data.belongTeam = response.data.belongTeam == '' ? '' : this.selectDictLabel(this.belongTeamOptions, response.data.belongTeam); | response.data.belongTeam = response.data.belongTeam == '' ? '' : this.selectDictLabel(this.belongTeamOptions, response.data.belongTeam); | ||||
response.data.type = response.data.type == '' ? '' : this.selectDictLabel(this.typeOptions, response.data.type); | response.data.type = response.data.type == '' ? '' : this.selectDictLabel(this.typeOptions, response.data.type); | ||||
response.data.sex = response.data.sex == '' ? '' : this.selectDictLabel(this.sexOptions, response.data.sex); | response.data.sex = response.data.sex == '' ? '' : this.selectDictLabel(this.sexOptions, response.data.sex); | ||||
response.data.nation = response.data.nation == '' ? '' : this.selectDictLabel(this.nationOptions, response.data.nation); | |||||
var schemeQueryParam = { | |||||
applyStatus: "1" | |||||
}; | |||||
getDeptName(response.data.deptId).then(res => { | getDeptName(response.data.deptId).then(res => { | ||||
response.data.deptId = res.data.deptName | response.data.deptId = res.data.deptName | ||||
}); | }); | ||||
@@ -178,7 +189,11 @@ | |||||
}) | }) | ||||
// process.env.VUE_APP_BASE_ROUTING_URL + process.env.VUE_APP_BASE_API | // process.env.VUE_APP_BASE_ROUTING_URL + process.env.VUE_APP_BASE_API | ||||
} | } | ||||
this.form = response.data; | |||||
schemeList(schemeQueryParam).then((responseScheme) => { | |||||
console.log(responseScheme.rows.filter(function (e) { return e.id == response.data.schemeId; })) | |||||
response.data.scheme = response.data.schemeId == '' ? '' : responseScheme.rows.filter(function (e) { return e.id == response.data.schemeId; })[0].schemeName; | |||||
this.form = response.data; | |||||
}); | |||||
}); | }); | ||||
getSurveyByCaseId(this.$route.query.id).then((response) => { | getSurveyByCaseId(this.$route.query.id).then((response) => { | ||||
if(response.data != undefined){ | if(response.data != undefined){ | ||||
@@ -13,12 +13,13 @@ | |||||
</template> | </template> | ||||
</van-cell> | </van-cell> | ||||
<van-cell title="案件来源" :border="false" v-model="form.caseSource" /> | <van-cell title="案件来源" :border="false" v-model="form.caseSource" /> | ||||
<van-cell title="关联方案" :border="false" v-model="form.schemeId" /> | |||||
<van-cell title="关联方案" :border="false" v-model="form.scheme" /> | |||||
<van-cell title="案件属地" :border="false" v-model="form.deptId" /> | <van-cell title="案件属地" :border="false" v-model="form.deptId" /> | ||||
<van-cell title="执行主体" :border="false" v-model="form.belongTeam" /> | <van-cell title="执行主体" :border="false" v-model="form.belongTeam" /> | ||||
<van-cell title="案件名称" :border="false" v-model="form.caseName" /> | <van-cell title="案件名称" :border="false" v-model="form.caseName" /> | ||||
<van-cell title="登记日期" :border="false" v-model="form.registerDate" /> | <van-cell title="登记日期" :border="false" v-model="form.registerDate" /> | ||||
<van-cell title="执法类别" :border="false" v-model="form.enforceCategory" /> | <van-cell title="执法类别" :border="false" v-model="form.enforceCategory" /> | ||||
<van-cell title="案件简述" :border="false" v-model="form.caseDescribe" /> | |||||
</div> | </div> | ||||
<div class="main_box" style="margin-top: 10px;"> | <div class="main_box" style="margin-top: 10px;"> | ||||
@@ -101,7 +102,7 @@ | |||||
</template> | </template> | ||||
<script> | <script> | ||||
import { getCase , getDeptName , getSurveyByCaseId , updateSurvey , addSurvey } from "@/api/lawEnforcement/index"; | |||||
import { getCase , getDeptName , getSurveyByCaseId , updateSurvey , addSurvey , schemeList } from "@/api/lawEnforcement/index"; | |||||
import Cookies from "js-cookie"; | import Cookies from "js-cookie"; | ||||
export default { | export default { | ||||
name: "programmeDetail", | name: "programmeDetail", | ||||
@@ -165,6 +166,14 @@ | |||||
response.data.caseSource = response.data.caseSource == '' ? '' : this.selectDictLabel(this.caseSourceOptions, response.data.caseSource); | response.data.caseSource = response.data.caseSource == '' ? '' : this.selectDictLabel(this.caseSourceOptions, response.data.caseSource); | ||||
response.data.belongTeam = response.data.belongTeam == '' ? '' : this.selectDictLabel(this.belongTeamOptions, response.data.belongTeam); | response.data.belongTeam = response.data.belongTeam == '' ? '' : this.selectDictLabel(this.belongTeamOptions, response.data.belongTeam); | ||||
response.data.type = response.data.type == '' ? '' : this.selectDictLabel(this.typeOptions, response.data.type); | response.data.type = response.data.type == '' ? '' : this.selectDictLabel(this.typeOptions, response.data.type); | ||||
var schemeQueryParam = { | |||||
applyStatus: "1" | |||||
}; | |||||
schemeList(schemeQueryParam).then((responseScheme) => { | |||||
response.data.scheme = response.data.schemeId == '' ? '' : responseScheme.rows.filter(function (e) { return e.id == response.data.schemeId; })[0].schemeName; | |||||
}); | |||||
getDeptName(response.data.deptId).then(res => { | getDeptName(response.data.deptId).then(res => { | ||||
response.data.deptId = res.data.deptName | response.data.deptId = res.data.deptName | ||||
}); | }); | ||||
@@ -9,19 +9,20 @@ | |||||
v-model="loading" | v-model="loading" | ||||
:finished="finished" | :finished="finished" | ||||
finished-text="没有更多了" | finished-text="没有更多了" | ||||
@load="getList" | |||||
> | > | ||||
<van-cell center v-for="(item,index) in 10" :key="index" :to="{name:'approvalDetail', query: {id:item.id}}"> | |||||
<van-cell center v-for="(item,index) in applicationList" :key="index" :to="{name:'caseDetail', query: {id:item.caseId,caseProgress:item.caseProgress}}"> | |||||
<template #title> | <template #title> | ||||
<div class="first"> | <div class="first"> | ||||
<span>2021-09-07 09:30:00</span> | |||||
<span>上级交办</span> | |||||
<span>{{item.handlerSetDate}}</span> | |||||
<span>{{item.caseSource}}</span> | |||||
</div> | </div> | ||||
<span>关于徐胜峰在禁渔期内收购非法捕捞渔获...</span> | |||||
<span>{{item.caseName}}</span> | |||||
</template> | </template> | ||||
<template #label> | <template #label> | ||||
<div class="label"> | <div class="label"> | ||||
<p>执法人:刘月、张薇</p> | |||||
<p>立案</p> | |||||
<p>执法人:{{item.handlerNameStr}}</p> | |||||
<p>{{item.caseProgressName}}</p> | |||||
</div> | </div> | ||||
</template> | </template> | ||||
</van-cell> | </van-cell> | ||||
@@ -30,7 +31,7 @@ | |||||
</template> | </template> | ||||
<script> | <script> | ||||
import { financePublicList,openRemove } from "@/api/sunVillage_info/fixedAssets"; | |||||
import { listSurvey } from "@/api/lawEnforcement/index"; | |||||
import Cookies from "js-cookie"; | import Cookies from "js-cookie"; | ||||
import request from '@/utils/request' | import request from '@/utils/request' | ||||
export default { | export default { | ||||
@@ -48,12 +49,18 @@ | |||||
fileList:[], | fileList:[], | ||||
listLength:'0', | listLength:'0', | ||||
searchInput:'', | searchInput:'', | ||||
queryParams:{ | |||||
pageNum:1, | |||||
pageSize:10, | |||||
orderByColumn:'createTime', | |||||
isAsc:'desc', | |||||
year:'2022', | |||||
// 查询参数 | |||||
queryParams: { | |||||
// 分页 | |||||
pageNum: 1, | |||||
pageSize: 10, | |||||
// 查询排序 | |||||
orderByColumn: "id", | |||||
isAsc: "desc", | |||||
caseName: null, | |||||
caseProgress: "2", | |||||
title:"", | |||||
isDistribute: "Y" // 办理人员是否已分配 (查询历史任务传参 “Y” ) | |||||
}, | }, | ||||
uploadFiles1:[], | uploadFiles1:[], | ||||
projectId:'', | projectId:'', | ||||
@@ -62,14 +69,21 @@ | |||||
}; | }; | ||||
}, | }, | ||||
created() { | created() { | ||||
this.getDicts("case_source").then(response => { | |||||
this.caseSourceOptions = response.data; | |||||
}); | |||||
this.getDicts("case_node").then(response => { | |||||
this.caseProgressOptions = response.data; | |||||
}); | |||||
}, | }, | ||||
methods: { | methods: { | ||||
getList(){ | getList(){ | ||||
var _this = this; | var _this = this; | ||||
financePublicList(_this.queryParams).then(response => { | |||||
listSurvey(_this.queryParams).then(response => { | |||||
_this.listLength = response.total; | _this.listLength = response.total; | ||||
response.rows.map(res=>{ | response.rows.map(res=>{ | ||||
res.caseSource = res.caseSource == '' ? '' : this.selectDictLabel(this.caseSourceOptions, res.caseSource); | |||||
res.caseProgressName = res.caseProgress == '' ? '' : this.selectDictLabel(this.caseProgressOptions, res.caseProgress); | |||||
_this.applicationList.push(res); | _this.applicationList.push(res); | ||||
}) | }) | ||||
if(_this.applicationList.length >= response.total){ | if(_this.applicationList.length >= response.total){ | ||||
@@ -139,20 +153,20 @@ | |||||
this.$router.push({path:'/sunVillage_info/list_finance_edit',query: {id:id,type:'finance'}}) | this.$router.push({path:'/sunVillage_info/list_finance_edit',query: {id:id,type:'finance'}}) | ||||
}, | }, | ||||
goRemove(id){ | goRemove(id){ | ||||
this.$dialog.alert({ | |||||
title: '提示', | |||||
message: '确认删除?', | |||||
showCancelButton:true, | |||||
}) | |||||
.then(() => { | |||||
openRemove(id).then(response => { | |||||
this.$notify({ type: 'success', message: '删除成功' }); | |||||
this.getList() | |||||
}); | |||||
}) | |||||
.catch(() => { | |||||
// on cancel | |||||
}); | |||||
// this.$dialog.alert({ | |||||
// title: '提示', | |||||
// message: '确认删除?', | |||||
// showCancelButton:true, | |||||
// }) | |||||
// .then(() => { | |||||
// openRemove(id).then(response => { | |||||
// this.$notify({ type: 'success', message: '删除成功' }); | |||||
// this.getList() | |||||
// }); | |||||
// }) | |||||
// .catch(() => { | |||||
// // on cancel | |||||
// }); | |||||
} | } | ||||
}, | }, | ||||
@@ -19,7 +19,7 @@ | |||||
@load="getList" | @load="getList" | ||||
> | > | ||||
<van-swipe-cell v-for="(item,index) in list" :key="index"> | <van-swipe-cell v-for="(item,index) in list" :key="index"> | ||||
<van-cell :title="item.caseName" :to="{name:'lawEnforcementCaseDetail', query: {id:item.id}}"> | |||||
<van-cell :title="item.caseName" :to="{name:'lawEnforcementCaseDetailNew', query: {id:item.id}}"> | |||||
<template #label> | <template #label> | ||||
<p>{{item.caseNumPart1}}农 {{item.caseNumPart2}} [{{item.caseNumPart3}}] {{item.caseNum}}号</p> | <p>{{item.caseNumPart1}}农 {{item.caseNumPart2}} [{{item.caseNumPart3}}] {{item.caseNum}}号</p> | ||||
<p>{{item.caseProgress}}</p> | <p>{{item.caseProgress}}</p> | ||||
@@ -79,7 +79,7 @@ | |||||
return; | return; | ||||
}else{ | }else{ | ||||
_this.loading = false; | _this.loading = false; | ||||
_this.queryParams.pageNum += 1 ; | |||||
_this.caseQueryParams.pageNum += 1 ; | |||||
} | } | ||||
}); | }); | ||||
@@ -7,7 +7,7 @@ | |||||
<div style="height: 58px;"></div> | <div style="height: 58px;"></div> | ||||
<div class="search_box"> | <div class="search_box"> | ||||
<p>张雷未经定点从事生猪屠宰活动案</p> | |||||
<p>{{caseName}}</p> | |||||
</div> | </div> | ||||
<div class="main_box"> | <div class="main_box"> | ||||
@@ -18,15 +18,16 @@ | |||||
</template> | </template> | ||||
</van-cell> | </van-cell> | ||||
<div class="peopleList"> | <div class="peopleList"> | ||||
<van-row v-for="(item,index) in 2" :key="index" > | |||||
<van-row v-for="(item,index) in dengjiList" :key="index" > | |||||
<van-col :span="20"> | <van-col :span="20"> | ||||
<img src="../../../../static/images/lawEnforcement/icon/record_icon_03.png"/> | <img src="../../../../static/images/lawEnforcement/icon/record_icon_03.png"/> | ||||
<p>指定管辖通知书</p> | |||||
<p>{{item[index].substr(27,item[index].length)}}</p> | |||||
</van-col> | </van-col> | ||||
<van-col :span="4"> | <van-col :span="4"> | ||||
<p>下载</p> | |||||
<a :href="'/api'+item[index]">下载</a> | |||||
</van-col> | </van-col> | ||||
</van-row> | </van-row> | ||||
<van-empty v-if="dengjiList == null || dengjiList == undefined || dengjiList == '' " description="暂无文件" /> | |||||
</div> | </div> | ||||
</div> | </div> | ||||
@@ -38,15 +39,16 @@ | |||||
</template> | </template> | ||||
</van-cell> | </van-cell> | ||||
<div class="peopleList"> | <div class="peopleList"> | ||||
<van-row v-for="(item,index) in 2" :key="index" > | |||||
<van-row v-for="(item,index) in kanchaList" :key="index" > | |||||
<van-col :span="20"> | <van-col :span="20"> | ||||
<img src="../../../../static/images/lawEnforcement/icon/record_icon_03.png" /> | <img src="../../../../static/images/lawEnforcement/icon/record_icon_03.png" /> | ||||
<p>指定管辖通知书</p> | |||||
<p>{{item[index].substr(27,item[index].length)}}</p> | |||||
</van-col> | </van-col> | ||||
<van-col :span="4"> | <van-col :span="4"> | ||||
<p>下载</p> | |||||
<a :href="'/api'+item[index]">下载</a> | |||||
</van-col> | </van-col> | ||||
</van-row> | </van-row> | ||||
<van-empty v-if="kanchaList == null || kanchaList == undefined || kanchaList == '' " description="暂无文件" /> | |||||
</div> | </div> | ||||
</div> | </div> | ||||
@@ -58,15 +60,16 @@ | |||||
</template> | </template> | ||||
</van-cell> | </van-cell> | ||||
<div class="peopleList"> | <div class="peopleList"> | ||||
<van-row v-for="(item,index) in 2" :key="index" > | |||||
<van-row v-for="(item,index) in beianList" :key="index" > | |||||
<van-col :span="20"> | <van-col :span="20"> | ||||
<img src="../../../../static/images/lawEnforcement/icon/record_icon_03.png"/> | <img src="../../../../static/images/lawEnforcement/icon/record_icon_03.png"/> | ||||
<p>指定管辖通知书</p> | |||||
<p>{{item[index].substr(27,item[index].length)}}</p> | |||||
</van-col> | </van-col> | ||||
<van-col :span="4"> | <van-col :span="4"> | ||||
<p>下载</p> | |||||
<a :href="'/api'+item[index]">下载</a> | |||||
</van-col> | </van-col> | ||||
</van-row> | </van-row> | ||||
<van-empty v-if="beianList == null || beianList == undefined || beianList == '' " description="暂无文件" /> | |||||
</div> | </div> | ||||
</div> | </div> | ||||
@@ -74,7 +77,7 @@ | |||||
</template> | </template> | ||||
<script> | <script> | ||||
import { getScheme } from "@/api/lawEnforcement/index"; | |||||
import { attachmentList , getCase } from "@/api/lawEnforcement/index"; | |||||
export default { | export default { | ||||
name: "programmeDetail", | name: "programmeDetail", | ||||
data() { | data() { | ||||
@@ -91,6 +94,7 @@ | |||||
bankType:'', | bankType:'', | ||||
payeeType:'', | payeeType:'', | ||||
value:'', | value:'', | ||||
caseName:'', | |||||
bankTypeOptions:[], | bankTypeOptions:[], | ||||
payeeTypeOptions:[], | payeeTypeOptions:[], | ||||
@@ -102,15 +106,37 @@ | |||||
activeNames: ['1'], | activeNames: ['1'], | ||||
activeNames1: ['1'], | activeNames1: ['1'], | ||||
activeNames2: ['1'], | activeNames2: ['1'], | ||||
dengjiList:[], | |||||
kanchaList:[], | |||||
beianList:[], | |||||
}; | }; | ||||
}, | }, | ||||
created() { | created() { | ||||
// this.getDictionaries() | |||||
getCase(this.$route.query.id).then((response) => { | |||||
this.caseName = response.data.caseName; | |||||
}); | |||||
this.getList() | |||||
}, | }, | ||||
methods: { | methods: { | ||||
getDictionaries(){ | |||||
getScheme(this.$route.query.id).then((response) => { | |||||
this.form = response.data; | |||||
getList(){ | |||||
var _this = this; | |||||
let caseQueryParams = { | |||||
caseId:this.$route.query.id | |||||
} | |||||
attachmentList(caseQueryParams).then(response => { | |||||
response.rows.forEach(res=>{ | |||||
if (res.caseProgressAttach){ | |||||
res.caseProgressAttach = res.caseProgressAttach.split(','); | |||||
} | |||||
if(res.caseProgressName=='登记'){ | |||||
this.dengjiList.push(res.caseProgressAttach); | |||||
}else if(res.caseProgressName=='勘察'){ | |||||
this.kanchaList.push(res.caseProgressAttach); | |||||
}else if(res.caseProgressName=='备案'){ | |||||
this.beianList.push(res.caseProgressAttach); | |||||
} | |||||
}) | |||||
}); | }); | ||||
}, | }, | ||||
goBack(){ | goBack(){ | ||||
@@ -142,6 +168,7 @@ | |||||
margin: 10PX auto; | margin: 10PX auto; | ||||
color: #1D6FE9; | color: #1D6FE9; | ||||
font-size: 0.4rem; | font-size: 0.4rem; | ||||
text-align: center; | |||||
} | } | ||||
.cf{ | .cf{ | ||||
padding: 0 3%; | padding: 0 3%; | ||||
@@ -218,7 +245,7 @@ | |||||
.van-col--4{ | .van-col--4{ | ||||
display: flex; | display: flex; | ||||
justify-content: right; | justify-content: right; | ||||
p{ | |||||
a{ | |||||
color: #1D6FE9; | color: #1D6FE9; | ||||
border: 1px solid #1D6FE9; | border: 1px solid #1D6FE9; | ||||
text-align: center; | text-align: center; | ||||
@@ -7,8 +7,8 @@ | |||||
<div class="search"> | <div class="search"> | ||||
<img src="../../../static/images/lawEnforcement/new/index_icon_03.png"> | <img src="../../../static/images/lawEnforcement/new/index_icon_03.png"> | ||||
<input type="text" placeholder="请输入执法依据名称" /> | |||||
<img src="../../../static/images/lawEnforcement/new/index_icon_04.png"> | |||||
<input type="text" placeholder="请输入执法依据名称" v-model="searchInput" /> | |||||
<img src="../../../static/images/lawEnforcement/new/index_icon_04.png" @click="goSearch"> | |||||
</div> | </div> | ||||
<!-- <van-notice-bar left-icon="../../../static/images/lawEnforcement/new/index_icon_02.png" :scrollable="false" background="rgba(135,174,241,0.3)" color="#2574E9">--> | <!-- <van-notice-bar left-icon="../../../static/images/lawEnforcement/new/index_icon_02.png" :scrollable="false" background="rgba(135,174,241,0.3)" color="#2574E9">--> | ||||
@@ -130,6 +130,7 @@ export default { | |||||
loading: false, | loading: false, | ||||
//是否滚动到底部 | //是否滚动到底部 | ||||
finished: false, | finished: false, | ||||
searchInput:'', | |||||
//查询参数 | //查询参数 | ||||
queryParams: { | queryParams: { | ||||
pageNum: 1, | pageNum: 1, | ||||
@@ -146,7 +147,9 @@ export default { | |||||
}, | }, | ||||
methods: { | methods: { | ||||
goSearch(){ | |||||
this.$router.push({name:'lawEnforcementBasis',query:{searchInput:this.searchInput}}); | |||||
} | |||||
}, | }, | ||||
}; | }; | ||||
</script> | </script> | ||||
@@ -7,6 +7,11 @@ | |||||
<div class="jg"></div> | <div class="jg"></div> | ||||
<div class="main_box"> | <div class="main_box"> | ||||
<van-cell> | |||||
<template #title> | |||||
<span class="custom-title">扫码查询<i class="bgBlue"></i></span> | |||||
</template> | |||||
</van-cell> | |||||
<van-grid :column-num="3" :border="false" square clickable> | <van-grid :column-num="3" :border="false" square clickable> | ||||
<van-grid-item icon="../../../static/images/lawEnforcement/new/retrospect_icon_01.png" text="农药扫码" :to="{name:'lawEnforcementRetrospectDetail'}" /> | <van-grid-item icon="../../../static/images/lawEnforcement/new/retrospect_icon_01.png" text="农药扫码" :to="{name:'lawEnforcementRetrospectDetail'}" /> | ||||
<van-grid-item icon="../../../static/images/lawEnforcement/new/retrospect_icon_01.png" text="种子扫码" /> | <van-grid-item icon="../../../static/images/lawEnforcement/new/retrospect_icon_01.png" text="种子扫码" /> | ||||
@@ -17,6 +22,11 @@ | |||||
</div> | </div> | ||||
<div class="main_box"> | <div class="main_box"> | ||||
<van-cell> | |||||
<template #title> | |||||
<span class="custom-title">本地查询<i class="bgBlue"></i></span> | |||||
</template> | |||||
</van-cell> | |||||
<van-grid :column-num="3" :border="false" square clickable> | <van-grid :column-num="3" :border="false" square clickable> | ||||
<van-grid-item :to="{name:'lawEnforcementPesticides'}"> | <van-grid-item :to="{name:'lawEnforcementPesticides'}"> | ||||
<van-image src="../../../static/images/lawEnforcement/new/retrospect_icon_04.png" /> | <van-image src="../../../static/images/lawEnforcement/new/retrospect_icon_04.png" /> | ||||
@@ -125,5 +135,25 @@ | |||||
font-size: .35rem; | font-size: .35rem; | ||||
color: #646566; | color: #646566; | ||||
} | } | ||||
.custom-title{ | |||||
font-size: 17PX; | |||||
color: #333333; | |||||
vertical-align: middle; | |||||
line-height: 1; | |||||
position: relative; | |||||
} | |||||
.tap{ | |||||
color: #1D6FE9; | |||||
} | |||||
.bgBlue{ | |||||
display: block; | |||||
position: absolute; | |||||
width: 17PX; | |||||
height: 17PX; | |||||
border-radius: 50%; | |||||
background-color: rgba(29,111,233,0.26); | |||||
top: -2PX; | |||||
right: -8PX; | |||||
} | |||||
} | } | ||||
</style> | </style> |
@@ -7,7 +7,7 @@ | |||||
<div class="jg"></div> | <div class="jg"></div> | ||||
<div class="search_box" v-if="list.length>0"> | <div class="search_box" v-if="list.length>0"> | ||||
<p><span>{{list[0].name}}</span>关联案件</p> | |||||
<p><span>{{list[0].companyName}}</span>关联案件</p> | |||||
</div> | </div> | ||||
<van-list | <van-list | ||||
@@ -12,7 +12,8 @@ | |||||
<van-cell title="民族" :border="false" v-model="form.nation" /> | <van-cell title="民族" :border="false" v-model="form.nation" /> | ||||
<van-cell title="出生日期" :border="false" v-model="form.birthday" /> | <van-cell title="出生日期" :border="false" v-model="form.birthday" /> | ||||
<van-cell title="手机号码" :border="false" v-model="form.phone" /> | <van-cell title="手机号码" :border="false" v-model="form.phone" /> | ||||
<van-cell title="工作单位及职务" :border="false" v-model="form.companyPosition" /> | |||||
<van-cell title="工作单位" :border="false" v-model="form.companyPosition" /> | |||||
<van-cell title="职务" :border="false" v-model="form.duties" /> | |||||
<van-cell title="所在地区" :border="false" v-model="form.deptId" /> | <van-cell title="所在地区" :border="false" v-model="form.deptId" /> | ||||
<van-cell title="详细地址" :border="false" v-model="form.address" /> | <van-cell title="详细地址" :border="false" v-model="form.address" /> | ||||
<van-cell title="经营类别" :border="false" v-model="form.businessType" /> | <van-cell title="经营类别" :border="false" v-model="form.businessType" /> | ||||
@@ -1,7 +1,7 @@ | |||||
<template> | <template> | ||||
<div class="app-container"> | <div class="app-container"> | ||||
<div class="header_main"> | <div class="header_main"> | ||||
查看登记 | |||||
查看案件详情 | |||||
<div class="return_btn" @click="onClickLeft"></div> | <div class="return_btn" @click="onClickLeft"></div> | ||||
</div> | </div> | ||||
<div style="height: 58px;"></div> | <div style="height: 58px;"></div> | ||||
@@ -37,7 +37,8 @@ | |||||
<van-cell title="身份证号" :border="false" v-model="form.cardNum" /> | <van-cell title="身份证号" :border="false" v-model="form.cardNum" /> | ||||
<van-cell title="出生日期" :border="false" v-model="form.birthday" /> | <van-cell title="出生日期" :border="false" v-model="form.birthday" /> | ||||
<van-cell title="民族" :border="false" v-model="form.nation" /> | <van-cell title="民族" :border="false" v-model="form.nation" /> | ||||
<van-cell title="工作单位及职务" :border="false" v-model="form.companyPosition" /> | |||||
<van-cell title="工作单位" :border="false" v-model="form.companyPosition" /> | |||||
<van-cell title="职务" :border="false" v-model="form.duties" /> | |||||
<van-cell title="字号名称" :border="false" v-model="form.zihao" /> | <van-cell title="字号名称" :border="false" v-model="form.zihao" /> | ||||
</template> | </template> | ||||
<template v-if="form.type=='企业'"> | <template v-if="form.type=='企业'"> | ||||
@@ -31,7 +31,7 @@ | |||||
<van-cell title="案件名称" :border="false" v-model="form.caseName" /> | <van-cell title="案件名称" :border="false" v-model="form.caseName" /> | ||||
<van-cell title="登记日期" :border="false" v-model="form.registerDate" /> | <van-cell title="登记日期" :border="false" v-model="form.registerDate" /> | ||||
<van-cell title="执法类别" :border="false" v-model="form.enforceCategory" /> | <van-cell title="执法类别" :border="false" v-model="form.enforceCategory" /> | ||||
<!-- <van-cell title="案件简述1" :border="false" v-model="form.caseSource" />--> | |||||
<!--<van-cell title="案件简述1" :border="false" v-model="form.caseSource" />--> | |||||
</div> | </div> | ||||
<div class="main_box" style="margin-top: 10px;"> | <div class="main_box" style="margin-top: 10px;"> | ||||
@@ -120,8 +120,7 @@ | |||||
} | } | ||||
}); | }); | ||||
this.form = response.data; | this.form = response.data; | ||||
var that = this; | |||||
that.getNowLocation(); | |||||
this.getNowLocation(); | |||||
}); | }); | ||||
}, | }, | ||||
afterRead(file) { | afterRead(file) { | ||||
@@ -142,13 +141,16 @@ | |||||
let that = this; | let that = this; | ||||
var location_lon = ""; | var location_lon = ""; | ||||
var location_lat = ""; // 经度,纬度 | var location_lat = ""; // 经度,纬度 | ||||
alert("进入定位") | |||||
navigator.geolocation.getCurrentPosition((position) => { | navigator.geolocation.getCurrentPosition((position) => { | ||||
alert("完成定位2") | |||||
console.log(position) | console.log(position) | ||||
let lat = position.coords.latitude; | let lat = position.coords.latitude; | ||||
let lng = position.coords.longitude; | let lng = position.coords.longitude; | ||||
const pointBak = new BMap.Point(lng, lat); | const pointBak = new BMap.Point(lng, lat); | ||||
const convertor = new BMap.Convertor(); | const convertor = new BMap.Convertor(); | ||||
convertor.translate([pointBak], 1, 5,function(resPoint) { | convertor.translate([pointBak], 1, 5,function(resPoint) { | ||||
alert("完成定位3") | |||||
if(resPoint && resPoint.points && resPoint.points.length>0){ | if(resPoint && resPoint.points && resPoint.points.length>0){ | ||||
lng = resPoint.points[0].lng; | lng = resPoint.points[0].lng; | ||||
lat = resPoint.points[0].lat; | lat = resPoint.points[0].lat; | ||||
@@ -159,6 +161,7 @@ | |||||
that.form.longitude = point.lng; | that.form.longitude = point.lng; | ||||
that.center.lng = point.lng; | that.center.lng = point.lng; | ||||
that.center.lat = point.lat; | that.center.lat = point.lat; | ||||
alert("完成定位") | |||||
geo.getLocation(point, (res) => { | geo.getLocation(point, (res) => { | ||||
console.log(res) | console.log(res) | ||||
that.clockinAddr = res.address; | that.clockinAddr = res.address; | ||||
@@ -74,7 +74,7 @@ | |||||
<span>{{item.category}}</span> | <span>{{item.category}}</span> | ||||
<span>{{item.agent}}</span> | <span>{{item.agent}}</span> | ||||
</div> | </div> | ||||
<p class="dress">{{item.factory}}</p> | |||||
<p class="dress">{{item.recordHolder}}</p> | |||||
</template> | </template> | ||||
<template #label> | <template #label> | ||||
<div class="label"> | <div class="label"> | ||||
@@ -39,7 +39,7 @@ | |||||
<template #label> | <template #label> | ||||
<div class="label"> | <div class="label"> | ||||
<p>{{item.companyName}}</p> | <p>{{item.companyName}}</p> | ||||
<p>5年</p> | |||||
<!-- <p>5年</p>--> | |||||
</div> | </div> | ||||
</template> | </template> | ||||
</van-cell> | </van-cell> | ||||
@@ -9,10 +9,10 @@ | |||||
<div class="main"> | <div class="main"> | ||||
<div class="main_box"> | <div class="main_box"> | ||||
<van-field v-model="queryParams.category" :border="false" label="作物种类" placeholder="作物种类" input-align="right" /> | |||||
<van-field v-model="queryParams.productName" :border="false" label="品种名称" placeholder="品种名称" input-align="right" /> | |||||
<van-field v-model="queryParams.recordCode" :border="false" label="审定登记编号" placeholder="审定登记编号" input-align="right" /> | |||||
<van-field v-model="queryParams.recordOrg" :border="false" label="审定登记单位" placeholder="审定登记单位" input-align="right" /> | |||||
<van-field v-model="queryParams.category" :border="false" label="作物种类" placeholder="请输入作物种类" input-align="right" /> | |||||
<van-field v-model="queryParams.productName" :border="false" label="品种名称" placeholder="请输入品种名称" input-align="right" /> | |||||
<van-field v-model="queryParams.recordCode" :border="false" label="审定登记编号" placeholder="请输入审定登记编号" input-align="right" /> | |||||
<van-field v-model="queryParams.recordOrg" :border="false" label="审定登记单位" placeholder="请输入审定登记单位" input-align="right" /> | |||||
</div> | </div> | ||||
<p class="submitButton" @click="goSubmit">立即查询</p> | <p class="submitButton" @click="goSubmit">立即查询</p> | ||||
@@ -8,7 +8,7 @@ | |||||
</van-col> | </van-col> | ||||
<van-col :span="19" v-show="loginType"> | <van-col :span="19" v-show="loginType"> | ||||
<p class="userName">{{user.nickName}}</p> | <p class="userName">{{user.nickName}}</p> | ||||
<p class="userDept">({{companyName}})</p> | |||||
<p class="userDept">( {{roleGroup}} )</p> | |||||
</van-col> | </van-col> | ||||
<van-col :span="24" v-show="loginButton"> | <van-col :span="24" v-show="loginButton"> | ||||
<van-button icon="friends" color="red" style="border-radius: 30PX;padding: 0 30PX;height: 30PX;" to="/lawEnforcement/login"> | <van-button icon="friends" color="red" style="border-radius: 30PX;padding: 0 30PX;height: 30PX;" to="/lawEnforcement/login"> | ||||