|
|
@ -8,11 +8,15 @@ |
|
|
|
<van-search v-model="mobile" class="no-margin" left-icon="false" shape="round" placeholder="手机号" /> |
|
|
|
<van-search v-model="operationTypeType" class="no-margin" left-icon="false" @click="showpicker1" |
|
|
|
shape="round" placeholder="办理状态" /> |
|
|
|
<van-popup v-model="showpicker2" position="bottom" :style="{ height: '40%' }"> |
|
|
|
<van-picker show-toolbar title="标题" :columns="actions" @cancel="showPicker2 = false" |
|
|
|
@confirm="onConfirm" /> |
|
|
|
<van-popup v-if="showpicker2" v-model="showpicker2" position="bottom" :style="{ height: '40%' }"> |
|
|
|
<van-picker v-if="showpicker2" show-toolbar title="标题" :columns="actions" @cancel="showPicker2 = false" |
|
|
|
@confirm="onConfirm" |
|
|
|
/> |
|
|
|
</van-popup> |
|
|
|
<!-- <van-dropdown-menu class="custom-dropdown-menu" > |
|
|
|
<!-- <van-popup v-model="showpicker2" position="bottom"> |
|
|
|
<van-picker show-toolbar :columns="actions" @cancel="showPicker = false" @confirm="onConfirm" /> |
|
|
|
</van-popup> --> |
|
|
|
<!-- <van-dropdown-menu class="custom-dropdown-menu" > @confirm="onConfirm" |
|
|
|
<van-dropdown-item v-model="operationTypeName" :options="actions" |
|
|
|
@change="onOperationType" /> |
|
|
|
</van-dropdown-menu> --> |
|
|
@ -23,7 +27,7 @@ |
|
|
|
</div> |
|
|
|
|
|
|
|
<div class="container"> |
|
|
|
<div class=" card m-top12" v-for="(item, index) in tableData" :key="index" @click="onHandle(item)"> |
|
|
|
<div class=" card m-top12" v-for="(item, index) in tableData" :key="index" @click="onHandle(item)"> |
|
|
|
<div class="flex flex-certer1 flex-center2 flex-end "> |
|
|
|
<div class="workorder"> |
|
|
|
工单号:{{ item.workOrderNum }} |
|
|
@ -42,7 +46,8 @@ |
|
|
|
来电人:{{item.name}} {{item.mobile}} |
|
|
|
</div> |
|
|
|
<div> |
|
|
|
<van-button v-if=" item.operationType!=='11'&&item.operationType!=='12'" class="handle" round type="info" @click="onHandle(item)">办理</van-button> |
|
|
|
<van-button v-if=" item.operationType!=='11'&&item.operationType!=='12'" class="handle" round |
|
|
|
type="info" @click="onHandle(item)">办理</van-button> |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
@ -119,7 +124,6 @@ export default { |
|
|
|
}, |
|
|
|
methods: { |
|
|
|
statusClass(item) { |
|
|
|
console.log(item,"dklslksjvx"); |
|
|
|
return { |
|
|
|
'status-red': item === '未联系当事人', |
|
|
|
'lan': item === '已联系当事人', |
|
|
@ -133,14 +137,15 @@ export default { |
|
|
|
this.operationTypeType=value.text |
|
|
|
this.operationType=value.value |
|
|
|
// this.value = value; |
|
|
|
this.showPicker2 = false; |
|
|
|
this.showpicker2 = false; |
|
|
|
console.log( this.showPicker2,"iugui"); |
|
|
|
this.$nextTick(() => { |
|
|
|
console.log('Popup visibility status:', this.showpicker2); |
|
|
|
}); |
|
|
|
|
|
|
|
}, |
|
|
|
onConfirm(value) { |
|
|
|
// this.value = value; |
|
|
|
this.showpicker2 = false; |
|
|
|
}, |
|
|
|
showpicker1(){ |
|
|
|
console.log("fds "); |
|
|
|
this.showpicker2=true |
|
|
|
}, |
|
|
|
|
|
|
|