master
lion 3 years ago
parent 3753dbe57e
commit 1fba09459b

@ -28,7 +28,7 @@
<uni-datetime-picker type="date" :start="toadyStart" 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-forms-item label="停车区域" required name="plate"> <uni-forms-item label="停车区域" required name="plate" v-if="form.type==3">
<uni-data-checkbox v-model="form.plate" :localdata="parkAreaList" <uni-data-checkbox v-model="form.plate" :localdata="parkAreaList"
:map="{text:'value',value:'value'}" /> :map="{text:'value',value:'value'}" />
</uni-forms-item> </uni-forms-item>
@ -79,11 +79,14 @@
<uni-tr style="vertical-align: middle;" v-for="(item, index) in form.follw_people" :key="index"> <uni-tr style="vertical-align: middle;" v-for="(item, index) in form.follw_people" :key="index">
<uni-td> <uni-td>
<view class="uni-group"> <view class="uni-group">
<button style="background-color: #044ed7;margin-right:8px" <text @click="editFollwPeople(index)" style="color: #044ed7;margin-right:8px">修改</text>
@click="editFollwPeople(index)" class="uni-button" size="mini" <text @click="form.follw_people.splice(index,1)" style="color: red;margin-right:8px">删除</text>
type="primary">修改</button>
<button class="uni-button" size="mini" type="warn" <!-- <button
@click="form.follw_people.splice(index,1)">删除</button> class="uni-button" size="mini"
type="primary">修改</button> -->
<!-- <button class="uni-button" size="mini" type="warn"
@click="form.follw_people.splice(index,1)">删除</button> -->
</view> </view>
</uni-td> </uni-td>
<uni-td>{{ item.name }}</uni-td> <uni-td>{{ item.name }}</uni-td>
@ -346,10 +349,6 @@
onLoad(options) { onLoad(options) {
this.toadyStart = new Date() this.toadyStart = new Date()
this.form.type = options.type this.form.type = options.type
// uni.redirectTo({
// url: '/pages/visit/study?type='+this.form.type
// })
// return
this.isCall = options.iscall ? options.iscall : '' this.isCall = options.iscall ? options.iscall : ''
this.goStudy = this.isCall == 'call' ? '提交' : '去学习' this.goStudy = this.isCall == 'call' ? '提交' : '去学习'
this.form.audit_status = this.isCall == 'call' ? 1 : 0 this.form.audit_status = this.isCall == 'call' ? 1 : 0

Loading…
Cancel
Save