|
|
|
@ -22,10 +22,10 @@
|
|
|
|
</uni-data-select>
|
|
|
|
</uni-data-select>
|
|
|
|
</uni-forms-item>
|
|
|
|
</uni-forms-item>
|
|
|
|
<uni-forms-item label="施工开始时段" v-if="form.type==2">
|
|
|
|
<uni-forms-item label="施工开始时段" v-if="form.type==2">
|
|
|
|
<uni-datetime-picker type="date" return-type="string" v-model="form.work_start_time" />
|
|
|
|
<uni-datetime-picker type="date" :start="toadyStart" return-type="string" v-model="form.work_start_time" />
|
|
|
|
</uni-forms-item>
|
|
|
|
</uni-forms-item>
|
|
|
|
<uni-forms-item label="施工结束时段" v-if="form.type==2">
|
|
|
|
<uni-forms-item label="施工结束时段" v-if="form.type==2">
|
|
|
|
<uni-datetime-picker type="date" return-type="string" v-model="form.work_end_time" />
|
|
|
|
<uni-datetime-picker type="date" :start="toadyStart" return-type="string" v-model="form.work_end_time" />
|
|
|
|
</uni-forms-item>
|
|
|
|
</uni-forms-item>
|
|
|
|
<uni-forms-item label="车牌号" v-if="form.type==3">
|
|
|
|
<uni-forms-item label="车牌号" v-if="form.type==3">
|
|
|
|
<uni-easyinput @tap="plateShow=true" disabled v-model.trim="form.plate" placeholder="请输入车牌号" />
|
|
|
|
<uni-easyinput @tap="plateShow=true" disabled v-model.trim="form.plate" placeholder="请输入车牌号" />
|
|
|
|
@ -98,10 +98,10 @@
|
|
|
|
</uni-forms-item>
|
|
|
|
</uni-forms-item>
|
|
|
|
<template v-if="form.long_time==1">
|
|
|
|
<template v-if="form.long_time==1">
|
|
|
|
<uni-forms-item label="开始日期">
|
|
|
|
<uni-forms-item label="开始日期">
|
|
|
|
<uni-datetime-picker type="date" return-type="string" v-model="form.start_date" />
|
|
|
|
<uni-datetime-picker type="date" :start="toadyStart" return-type="string" v-model="form.start_date" />
|
|
|
|
</uni-forms-item>
|
|
|
|
</uni-forms-item>
|
|
|
|
<uni-forms-item label="结束日期">
|
|
|
|
<uni-forms-item label="结束日期">
|
|
|
|
<uni-datetime-picker type="date" return-type="string" v-model="form.end_date" />
|
|
|
|
<uni-datetime-picker type="date" :start="toadyStart" return-type="string" v-model="form.end_date" />
|
|
|
|
</uni-forms-item>
|
|
|
|
</uni-forms-item>
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
<view class="formtext">被访人信息</view>
|
|
|
|
<view class="formtext">被访人信息</view>
|
|
|
|
@ -110,7 +110,7 @@
|
|
|
|
</uni-data-select> -->
|
|
|
|
</uni-data-select> -->
|
|
|
|
<uni-easyinput @clear="clearAccept('accept')" disabled v-model="form.acceptName" @tap="adminListShowOpen('accept')" placeholder="请选择联系人员" />
|
|
|
|
<uni-easyinput @clear="clearAccept('accept')" disabled v-model="form.acceptName" @tap="adminListShowOpen('accept')" placeholder="请选择联系人员" />
|
|
|
|
<qianziyu-select :show="adminListShow" type="radio" :popupTitle="'联系人员'" name="cworkStationName"
|
|
|
|
<qianziyu-select :show="adminListShow" type="radio" :popupTitle="'联系人员'" name="cworkStationName"
|
|
|
|
:dataLists="adminList" placeholder="输入关键词搜索" @search="selectSearch"
|
|
|
|
:dataLists="adminList" placeholder="输入被访人具体姓名搜索" @search="selectSearch"
|
|
|
|
@submit="submitAccept" @cancel="cancelAccept"/>
|
|
|
|
@submit="submitAccept" @cancel="cancelAccept"/>
|
|
|
|
</uni-forms-item>
|
|
|
|
</uni-forms-item>
|
|
|
|
<uni-forms-item label="收货人" v-if="form.type==3" required name="goodsName">
|
|
|
|
<uni-forms-item label="收货人" v-if="form.type==3" required name="goodsName">
|
|
|
|
@ -345,20 +345,21 @@
|
|
|
|
this.getVisitArea()
|
|
|
|
this.getVisitArea()
|
|
|
|
this.getVisitTime()
|
|
|
|
this.getVisitTime()
|
|
|
|
this.getReason()
|
|
|
|
this.getReason()
|
|
|
|
this.getAdminList()
|
|
|
|
// this.getAdminList()
|
|
|
|
},
|
|
|
|
},
|
|
|
|
onReady() {},
|
|
|
|
onReady() {},
|
|
|
|
methods: {
|
|
|
|
methods: {
|
|
|
|
adminListShowOpen(type) {
|
|
|
|
adminListShowOpen(type) {
|
|
|
|
this.acceptType = type
|
|
|
|
this.acceptType = type
|
|
|
|
this.adminKeyword = ""
|
|
|
|
this.adminKeyword = ""
|
|
|
|
this.getAdminList()
|
|
|
|
// this.getAdminList()
|
|
|
|
|
|
|
|
|
|
|
|
this.adminListShow = true
|
|
|
|
this.adminListShow = true
|
|
|
|
},
|
|
|
|
},
|
|
|
|
cancelAccept() {
|
|
|
|
cancelAccept() {
|
|
|
|
console.log('123')
|
|
|
|
console.log('123')
|
|
|
|
this.adminKeyword = ""
|
|
|
|
this.adminKeyword = ""
|
|
|
|
|
|
|
|
this.adminList = []
|
|
|
|
this.adminListShow = false
|
|
|
|
this.adminListShow = false
|
|
|
|
},
|
|
|
|
},
|
|
|
|
selectSearch(e) {
|
|
|
|
selectSearch(e) {
|
|
|
|
|