diff --git a/src/permission.js b/src/permission.js
index 03fd72cc..91ffbd4a 100644
--- a/src/permission.js
+++ b/src/permission.js
@@ -127,6 +127,7 @@ const whiteList = [
'/sunVillage_info/list_vote', //详情页
'/sunVillage_info/list_vote_detail', //详情页
'/sunVillage_info/list_vote_form', //详情页
+
]
router.beforeEach((to, from, next) => {
diff --git a/src/router/index.js b/src/router/index.js
index f1123146..b51ccf90 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -3825,7 +3825,6 @@ export const constantRoutes = [
meta: {
title: '巡查登记',
hidden: true,
- keepAlive: true
},
component: (resolve) => require(['@/views/lawEnforcement/caseAllocation/caseAdd'], resolve)
},
@@ -3834,8 +3833,7 @@ export const constantRoutes = [
name: 'lawEnforcementCaseEdit',
meta: {
title: '登记修改',
- hidden: true,
- keepAlive: true
+ hidden: true
},
component: (resolve) => require(['@/views/lawEnforcement/caseAllocation/caseEdit'], resolve)
},
@@ -3844,8 +3842,7 @@ export const constantRoutes = [
name: 'lawEnforcementCaseListNew',
meta: {
title: '登记列表',
- hidden: true,
- keepAlive: true
+ hidden: true
},
component: (resolve) => require(['@/views/lawEnforcement/caseAllocation/caseListNew'], resolve)
},
diff --git a/src/views/lawEnforcement/basis/basis.vue b/src/views/lawEnforcement/basis/basis.vue
index 1084daf5..9d9a82ee 100644
--- a/src/views/lawEnforcement/basis/basis.vue
+++ b/src/views/lawEnforcement/basis/basis.vue
@@ -89,6 +89,7 @@
},
methods: {
getList(){
+ console.log('aaaa')
var _this = this;
getNewsList(_this.queryParams).then(response => {
response.rows.map(res=>{
@@ -124,7 +125,7 @@
this.loading = false;
this.queryParams.title = this.searchInput;
this.queryParams.pageNum = 1;
- this.getList();
+ // this.getList();
},
onClickLeftIndex(){
this.$router.push('/lawEnforcement/index_new')
diff --git a/src/views/lawEnforcement/case/caseDetail.vue b/src/views/lawEnforcement/case/caseDetail.vue
index 35c5efc0..d0b9bfe3 100644
--- a/src/views/lawEnforcement/case/caseDetail.vue
+++ b/src/views/lawEnforcement/case/caseDetail.vue
@@ -2136,6 +2136,7 @@ export default {
/** 查询审批历史展示步骤条 */
getHistoryList(formData,type) {
+ console.log(formData)
if (formData.instanceId != null && formData.instanceId != "") {
var queryParams = {
processInstanceId: formData.instanceId
diff --git a/src/views/lawEnforcement/caseAllocation/caseAdd.vue b/src/views/lawEnforcement/caseAllocation/caseAdd.vue
index 330ee7fb..88305f36 100644
--- a/src/views/lawEnforcement/caseAllocation/caseAdd.vue
+++ b/src/views/lawEnforcement/caseAllocation/caseAdd.vue
@@ -267,36 +267,36 @@
-
-
-
-
-
- 执法人员
-
-
-
- 序号
- 执行人员
- 执法证号
- 带队人
-
-
- {{index+1}}
- {{item.enforcerName}}
- {{item.enforcerNum}}
-
-
-
-
-
-
-
-

-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
保存
保存并提交
@@ -533,7 +533,10 @@
// do anything you want
if (Cookies.get('enforcer')){
JSON.parse(Cookies.get('enforcer')).map((res,index)=>{
- this.tEnforceCaseHandlerList.push(res)
+ let array1 = this.tEnforceCaseHandlerList.filter(function (e) { return e.enforcerName == res.enforcerName; });
+ if ( array1.length < 1 ){
+ this.tEnforceCaseHandlerList.push(res)
+ }
})
}
}
diff --git a/src/views/lawEnforcement/caseAllocation/caseDetail.vue b/src/views/lawEnforcement/caseAllocation/caseDetail.vue
index be91056f..15b05e97 100644
--- a/src/views/lawEnforcement/caseAllocation/caseDetail.vue
+++ b/src/views/lawEnforcement/caseAllocation/caseDetail.vue
@@ -1,7 +1,7 @@
@@ -109,6 +109,7 @@
showPayeeType:false,
showPicker:false,
form:{},
+ title:'查看登记',
bankType:'',
payeeType:'',
@@ -161,16 +162,22 @@
this.nationOptions = response.data;
});
this.getDetail();
-
+ if (this.$route.query.type == 'caseQuery'){
+ this.title = '案件详情查看'
+ }
},
methods: {
getDetail(){
getCase(this.$route.query.id).then((response) => {
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);
+
+ if (response.data.type == '1'){
+ response.data.sex = response.data.sex == '' ? '' : this.selectDictLabel(this.sexOptions, response.data.sex);
+ response.data.nation = response.data.nation == '' ? '' : response.data.nation == '1' ? '汉族' : this.selectDictLabel(this.nationOptions, response.data.nation);
+ }
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.nation = response.data.nation == '' ? '' : this.selectDictLabel(this.nationOptions, response.data.nation);
var schemeQueryParam = {
applyStatus: "1"
@@ -189,15 +196,15 @@
})
// process.env.VUE_APP_BASE_ROUTING_URL + process.env.VUE_APP_BASE_API
}
+ console.log(response.data.scheme)
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;
-
+ console.log(responseScheme)
+ response.data.scheme = response.data.schemeId == null ? '' : responseScheme.rows.filter(function (e) { return e.id == response.data.schemeId; })[0].schemeName;
});
var that = this ;
setTimeout(function () {
that.form = response.data;
- },2000)
+ },3000)
});
getSurveyByCaseId(this.$route.query.id).then((response) => {
if(response.data != undefined){
diff --git a/src/views/lawEnforcement/caseAllocation/caseEdit.vue b/src/views/lawEnforcement/caseAllocation/caseEdit.vue
index d018d259..04242db0 100644
--- a/src/views/lawEnforcement/caseAllocation/caseEdit.vue
+++ b/src/views/lawEnforcement/caseAllocation/caseEdit.vue
@@ -182,9 +182,9 @@
-
-
-
+
+
+
男
女
diff --git a/src/views/lawEnforcement/caseAllocation/caseEnforceList.vue b/src/views/lawEnforcement/caseAllocation/caseEnforceList.vue
index 128d6c10..078e9054 100644
--- a/src/views/lawEnforcement/caseAllocation/caseEnforceList.vue
+++ b/src/views/lawEnforcement/caseAllocation/caseEnforceList.vue
@@ -7,8 +7,9 @@
+
+
@@ -30,22 +31,27 @@
- 执行主体
+ 带队人
执行人员
-
-
-
- {{item.belongTeam}}
- {{item.name}}
- {{item.enforceNum}}
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+ {{item.name}}
+ {{item.enforceNum}}
+
+
+
+
+
+
+
+
@@ -64,6 +70,7 @@
showPopover: false,
form:{},
result:[],
+ radio:'',
queryParams: {
// 分页
pageNum: 1,
@@ -82,16 +89,20 @@
belongTeamOptions2:[],
popValue:'一中队',
- surveyForm:{}
+ surveyForm:{
+ tEnforceCaseHandlerList:[]
+ }
};
},
created() {
+ this.queryParams.belongTeam = this.$route.query.belongTeam;
this.getDicts("team_category").then(response => {
for (var i = 0; i < response.data.length; i++) {
this.belongTeamOptions.push({text: response.data[i].dictLabel, value: response.data[i].dictValue});
}
this.belongTeamOptions2 = response.data;
+ this.popValue = this.selectDictLabel(response.data, this.$route.query.belongTeam);
});
this.getDictionaries()
this.getDetail();
@@ -116,26 +127,36 @@
this.getDictionaries();
},
choiceEnforcer(){
- const list = [];
- this.result.map(res=>{
- let obj = {};
- obj.relationType = "2";
- obj.enforcerId = res.id; // 执法人员ID -- 执法人员选择页面带回值
- obj.enforcerName = res.name; // 执法人员姓名 -- 执法人员选择页面带回值
- obj.enforcerNum = res.enforceNum; // 执法证号 -- 执法人员选择页面带回值
- obj.enforcerLeader = ""; // 是否带队 --勾选赋值
- list.push(obj)
- })
- this.surveyForm.tEnforceCaseHandlerList = list;
+ var that = this ;
this.surveyForm.caseId = this.form.id;
getSurveyByCaseId(this.surveyForm.caseId).then(responseSurvey => {
+ console.log(responseSurvey.data.tEnforceCaseHandlerList)
this.surveyForm.id = responseSurvey.data.id;
- updateSurvey(this.surveyForm).then(response => {
- this.$notify({ type: 'success', message: '保存成功' });
- setTimeout(function(){
- history.back(-1);
- },2000)
- });
+ this.result.map(res=>{
+ console.log(res)
+ let array1 = responseSurvey.data.tEnforceCaseHandlerList.filter(function (e) { return e.id == res.id; });
+ if ( array1.length < 1 ){
+ let obj = {};
+ obj.relationType = "2";
+ obj.enforcerId = res.id; // 执法人员ID -- 执法人员选择页面带回值
+ obj.enforcerName = res.name; // 执法人员姓名 -- 执法人员选择页面带回值
+ obj.enforcerNum = res.enforceNum; // 执法证号 -- 执法人员选择页面带回值
+ obj.enforcerLeader = ""; // 是否带队 --勾选赋值
+ if (this.radio == res.id){
+ obj.enforcerLeader = "Y"
+ }
+ that.surveyForm.tEnforceCaseHandlerList.push(obj)
+ }
+ })
+ setTimeout(function () {
+ updateSurvey(that.surveyForm).then(response => {
+ that.$notify({ type: 'success', message: '保存成功' });
+ setTimeout(function(){
+ history.back(-1);
+ },2000)
+ });
+ },2000)
+
});
},
getDetail(){
diff --git a/src/views/lawEnforcement/caseAllocation/caseListNew.vue b/src/views/lawEnforcement/caseAllocation/caseListNew.vue
index 09be12ef..12995861 100644
--- a/src/views/lawEnforcement/caseAllocation/caseListNew.vue
+++ b/src/views/lawEnforcement/caseAllocation/caseListNew.vue
@@ -19,7 +19,7 @@
finished-text="没有更多了"
@load="getList"
>
-
+
@@ -28,7 +28,7 @@
{{item.caseSourceText}}
第{{item.belongTeamText}}
{{item.registerDate}}
- {{item.caseProgressName}}
+ {{ item.caseProgressName}}
@@ -43,7 +43,7 @@
- 添加
执法
员
+ 添加
执法
员
diff --git a/src/views/lawEnforcement/caseQuery/caseQuery.vue b/src/views/lawEnforcement/caseQuery/caseQuery.vue
index e0f47e2f..5043a067 100644
--- a/src/views/lawEnforcement/caseQuery/caseQuery.vue
+++ b/src/views/lawEnforcement/caseQuery/caseQuery.vue
@@ -19,10 +19,11 @@
@load="getList"
>
-
+
- {{item.caseNumPart1}}农 {{item.caseNumPart2}} [{{item.caseNumPart3}}] {{item.caseNum}}号
- {{item.caseProgress}}
+ 无
+ {{item.caseNumPart1}}农 {{item.caseNumPart2}} {{item.caseNumPartType}} [{{item.caseNumPart3}}] {{item.caseNum}}号
+ {{item.caseProgressText}}
@@ -71,7 +72,7 @@
var _this = this;
listCase(_this.caseQueryParams).then(response => {
response.rows.map(res=>{
- res.caseProgress = res.caseProgress == '' ? '' : this.selectDictLabel(this.caseProgressOptions, res.caseProgress);
+ res.caseProgressText = res.caseProgress == '' ? '' : this.selectDictLabel(this.caseProgressOptions, res.caseProgress);
_this.list.push(res);
})
if(_this.list.length >= response.total){
diff --git a/src/views/lawEnforcement/caseQuery/caseQueryDocument.vue b/src/views/lawEnforcement/caseQuery/caseQueryDocument.vue
index 48df9a74..f4784526 100644
--- a/src/views/lawEnforcement/caseQuery/caseQueryDocument.vue
+++ b/src/views/lawEnforcement/caseQuery/caseQueryDocument.vue
@@ -10,68 +10,68 @@
{{caseName}}
-
+
- 登记
+ {{item.caseProgressName}}
-
+
- {{item[index].substr(27,item[index].length)}}
+ {{itemChildren.substr(51,itemChildren.length)}}
- 下载
+ 下载
-
+
-
-
-
-
- 勘察
-
-
-
-
-
-
- {{item[index].substr(27,item[index].length)}}
-
-
- 下载
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
- 备案
-
-
-
-
-
-
- {{item[index].substr(27,item[index].length)}}
-
-
- 下载
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -110,6 +110,7 @@
dengjiList:[],
kanchaList:[],
beianList:[],
+ attaCount:{}
};
},
created() {
@@ -129,14 +130,10 @@
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);
- }
})
+ setTimeout(function(){
+ _this.attaCount = response.rows;
+ },2000)
});
},
goBack(){
diff --git a/src/views/lawEnforcement/supervise/enterpriseRelation.vue b/src/views/lawEnforcement/supervise/enterpriseRelation.vue
index e1bbd9e2..7dec91c0 100644
--- a/src/views/lawEnforcement/supervise/enterpriseRelation.vue
+++ b/src/views/lawEnforcement/supervise/enterpriseRelation.vue
@@ -17,14 +17,14 @@
@load="getList"
>
-
+
{{item.caseName}}
-
投诉案件
-
{{item.caseProgress}}
+
{{item.caseSource}}
+
{{item.caseProgressText}}
@@ -68,7 +68,7 @@
var _this = this;
listCase(_this.caseQueryParams).then(response => {
response.rows.map(res=>{
- res.caseProgress = res.caseProgress == '' ? '' : this.selectDictLabel(this.caseProgressOptions, res.caseProgress);
+ res.caseProgressText = res.caseProgress == '' ? '' : this.selectDictLabel(this.caseProgressOptions, res.caseProgress);
res.caseSource = res.caseSource == '' ? '' : this.selectDictLabel(this.caseSourceOptions, res.caseSource);
_this.list.push(res);
})
diff --git a/src/views/lawEnforcement/supervise/individualRelation.vue b/src/views/lawEnforcement/supervise/individualRelation.vue
index 45810822..54bdb096 100644
--- a/src/views/lawEnforcement/supervise/individualRelation.vue
+++ b/src/views/lawEnforcement/supervise/individualRelation.vue
@@ -17,14 +17,14 @@
@load="getList"
>
-
+
{{item.caseName}}
{{item.caseSource}}
-
{{item.caseProgress}}
+
{{item.caseProgressText}}
@@ -69,7 +69,7 @@
var _this = this;
listCase(_this.caseQueryParams).then(response => {
response.rows.map(res=>{
- res.caseProgress = res.caseProgress == '' ? '' : this.selectDictLabel(this.caseProgressOptions, res.caseProgress);
+ res.caseProgressText = res.caseProgress == '' ? '' : this.selectDictLabel(this.caseProgressOptions, res.caseProgress);
res.caseSource = res.caseSource == '' ? '' : this.selectDictLabel(this.caseSourceOptions, res.caseSource);
_this.list.push(res);
})
diff --git a/src/views/lawEnforcement/task/signInRecord.vue b/src/views/lawEnforcement/task/signInRecord.vue
index c4034c66..15b33699 100644
--- a/src/views/lawEnforcement/task/signInRecord.vue
+++ b/src/views/lawEnforcement/task/signInRecord.vue
@@ -71,7 +71,11 @@
}else{
res.caseProgressAttach = [];
}
+
res.caseProgressAttach.map((rr,index)=>{
+ if (i == fileForm.length-1){
+ this.openPic2.push(rr)
+ }
res.caseProgressAttach[index] = {
url: '/api' + rr,
isImage: true
@@ -79,12 +83,13 @@
})
this.fileList.push(res)
})
- console.log(this.fileList)
+ console.log(this.openPic2)
});
},
afterRead(file) {
// 此时可以自行将文件上传至服务器
this.openPic.push(file.file);
+
let params1 = new FormData();
params1.append("file", file.file);
commonUpload(params1).then((r1) => {
@@ -101,7 +106,9 @@
attachement: this.openPic2.join(','), // 打卡上传附件(附件的路径字符串,多个附件路径之前通过英文逗号分隔)
};
attachmentEdit(queryParams).then((r1) => {
-
+ if (r1.code == 200){
+ this.$notify({ type: 'success', message: '保存成功' });
+ }
})
}
},
diff --git a/src/views/lawEnforcement/task/task.vue b/src/views/lawEnforcement/task/task.vue
index 3d51e4d9..66403e9b 100644
--- a/src/views/lawEnforcement/task/task.vue
+++ b/src/views/lawEnforcement/task/task.vue
@@ -17,7 +17,7 @@
{{item.caseName}}
{{item.caseSource}}
- 分配时间:{{item.registerDate}}
+ 分配时间:{{item.handlerSetDate}}
diff --git a/src/views/lawEnforcement/task/taskHandle.vue b/src/views/lawEnforcement/task/taskHandle.vue
index 2e26d15b..03373ca5 100644
--- a/src/views/lawEnforcement/task/taskHandle.vue
+++ b/src/views/lawEnforcement/task/taskHandle.vue
@@ -153,17 +153,63 @@
-
+
-
+
+
+
+
+
+
+ 现场检查
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -311,7 +357,7 @@
label-width="auto"
/>
-
+
@@ -377,12 +423,12 @@
-
+
-
+
@@ -442,6 +488,8 @@
+
+
@@ -450,18 +498,18 @@
- 财务名称
+ 财物名称
规格
数量
- 生产日期
+ 生产日期(批号)
生产经营单位
-
+
-
+

