master
lion 3 years ago
parent 73736bc859
commit 5a9b8d8857

@ -42,7 +42,7 @@
return {
select: {
page: 1,
rows: 10,
page_size: 10,
keyword: ""
},
total: 0,

@ -99,7 +99,7 @@
visible: false,
select: {
page: 1,
rows: 10,
page_size: 10,
keyword: "",
audit_status: 0,
my_accept_admin: 0,

@ -187,7 +187,7 @@
</div>
</div>
</template>
<template v-slot:carsno v-if="visitType==1||visitType==2">
<template v-slot:carsno v-else>
<div class="xy-table-item">
<div class="xy-table-item-label">
<span style="color: red;font-weight: 600;padding-right: 4px;"></span>到访车辆
@ -570,7 +570,8 @@
credent: res?.credent,
idcard: res?.idcard,
company_name: res?.company_name,
cars: res?.cars,
cars:[],
carsno: [],
follw_people: res?.follw_people,
long_time: res?.long_time,
longrange: res.start_date?[res.start_date,res.end_date]:"",
@ -582,7 +583,8 @@
this.followList = res?.follw_people
for(var k of res?.cars){
this.carsList.push({car:k})
}
}
console.log(this.followList,this.carsList)
},
async getLabel() {
const res = await getTimeList()
@ -665,6 +667,7 @@
watch: {
isShow(newVal) {
if (newVal) {
console.log("this.visitType",this.visitType)
this.form.type = this.visitType
this.form.audit_status = 1
if (this.type === 'editor') {

@ -53,7 +53,7 @@
return {
select: {
page: 1,
rows: 10,
page_size: 10,
keyword: "",
audit_status: "",
start_date: "",

@ -72,7 +72,7 @@
visible: false,
select: {
page: 1,
rows: 10,
page_size: 10,
keyword: "",
audit_status: "",
start_date: "",
@ -141,7 +141,7 @@
prop: 'follw_people',
width: 80,
formatter:(cell, data, value)=>{
return value?'是':'否'
return value.length>0?'是':'否'
}
},
{
@ -284,8 +284,9 @@
editorStudy(row) {
// let addWhat = row.type == 1 ? "addCommon" : (row.type == 2 ? "addBuild" : (row.type == 3 ? "addPark" : ""))
let addWhat = "addCommon"
console.log(row)
this.$refs[addWhat].id = row.id
this.$refs[addWhat].visitType=row.type
this.$refs[addWhat].visitType= parseInt(row.type)
this.$refs[addWhat].type = 'editor'
this.$refs[addWhat].isShow = true
}

Loading…
Cancel
Save