@@ -127,6 +127,7 @@ const whiteList = [ | |||||
'/sunVillage_info/list_vote', //详情页 | '/sunVillage_info/list_vote', //详情页 | ||||
'/sunVillage_info/list_vote_detail', //详情页 | '/sunVillage_info/list_vote_detail', //详情页 | ||||
'/sunVillage_info/list_vote_form', //详情页 | '/sunVillage_info/list_vote_form', //详情页 | ||||
] | ] | ||||
router.beforeEach((to, from, next) => { | router.beforeEach((to, from, next) => { | ||||
@@ -3825,7 +3825,6 @@ export const constantRoutes = [ | |||||
meta: { | meta: { | ||||
title: '巡查登记', | title: '巡查登记', | ||||
hidden: true, | hidden: true, | ||||
keepAlive: true | |||||
}, | }, | ||||
component: (resolve) => require(['@/views/lawEnforcement/caseAllocation/caseAdd'], resolve) | component: (resolve) => require(['@/views/lawEnforcement/caseAllocation/caseAdd'], resolve) | ||||
}, | }, | ||||
@@ -3834,8 +3833,7 @@ export const constantRoutes = [ | |||||
name: 'lawEnforcementCaseEdit', | name: 'lawEnforcementCaseEdit', | ||||
meta: { | meta: { | ||||
title: '登记修改', | title: '登记修改', | ||||
hidden: true, | |||||
keepAlive: true | |||||
hidden: true | |||||
}, | }, | ||||
component: (resolve) => require(['@/views/lawEnforcement/caseAllocation/caseEdit'], resolve) | component: (resolve) => require(['@/views/lawEnforcement/caseAllocation/caseEdit'], resolve) | ||||
}, | }, | ||||
@@ -3844,8 +3842,7 @@ export const constantRoutes = [ | |||||
name: 'lawEnforcementCaseListNew', | name: 'lawEnforcementCaseListNew', | ||||
meta: { | meta: { | ||||
title: '登记列表', | title: '登记列表', | ||||
hidden: true, | |||||
keepAlive: true | |||||
hidden: true | |||||
}, | }, | ||||
component: (resolve) => require(['@/views/lawEnforcement/caseAllocation/caseListNew'], resolve) | component: (resolve) => require(['@/views/lawEnforcement/caseAllocation/caseListNew'], resolve) | ||||
}, | }, | ||||
@@ -89,6 +89,7 @@ | |||||
}, | }, | ||||
methods: { | methods: { | ||||
getList(){ | getList(){ | ||||
console.log('aaaa') | |||||
var _this = this; | var _this = this; | ||||
getNewsList(_this.queryParams).then(response => { | getNewsList(_this.queryParams).then(response => { | ||||
response.rows.map(res=>{ | response.rows.map(res=>{ | ||||
@@ -124,7 +125,7 @@ | |||||
this.loading = false; | this.loading = false; | ||||
this.queryParams.title = this.searchInput; | this.queryParams.title = this.searchInput; | ||||
this.queryParams.pageNum = 1; | this.queryParams.pageNum = 1; | ||||
this.getList(); | |||||
// this.getList(); | |||||
}, | }, | ||||
onClickLeftIndex(){ | onClickLeftIndex(){ | ||||
this.$router.push('/lawEnforcement/index_new') | this.$router.push('/lawEnforcement/index_new') | ||||
@@ -2136,6 +2136,7 @@ export default { | |||||
/** 查询审批历史展示步骤条 */ | /** 查询审批历史展示步骤条 */ | ||||
getHistoryList(formData,type) { | getHistoryList(formData,type) { | ||||
console.log(formData) | |||||
if (formData.instanceId != null && formData.instanceId != "") { | if (formData.instanceId != null && formData.instanceId != "") { | ||||
var queryParams = { | var queryParams = { | ||||
processInstanceId: formData.instanceId | processInstanceId: formData.instanceId | ||||
@@ -267,36 +267,36 @@ | |||||
</van-collapse> | </van-collapse> | ||||
</div> | </div> | ||||
<div class="main_box" style="margin-top: 10px;"> | |||||
<van-collapse v-model="activeNames2"> | |||||
<van-collapse-item name="1"> | |||||
<template #title> | |||||
<van-icon name="../../../static/images/lawEnforcement/icon/icon_zxry.png" size="20"></van-icon> | |||||
<span class="custom-title">执法人员<i class="bgBlue"></i></span> | |||||
</template> | |||||
<div class="peopleList"> | |||||
<van-row class="peoplett"> | |||||
<van-col :span="4">序号</van-col> | |||||
<van-col :span="6">执行人员</van-col> | |||||
<van-col :span="10">执法证号</van-col> | |||||
<van-col :span="4">带队人</van-col> | |||||
</van-row> | |||||
<van-row v-for="(item,index) in tEnforceCaseHandlerList" :key="index" > | |||||
<van-col :span="4">{{index+1}}</van-col> | |||||
<van-col :span="6">{{item.enforcerName}}</van-col> | |||||
<van-col :span="10">{{item.enforcerNum}}</van-col> | |||||
<van-col :span="4"> | |||||
<div class="icon_box"> | |||||
<van-checkbox v-model="item.enforcerLeader" shape="square" @change="checkBoxChange(item.enforcerLeader,index)"></van-checkbox> | |||||
<van-icon name="../../../static/images/lawEnforcement/icon/icon_delete.png" size="20" @click="removePeople(index)"></van-icon> | |||||
</div> | |||||
</van-col> | |||||
</van-row> | |||||
<img src="../../../../static/images/lawEnforcement/new/addPeop_btn.png" style="margin: 0 auto;" @click="$router.push({name:'lawEnforcementCaseLawEnforcer'})"> | |||||
</div> | |||||
</van-collapse-item> | |||||
</van-collapse> | |||||
</div> | |||||
<!-- <div class="main_box" style="margin-top: 10px;">--> | |||||
<!-- <van-collapse v-model="activeNames2">--> | |||||
<!-- <van-collapse-item name="1">--> | |||||
<!-- <template #title>--> | |||||
<!-- <van-icon name="../../../static/images/lawEnforcement/icon/icon_zxry.png" size="20"></van-icon>--> | |||||
<!-- <span class="custom-title">执法人员<i class="bgBlue"></i></span>--> | |||||
<!-- </template>--> | |||||
<!-- <div class="peopleList">--> | |||||
<!-- <van-row class="peoplett">--> | |||||
<!-- <van-col :span="4">序号</van-col>--> | |||||
<!-- <van-col :span="6">执行人员</van-col>--> | |||||
<!-- <van-col :span="10">执法证号</van-col>--> | |||||
<!-- <van-col :span="4">带队人</van-col>--> | |||||
<!-- </van-row>--> | |||||
<!-- <van-row v-for="(item,index) in tEnforceCaseHandlerList" :key="index" >--> | |||||
<!-- <van-col :span="4">{{index+1}}</van-col>--> | |||||
<!-- <van-col :span="6">{{item.enforcerName}}</van-col>--> | |||||
<!-- <van-col :span="10">{{item.enforcerNum}}</van-col>--> | |||||
<!-- <van-col :span="4">--> | |||||
<!-- <div class="icon_box">--> | |||||
<!-- <van-checkbox v-model="item.enforcerLeader" shape="square" @change="checkBoxChange(item.enforcerLeader,index)"></van-checkbox>--> | |||||
<!-- <van-icon name="../../../static/images/lawEnforcement/icon/icon_delete.png" size="20" @click="removePeople(index)"></van-icon>--> | |||||
<!-- </div>--> | |||||
<!-- </van-col>--> | |||||
<!-- </van-row>--> | |||||
<!-- <img src="../../../../static/images/lawEnforcement/new/addPeop_btn.png" style="margin: 0 auto;" @click="$router.push({name:'lawEnforcementCaseLawEnforcer'})">--> | |||||
<!-- </div>--> | |||||
<!-- </van-collapse-item>--> | |||||
<!-- </van-collapse>--> | |||||
<!-- </div>--> | |||||
<div class="submit_box"> | <div class="submit_box"> | ||||
<p class="submitButton" @click="$refs.form.submit()">保存</p> | <p class="submitButton" @click="$refs.form.submit()">保存</p> | ||||
<p class="submitButton" @click="keepSubmit()">保存并提交</p> | <p class="submitButton" @click="keepSubmit()">保存并提交</p> | ||||
@@ -533,7 +533,10 @@ | |||||
// do anything you want | // do anything you want | ||||
if (Cookies.get('enforcer')){ | if (Cookies.get('enforcer')){ | ||||
JSON.parse(Cookies.get('enforcer')).map((res,index)=>{ | 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) | |||||
} | |||||
}) | }) | ||||
} | } | ||||
} | } | ||||
@@ -1,7 +1,7 @@ | |||||
<template> | <template> | ||||
<div class="app-container"> | <div class="app-container"> | ||||
<div class="header_main"> | <div class="header_main"> | ||||
查看登记 | |||||
{{title}} | |||||
<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> | ||||
@@ -109,6 +109,7 @@ | |||||
showPayeeType:false, | showPayeeType:false, | ||||
showPicker:false, | showPicker:false, | ||||
form:{}, | form:{}, | ||||
title:'查看登记', | |||||
bankType:'', | bankType:'', | ||||
payeeType:'', | payeeType:'', | ||||
@@ -161,16 +162,22 @@ | |||||
this.nationOptions = response.data; | this.nationOptions = response.data; | ||||
}); | }); | ||||
this.getDetail(); | this.getDetail(); | ||||
if (this.$route.query.type == 'caseQuery'){ | |||||
this.title = '案件详情查看' | |||||
} | |||||
}, | }, | ||||
methods: { | methods: { | ||||
getDetail(){ | getDetail(){ | ||||
getCase(this.$route.query.id).then((response) => { | getCase(this.$route.query.id).then((response) => { | ||||
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); | ||||
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.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 = { | var schemeQueryParam = { | ||||
applyStatus: "1" | applyStatus: "1" | ||||
@@ -189,15 +196,15 @@ | |||||
}) | }) | ||||
// 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 | ||||
} | } | ||||
console.log(response.data.scheme) | |||||
schemeList(schemeQueryParam).then((responseScheme) => { | 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 ; | var that = this ; | ||||
setTimeout(function () { | setTimeout(function () { | ||||
that.form = response.data; | that.form = response.data; | ||||
},2000) | |||||
},3000) | |||||
}); | }); | ||||
getSurveyByCaseId(this.$route.query.id).then((response) => { | getSurveyByCaseId(this.$route.query.id).then((response) => { | ||||
if(response.data != undefined){ | if(response.data != undefined){ | ||||
@@ -182,9 +182,9 @@ | |||||
</van-field> | </van-field> | ||||
<template v-if="form.type=='1'"> | <template v-if="form.type=='1'"> | ||||
<van-field v-model="form.name" required :rules="[{ required: true , message:'请输入当事人姓名' }]" label="当事人姓名" placeholder="请输入当事人姓名" :border="false" label-width="auto" input-align="right" /> | <van-field v-model="form.name" required :rules="[{ required: true , message:'请输入当事人姓名' }]" label="当事人姓名" placeholder="请输入当事人姓名" :border="false" label-width="auto" input-align="right" /> | ||||
<van-field v-model="form.sex" label="性别" placeholder="请输入性别" :border="false" label-width="auto" input-align="right" > | |||||
<template #input> | |||||
<van-radio-group v-model="form.sex" direction="horizontal"> | |||||
<van-field v-if="form.type=='1'" v-model="form.sex" label="性别" placeholder="请输入性别" :border="false" label-width="auto" input-align="right" > | |||||
<template v-if="form.type=='1'" #input> | |||||
<van-radio-group v-if="form.type=='1'" v-model="form.sex" direction="horizontal"> | |||||
<van-radio name="1">男</van-radio> | <van-radio name="1">男</van-radio> | ||||
<van-radio name="2">女</van-radio> | <van-radio name="2">女</van-radio> | ||||
</van-radio-group> | </van-radio-group> | ||||
@@ -7,8 +7,9 @@ | |||||
<div style="height: 58px;"></div> | <div style="height: 58px;"></div> | ||||
<div class="search_box"> | <div class="search_box"> | ||||
<!-- v-model="showPopover"--> | |||||
<van-popover | <van-popover | ||||
v-model="showPopover" | |||||
trigger="click" | trigger="click" | ||||
:actions="belongTeamOptions" | :actions="belongTeamOptions" | ||||
@select="popChange" | @select="popChange" | ||||
@@ -17,7 +18,7 @@ | |||||
<template #reference> | <template #reference> | ||||
<div class="select_box"> | <div class="select_box"> | ||||
<p>{{popValue}}</p> | <p>{{popValue}}</p> | ||||
<van-icon name="arrow-down" color="#1D6FE9" /> | |||||
<!-- <van-icon name="arrow-down" color="#1D6FE9" />--> | |||||
</div> | </div> | ||||
</template> | </template> | ||||
</van-popover> | </van-popover> | ||||
@@ -30,22 +31,27 @@ | |||||
<div class="main_box" style="margin-top: 10px;"> | <div class="main_box" style="margin-top: 10px;"> | ||||
<div class="peopleList"> | <div class="peopleList"> | ||||
<van-row class="peoplett"> | <van-row class="peoplett"> | ||||
<van-col :span="4">执行主体</van-col> | |||||
<van-col :span="4">带队人</van-col> | |||||
<van-col :span="20">执行人员</van-col> | <van-col :span="20">执行人员</van-col> | ||||
</van-row> | </van-row> | ||||
<van-checkbox-group v-model="result"> | |||||
<van-row v-for="(item,index) in enforcerList" :key="index" > | |||||
<van-col :span="4">{{item.belongTeam}}</van-col> | |||||
<van-col :span="6">{{item.name}}</van-col> | |||||
<van-col :span="10">{{item.enforceNum}}</van-col> | |||||
<van-col :span="4"> | |||||
<div class="icon_box"> | |||||
<van-checkbox :name="item" shape="square"></van-checkbox> | |||||
</div> | |||||
</van-col> | |||||
</van-row> | |||||
</van-checkbox-group> | |||||
<van-radio-group v-model="radio"> | |||||
<van-checkbox-group v-model="result"> | |||||
<van-row v-for="(item,index) in enforcerList" :key="index" > | |||||
<van-col :span="4"> | |||||
<div class="icon_box"> | |||||
<van-radio :name="item.id"></van-radio> | |||||
</div> | |||||
</van-col> | |||||
<van-col :span="6">{{item.name}}</van-col> | |||||
<van-col :span="10">{{item.enforceNum}}</van-col> | |||||
<van-col :span="4"> | |||||
<div class="icon_box"> | |||||
<van-checkbox :name="item" shape="square"></van-checkbox> | |||||
</div> | |||||
</van-col> | |||||
</van-row> | |||||
</van-checkbox-group> | |||||
</van-radio-group> | |||||
</div> | </div> | ||||
</div> | </div> | ||||
@@ -64,6 +70,7 @@ | |||||
showPopover: false, | showPopover: false, | ||||
form:{}, | form:{}, | ||||
result:[], | result:[], | ||||
radio:'', | |||||
queryParams: { | queryParams: { | ||||
// 分页 | // 分页 | ||||
pageNum: 1, | pageNum: 1, | ||||
@@ -82,16 +89,20 @@ | |||||
belongTeamOptions2:[], | belongTeamOptions2:[], | ||||
popValue:'一中队', | popValue:'一中队', | ||||
surveyForm:{} | |||||
surveyForm:{ | |||||
tEnforceCaseHandlerList:[] | |||||
} | |||||
}; | }; | ||||
}, | }, | ||||
created() { | created() { | ||||
this.queryParams.belongTeam = this.$route.query.belongTeam; | |||||
this.getDicts("team_category").then(response => { | this.getDicts("team_category").then(response => { | ||||
for (var i = 0; i < response.data.length; i++) { | for (var i = 0; i < response.data.length; i++) { | ||||
this.belongTeamOptions.push({text: response.data[i].dictLabel, value: response.data[i].dictValue}); | this.belongTeamOptions.push({text: response.data[i].dictLabel, value: response.data[i].dictValue}); | ||||
} | } | ||||
this.belongTeamOptions2 = response.data; | this.belongTeamOptions2 = response.data; | ||||
this.popValue = this.selectDictLabel(response.data, this.$route.query.belongTeam); | |||||
}); | }); | ||||
this.getDictionaries() | this.getDictionaries() | ||||
this.getDetail(); | this.getDetail(); | ||||
@@ -116,26 +127,36 @@ | |||||
this.getDictionaries(); | this.getDictionaries(); | ||||
}, | }, | ||||
choiceEnforcer(){ | 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; | this.surveyForm.caseId = this.form.id; | ||||
getSurveyByCaseId(this.surveyForm.caseId).then(responseSurvey => { | getSurveyByCaseId(this.surveyForm.caseId).then(responseSurvey => { | ||||
console.log(responseSurvey.data.tEnforceCaseHandlerList) | |||||
this.surveyForm.id = responseSurvey.data.id; | 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(){ | getDetail(){ | ||||
@@ -19,7 +19,7 @@ | |||||
finished-text="没有更多了" | finished-text="没有更多了" | ||||
@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" :disabled="item.caseProgress > 4"> | |||||
<van-cell :title="item.caseName" center :to="{name:'lawEnforcementCaseDetailNew', query: {id:item.id}}"> | <van-cell :title="item.caseName" center :to="{name:'lawEnforcementCaseDetailNew', query: {id:item.id}}"> | ||||
<template #icon> | <template #icon> | ||||
<van-icon name="../../../../static/images/lawEnforcement/new/list_icon_01.png" size="20" color="#FF4646" style="margin-right: 10px;" /> | <van-icon name="../../../../static/images/lawEnforcement/new/list_icon_01.png" size="20" color="#FF4646" style="margin-right: 10px;" /> | ||||
@@ -28,7 +28,7 @@ | |||||
<p>{{item.caseSourceText}}</p> | <p>{{item.caseSourceText}}</p> | ||||
<p>第{{item.belongTeamText}}</p> | <p>第{{item.belongTeamText}}</p> | ||||
<p>{{item.registerDate}}</p> | <p>{{item.registerDate}}</p> | ||||
<p>{{item.caseProgressName}}</p> | |||||
<p>{{ item.caseProgressName}}</p> | |||||
</template> | </template> | ||||
</van-cell> | </van-cell> | ||||
<template #right> | <template #right> | ||||
@@ -43,7 +43,7 @@ | |||||
<van-button v-if="item.caseProgress == 1" color="#FFA63E" square text="提交" type="info" @click="submitCase(item)" class="delete-button" /> | <van-button v-if="item.caseProgress == 1" color="#FFA63E" square text="提交" type="info" @click="submitCase(item)" class="delete-button" /> | ||||
</van-col> | </van-col> | ||||
<van-col> | <van-col> | ||||
<van-button v-if="item.caseProgress != 1" color="#1CB8B1" square type="info" :to="{name:'lawEnforcementCaseEnforceList', query: {id:item.id}}" class="delete-button" >添加<br/>执法<br/>员</van-button> | |||||
<van-button v-if="item.caseProgress != 1" color="#1CB8B1" square type="info" :to="{name:'lawEnforcementCaseEnforceList', query: {id:item.id,belongTeam:item.belongTeam}}" class="delete-button" >添加<br/>执法<br/>员</van-button> | |||||
</van-col> | </van-col> | ||||
</van-row> | </van-row> | ||||
</template> | </template> | ||||
@@ -19,10 +19,11 @@ | |||||
@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:'lawEnforcementCaseDetailNew', query: {id:item.id}}"> | |||||
<van-cell :title="item.caseName" :to="{name:'caseDetail', query: {id:item.id,caseProgress:item.caseProgress}}"> | |||||
<template #label> | <template #label> | ||||
<p>{{item.caseNumPart1}}农 {{item.caseNumPart2}} [{{item.caseNumPart3}}] {{item.caseNum}}号</p> | |||||
<p>{{item.caseProgress}}</p> | |||||
<p v-if="item.caseNum == null">无</p> | |||||
<p v-else>{{item.caseNumPart1}}农 {{item.caseNumPart2}} {{item.caseNumPartType}} [{{item.caseNumPart3}}] {{item.caseNum}}号</p> | |||||
<p>{{item.caseProgressText}}</p> | |||||
</template> | </template> | ||||
</van-cell> | </van-cell> | ||||
<template #right> | <template #right> | ||||
@@ -71,7 +72,7 @@ | |||||
var _this = this; | var _this = this; | ||||
listCase(_this.caseQueryParams).then(response => { | listCase(_this.caseQueryParams).then(response => { | ||||
response.rows.map(res=>{ | 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); | _this.list.push(res); | ||||
}) | }) | ||||
if(_this.list.length >= response.total){ | if(_this.list.length >= response.total){ | ||||
@@ -10,68 +10,68 @@ | |||||
<p>{{caseName}}</p> | <p>{{caseName}}</p> | ||||
</div> | </div> | ||||
<div class="main_box"> | |||||
<div class="main_box" style="margin-bottom: 10px;" v-for="(item,index) in attaCount" :key="index"> | |||||
<van-cell> | <van-cell> | ||||
<template #title> | <template #title> | ||||
<van-icon name="../../../static/images/lawEnforcement/icon/icon_zxfa.png" size="20"></van-icon> | <van-icon name="../../../static/images/lawEnforcement/icon/icon_zxfa.png" size="20"></van-icon> | ||||
<span class="custom-title">登记<i class="bgBlue"></i></span> | |||||
<span class="custom-title">{{item.caseProgressName}}<i class="bgBlue"></i></span> | |||||
</template> | </template> | ||||
</van-cell> | </van-cell> | ||||
<div class="peopleList"> | <div class="peopleList"> | ||||
<van-row v-for="(item,index) in dengjiList" :key="index" > | |||||
<van-row v-for="(itemChildren,indexChildren) in item.caseProgressAttach" :key="indexChildren" > | |||||
<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>{{item[index].substr(27,item[index].length)}}</p> | |||||
<p>{{itemChildren.substr(51,itemChildren.length)}}</p> | |||||
</van-col> | </van-col> | ||||
<van-col :span="4"> | <van-col :span="4"> | ||||
<a :href="'/api'+item[index]">下载</a> | |||||
<a :href="'/api'+itemChildren">下载</a> | |||||
</van-col> | </van-col> | ||||
</van-row> | </van-row> | ||||
<van-empty v-if="dengjiList == null || dengjiList == undefined || dengjiList == '' " description="暂无文件" /> | |||||
<van-empty v-if="item.caseProgressAttach == null || item.caseProgressAttach == undefined || item.caseProgressAttach == '' " description="暂无文件" /> | |||||
</div> | </div> | ||||
</div> | </div> | ||||
<div class="main_box" style="margin-top: 10px;"> | |||||
<van-cell> | |||||
<template #title> | |||||
<van-icon name="../../../static/images/lawEnforcement/icon/icon_kc.png" size="20"></van-icon> | |||||
<span class="custom-title">勘察<i class="bgBlue"></i></span> | |||||
</template> | |||||
</van-cell> | |||||
<div class="peopleList"> | |||||
<van-row v-for="(item,index) in kanchaList" :key="index" > | |||||
<van-col :span="20"> | |||||
<img src="../../../../static/images/lawEnforcement/icon/record_icon_03.png" /> | |||||
<p>{{item[index].substr(27,item[index].length)}}</p> | |||||
</van-col> | |||||
<van-col :span="4"> | |||||
<a :href="'/api'+item[index]">下载</a> | |||||
</van-col> | |||||
</van-row> | |||||
<van-empty v-if="kanchaList == null || kanchaList == undefined || kanchaList == '' " description="暂无文件" /> | |||||
</div> | |||||
</div> | |||||
<!-- <div class="main_box" style="margin-top: 10px;">--> | |||||
<!-- <van-cell>--> | |||||
<!-- <template #title>--> | |||||
<!-- <van-icon name="../../../static/images/lawEnforcement/icon/icon_kc.png" size="20"></van-icon>--> | |||||
<!-- <span class="custom-title">勘察<i class="bgBlue"></i></span>--> | |||||
<!-- </template>--> | |||||
<!-- </van-cell>--> | |||||
<!-- <div class="peopleList">--> | |||||
<!-- <van-row v-for="(item,index) in kanchaList" :key="index" >--> | |||||
<!-- <van-col :span="20">--> | |||||
<!-- <img src="../../../../static/images/lawEnforcement/icon/record_icon_03.png" />--> | |||||
<!-- <p>{{item[index].substr(27,item[index].length)}}</p>--> | |||||
<!-- </van-col>--> | |||||
<!-- <van-col :span="4">--> | |||||
<!-- <a :href="'/api'+item[index]">下载</a>--> | |||||
<!-- </van-col>--> | |||||
<!-- </van-row>--> | |||||
<!-- <van-empty v-if="kanchaList == null || kanchaList == undefined || kanchaList == '' " description="暂无文件" />--> | |||||
<!-- </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> | |||||
<div class="peopleList"> | |||||
<van-row v-for="(item,index) in beianList" :key="index" > | |||||
<van-col :span="20"> | |||||
<img src="../../../../static/images/lawEnforcement/icon/record_icon_03.png"/> | |||||
<p>{{item[index].substr(27,item[index].length)}}</p> | |||||
</van-col> | |||||
<van-col :span="4"> | |||||
<a :href="'/api'+item[index]">下载</a> | |||||
</van-col> | |||||
</van-row> | |||||
<van-empty v-if="beianList == null || beianList == undefined || beianList == '' " description="暂无文件" /> | |||||
</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>--> | |||||
<!-- <div class="peopleList">--> | |||||
<!-- <van-row v-for="(item,index) in beianList" :key="index" >--> | |||||
<!-- <van-col :span="20">--> | |||||
<!-- <img src="../../../../static/images/lawEnforcement/icon/record_icon_03.png"/>--> | |||||
<!-- <p>{{item[index].substr(27,item[index].length)}}</p>--> | |||||
<!-- </van-col>--> | |||||
<!-- <van-col :span="4">--> | |||||
<!-- <a :href="'/api'+item[index]">下载</a>--> | |||||
<!-- </van-col>--> | |||||
<!-- </van-row>--> | |||||
<!-- <van-empty v-if="beianList == null || beianList == undefined || beianList == '' " description="暂无文件" />--> | |||||
<!-- </div>--> | |||||
<!-- </div>--> | |||||
</div> | </div> | ||||
</template> | </template> | ||||
@@ -110,6 +110,7 @@ | |||||
dengjiList:[], | dengjiList:[], | ||||
kanchaList:[], | kanchaList:[], | ||||
beianList:[], | beianList:[], | ||||
attaCount:{} | |||||
}; | }; | ||||
}, | }, | ||||
created() { | created() { | ||||
@@ -129,14 +130,10 @@ | |||||
if (res.caseProgressAttach){ | if (res.caseProgressAttach){ | ||||
res.caseProgressAttach = res.caseProgressAttach.split(','); | 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(){ | goBack(){ | ||||
@@ -17,14 +17,14 @@ | |||||
@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 center :to="{name:'lawEnforcementTaskDetail', query: {id:item.id}}"> | |||||
<van-cell center :to="{name:'caseDetail', query: {id:item.id,caseProgress:item.caseProgress}}"> | |||||
<template #title> | <template #title> | ||||
<span>{{item.caseName}}</span> | <span>{{item.caseName}}</span> | ||||
</template> | </template> | ||||
<template #label> | <template #label> | ||||
<div class="label"> | <div class="label"> | ||||
<p>投诉案件</p> | |||||
<p>{{item.caseProgress}}</p> | |||||
<p>{{item.caseSource}}</p> | |||||
<p>{{item.caseProgressText}}</p> | |||||
</div> | </div> | ||||
</template> | </template> | ||||
</van-cell> | </van-cell> | ||||
@@ -68,7 +68,7 @@ | |||||
var _this = this; | var _this = this; | ||||
listCase(_this.caseQueryParams).then(response => { | listCase(_this.caseQueryParams).then(response => { | ||||
response.rows.map(res=>{ | 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); | res.caseSource = res.caseSource == '' ? '' : this.selectDictLabel(this.caseSourceOptions, res.caseSource); | ||||
_this.list.push(res); | _this.list.push(res); | ||||
}) | }) | ||||
@@ -17,14 +17,14 @@ | |||||
@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 center :to="{name:'lawEnforcementTaskDetail', query: {id:item.id}}"> | |||||
<van-cell center :to="{name:'caseDetail', query: {id:item.id,caseProgress:item.caseProgress}}"> | |||||
<template #title> | <template #title> | ||||
<span>{{item.caseName}}</span> | <span>{{item.caseName}}</span> | ||||
</template> | </template> | ||||
<template #label> | <template #label> | ||||
<div class="label"> | <div class="label"> | ||||
<p>{{item.caseSource}}</p> | <p>{{item.caseSource}}</p> | ||||
<p>{{item.caseProgress}}</p> | |||||
<p>{{item.caseProgressText}}</p> | |||||
</div> | </div> | ||||
</template> | </template> | ||||
</van-cell> | </van-cell> | ||||
@@ -69,7 +69,7 @@ | |||||
var _this = this; | var _this = this; | ||||
listCase(_this.caseQueryParams).then(response => { | listCase(_this.caseQueryParams).then(response => { | ||||
response.rows.map(res=>{ | 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); | res.caseSource = res.caseSource == '' ? '' : this.selectDictLabel(this.caseSourceOptions, res.caseSource); | ||||
_this.list.push(res); | _this.list.push(res); | ||||
}) | }) | ||||
@@ -71,7 +71,11 @@ | |||||
}else{ | }else{ | ||||
res.caseProgressAttach = []; | res.caseProgressAttach = []; | ||||
} | } | ||||
res.caseProgressAttach.map((rr,index)=>{ | res.caseProgressAttach.map((rr,index)=>{ | ||||
if (i == fileForm.length-1){ | |||||
this.openPic2.push(rr) | |||||
} | |||||
res.caseProgressAttach[index] = { | res.caseProgressAttach[index] = { | ||||
url: '/api' + rr, | url: '/api' + rr, | ||||
isImage: true | isImage: true | ||||
@@ -79,12 +83,13 @@ | |||||
}) | }) | ||||
this.fileList.push(res) | this.fileList.push(res) | ||||
}) | }) | ||||
console.log(this.fileList) | |||||
console.log(this.openPic2) | |||||
}); | }); | ||||
}, | }, | ||||
afterRead(file) { | afterRead(file) { | ||||
// 此时可以自行将文件上传至服务器 | // 此时可以自行将文件上传至服务器 | ||||
this.openPic.push(file.file); | this.openPic.push(file.file); | ||||
let params1 = new FormData(); | let params1 = new FormData(); | ||||
params1.append("file", file.file); | params1.append("file", file.file); | ||||
commonUpload(params1).then((r1) => { | commonUpload(params1).then((r1) => { | ||||
@@ -101,7 +106,9 @@ | |||||
attachement: this.openPic2.join(','), // 打卡上传附件(附件的路径字符串,多个附件路径之前通过英文逗号分隔) | attachement: this.openPic2.join(','), // 打卡上传附件(附件的路径字符串,多个附件路径之前通过英文逗号分隔) | ||||
}; | }; | ||||
attachmentEdit(queryParams).then((r1) => { | attachmentEdit(queryParams).then((r1) => { | ||||
if (r1.code == 200){ | |||||
this.$notify({ type: 'success', message: '保存成功' }); | |||||
} | |||||
}) | }) | ||||
} | } | ||||
}, | }, | ||||
@@ -17,7 +17,7 @@ | |||||
<span>{{item.caseName}}</span> | <span>{{item.caseName}}</span> | ||||
<div class="first"> | <div class="first"> | ||||
<span>{{item.caseSource}}</span> | <span>{{item.caseSource}}</span> | ||||
<span>分配时间:{{item.registerDate}}</span> | |||||
<span>分配时间:{{item.handlerSetDate}}</span> | |||||
</div> | </div> | ||||
</template> | </template> | ||||
<template #label> | <template #label> | ||||
@@ -153,17 +153,63 @@ | |||||
<van-col :span="4"> | <van-col :span="4"> | ||||
<div class="icon_box"> | <div class="icon_box"> | ||||
<van-checkbox v-model="item.enforcerLeader" shape="square"></van-checkbox> | <van-checkbox v-model="item.enforcerLeader" shape="square"></van-checkbox> | ||||
<van-icon name="../../../static/images/lawEnforcement/icon/icon_delete.png" size="20" @click="removePeople(index,'CaseHand')"></van-icon> | |||||
<van-icon v-if="caseActive == 1" name="../../../static/images/lawEnforcement/icon/icon_delete.png" size="20" @click="removePeople(index,'CaseHand')"></van-icon> | |||||
</div> | </div> | ||||
</van-col> | </van-col> | ||||
</van-row> | </van-row> | ||||
<img src="../../../../static/images/lawEnforcement/new/addPeop_btn.png" style="margin: 0 auto;" @click="enforceType = 'CaseHand',$router.push({name:'lawEnforcementCaseLawEnforcer'})"> | |||||
<img v-if="caseActive == 1" src="../../../../static/images/lawEnforcement/new/addPeop_btn.png" style="margin: 0 auto;" @click="enforceType = 'CaseHand',$router.push({name:'lawEnforcementCaseLawEnforcer'})"> | |||||
</div> | </div> | ||||
</van-collapse-item> | </van-collapse-item> | ||||
</van-collapse> | </van-collapse> | ||||
</div> | </div> | ||||
<van-form :readonly="caseProgress != 1 || (surveyForm.instanceId!='' && surveyForm.instanceId!=null && surveyForm.instanceId!=undefined)"> | <van-form :readonly="caseProgress != 1 || (surveyForm.instanceId!='' && surveyForm.instanceId!=null && surveyForm.instanceId!=undefined)"> | ||||
<div class="main_box"> | |||||
<van-cell> | |||||
<template #title> | |||||
<van-icon name="../../../static/images/lawEnforcement/icon/icon_xckc.png" size="20"></van-icon> | |||||
<span class="custom-title">现场检查<i class="bgBlue"></i></span> | |||||
</template> | |||||
</van-cell> | |||||
<van-field | |||||
readonly | |||||
clickable | |||||
required | |||||
:rules="[{ required: true , message:'请选择勘察开始时间'}]" | |||||
v-model="surveyForm.surveyStartTime" | |||||
label="勘察开始时间" | |||||
placeholder="请选择勘察开始时间" | |||||
@click="showSurveyStartTime = true" | |||||
input-align="right" | |||||
right-icon="arrow-down" | |||||
label-width="auto" | |||||
/> | |||||
<van-field | |||||
readonly | |||||
clickable | |||||
required | |||||
:rules="[{ required: true , message:'请选择勘察结束时间'}]" | |||||
v-model="surveyForm.surveyEndTime" | |||||
label="勘察结束时间" | |||||
placeholder="请选择勘察结束时间" | |||||
@click="showSurveyEndTime = true" | |||||
input-align="right" | |||||
right-icon="arrow-down" | |||||
label-width="auto" | |||||
/> | |||||
<van-field input-align="right" label-width="auto" label="当事人" placeholder="当事人" v-model="surveyForm.dangshiren" /> | |||||
<van-field input-align="right" label-width="auto" label="记录人" placeholder="记录人" v-model="surveyForm.recorder" /> | |||||
<van-field input-align="right" label-width="auto" label="检查(勘察)地点" placeholder="检查(勘察)地点" v-model="surveyForm.surveyAddr" /> | |||||
<van-field readonly input-align="right" label-width="auto" label="现场检查(勘察)情况"/> | |||||
<van-field v-model="surveyForm.surveyDescription" rows="2" autosize type="textarea" placeholder="现场检查(勘察)情况" /> | |||||
</div> | |||||
<div class="main_box"> | <div class="main_box"> | ||||
<van-cell> | <van-cell> | ||||
<template #title> | <template #title> | ||||
@@ -311,7 +357,7 @@ | |||||
label-width="auto" | label-width="auto" | ||||
/> | /> | ||||
<van-field v-if="surveyForm.instanceId==''&&surveyForm.surveyResult!=1" readonly input-align="right" label-width="auto" label="案件编号" placeholder="案件编号" v-model="surveyForm.caseNumPart1 + '农(' + surveyForm.caseNumPart2 + ')' + surveyForm.caseNumPartType + '[' + surveyForm.caseNumPart3 + ']' +surveyForm.caseNum + '号'" /> | |||||
<van-field v-if="(surveyForm.instanceId=='' || caseProgress == 1)&&surveyForm.surveyResult!=1" readonly input-align="right" label-width="auto" label="案件编号" placeholder="案件编号" v-model="surveyForm.caseNumPart1 + '农(' + surveyForm.caseNumPart2 + ')' + surveyForm.caseNumPartType + '[' + surveyForm.caseNumPart3 + ']' +surveyForm.caseNum + '号'" /> | |||||
</div> | </div> | ||||
@@ -377,12 +423,12 @@ | |||||
<van-col :span="4"> | <van-col :span="4"> | ||||
<div class="icon_box"> | <div class="icon_box"> | ||||
<van-checkbox v-model="item.enforcerLeader" shape="square"></van-checkbox> | <van-checkbox v-model="item.enforcerLeader" shape="square"></van-checkbox> | ||||
<van-icon name="../../../static/images/lawEnforcement/icon/icon_delete.png" size="20" @click="removePeople(index,'PutRecord')"></van-icon> | |||||
<van-icon v-if="caseActive == 2" name="../../../static/images/lawEnforcement/icon/icon_delete.png" size="20" @click="removePeople(index,'PutRecord')"></van-icon> | |||||
</div> | </div> | ||||
</van-col> | </van-col> | ||||
</van-row> | </van-row> | ||||
<!-- @click="$router.push({name:'lawEnforcementCaseLawEnforcer'})" v-if="caseProgress == 2 && ( putRecordForm.instanceId=='' || putRecordForm.instanceId==null || putRecordForm.instanceId==undefined )"--> | <!-- @click="$router.push({name:'lawEnforcementCaseLawEnforcer'})" v-if="caseProgress == 2 && ( putRecordForm.instanceId=='' || putRecordForm.instanceId==null || putRecordForm.instanceId==undefined )"--> | ||||
<img src="../../../../static/images/lawEnforcement/new/addPeop_btn.png" style="margin: 0 auto;" @click="enforceType = 'PutRecord',$router.push({name:'lawEnforcementCaseLawEnforcer'})"> | |||||
<img v-if="caseActive == 2" src="../../../../static/images/lawEnforcement/new/addPeop_btn.png" style="margin: 0 auto;" @click="enforceType = 'PutRecord',$router.push({name:'lawEnforcementCaseLawEnforcer'})"> | |||||
</div> | </div> | ||||
</van-collapse-item> | </van-collapse-item> | ||||
</van-collapse> | </van-collapse> | ||||
@@ -442,6 +488,8 @@ | |||||
</template> | </template> | ||||
</van-field> | </van-field> | ||||
<van-field v-if="putRecordForm.savePlace==2" v-model="putRecordForm.savePlaceAddress" rows="2" autosize type="textarea" placeholder="请输入异地具体保存地址" /> | |||||
<van-field readonly input-align="right" label-width="auto" label="现场情况"/> | <van-field readonly input-align="right" label-width="auto" label="现场情况"/> | ||||
<van-field v-model="putRecordForm.sceneCondition" rows="2" autosize type="textarea" placeholder="现场情况" /> | <van-field v-model="putRecordForm.sceneCondition" rows="2" autosize type="textarea" placeholder="现场情况" /> | ||||
@@ -450,18 +498,18 @@ | |||||
<van-field input-align="right" label-width="auto" label="诉讼单位" placeholder="诉讼单位" v-model="putRecordForm.lawsuitDept" /> | <van-field input-align="right" label-width="auto" label="诉讼单位" placeholder="诉讼单位" v-model="putRecordForm.lawsuitDept" /> | ||||
<div class="peopleList cf"> | <div class="peopleList cf"> | ||||
<van-row> | <van-row> | ||||
<van-col :span="5">财务名称</van-col> | |||||
<van-col :span="5">财物名称</van-col> | |||||
<van-col :span="3">规格</van-col> | <van-col :span="3">规格</van-col> | ||||
<van-col :span="3">数量</van-col> | <van-col :span="3">数量</van-col> | ||||
<van-col :span="6">生产日期</van-col> | |||||
<van-col :span="6">生产日期(批号)</van-col> | |||||
<van-col :span="7">生产经营单位</van-col> | <van-col :span="7">生产经营单位</van-col> | ||||
</van-row> | </van-row> | ||||
<van-row v-for="(item,index) in tEnforceDetainHandlerList" :key="index"> | <van-row v-for="(item,index) in tEnforceDetainHandlerList" :key="index"> | ||||
<van-col :span="5"><van-field input-align="center" placeholder="财务名称" v-model="item.name" /></van-col> | |||||
<van-col :span="5"><van-field input-align="center" placeholder="财物名称" v-model="item.name" /></van-col> | |||||
<van-col :span="3"><van-field input-align="center" placeholder="规格" v-model="item.size" /></van-col> | <van-col :span="3"><van-field input-align="center" placeholder="规格" v-model="item.size" /></van-col> | ||||
<van-col :span="3"><van-field input-align="center" placeholder="数量" v-model="item.propertyNum" /></van-col> | <van-col :span="3"><van-field input-align="center" placeholder="数量" v-model="item.propertyNum" /></van-col> | ||||
<van-col :span="6"><van-field input-align="center" placeholder="生产日期" v-model="item.productTimeNum" /></van-col> | |||||
<van-col :span="6"><van-field input-align="center" placeholder="生产日期(批号)" v-model="item.productTimeNum" /></van-col> | |||||
<van-col :span="7"><van-field input-align="center" placeholder="生产经营单位" v-model="item.productUnit" /></van-col> | <van-col :span="7"><van-field input-align="center" placeholder="生产经营单位" v-model="item.productUnit" /></van-col> | ||||
</van-row> | </van-row> | ||||
<img src="../../../../static/images/lawEnforcement/new/addFinance_btn.png" style="margin: 0 auto;" @click="addFinance" v-if="caseProgress == 2 && ( putRecordForm.instanceId=='' || putRecordForm.instanceId==null || putRecordForm.instanceId==undefined )"> | <img src="../../../../static/images/lawEnforcement/new/addFinance_btn.png" style="margin: 0 auto;" @click="addFinance" v-if="caseProgress == 2 && ( putRecordForm.instanceId=='' || putRecordForm.instanceId==null || putRecordForm.instanceId==undefined )"> | ||||
@@ -583,22 +631,6 @@ | |||||
<van-cell title="抽样产品附件" /> | <van-cell title="抽样产品附件" /> | ||||
<van-uploader v-model="item.attachementList" :after-read="afterReadAttachement(index)" :before-delete="deleteFileAttachement(index)" :show-upload="caseProgress == 2 && ( putRecordForm.instanceId=='' || putRecordForm.instanceId==null || putRecordForm.instanceId==undefined )" :deletable="caseProgress == 2 && ( putRecordForm.instanceId=='' || putRecordForm.instanceId==null || putRecordForm.instanceId==undefined )" /> | <van-uploader v-model="item.attachementList" :after-read="afterReadAttachement(index)" :before-delete="deleteFileAttachement(index)" :show-upload="caseProgress == 2 && ( putRecordForm.instanceId=='' || putRecordForm.instanceId==null || putRecordForm.instanceId==undefined )" :deletable="caseProgress == 2 && ( putRecordForm.instanceId=='' || putRecordForm.instanceId==null || putRecordForm.instanceId==undefined )" /> | ||||
<!-- :show-upload="caseProgress == 2 && ( putRecordForm.instanceId=='' || putRecordForm.instanceId==null || putRecordForm.instanceId==undefined )" :deletable="caseProgress == 1 && ( putRecordForm.instanceId=='' || putRecordForm.instanceId==null || putRecordForm.instanceId==undefined )"--> | <!-- :show-upload="caseProgress == 2 && ( putRecordForm.instanceId=='' || putRecordForm.instanceId==null || putRecordForm.instanceId==undefined )" :deletable="caseProgress == 1 && ( putRecordForm.instanceId=='' || putRecordForm.instanceId==null || putRecordForm.instanceId==undefined )"--> | ||||
<div class="cf"> | |||||
<van-row> | |||||
<van-col :span="6"> | |||||
<van-image src="../../../../static/images/lawEnforcement/icon/icon_fj.png" width="50" /> | |||||
<p>产品确认</p> | |||||
<p>通知书</p> | |||||
</van-col> | |||||
<van-col :span="6"> | |||||
<van-image src="../../../../static/images/lawEnforcement/icon/icon_fj.png" width="50" /> | |||||
<p>抽样取证</p> | |||||
<p>凭证</p> | |||||
</van-col> | |||||
<van-col :span="6"></van-col> | |||||
<van-col :span="6"></van-col> | |||||
</van-row> | |||||
</div> | |||||
</div> | </div> | ||||
<div style="text-align: center;margin-bottom: 10px;"> | <div style="text-align: center;margin-bottom: 10px;"> | ||||
<img src="../../../../static/images/lawEnforcement/new/addGoods_btn.png" style="margin: 0 auto;" @click="addGoods" v-if="caseProgress == 2 && ( putRecordForm.instanceId=='' || putRecordForm.instanceId==null || putRecordForm.instanceId==undefined )"> | <img src="../../../../static/images/lawEnforcement/new/addGoods_btn.png" style="margin: 0 auto;" @click="addGoods" v-if="caseProgress == 2 && ( putRecordForm.instanceId=='' || putRecordForm.instanceId==null || putRecordForm.instanceId==undefined )"> | ||||
@@ -678,12 +710,12 @@ | |||||
<van-col :span="4"> | <van-col :span="4"> | ||||
<div class="icon_box"> | <div class="icon_box"> | ||||
<van-checkbox v-model="item.enforcerLeader" shape="square"></van-checkbox> | <van-checkbox v-model="item.enforcerLeader" shape="square"></van-checkbox> | ||||
<van-icon name="../../../static/images/lawEnforcement/icon/icon_delete.png" size="20" @click="removePeople(index,'evidence')"></van-icon> | |||||
<van-icon v-if="caseActive == 3" name="../../../static/images/lawEnforcement/icon/icon_delete.png" size="20" @click="removePeople(index,'evidence')"></van-icon> | |||||
</div> | </div> | ||||
</van-col> | </van-col> | ||||
</van-row> | </van-row> | ||||
<!-- @click="$router.push({name:'lawEnforcementCaseLawEnforcer'})" v-if="caseProgress == 2 && ( putRecordForm.instanceId=='' || putRecordForm.instanceId==null || putRecordForm.instanceId==undefined )"--> | <!-- @click="$router.push({name:'lawEnforcementCaseLawEnforcer'})" v-if="caseProgress == 2 && ( putRecordForm.instanceId=='' || putRecordForm.instanceId==null || putRecordForm.instanceId==undefined )"--> | ||||
<img src="../../../../static/images/lawEnforcement/new/addPeop_btn.png" style="margin: 0 auto;" @click="enforceType = 'evidence',$router.push({name:'lawEnforcementCaseLawEnforcer'})"> | |||||
<img v-if="caseActive == 3" src="../../../../static/images/lawEnforcement/new/addPeop_btn.png" style="margin: 0 auto;" @click="enforceType = 'evidence',$router.push({name:'lawEnforcementCaseLawEnforcer'})"> | |||||
</div> | </div> | ||||
</van-collapse-item> | </van-collapse-item> | ||||
</van-collapse> | </van-collapse> | ||||
@@ -1285,7 +1317,7 @@ | |||||
<van-popup v-model="showAskStartTime" position="bottom"> | <van-popup v-model="showAskStartTime" position="bottom"> | ||||
<van-datetime-picker | <van-datetime-picker | ||||
v-model="askStartTime" | v-model="askStartTime" | ||||
type="date" | |||||
type="datetime" | |||||
title="选择年月日" | title="选择年月日" | ||||
@confirm="onConfirmAskStartTime" | @confirm="onConfirmAskStartTime" | ||||
@cancel="showAskStartTime = false" | @cancel="showAskStartTime = false" | ||||
@@ -1295,7 +1327,7 @@ | |||||
<van-popup v-model="showAskEndTime" position="bottom"> | <van-popup v-model="showAskEndTime" position="bottom"> | ||||
<van-datetime-picker | <van-datetime-picker | ||||
v-model="askEndTime" | v-model="askEndTime" | ||||
type="date" | |||||
type="datetime" | |||||
title="选择年月日" | title="选择年月日" | ||||
@confirm="onConfirmAskEndTime" | @confirm="onConfirmAskEndTime" | ||||
@cancel="showAskEndTime = false" | @cancel="showAskEndTime = false" | ||||
@@ -1382,6 +1414,26 @@ | |||||
/> | /> | ||||
</van-popup> | </van-popup> | ||||
<van-popup v-model="showSurveyStartTime" position="bottom" get-container="#app"> | |||||
<van-datetime-picker | |||||
v-model="confirmSurveyStartTime" | |||||
type="datetime" | |||||
title="选择年月日" | |||||
@confirm="onConfirmSurveyStartTime" | |||||
@cancel="showSurveyStartTime = false" | |||||
/> | |||||
</van-popup> | |||||
<van-popup v-model="showSurveyEndTime" position="bottom" get-container="#app"> | |||||
<van-datetime-picker | |||||
v-model="confirmSurveyEndTime" | |||||
type="datetime" | |||||
title="选择年月日" | |||||
@confirm="onConfirmSurveyEndTime" | |||||
@cancel="showSurveyEndTime = false" | |||||
/> | |||||
</van-popup> | |||||
<van-popup v-model="showSurveyResult" position="bottom"> | <van-popup v-model="showSurveyResult" position="bottom"> | ||||
<van-picker | <van-picker | ||||
show-toolbar | show-toolbar | ||||
@@ -1451,6 +1503,9 @@ export default { | |||||
showTimeliness:false, | showTimeliness:false, | ||||
showProductTimeNum:false, | showProductTimeNum:false, | ||||
showConfirmTimeliness:false, | showConfirmTimeliness:false, | ||||
showSurveyStartTime:false, | |||||
showSurveyEndTime:false, | |||||
form:{}, | form:{}, | ||||
caseProgress:0, | caseProgress:0, | ||||
caseActive:0, | caseActive:0, | ||||
@@ -1493,6 +1548,9 @@ export default { | |||||
timeliness:new Date(), | timeliness:new Date(), | ||||
productTimeNum:new Date(), | productTimeNum:new Date(), | ||||
confirmTimeliness:new Date(), | confirmTimeliness:new Date(), | ||||
confirmSurveyStartTime:new Date(), | |||||
confirmSurveyEndTime:new Date(), | |||||
fileList: [ | fileList: [ | ||||
{ url: 'https://img01.yzcdn.cn/vant/leaf.jpg' }, | { url: 'https://img01.yzcdn.cn/vant/leaf.jpg' }, | ||||
// Uploader 根据文件后缀来判断是否为图片文件 | // Uploader 根据文件后缀来判断是否为图片文件 | ||||
@@ -2069,7 +2127,9 @@ export default { | |||||
_this.tEnforceCaseHandlerList = responseSurvey.data.tEnforceCaseHandlerList; | _this.tEnforceCaseHandlerList = responseSurvey.data.tEnforceCaseHandlerList; | ||||
responseSurvey.data.tEnforceCaseHandlerList.map((responseEnforce,index)=>{ | responseSurvey.data.tEnforceCaseHandlerList.map((responseEnforce,index)=>{ | ||||
let data = { | let data = { | ||||
enforcerId : responseEnforce.enforcerId | |||||
enforcerId : responseEnforce.enforcerId, | |||||
caseId:this.form.id, | |||||
relationType: "2" | |||||
} | } | ||||
enforceLockinCount(data).then(resEnforceLockin => { | enforceLockinCount(data).then(resEnforceLockin => { | ||||
_this.$set(_this.tEnforceCaseHandlerList[index],"num",resEnforceLockin.data) | _this.$set(_this.tEnforceCaseHandlerList[index],"num",resEnforceLockin.data) | ||||
@@ -2119,7 +2179,7 @@ export default { | |||||
} | } | ||||
_this.putRecordForm = responsePutRecord.data; | _this.putRecordForm = responsePutRecord.data; | ||||
// _this.tEnforcePutRecordHandlerList = responsePutRecord.data.tEnforceCaseHandlerList == null ? [] : responsePutRecord.data.tEnforceCaseHandlerList; | // _this.tEnforcePutRecordHandlerList = responsePutRecord.data.tEnforceCaseHandlerList == null ? [] : responsePutRecord.data.tEnforceCaseHandlerList; | ||||
if (responsePutRecord.data.instanceId == ''){ | |||||
if (responsePutRecord.data.id == ''){ | |||||
// 立案表单没有保存之前,办理人员默认获取上一节点勘察的办理人员列表 | // 立案表单没有保存之前,办理人员默认获取上一节点勘察的办理人员列表 | ||||
const queryEnforcerParams = { | const queryEnforcerParams = { | ||||
@@ -2132,7 +2192,9 @@ export default { | |||||
if (responseHandlerList.data){ | if (responseHandlerList.data){ | ||||
responseHandlerList.data.map((responseEnforce,index)=>{ | responseHandlerList.data.map((responseEnforce,index)=>{ | ||||
let data = { | let data = { | ||||
enforcerId : responseEnforce.enforcerId | |||||
enforcerId : responseEnforce.enforcerId, | |||||
caseId:this.form.id, | |||||
relationType: "3" | |||||
} | } | ||||
enforceLockinCount(data).then(resEnforceLockin => { | enforceLockinCount(data).then(resEnforceLockin => { | ||||
_this.$set(_this.tEnforcePutRecordHandlerList[index],"num",resEnforceLockin.data) | _this.$set(_this.tEnforcePutRecordHandlerList[index],"num",resEnforceLockin.data) | ||||
@@ -2146,7 +2208,9 @@ export default { | |||||
if (responsePutRecord.data.tEnforceCaseHandlerList){ | if (responsePutRecord.data.tEnforceCaseHandlerList){ | ||||
responsePutRecord.data.tEnforceCaseHandlerList.map((responseEnforce,index)=>{ | responsePutRecord.data.tEnforceCaseHandlerList.map((responseEnforce,index)=>{ | ||||
let data = { | let data = { | ||||
enforcerId : responseEnforce.enforcerId | |||||
enforcerId : responseEnforce.enforcerId, | |||||
caseId:this.form.id, | |||||
relationType: "3" | |||||
} | } | ||||
enforceLockinCount(data).then(resEnforceLockin => { | enforceLockinCount(data).then(resEnforceLockin => { | ||||
_this.$set(_this.tEnforcePutRecordHandlerList[index],"num",resEnforceLockin.data) | _this.$set(_this.tEnforcePutRecordHandlerList[index],"num",resEnforceLockin.data) | ||||
@@ -2231,7 +2295,7 @@ export default { | |||||
_this.evidenceForm = responseEvidence.data; | _this.evidenceForm = responseEvidence.data; | ||||
if (responseEvidence.data.instanceId == ''){ | |||||
if (responseEvidence.data.id == ''){ | |||||
// 取证表单没有保存之前,办理人员默认获取上一节点立案的办理人员列表 | // 取证表单没有保存之前,办理人员默认获取上一节点立案的办理人员列表 | ||||
const queryEnforcerParams = { | const queryEnforcerParams = { | ||||
@@ -2245,7 +2309,9 @@ export default { | |||||
if (responseHandlerList.data){ | if (responseHandlerList.data){ | ||||
responseHandlerList.data.map((responseEnforce,index)=>{ | responseHandlerList.data.map((responseEnforce,index)=>{ | ||||
let data = { | let data = { | ||||
enforcerId : responseEnforce.enforcerId | |||||
enforcerId : responseEnforce.enforcerId, | |||||
caseId:this.form.id, | |||||
relationType: "4" | |||||
} | } | ||||
enforceLockinCount(data).then(resEnforceLockin => { | enforceLockinCount(data).then(resEnforceLockin => { | ||||
_this.$set(_this.tEnforceEvidenceHandlerList[index],"num",resEnforceLockin.data) | _this.$set(_this.tEnforceEvidenceHandlerList[index],"num",resEnforceLockin.data) | ||||
@@ -2259,7 +2325,9 @@ export default { | |||||
if (responseEvidence.data.tEnforceCaseHandlerList){ | if (responseEvidence.data.tEnforceCaseHandlerList){ | ||||
responseEvidence.data.tEnforceCaseHandlerList.map((responseEnforce,index)=>{ | responseEvidence.data.tEnforceCaseHandlerList.map((responseEnforce,index)=>{ | ||||
let data = { | let data = { | ||||
enforcerId : responseEnforce.enforcerId | |||||
enforcerId : responseEnforce.enforcerId, | |||||
caseId:this.form.id, | |||||
relationType: "4" | |||||
} | } | ||||
enforceLockinCount(data).then(resEnforceLockin => { | enforceLockinCount(data).then(resEnforceLockin => { | ||||
_this.$set(_this.tEnforceEvidenceHandlerList[index],"num",resEnforceLockin.data) | _this.$set(_this.tEnforceEvidenceHandlerList[index],"num",resEnforceLockin.data) | ||||
@@ -2497,7 +2565,6 @@ export default { | |||||
console.log(this.form) | console.log(this.form) | ||||
if((this.form.caseStatus == "2" || this.form.caseStatus == "3") && | if((this.form.caseStatus == "2" || this.form.caseStatus == "3") && | ||||
(this.form.caseProgress=="8" || this.form.caseProgress=="9")){ | (this.form.caseProgress=="8" || this.form.caseProgress=="9")){ | ||||
console.log("a") | |||||
// 已结束备案或者结案阶段的案件,查询显示已保存案件的历史流程节点 | // 已结束备案或者结案阶段的案件,查询显示已保存案件的历史流程节点 | ||||
var progressParam = { | var progressParam = { | ||||
"caseId": this.form.id | "caseId": this.form.id | ||||
@@ -2665,13 +2732,13 @@ export default { | |||||
}, | }, | ||||
onConfirmAskStartTime(data){ | 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.askStartTime = data; | ||||
this.showAskStartTime = false; | this.showAskStartTime = false; | ||||
}, | }, | ||||
onConfirmAskEndTime(data){ | 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.askEndTime = data; | ||||
this.showAskEndTime = false; | this.showAskEndTime = false; | ||||
}, | }, | ||||
@@ -2756,6 +2823,18 @@ export default { | |||||
this.showConfirmTimeliness = false; | 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(){ | addFinance(){ | ||||
this.tEnforceDetainHandlerList.push({}) | this.tEnforceDetainHandlerList.push({}) | ||||
}, | }, | ||||
@@ -2814,16 +2893,27 @@ export default { | |||||
}, | }, | ||||
preservation(){ | preservation(){ | ||||
this.tEnforceCaseHandlerList.map(res=>{ | |||||
res.relationType = '2'; | |||||
}) | |||||
this.surveyForm.tEnforceCaseHandlerList = this.tEnforceCaseHandlerList; | this.surveyForm.tEnforceCaseHandlerList = this.tEnforceCaseHandlerList; | ||||
this.surveyForm.attachement = this.openPic2.join(','); | this.surveyForm.attachement = this.openPic2.join(','); | ||||
if (this.surveyForm.id != null) { | if (this.surveyForm.id != null) { | ||||
updateSurvey(this.surveyForm).then(response => { | updateSurvey(this.surveyForm).then(response => { | ||||
this.$notify({ type: 'success', message: '修改成功' }); | this.$notify({ type: 'success', message: '修改成功' }); | ||||
setTimeout(function(){ | |||||
history.back(-1); | |||||
},2000) | |||||
}); | }); | ||||
} else { | } else { | ||||
addSurvey(this.surveyForm).then(response => { | addSurvey(this.surveyForm).then(response => { | ||||
this.$notify({ type: 'success', message: '新增成功' }); | this.$notify({ type: 'success', message: '新增成功' }); | ||||
this.surveyForm.id = response.data; | this.surveyForm.id = response.data; | ||||
setTimeout(function(){ | |||||
history.back(-1); | |||||
},2000) | |||||
}); | }); | ||||
} | } | ||||
}, | }, | ||||
@@ -2844,7 +2934,11 @@ export default { | |||||
method: 'post', | method: 'post', | ||||
}); | }); | ||||
}).then(() => { | }).then(() => { | ||||
this.$notify({ type: 'success', message: '设置成功' }); | |||||
this.$notify({ type: 'success', message: '提交成功' }); | |||||
setTimeout(function(){ | |||||
history.back(-1); | |||||
},2000) | |||||
}) | }) | ||||
} else { | } else { | ||||
// 不审批直接更新进度到备案 | // 不审批直接更新进度到备案 | ||||
@@ -2885,7 +2979,11 @@ export default { | |||||
// 更新案件的节点和状态 | // 更新案件的节点和状态 | ||||
updateCase(caseParam).then(response => { | updateCase(caseParam).then(response => { | ||||
addProgress(progressParam).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() { | submitPutRecordForm() { | ||||
this.tEnforcePutRecordHandlerList.map(res=>{ | |||||
res.relationType = '3'; | |||||
}) | |||||
// 办理人员列表 | // 办理人员列表 | ||||
this.putRecordForm.tEnforceCaseHandlerList = this.tEnforcePutRecordHandlerList; | this.putRecordForm.tEnforceCaseHandlerList = this.tEnforcePutRecordHandlerList; | ||||
// 查封扣押财物列表 | // 查封扣押财物列表 | ||||
@@ -2929,6 +3031,10 @@ export default { | |||||
updateSampling(this.samplingForm).then(responseSampling => { | updateSampling(this.samplingForm).then(responseSampling => { | ||||
if (responseSampling.code == "200") { | if (responseSampling.code == "200") { | ||||
this.$notify({ type: 'success', message: '修改成功' }); | this.$notify({ type: 'success', message: '修改成功' }); | ||||
setTimeout(function(){ | |||||
history.back(-1); | |||||
},2000) | |||||
} | } | ||||
}); | }); | ||||
} else { | } else { | ||||
@@ -2936,6 +3042,10 @@ export default { | |||||
if (responseSampling.code == "200") { | if (responseSampling.code == "200") { | ||||
this.$notify({ type: 'success', message: '新增成功' }); | this.$notify({ type: 'success', message: '新增成功' }); | ||||
_this.samplingForm.id = responseSampling.data; | _this.samplingForm.id = responseSampling.data; | ||||
setTimeout(function(){ | |||||
history.back(-1); | |||||
},2000) | |||||
} | } | ||||
}); | }); | ||||
} | } | ||||
@@ -2950,6 +3060,10 @@ export default { | |||||
this.$notify({ type: 'success', message: '新增成功' }); | this.$notify({ type: 'success', message: '新增成功' }); | ||||
_this.putRecordForm.id = responsePutrecord.data; | _this.putRecordForm.id = responsePutrecord.data; | ||||
_this.samplingForm.id = responseSampling.data; | _this.samplingForm.id = responseSampling.data; | ||||
setTimeout(function(){ | |||||
history.back(-1); | |||||
},2000) | |||||
} | } | ||||
}); | }); | ||||
_this.putRecordDiglogStatus = false; | _this.putRecordDiglogStatus = false; | ||||
@@ -2973,7 +3087,11 @@ export default { | |||||
method: 'post', | method: 'post', | ||||
}); | }); | ||||
}).then(() => { | }).then(() => { | ||||
this.$notify({ type: 'success', message: '设置成功' }); | |||||
this.$notify({ type: 'success', message: '提交成功' }); | |||||
setTimeout(function(){ | |||||
history.back(-1); | |||||
},2000) | |||||
}) | }) | ||||
} | } | ||||
}, | }, | ||||
@@ -2981,6 +3099,9 @@ export default { | |||||
/** 案件取证提交按钮 */ | /** 案件取证提交按钮 */ | ||||
submitEvidenceForm() { | submitEvidenceForm() { | ||||
this.surveyDiglogStatus = false; | this.surveyDiglogStatus = false; | ||||
this.tEnforceEvidenceHandlerList.map(res=>{ | |||||
res.relationType = '4'; | |||||
}) | |||||
this.evidenceForm.tEnforceCaseHandlerList = this.tEnforceEvidenceHandlerList; | this.evidenceForm.tEnforceCaseHandlerList = this.tEnforceEvidenceHandlerList; | ||||
this.evidenceForm.detectResults = this.detectResults; | this.evidenceForm.detectResults = this.detectResults; | ||||
console.log(this.evidenceForm.detectResults) | console.log(this.evidenceForm.detectResults) | ||||
@@ -2996,15 +3117,23 @@ export default { | |||||
if (this.evidenceForm.id != null) { | if (this.evidenceForm.id != null) { | ||||
this.surveyDiglogStatus = true; | this.surveyDiglogStatus = true; | ||||
updateEvidence(this.evidenceForm).then(response => { | updateEvidence(this.evidenceForm).then(response => { | ||||
this.$notify({ type: 'success', message: '修改成功' }); | |||||
this.$notify({ type: 'success', message: '提交成功' }); | |||||
this.surveyDiglogStatus = false; | this.surveyDiglogStatus = false; | ||||
setTimeout(function(){ | |||||
history.back(-1); | |||||
},2000) | |||||
}); | }); | ||||
} else { | } else { | ||||
this.surveyDiglogStatus = true; | this.surveyDiglogStatus = true; | ||||
addEvidence(this.evidenceForm).then(response => { | addEvidence(this.evidenceForm).then(response => { | ||||
this.$notify({ type: 'success', message: '新增成功' }); | |||||
this.$notify({ type: 'success', message: '提交成功' }); | |||||
this.evidenceForm.id = response.data; | this.evidenceForm.id = response.data; | ||||
this.surveyDiglogStatus = false; | this.surveyDiglogStatus = false; | ||||
setTimeout(function(){ | |||||
history.back(-1); | |||||
},2000) | |||||
}); | }); | ||||
} | } | ||||
}, | }, | ||||
@@ -3024,8 +3153,12 @@ export default { | |||||
method: 'post', | method: 'post', | ||||
}); | }); | ||||
}).then(() => { | }).then(() => { | ||||
this.$notify({ type: 'success', message: '设置成功' }); | |||||
this.$notify({ type: 'success', message: '提交成功' }); | |||||
this.cancel(); | this.cancel(); | ||||
setTimeout(function(){ | |||||
history.back(-1); | |||||
},2000) | |||||
}) | }) | ||||
} | } | ||||
}, | }, | ||||
@@ -98,7 +98,9 @@ | |||||
}, | }, | ||||
goSubmit(){ | goSubmit(){ | ||||
this.list = []; | this.list = []; | ||||
this.getList(); | |||||
this.queryParams.pageNum = 1 ; | |||||
this.finished = false; | |||||
this.loading = false; | |||||
} | } | ||||
}, | }, | ||||
} | } | ||||
@@ -104,7 +104,9 @@ | |||||
}, | }, | ||||
goSubmit(){ | goSubmit(){ | ||||
this.list = []; | this.list = []; | ||||
this.getList(); | |||||
this.queryParams.pageNum = 1 ; | |||||
this.finished = false; | |||||
this.loading = false; | |||||
} | } | ||||
}, | }, | ||||
} | } | ||||
@@ -169,7 +169,10 @@ | |||||
}, | }, | ||||
goSubmit(){ | goSubmit(){ | ||||
this.list = []; | this.list = []; | ||||
this.getList(); | |||||
this.queryParams.pageNum = 1 ; | |||||
this.finished = false; | |||||
this.loading = false; | |||||
// this.getList(); | |||||
} | } | ||||
}, | }, | ||||
} | } | ||||
@@ -103,7 +103,9 @@ | |||||
}, | }, | ||||
goSubmit(){ | goSubmit(){ | ||||
this.list = []; | this.list = []; | ||||
this.getList(); | |||||
this.queryParams.pageNum = 1 ; | |||||
this.finished = false; | |||||
this.loading = false; | |||||
} | } | ||||
}, | }, | ||||
} | } | ||||
@@ -99,7 +99,9 @@ | |||||
}, | }, | ||||
goSubmit(){ | goSubmit(){ | ||||
this.list = []; | this.list = []; | ||||
this.getList(); | |||||
this.queryParams.pageNum = 1 ; | |||||
this.finished = false; | |||||
this.loading = false; | |||||
} | } | ||||
}, | }, | ||||
} | } | ||||
@@ -98,7 +98,9 @@ | |||||
}, | }, | ||||
goSubmit(){ | goSubmit(){ | ||||
this.list = []; | this.list = []; | ||||
this.getList(); | |||||
this.queryParams.pageNum = 1 ; | |||||
this.finished = false; | |||||
this.loading = false; | |||||
} | } | ||||
}, | }, | ||||
} | } | ||||