diff --git a/src/permission.js b/src/permission.js index 03fd72cc..3f2f753c 100644 --- a/src/permission.js +++ b/src/permission.js @@ -106,6 +106,7 @@ const whiteList = [ //宅基地 '/zjdLogin', + '/onlineHome/workbench', //阳光村务--新 '/sunVillage_info/login', //登录 @@ -127,11 +128,13 @@ const whiteList = [ '/sunVillage_info/list_vote', //详情页 '/sunVillage_info/list_vote_detail', //详情页 '/sunVillage_info/list_vote_form', //详情页 + ] router.beforeEach((to, from, next) => { NProgress.start() if (getToken()) { + console.info(to) /* has token*/ if (to.path === '/login') { next({ path: '/' }) @@ -190,6 +193,7 @@ router.beforeEach((to, from, next) => { } } else { // 没有token + console.info(to); if (whiteList.indexOf(to.path) !== -1) { // 在免登录白名单,直接进入 console.log(to.path) 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..e110bdc7 100644 --- a/src/views/lawEnforcement/case/caseDetail.vue +++ b/src/views/lawEnforcement/case/caseDetail.vue @@ -33,57 +33,85 @@ 登记 - - + + + + + + + + -
- - - - - - - - - - - - - +
+ + + + + + + + + + +
- - - - - + + + + + + +
+ +
+ + + +
+ + 序号 + 执行人员 + 执法证号 + 带队人 + + + + {{index+1}} + {{item.enforcerName}} + {{item.enforcerNum}} + +
+ +
+
+
+ +
+
+
@@ -106,106 +134,237 @@ 勘察
- - + + + +
- - - -
- - 序号 - 执行人员 - 执法证号 - + + + +
+ + 执行人员 + 执法证号 + 签到次数 + 带队人 + + + + {{item.enforcerName}} + {{item.enforcerNum}} + {{item.num}} + +
+ +
+
+
+
+
+
+
- - {{index+1}} - {{item.enforcerName}} - {{item.enforcerNum}} - + + +
+ + + + + + + + + + + + + +
-
-
- - - - - - - - - -
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
-
- - - - - - - - - - - - - - - - - - -
+
+ + + + + + +
-
- - - - -
+
+ + + -
- - - - - - - - -
+ + + + + + + + + + + + + + +
+ +
+ + + + +
+ -
- - - - - -

审批流程

@@ -280,158 +439,281 @@ 立案 - - + + +
- - - -
- - 序号 - 执行人员 - 执法证号 - - - - {{index+1}} - {{item.enforcerName}} - {{item.enforcerNum}} - - -
+ + + +
+ + 执行人员 + 执法证号 + 签到次数 + 带队人 + + + {{item.enforcerName}} + {{item.enforcerNum}} + {{item.num}} + +
+ +
+
+
+
+
+
-
- - - - - - - - - - - - - -
- - 财务名称 - 规格 - 数量 - 生产日期 - 生产经营单位 - + - - {{item.name}} - {{item.size}} - {{item.propertyNum}} - {{item.productTimeNum}} - {{item.productUnit}} - +
+ + + -
+ + + + + + + + + + + + + + -
- - - -

证据先行

-

保存通知书

-
- - -

查封扣押

-

现场笔录

-
- - -

查封扣押

-

决定书

-
- -
-
-
+ -
- - - - - - - - - -
- - - - - - - - - - - - - - - -
+ + + + + + +
- - -

产品确认

-

通知书

-
- - -

抽样取证

-

凭证

-
- - + 财物名称 + 规格 + 数量 + 生产日期(批号) + 生产经营单位 +
+ + + + + + +
+ + + + + + + + + + + + + + + + + + + + +
-
-
- - - - - -
-
- - - - - +
+ + + + + + + + + + + + + + +
+ 物品信息{{index+1}} + + + + + + + + + + + + + + + + + + + + + +
+
+ +
+ + + + + +
+ +
+ + + + +
+ + + + +

审批流程

+
+ + +

{{index+1}}

+
+

+

+

+
+
+ + + + + + + + + + +

审批意见:{{ item.comment }}

+
+
@@ -454,81 +736,118 @@ 取证 - - + + +
-
- - - -
- - 序号 - 执行人员 - 执法证号 - + + + +
+ + 执行人员 + 执法证号 + 签到次数 + 带队人 + + + + {{item.enforcerName}} + {{item.enforcerNum}} + {{item.num}} + +
+ +
+
+
+
+
+
+
+ +
+ + + +
+ + + + + + + + + + - - {{index+1}} - {{item.enforcerName}} - {{item.enforcerNum}} - +
+ + + + + + + +
-
-
- - - -
- - - - - - +
+ + + + + + + + + + + + + +
- - - - - -
-
- - - - - - - - - - -
+
+ + + + + +
+ -
- - - - - -

审批流程

@@ -1124,7 +1443,23 @@ import { getExecuteByCaseId , getEndingByCaseId , progressList , - getOnrecordByCaseId + getOnrecordByCaseId, + getDeptName, + addSurvey, + updateSurvey, + addProgress, + updateCase, + addOnrecord, + commonUpload, + updatePutrecord, + updateSampling, + addSampling, + addPutrecord, + updateEvidence, + addEvidence, + caseHandlerList, + enforceLockinCount, + getCaseNum } from "@/api/lawEnforcement/index"; import law from "@/components/common/law_footer"; import request from "@/utils/request"; @@ -1135,6 +1470,10 @@ export default { }, data() { return { + activeNames: ['1'], + activeNames1: ['1'], + activeNames2: ['1'], + showBankType:false, showPayeeType:false, showPicker:false, @@ -1146,6 +1485,8 @@ export default { payeeType:'', value:'', type:'', + surveyResult:'', + conclusion:'', progressLength:0, zhenchaShow:true, @@ -1165,6 +1506,9 @@ export default { qualityStatusOptions:[], samplingSceneOptions:[], conclusionOptions:[], + surveyResultOptions:[], + surveyResultOptionsY:[], + surveyResultOptionsN:[], minDate: new Date(2020, 0, 1), maxDate: new Date(2025, 10, 1), currentDate: new Date(2021, 0, 17), @@ -1456,6 +1800,7 @@ export default { historyList: [], evidencHistoryList: [], treatHistoryList: [], + putRecordHistoryList: [], // 检测结果数据 detectResults: [], decisionEnforcers: [], @@ -1529,6 +1874,19 @@ export default { this.getDicts("aging_status").then(response => { this.agingStatusOptions = response.data; }); + this.getDicts("team_category").then(response => { + this.belongTeamOptions = response.data; + }); + this.getDicts("approve_type").then(response => { + response.data.map(res=>{ + if (res.dictValue == '1'||res.dictValue == '3'||res.dictValue == '4'){ + this.surveyResultOptionsY.push(res); + } + if (res.dictValue == '1'||res.dictValue == '2'){ + this.surveyResultOptionsN.push(res); + } + }) + }); // 关联方案下拉框 var schemeQueryParam = { applyStatus: "1" @@ -1538,9 +1896,6 @@ export default { this.schemeOptions = response.data; this.getInformation(); }); - - - // treeselect().then((response) => { // this.deptOptions = response.data; // }); @@ -1627,17 +1982,24 @@ 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.schemeId = response.data.schemeId == '' ? '' : this.selectDictScheme(this.schemeOptions, response.data.schemeId); + response.data.typeLable = response.data.typeLable == '' ? '' : this.selectDictLabel(this.typeOptions, response.data.type); + response.data.nation = response.data.nation == '' ? '' : this.selectDictLabel(this.nationOptions, response.data.nation); + + 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.type = response.data.type == '' ? '' : this.selectDictLabel(this.typeOptions, response.data.type); + response.data.sex = response.data.sex == '' ? '' : this.selectDictLabel(this.sexOptions, response.data.sex); + getDeptName(response.data.deptId).then(res => { + response.data.deptId = res.data.deptName + }); if (response.data.attachement){ var attachement = response.data.attachement.split( "," ); + response.data.attachementList = [] attachement.forEach(res=>{ - this.attachementOption.push({ - url:res + response.data.attachementList.push({ + url:'/api'+res, + isImage: true }); }) } @@ -1690,22 +2052,38 @@ export default { if (this.form.id != null && this.form.id != "") { this.surveyForm.caseId = this.form.id; getSurveyByCaseId(this.form.id).then(responseSurvey => { - console.log(responseSurvey) if (responseSurvey.data != undefined) { _this.surveyForm = responseSurvey.data; _this.instanceId = responseSurvey.data.instanceId; - _this.tEnforceCaseHandlerList = responseSurvey.data.tEnforceCaseHandlerList; + if (responseSurvey.data.tEnforceCaseHandlerList){ + _this.tEnforceCaseHandlerList = responseSurvey.data.tEnforceCaseHandlerList; + responseSurvey.data.tEnforceCaseHandlerList.map((responseEnforce,index)=>{ + responseEnforce.enforcerLeader = responseEnforce.enforcerLeader=='Y'? true:false + let data = { + enforcerId : responseEnforce.enforcerId, + caseId:this.form.id, + relationType: "2" + } + enforceLockinCount(data).then(resEnforceLockin => { + _this.$set(_this.tEnforceCaseHandlerList[index],"num",resEnforceLockin.data) + }); + }); + } + }else{ + } if (responseSurvey.data.attachement){ var attachement = responseSurvey.data.attachement.split( "," ); attachement.forEach(response=>{ this.surveyOption.push({ - url:response + url:'/api'+response, + isImage: true }); + this.openPic2.push(response) }) } - _this.surveyForm.gender = this.selectDictLabel(this.sexOptions, _this.surveyForm.gender); - _this.surveyForm.surveyResult = this.selectDictLabel(this.surveyResultOptions, _this.surveyForm.surveyResult); + // _this.surveyForm.gender = this.selectDictLabel(this.sexOptions, _this.surveyForm.gender); + _this.surveyResult = this.selectDictLabel(this.surveyResultOptions, _this.surveyForm.surveyResult); _this.surveyForm.caseName = this.form.caseName; _this.surveyForm.schemeId = this.form.schemeId; // 查询审批历史记录 @@ -1722,37 +2100,94 @@ export default { getputRecordByCaseId(_this.form.id).then(responsePutRecord => { getSamplingByCaseId(_this.form.id).then(responseSampling => { if(responsePutRecord.data != undefined){ + if (responsePutRecord.data.attachement){ + var attachement = responsePutRecord.data.attachement.split( "," ); + attachement.forEach(response=>{ + this.samplingOption.push({ + url:'/api' + response, + isImage: true + }); + }) + // process.env.VUE_APP_BASE_ROUTING_URL + process.env.VUE_APP_BASE_API + } _this.putRecordForm = responsePutRecord.data; - _this.tEnforcePutRecordHandlerList = responsePutRecord.data.tEnforceCaseHandlerList; - _this.tEnforceDetainHandlerList = responsePutRecord.data.tEnforceDetainHandlerList; + _this.tEnforceDetainHandlerList = responsePutRecord.data.tEnforceDetainHandlerList == null ? [] : responsePutRecord.data.tEnforceDetainHandlerList; + if (responsePutRecord.data.id == ''){ + + // 立案表单没有保存之前,办理人员默认获取上一节点勘察的办理人员列表 + const queryEnforcerParams = { + relationType: "2", + caseId: this.form.id + }; + caseHandlerList(queryEnforcerParams).then(responseHandlerList => { + responseHandlerList.data.relationType = "3"; + _this.tEnforcePutRecordHandlerList = responseHandlerList.data; + if (responseHandlerList.data){ + responseHandlerList.data.map((responseEnforce,index)=>{ + responseEnforce.enforcerLeader = responseEnforce.enforcerLeader=='Y'? true:false + + let data = { + enforcerId : responseEnforce.enforcerId, + caseId:this.form.id, + relationType: "3" + } + enforceLockinCount(data).then(resEnforceLockin => { + _this.$set(_this.tEnforcePutRecordHandlerList[index],"num",resEnforceLockin.data) + }); + + }); + } + }); + }else{ + _this.tEnforcePutRecordHandlerList = responsePutRecord.data.tEnforceCaseHandlerList; + if (responsePutRecord.data.tEnforceCaseHandlerList){ + console.log(responsePutRecord.data.tEnforceCaseHandlerList) + responsePutRecord.data.tEnforceCaseHandlerList.map((responseEnforce,index)=>{ + responseEnforce.enforcerLeader = responseEnforce.enforcerLeader=='Y'? true:false + let data = { + enforcerId : responseEnforce.enforcerId, + caseId:this.form.id, + relationType: "3" + } + enforceLockinCount(data).then(resEnforceLockin => { + _this.$set(_this.tEnforcePutRecordHandlerList[index],"num",resEnforceLockin.data) + }); + }); + } + console.log(_this.tEnforcePutRecordHandlerList) + } + + }else{ + _this.putRecordForm.attachement = []; + _this.putRecordForm.attachementList = []; } 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].showTimeliness = false; + if (responseSampling.data.tEnforceSamplingGoodsList[i].attachement != null){ 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, + url:'/api' + response, + isImage: true }); + // process.env.VUE_APP_BASE_ROUTING_URL + process.env.VUE_APP_BASE_API }) + }else{ + responseSampling.data.tEnforceSamplingGoodsList[i].attachement = []; } } 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; + // 查询审批历史记录 + _this.getHistoryList(_this.putRecordForm,'putRecord'); }); }); } @@ -1774,47 +2209,110 @@ export default { responseReport.data.goodsId = goodsId; responseReport.data.goodsName = goodsName; responseReport.data.attachementList = []; - + if (responseReport.data.attachement){ + var Evidence = responseReport.data.attachement.split( "," ); + console.log(Evidence) + Evidence.forEach(response=>{ + responseReport.data.attachementList.push({ + url:'/api' + response, + }); + }) + }else{ + responseReport.data.attachement = []; + responseReport.data.attachementList = []; + } _this.detectResults.push(responseReport.data); } else { var goodsObj = { "goodsId": goodsId, - "goodsName": goodsName + "goodsName": goodsName, + attachement:[] }; _this.detectResults.push(goodsObj); } }); + // 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: '/api' + response, + // }); + // // process.env.VUE_APP_BASE_ROUTING_URL + process.env.VUE_APP_BASE_API + // }) + // }else{ + // responseSampling.data.tEnforceSamplingGoodsList[i].attachement = []; + // responseSampling.data.tEnforceSamplingGoodsList[i].attachementList = []; + // } } + + + if (responseEvidence.data != undefined) { responseEvidence.data.attachementList = []; + _this.tEnforceEvidenceHandlerList = responseEvidence.data.tEnforceCaseHandlerList; + if (responseEvidence.data.tEnforceCaseHandlerList){ + responseEvidence.data.tEnforceCaseHandlerList.map((responseEnforce,index)=>{ + responseEnforce.enforcerLeader = responseEnforce.enforcerLeader=='Y'? true:false + let data = { + enforcerId : responseEnforce.enforcerId, + caseId:this.form.id, + relationType: "4" + } + enforceLockinCount(data).then(resEnforceLockin => { + _this.$set(_this.tEnforceEvidenceHandlerList[index],"num",resEnforceLockin.data) + }); + + }); + } 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, + url:'/api' + response, }); }) + // process.env.VUE_APP_BASE_ROUTING_URL + process.env.VUE_APP_BASE_API + }else{ + responseEvidence.data.attachement = []; } - } - 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, + }else{ + _this.evidenceForm.attachement = []; + + + // 取证表单没有保存之前,办理人员默认获取上一节点立案的办理人员列表 + const queryEnforcerParams = { + relationType: "3", + caseId: this.form.id + }; + caseHandlerList(queryEnforcerParams).then(responseHandlerList => { + responseHandlerList.data.relationType = "4"; + _this.tEnforceEvidenceHandlerList = responseHandlerList.data; + + if (responseHandlerList.data){ + responseHandlerList.data.map((responseEnforce,index)=>{ + responseEnforce.enforcerLeader = responseEnforce.enforcerLeader=='Y'? true:false + let data = { + enforcerId : responseEnforce.enforcerId, + caseId:this.form.id, + relationType: "4" + } + enforceLockinCount(data).then(resEnforceLockin => { + _this.$set(_this.tEnforceEvidenceHandlerList[index],"num",resEnforceLockin.data) }); - }) + + }); } - } - },1000) + }); + + } + _this.evidenceForm.caseName = this.form.caseName; _this.evidenceForm.schemeId = this.form.schemeId; // 查询审批历史记录 @@ -2136,6 +2634,7 @@ export default { /** 查询审批历史展示步骤条 */ getHistoryList(formData,type) { + console.log(formData) if (formData.instanceId != null && formData.instanceId != "") { var queryParams = { processInstanceId: formData.instanceId @@ -2164,6 +2663,15 @@ export default { row.durationInMillis / 1000 ); }); + }else if (type == 'putRecord'){ + this.putRecordHistoryList = response.rows; + this.putRecordHistoryList.forEach((row) => { + row.startTime = this.format(row.startTime, "yyyy-MM-dd HH:mm:ss"); + row.endTime = this.format(row.endTime, "yyyy-MM-dd HH:mm:ss"); + row.durationInMillis = this.formatTotalDateSub( + row.durationInMillis / 1000 + ); + }); }else{ this.historyList = response.rows; this.historyList.forEach((row) => { @@ -2272,6 +2780,9 @@ export default { top: 36px; } } +/deep/ .van-collapse-item__content{ + padding: 0; +} .van-row{ display: flex; flex-wrap: wrap; @@ -2412,6 +2923,7 @@ export default { .peopleList{ padding: 0 3%; margin-top: 10PX; + text-align: center; .van-row{ margin-bottom: 10PX; .van-col{ @@ -2424,6 +2936,13 @@ export default { } } } + .icon_box{ + display: flex; + justify-content: space-around; + /deep/ .van-checkbox{ + justify-content: center; + } + } } .cf{ padding: 0 3%; 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 @@ diff --git a/src/views/lawEnforcement/trace/fertilizer.vue b/src/views/lawEnforcement/trace/fertilizer.vue index 0e5c513b..1a7769ac 100644 --- a/src/views/lawEnforcement/trace/fertilizer.vue +++ b/src/views/lawEnforcement/trace/fertilizer.vue @@ -15,7 +15,7 @@
-

立即查询

+

立即查询

{ response.rows.map(res=>{ this.list.push(res); @@ -102,10 +106,6 @@ } }); }, - goSubmit(){ - this.list = []; - this.getList(); - } }, } diff --git a/src/views/lawEnforcement/trace/pesticides.vue b/src/views/lawEnforcement/trace/pesticides.vue index b7a61d32..9ff27c7d 100644 --- a/src/views/lawEnforcement/trace/pesticides.vue +++ b/src/views/lawEnforcement/trace/pesticides.vue @@ -54,7 +54,7 @@ />
-

立即查询

+

立即查询

{ response.rows.map(res=>{ // res.businessType = res.businessType == '' ? '' : this.selectDictLabel(this.businessTypeOptions, res.businessType); @@ -167,10 +171,6 @@ this.queryParams.agent = data.value; this.showAgent = false; }, - goSubmit(){ - this.list = []; - this.getList(); - } }, } diff --git a/src/views/lawEnforcement/trace/product.vue b/src/views/lawEnforcement/trace/product.vue index 7a4eb8cf..ca32e76d 100644 --- a/src/views/lawEnforcement/trace/product.vue +++ b/src/views/lawEnforcement/trace/product.vue @@ -15,7 +15,7 @@
-

立即查询

+

立即查询

{ response.rows.map(res=>{ res.productType = res.productType == '' ? '' : this.selectDictLabel(this.productTypeOptions, res.productType); @@ -103,7 +107,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..5ae96a9c 100644 --- a/src/views/lawEnforcement/trace/seed.vue +++ b/src/views/lawEnforcement/trace/seed.vue @@ -15,7 +15,7 @@
-

立即查询

+

立即查询

{ response.rows.map(res=>{ this.list.push(res); @@ -99,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/veterinary.vue b/src/views/lawEnforcement/trace/veterinary.vue index 43e864c0..7a069831 100644 --- a/src/views/lawEnforcement/trace/veterinary.vue +++ b/src/views/lawEnforcement/trace/veterinary.vue @@ -15,7 +15,7 @@
-

立即查询

+

立即查询

{ response.rows.map(res=>{ this.list.push(res); @@ -96,10 +100,6 @@ } }); }, - goSubmit(){ - this.list = []; - this.getList(); - } }, } diff --git a/src/views/yinnong/workbench.vue b/src/views/yinnong/workbench.vue index 13d472bc..1ac01623 100644 --- a/src/views/yinnong/workbench.vue +++ b/src/views/yinnong/workbench.vue @@ -7,7 +7,7 @@