This commit is contained in:
lnn19986213 2024-01-23 17:10:38 +08:00
parent 43fc9dbaf4
commit ba9e399ffa
2 changed files with 3 additions and 3 deletions

View File

@ -2,7 +2,7 @@
<div class="right-panel-search" v-if="grapeWidget.filterList && grapeWidget.filterList.length > 0">
<template v-for="filterColumn in grapeWidget.filterList" :key="filterColumn.name">
<el-input-number v-if="filterColumn.type == 'number'" v-model="search[filterColumn.name]" :placeholder="filterColumn.label" clearable />
<el-select v-else-if="filterColumn.type == 'select' || filterColumn.type == 'radio' || filterColumn.type == 'radio-group'" v-model="search[filterColumn.name]" :placeholder="filterColumn.label" clearable>
<el-select v-else-if="filterColumn.type == 'select' || filterColumn.type == 'radio' || filterColumn.type == 'radio-group'" filterable v-model="search[filterColumn.name]" :placeholder="filterColumn.label" clearable>
<el-option v-for="item in filterColumn.options" :key="item.value" :label="item.label" :value="item.value" />
</el-select>
<el-select v-else-if="filterColumn.type == 'bool'" v-model="search[filterColumn.name]" :placeholder="filterColumn.label" clearable>
@ -13,7 +13,7 @@
<el-date-picker v-else-if="filterColumn.type == 'date' || filterColumn.type == 'datetime'" :placeholder="filterColumn.label" v-model="search[filterColumn.name]" :type="filterColumn.type" clearable />
<el-date-picker
v-else-if="filterColumn.type == 'datetime-range'"
:placeholder="filterColumn.label"
:placeholder="filterColumn.label"
v-model="search[filterColumn.name]"
type="datetimerange"
range-separator=" 至 "

View File

@ -14,7 +14,7 @@ module.exports = {
proxy: {
'/api': {
// target: 'https://yxx.ydool.net',
target: 'http://192.168.2.29:8080',
target: 'http://192.168.1.99:8080',
//target: 'http://192.168.0.230:8090',
//target: 'http://192.168.0.57:8090',
//target: 'http://127.0.0.1:8090',