Ver código fonte

农业执法

wulanhaote
庞东旭 2 anos atrás
pai
commit
3a5d58dc03
3 arquivos alterados com 36 adições e 9 exclusões
  1. +20
    -5
      src/views/lawEnforcement/caseAllocation/caseAdd.vue
  2. +11
    -1
      src/views/lawEnforcement/caseAllocation/caseListNew.vue
  3. +5
    -3
      src/views/lawEnforcement/task/taskHandle.vue

+ 20
- 5
src/views/lawEnforcement/caseAllocation/caseAdd.vue Ver arquivo

@@ -179,8 +179,8 @@
</template>
</van-field>
<div v-if="form.type=='1'">
<van-field v-model="form.name" @input="nameChange" @blur="showPopover = false" required :rules="[{ required: true , message:'请输入当事人姓名' }]" label="当事人姓名" placeholder="请输入当事人姓名" :border="false" label-width="auto" input-align="right" />
<van-field v-model="form.name" @input="nameChange" required :rules="[{ required: true , message:'请输入当事人姓名' }]" label="当事人姓名" placeholder="请输入当事人姓名" :border="false" label-width="auto" input-align="right" />
<!-- @blur="showPopover = false"-->
<div class="popover_box" v-if="showPopover">
<p v-for="(item,index) in personalList" @click="takePeople(item)">{{item.name}}<span>{{item.phone}}</span></p>
</div>
@@ -244,7 +244,8 @@
<van-field v-model="form.zihao" label="字号名称" placeholder="请输入字号名称" :border="false" label-width="auto" input-align="right" />
</div>
<div v-if="form.type=='2'">
<van-field v-model="form.companyName" @input="companyChange" @blur="showCompany = false" :rules="[{ required: true , message:'请输入企业名称' }]" label="企业名称" placeholder="请输入企业名称" :border="false" label-width="auto" input-align="right" />
<!-- @blur="showCompany = false"-->
<van-field v-model="form.companyName" @input="companyChange" :rules="[{ required: true , message:'请输入企业名称' }]" label="企业名称" placeholder="请输入企业名称" :border="false" label-width="auto" input-align="right" />
<div class="popover_box" v-if="showCompany">
<p v-for="(item,index) in companyList" @click="takeCompany(item)">{{item.companyName}}</p>
</div>
@@ -337,7 +338,19 @@
caseStatus:'1',
attachement:[],
attachementList:[],
id:null
id:null,
name : '' ,
cardNum : '' ,
birthday : '' ,
nation : '' ,
companyPosition : '' ,
duties : '' ,
zihao : '' ,
companyName : '' ,
legalName : '' ,
phone : '' ,
address : '' ,
uniformCode : '' ,
},
registerDate:new Date(),
birthday:new Date(),
@@ -561,6 +574,8 @@

},
takePeople(item){

console.log(item)
this.form.bodyId = item.id;
this.form.name = item.name;
this.form.sex = item.sex == null ? '1' : item.sex;
@@ -600,7 +615,7 @@
this.form.phone = item.phone;
this.form.address = item.address;
this.form.uniformCode = item.uniformCode;
this.showPopover = false;
this.showCompany = false;
}
},
watch: {


+ 11
- 1
src/views/lawEnforcement/caseAllocation/caseListNew.vue Ver arquivo

@@ -8,7 +8,7 @@
<div class="search_box">
<div class="search">
<input type="text" v-model="searchInput" placeholder="请输入登记名称" />
<img src="../../../../static/images/lawEnforcement/new/index_icon_04.png" @click="goSearch">
<img src="../../../../static/images/lawEnforcement/new/index_icon_04.png" @click="getList">
</div>
<img src="../../../../static/images/lawEnforcement/new/list_icon_03.png" @click="$router.push({name:'lawEnforcementCaseAdd'})"/>
</div>
@@ -92,6 +92,16 @@
methods: {
getList(){
var _this = this;
if (this.searchInput != ''){
if (this.searchInput == this.queryApplyParams.caseName){
return;
}
this.list = [];
this.queryApplyParams.caseName = this.searchInput;
this.queryApplyParams.pageNum = 1 ;
this.loading = false;
this.finished = false;
}
listCase(_this.queryApplyParams).then(response => {
response.rows.map(res=>{
res.caseSourceText = res.caseSource == '' ? '' : this.selectDictLabel(this.caseSourceOptions, res.caseSource);


+ 5
- 3
src/views/lawEnforcement/task/taskHandle.vue Ver arquivo

@@ -372,7 +372,7 @@
</div>
</van-form>

<template v-if="historyList">
<template v-if="historyList.length>0">
<p class="splcTit">审批流程</p>
<div class="main_box2">
<van-row v-for="(item,index) in historyList" :key="index">
@@ -680,7 +680,7 @@
</div>

</van-form>
<template v-if="putRecordHistoryList">
<template v-if="putRecordHistoryList.length>0">
<p class="splcTit">审批流程</p>
<div class="main_box2">
<van-row v-for="(item,index) in putRecordHistoryList" :key="index">
@@ -853,7 +853,7 @@
</div>
</van-form>

<template v-if="evidencHistoryList">
<template v-if="evidencHistoryList.length>0">
<p class="splcTit">审批流程</p>
<div class="main_box2">
<van-row v-for="(item,index) in evidencHistoryList" :key="index">
@@ -2839,6 +2839,7 @@ export default {
method: "post",
data: queryParams,
}).then((response) => {
console.log(response)
if (type == 'evidence'){
this.evidencHistoryList = response.rows;
this.evidencHistoryList.forEach((row) => {
@@ -3443,6 +3444,7 @@ export default {
// 监听路由变化, 实现类似 小程序的 onShow 事件
if (to.path === '/lawEnforcement/taskHandle') {
// do anything you want
console.log(this.tEnforceCaseHandlerList)
if (Cookies.get('enforcer')){
console.log(this.enforceType)
JSON.parse(Cookies.get('enforcer')).map((res,index)=>{


Carregando…
Cancelar
Salvar