|
@@ -85,7 +85,7 @@
|
|
|
:editable="false"
|
|
|
/>
|
|
|
|
|
|
- <input-number-range v-else-if="aItem.searchType === 'inputrange' && ((aIndex > 11 && isOpenSearch) ||aIndex <=11)" :minValue="20" :maxValue="100" :key="`aItem.searchField_${aIndex}`" v-model="page.data[aItem.searchField]" :placeholder="{startValue: '酒精值范围起始值', endValue: '酒精值范围结束值' }" :precision="0" />
|
|
|
+ <input-number-range v-else-if="aItem.searchType === 'inputrange' && ((aIndex > 11 && isOpenSearch) ||aIndex <=11)" :minValue="0" :maxValue="100" :key="`aItem.searchField_${aIndex}`" v-model="page.data[aItem.searchField]" :placeholder="{startValue: '酒精值范围起始值', endValue: '酒精值范围结束值' }" :precision="0" />
|
|
|
</template>
|
|
|
<template v-if="isOpenSearch">
|
|
|
<template v-if="checkRole([5])">
|
|
@@ -226,10 +226,10 @@
|
|
|
{{ getReasonName(scope.row.reasonType) }}
|
|
|
</template>
|
|
|
<template v-else-if="['isDrink'].indexOf(aItem.field) > -1">
|
|
|
- {{ scope.row.isDrink ? '是' : '否' }}
|
|
|
+ {{ scope.row.isDrink == null ? scope.row.isDrink ? '是' : '否' : '-' }}
|
|
|
</template>
|
|
|
<template v-else-if="['alcoholValue'].indexOf(aItem.field) > -1">
|
|
|
- {{ scope.row.alcoholValue ? scope.row.alcoholValue + 'mg/100ml' : '-' }}
|
|
|
+ {{ scope.row.alcoholValue ? scope.row.alcoholValue + 'mg/100ml' : '-' }}
|
|
|
</template>
|
|
|
<template v-else>
|
|
|
{{ scope.row[aItem.field] | matchNull }}
|
|
@@ -616,7 +616,6 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
created() {
|
|
|
- console.log(this.$store.getters.acceptAlcohol)
|
|
|
this.page_copy = JSON.parse(JSON.stringify(this.page))
|
|
|
this.fetchData()
|
|
|
this.matchAutoUpdate()
|
|
@@ -662,7 +661,6 @@ export default {
|
|
|
if (!str) {
|
|
|
return '-'
|
|
|
} else {
|
|
|
- console.log(this.searchOptions.reasonType_list)
|
|
|
const index = (this.searchOptions.reasonType_list || []).findIndex(v => v.code == str)
|
|
|
return index > -1 ? this.searchOptions.reasonType_list[index]?.desc || '' : ''
|
|
|
}
|