@@ -583,22 +631,6 @@
-
-
-
-
- 产品确认
- 通知书
-
-
-
- 抽样取证
- 凭证
-
-
-
-
-

@@ -678,12 +710,12 @@
-
+
-

+
@@ -1285,7 +1317,7 @@
+
+
+
+
+
+
+
+
{
let data = {
- enforcerId : responseEnforce.enforcerId
+ enforcerId : responseEnforce.enforcerId,
+ caseId:this.form.id,
+ relationType: "2"
}
enforceLockinCount(data).then(resEnforceLockin => {
_this.$set(_this.tEnforceCaseHandlerList[index],"num",resEnforceLockin.data)
@@ -2119,7 +2179,7 @@ export default {
}
_this.putRecordForm = responsePutRecord.data;
// _this.tEnforcePutRecordHandlerList = responsePutRecord.data.tEnforceCaseHandlerList == null ? [] : responsePutRecord.data.tEnforceCaseHandlerList;
- if (responsePutRecord.data.instanceId == ''){
+ if (responsePutRecord.data.id == ''){
// 立案表单没有保存之前,办理人员默认获取上一节点勘察的办理人员列表
const queryEnforcerParams = {
@@ -2132,7 +2192,9 @@ export default {
if (responseHandlerList.data){
responseHandlerList.data.map((responseEnforce,index)=>{
let data = {
- enforcerId : responseEnforce.enforcerId
+ enforcerId : responseEnforce.enforcerId,
+ caseId:this.form.id,
+ relationType: "3"
}
enforceLockinCount(data).then(resEnforceLockin => {
_this.$set(_this.tEnforcePutRecordHandlerList[index],"num",resEnforceLockin.data)
@@ -2146,7 +2208,9 @@ export default {
if (responsePutRecord.data.tEnforceCaseHandlerList){
responsePutRecord.data.tEnforceCaseHandlerList.map((responseEnforce,index)=>{
let data = {
- enforcerId : responseEnforce.enforcerId
+ enforcerId : responseEnforce.enforcerId,
+ caseId:this.form.id,
+ relationType: "3"
}
enforceLockinCount(data).then(resEnforceLockin => {
_this.$set(_this.tEnforcePutRecordHandlerList[index],"num",resEnforceLockin.data)
@@ -2231,7 +2295,7 @@ export default {
_this.evidenceForm = responseEvidence.data;
- if (responseEvidence.data.instanceId == ''){
+ if (responseEvidence.data.id == ''){
// 取证表单没有保存之前,办理人员默认获取上一节点立案的办理人员列表
const queryEnforcerParams = {
@@ -2245,7 +2309,9 @@ export default {
if (responseHandlerList.data){
responseHandlerList.data.map((responseEnforce,index)=>{
let data = {
- enforcerId : responseEnforce.enforcerId
+ enforcerId : responseEnforce.enforcerId,
+ caseId:this.form.id,
+ relationType: "4"
}
enforceLockinCount(data).then(resEnforceLockin => {
_this.$set(_this.tEnforceEvidenceHandlerList[index],"num",resEnforceLockin.data)
@@ -2259,7 +2325,9 @@ export default {
if (responseEvidence.data.tEnforceCaseHandlerList){
responseEvidence.data.tEnforceCaseHandlerList.map((responseEnforce,index)=>{
let data = {
- enforcerId : responseEnforce.enforcerId
+ enforcerId : responseEnforce.enforcerId,
+ caseId:this.form.id,
+ relationType: "4"
}
enforceLockinCount(data).then(resEnforceLockin => {
_this.$set(_this.tEnforceEvidenceHandlerList[index],"num",resEnforceLockin.data)
@@ -2497,7 +2565,6 @@ export default {
console.log(this.form)
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
@@ -2665,13 +2732,13 @@ export default {
},
onConfirmAskStartTime(data){
- this.surveyForm.askStartTime = this.format(data,'yyyy-MM-dd');
+ this.surveyForm.askStartTime = this.format(data,'yyyy-MM-dd HH:mm');
this.askStartTime = data;
this.showAskStartTime = false;
},
onConfirmAskEndTime(data){
- this.surveyForm.askEndTime = this.format(data,'yyyy-MM-dd');
+ this.surveyForm.askEndTime = this.format(data,'yyyy-MM-dd HH:mm');
this.askEndTime = data;
this.showAskEndTime = false;
},
@@ -2756,6 +2823,18 @@ export default {
this.showConfirmTimeliness = false;
},
+ onConfirmSurveyStartTime(data){
+ this.surveyForm.surveyStartTime = this.format(data,'yyyy-MM-dd HH:mm');
+ this.confirmSurveyStartTime = data;
+ this.showSurveyStartTime = false;
+ },
+
+ onConfirmSurveyEndTime(data){
+ this.surveyForm.surveyEndTime = this.format(data,'yyyy-MM-dd HH:mm');
+ this.confirmSurveyEndTime = data;
+ this.showSurveyEndTime = false;
+ },
+
addFinance(){
this.tEnforceDetainHandlerList.push({})
},
@@ -2814,16 +2893,27 @@ export default {
},
preservation(){
+ this.tEnforceCaseHandlerList.map(res=>{
+ res.relationType = '2';
+ })
this.surveyForm.tEnforceCaseHandlerList = this.tEnforceCaseHandlerList;
this.surveyForm.attachement = this.openPic2.join(',');
if (this.surveyForm.id != null) {
updateSurvey(this.surveyForm).then(response => {
this.$notify({ type: 'success', message: '修改成功' });
+
+ setTimeout(function(){
+ history.back(-1);
+ },2000)
});
} else {
addSurvey(this.surveyForm).then(response => {
this.$notify({ type: 'success', message: '新增成功' });
this.surveyForm.id = response.data;
+
+ setTimeout(function(){
+ history.back(-1);
+ },2000)
});
}
},
@@ -2844,7 +2934,11 @@ export default {
method: 'post',
});
}).then(() => {
- this.$notify({ type: 'success', message: '设置成功' });
+ this.$notify({ type: 'success', message: '提交成功' });
+
+ setTimeout(function(){
+ history.back(-1);
+ },2000)
})
} else {
// 不审批直接更新进度到备案
@@ -2885,7 +2979,11 @@ export default {
// 更新案件的节点和状态
updateCase(caseParam).then(response => {
addProgress(progressParam).then(response => {
- this.$notify({ type: 'success', message: '设置成功' });
+ this.$notify({ type: 'success', message: '提交成功' });
+
+ setTimeout(function(){
+ history.back(-1);
+ },2000)
});
});
});
@@ -2898,6 +2996,10 @@ export default {
/** 案件立案提交按钮 */
submitPutRecordForm() {
+
+ this.tEnforcePutRecordHandlerList.map(res=>{
+ res.relationType = '3';
+ })
// 办理人员列表
this.putRecordForm.tEnforceCaseHandlerList = this.tEnforcePutRecordHandlerList;
// 查封扣押财物列表
@@ -2929,6 +3031,10 @@ export default {
updateSampling(this.samplingForm).then(responseSampling => {
if (responseSampling.code == "200") {
this.$notify({ type: 'success', message: '修改成功' });
+
+ setTimeout(function(){
+ history.back(-1);
+ },2000)
}
});
} else {
@@ -2936,6 +3042,10 @@ export default {
if (responseSampling.code == "200") {
this.$notify({ type: 'success', message: '新增成功' });
_this.samplingForm.id = responseSampling.data;
+
+ setTimeout(function(){
+ history.back(-1);
+ },2000)
}
});
}
@@ -2950,6 +3060,10 @@ export default {
this.$notify({ type: 'success', message: '新增成功' });
_this.putRecordForm.id = responsePutrecord.data;
_this.samplingForm.id = responseSampling.data;
+
+ setTimeout(function(){
+ history.back(-1);
+ },2000)
}
});
_this.putRecordDiglogStatus = false;
@@ -2973,7 +3087,11 @@ export default {
method: 'post',
});
}).then(() => {
- this.$notify({ type: 'success', message: '设置成功' });
+ this.$notify({ type: 'success', message: '提交成功' });
+
+ setTimeout(function(){
+ history.back(-1);
+ },2000)
})
}
},
@@ -2981,6 +3099,9 @@ export default {
/** 案件取证提交按钮 */
submitEvidenceForm() {
this.surveyDiglogStatus = false;
+ this.tEnforceEvidenceHandlerList.map(res=>{
+ res.relationType = '4';
+ })
this.evidenceForm.tEnforceCaseHandlerList = this.tEnforceEvidenceHandlerList;
this.evidenceForm.detectResults = this.detectResults;
console.log(this.evidenceForm.detectResults)
@@ -2996,15 +3117,23 @@ export default {
if (this.evidenceForm.id != null) {
this.surveyDiglogStatus = true;
updateEvidence(this.evidenceForm).then(response => {
- this.$notify({ type: 'success', message: '修改成功' });
+ this.$notify({ type: 'success', message: '提交成功' });
this.surveyDiglogStatus = false;
+
+ setTimeout(function(){
+ history.back(-1);
+ },2000)
});
} else {
this.surveyDiglogStatus = true;
addEvidence(this.evidenceForm).then(response => {
- this.$notify({ type: 'success', message: '新增成功' });
+ this.$notify({ type: 'success', message: '提交成功' });
this.evidenceForm.id = response.data;
this.surveyDiglogStatus = false;
+
+ setTimeout(function(){
+ history.back(-1);
+ },2000)
});
}
},
@@ -3024,8 +3153,12 @@ export default {
method: 'post',
});
}).then(() => {
- this.$notify({ type: 'success', message: '设置成功' });
+ this.$notify({ type: 'success', message: '提交成功' });
this.cancel();
+
+ setTimeout(function(){
+ history.back(-1);
+ },2000)
})
}
},
diff --git a/src/views/lawEnforcement/trace/feed.vue b/src/views/lawEnforcement/trace/feed.vue
index 05229723..005b1654 100644
--- a/src/views/lawEnforcement/trace/feed.vue
+++ b/src/views/lawEnforcement/trace/feed.vue
@@ -98,7 +98,9 @@
},
goSubmit(){
this.list = [];
- this.getList();
+ this.queryParams.pageNum = 1 ;
+ this.finished = false;
+ this.loading = false;
}
},
}
diff --git a/src/views/lawEnforcement/trace/fertilizer.vue b/src/views/lawEnforcement/trace/fertilizer.vue
index 0e5c513b..71d18ebe 100644
--- a/src/views/lawEnforcement/trace/fertilizer.vue
+++ b/src/views/lawEnforcement/trace/fertilizer.vue
@@ -104,7 +104,9 @@
},
goSubmit(){
this.list = [];
- this.getList();
+ this.queryParams.pageNum = 1 ;
+ this.finished = false;
+ this.loading = false;
}
},
}
diff --git a/src/views/lawEnforcement/trace/pesticides.vue b/src/views/lawEnforcement/trace/pesticides.vue
index b7a61d32..d39ef060 100644
--- a/src/views/lawEnforcement/trace/pesticides.vue
+++ b/src/views/lawEnforcement/trace/pesticides.vue
@@ -169,7 +169,10 @@
},
goSubmit(){
this.list = [];
- this.getList();
+ this.queryParams.pageNum = 1 ;
+ this.finished = false;
+ this.loading = false;
+ // this.getList();
}
},
}
diff --git a/src/views/lawEnforcement/trace/product.vue b/src/views/lawEnforcement/trace/product.vue
index 7a4eb8cf..ed27007e 100644
--- a/src/views/lawEnforcement/trace/product.vue
+++ b/src/views/lawEnforcement/trace/product.vue
@@ -103,7 +103,9 @@
},
goSubmit(){
this.list = [];
- this.getList();
+ this.queryParams.pageNum = 1 ;
+ this.finished = false;
+ this.loading = false;
}
},
}
diff --git a/src/views/lawEnforcement/trace/seed.vue b/src/views/lawEnforcement/trace/seed.vue
index 6030c496..296f209c 100644
--- a/src/views/lawEnforcement/trace/seed.vue
+++ b/src/views/lawEnforcement/trace/seed.vue
@@ -99,7 +99,9 @@
},
goSubmit(){
this.list = [];
- this.getList();
+ this.queryParams.pageNum = 1 ;
+ this.finished = false;
+ this.loading = false;
}
},
}
diff --git a/src/views/lawEnforcement/trace/veterinary.vue b/src/views/lawEnforcement/trace/veterinary.vue
index 43e864c0..0394ef27 100644
--- a/src/views/lawEnforcement/trace/veterinary.vue
+++ b/src/views/lawEnforcement/trace/veterinary.vue
@@ -98,7 +98,9 @@
},
goSubmit(){
this.list = [];
- this.getList();
+ this.queryParams.pageNum = 1 ;
+ this.finished = false;
+ this.loading = false;
}
},
}
diff --git a/static/images/lawEnforcement/icon/icon_xckc.png b/static/images/lawEnforcement/icon/icon_xckc.png
new file mode 100644
index 00000000..1c0c15d2
Binary files /dev/null and b/static/images/lawEnforcement/icon/icon_xckc.png differ