|
|
@@ -1,250 +1,176 @@
|
|
|
<!-- 复杂查询过滤 -->
|
|
|
<template>
|
|
|
- <div class="buttons">
|
|
|
- <a-button
|
|
|
- type="primary"
|
|
|
- class="item"
|
|
|
- @click="complexSearch()"
|
|
|
- >
|
|
|
- {{ $t('lang.QueryConditionComplex.filter') }}
|
|
|
- </a-button>
|
|
|
- </div>
|
|
|
- <div>
|
|
|
- <div>
|
|
|
- <div class="form-inline">
|
|
|
- <div
|
|
|
- v-for="(item,index) in filterFields"
|
|
|
- v-show="item.isShow"
|
|
|
- :key="index"
|
|
|
- class="form-group m-form-group"
|
|
|
- >
|
|
|
- <label
|
|
|
- v-tooltip.right="Language.getHelpTrl($i18n.locale, item)"
|
|
|
- :for="item.id"
|
|
|
- class="m-form-group-label"
|
|
|
- >
|
|
|
- {{ Language.getNameTrl($i18n.locale, item) }}
|
|
|
- </label>
|
|
|
- <div
|
|
|
- v-if="item.index == 1"
|
|
|
- class="form-inline-div"
|
|
|
- @keyup.enter="complexSearch()"
|
|
|
- >
|
|
|
- <SearchInput
|
|
|
- v-if="item.displayType =='TextEditor' && item.apiUrl != null && item.apiUrl.length >0"
|
|
|
- v-model:value="item.value.value1"
|
|
|
- :api-url="item.apiUrl"
|
|
|
- :api-response-data-text-filed-name="
|
|
|
- item.apiResponseDataTextFiledName
|
|
|
- "
|
|
|
- class="form-control form-control-complex form-input"
|
|
|
- />
|
|
|
- <input
|
|
|
- v-if="item.displayType =='TextEditor' && !item.apiUrl"
|
|
|
- :id="item.id"
|
|
|
- v-model="item.value.value1"
|
|
|
- autocomplete="off"
|
|
|
- type="text"
|
|
|
- :placeholder="$t('lang.QueryConditionComplex.pleaseInputTheContent')"
|
|
|
- class="form-control form-control-complex form-input"
|
|
|
- />
|
|
|
- <input
|
|
|
- v-if="item.displayType =='NumberEditor'"
|
|
|
- :id="item.id"
|
|
|
- v-model="item.value.value1"
|
|
|
- autocomplete="off"
|
|
|
- type="number"
|
|
|
- class="form-control form-control-complex form-input"
|
|
|
- :placeholder="$t('lang.QueryConditionComplex.pleaseEnterANumber')"
|
|
|
- onmousewheel="return false;"
|
|
|
- @mousewheel="mouseWheelEvent"
|
|
|
- />
|
|
|
-
|
|
|
- <select
|
|
|
- v-if="item.displayType =='CheckBoxEditor'"
|
|
|
- v-model="item.value.value1"
|
|
|
- class="form-control form-control-complex form-input form-select"
|
|
|
- >
|
|
|
- <option value="">{{ $t('lang.QueryConditionComplex.all') }}</option>
|
|
|
- <option value="true">{{ $t('lang.QueryConditionComplex.true') }}</option>
|
|
|
- <option value="false">{{ $t('lang.QueryConditionComplex.false') }}</option>
|
|
|
- </select>
|
|
|
-
|
|
|
- <DateTime
|
|
|
- v-if="item.displayType =='DateTimeBoxEditor'"
|
|
|
- v-model="item.value.value1"
|
|
|
- class="m-form-input"
|
|
|
- @update:model-value="dateValueChange($event, item, 'value1')"
|
|
|
- />
|
|
|
-
|
|
|
- <!-- 年份选择器-->
|
|
|
- <YearPicker
|
|
|
- v-if="item.displayType =='YearEditor'"
|
|
|
- v-model="item.value.value1"
|
|
|
- class="m-form-input"
|
|
|
- @selected="textChanged(item, 'value1', $event)"
|
|
|
- />
|
|
|
-
|
|
|
- <!-- 年月选择器 -->
|
|
|
- <VueMonthlyPicker
|
|
|
- v-if="item.displayType =='YearMonthEditor'"
|
|
|
- id="month-picker"
|
|
|
- v-model="item.value.value1"
|
|
|
- date-format="YYYY-MM"
|
|
|
- class="form-inline-div m-form-input"
|
|
|
- @selected="refresh"
|
|
|
- />
|
|
|
-
|
|
|
- <!-- 日期选择器 -->
|
|
|
- <DateWidget
|
|
|
- v-if="item.displayType =='DateBoxEditor'"
|
|
|
- v-model="item.value.value1"
|
|
|
- class="m-form-input"
|
|
|
- @on-value-change="dateValueChange($event, item, 'value1')"
|
|
|
- />
|
|
|
-
|
|
|
- <EnumSelectWidgetInfo
|
|
|
- v-if="item.displayType =='ListBoxEnumEditor'"
|
|
|
- :field="item"
|
|
|
- :field-value="item.fieldValue"
|
|
|
- @value-changed="tabValueChanged($event, item, 'value1')"
|
|
|
- />
|
|
|
-
|
|
|
- <SearchWidget
|
|
|
- v-if="item.displayType =='SearchBoxEditor'"
|
|
|
- :where-clause-source="{'infoFilterField': {'infoWindowNo': infoWindowNo, 'fieldName' : item.fieldName}}"
|
|
|
- :info-window-no="item.infoWindowNo"
|
|
|
- :title-name="item.name"
|
|
|
- :field-value="item.fieldValue"
|
|
|
- :display-name="item.listFieldNames"
|
|
|
- class="m-form-input"
|
|
|
- @value-changed="tabValueChanged($event, item)"
|
|
|
- />
|
|
|
-
|
|
|
- <!-- 多选搜索框 number类型-->
|
|
|
- <MultiSearchWidget
|
|
|
- v-if="item.displayType =='MultiSearchBoxEditor'"
|
|
|
- :where-clause-source="{'infoFilterField': {'infoWindowNo': infoWindowNo, 'fieldName' : item.fieldName}}"
|
|
|
- :info-window-no="item.infoWindowNo"
|
|
|
- :title-name="item.name"
|
|
|
- :field-value="item.fieldValue"
|
|
|
- :display-name="item.listFieldNames"
|
|
|
- class="m-form-input"
|
|
|
- @value-changed="multiSearchValueChange($event, item)"
|
|
|
- />
|
|
|
- </div>
|
|
|
- <div
|
|
|
- v-if="item.index == 2"
|
|
|
- class="form-inline-div"
|
|
|
- >
|
|
|
- <SearchInput
|
|
|
- v-if="item.displayType =='TextEditor' && item.apiUrl != null && item.apiUrl.length >0"
|
|
|
- v-model:value="item.value.value1"
|
|
|
- :api-url="item.apiUrl"
|
|
|
- :api-response-data-text-filed-name="
|
|
|
- item.apiResponseDataTextFiledName
|
|
|
- "
|
|
|
- class="form-control form-control-complex form-input"
|
|
|
- @keyup.enter="complexSearch()"
|
|
|
- />
|
|
|
- <input
|
|
|
- v-if="item.displayType =='TextEditor' && !item.apiUrl"
|
|
|
- :id="item.id"
|
|
|
- v-model="item.value.value1"
|
|
|
- autocomplete="off"
|
|
|
- type="text"
|
|
|
- :placeholder="$t('lang.QueryConditionComplex.pleaseInputTheContent')"
|
|
|
- class="form-control form-control-complex form-input"
|
|
|
- />
|
|
|
- <input
|
|
|
- v-if="item.displayType =='NumberEditor'"
|
|
|
- :id="item.id"
|
|
|
- v-model="item.value.value2"
|
|
|
- autocomplete="off"
|
|
|
- type="number"
|
|
|
- class="form-control form-control-complex form-input"
|
|
|
- :placeholder="$t('lang.QueryConditionComplex.pleaseEnterANumber')"
|
|
|
- @keyup.enter="complexSearch()"
|
|
|
- />
|
|
|
-
|
|
|
- <select
|
|
|
- v-if="item.displayType =='CheckBoxEditor'"
|
|
|
- v-model="item.value.value2"
|
|
|
- class="form-control form-control-complex form-input form-select"
|
|
|
- >
|
|
|
- <option value="">{{ $t('lang.QueryConditionComplex.all') }}</option>
|
|
|
- <option value="true">{{ $t('lang.QueryConditionComplex.true') }}</option>
|
|
|
- <option value="false">{{ $t('lang.QueryConditionComplex.false') }}</option>
|
|
|
- </select>
|
|
|
-
|
|
|
- <!-- <input autocomplete="off" v-if="item.displayType =='CheckBoxEditor'"
|
|
|
- type="checkbox" class="form-control form-control-complex form-input"
|
|
|
- :id="item.id" v-model="item.value.value2"
|
|
|
- @keyup.enter="complexSearch()"> -->
|
|
|
- <!-- <input autocomplete="off" v-if="item.displayType =='DateTimeBoxEditor'"
|
|
|
- type="date"
|
|
|
- placeholder="yyyy-MM-dd"
|
|
|
- class="form-control form-control-complex form-input"
|
|
|
- :id="item.id"
|
|
|
- v-model="item.value.value2"
|
|
|
- @keyup.enter="complexSearch()"> -->
|
|
|
- <DateTime
|
|
|
- v-if="item.displayType =='DateTimeBoxEditor'"
|
|
|
- v-model="item.value.value2"
|
|
|
- class="m-form-input"
|
|
|
- @update:model-value="dateValueChange($event, item, 'value2')"
|
|
|
- />
|
|
|
-
|
|
|
- <!-- 年份选择器-->
|
|
|
- <YearPicker
|
|
|
- v-if="item.displayType =='YearEditor'"
|
|
|
- v-model="item.value.value2"
|
|
|
- class="m-form-input"
|
|
|
- @selected="textChanged(item, 'value2', $event)"
|
|
|
- />
|
|
|
-
|
|
|
- <!-- 年月选择器 -->
|
|
|
- <vue-monthly-picker
|
|
|
- v-if="item.displayType =='YearMonthEditor'"
|
|
|
- id="month-picker"
|
|
|
- v-model="item.value.value2"
|
|
|
- date-format="YYYY-MM"
|
|
|
- class="form-inline-div m-form-input"
|
|
|
- @selected="refresh"
|
|
|
- />
|
|
|
-
|
|
|
- <!-- 日期选择器 -->
|
|
|
- <DateWidget
|
|
|
- v-if="item.displayType =='DateBoxEditor'"
|
|
|
- v-model="item.value.value2"
|
|
|
- class="m-form-input"
|
|
|
- @on-value-change="dateValueChange($event, item, 'value2')"
|
|
|
- />
|
|
|
-
|
|
|
- <EnumSelectWidgetInfo
|
|
|
- v-if="item.displayType =='ListBoxEnumEditor'"
|
|
|
- :field="item"
|
|
|
- :field-value="item.fieldValue"
|
|
|
- class="m-form-input"
|
|
|
- @value-changed="tabValueChanged($event, item)"
|
|
|
- />
|
|
|
-
|
|
|
- <!--单选number类型-->
|
|
|
-
|
|
|
- <SearchWidget
|
|
|
- v-if="item.displayType =='SearchBoxEditor'"
|
|
|
- :where-clause-source="{'infoFilterField': {'infoWindowNo': infoWindowNo, 'fieldName' : item.fieldName}}"
|
|
|
- :info-window-no="item.infoWindowNo"
|
|
|
- :title-name="item.name"
|
|
|
- :field-value="item.fieldValue"
|
|
|
- :display-name="item.listFieldNames"
|
|
|
- class="m-form-input"
|
|
|
- @value-changed="tabValueChanged($event, item)"
|
|
|
- />
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
+ <div class="ant-query-container">
|
|
|
+ <div class="ant-query-header">
|
|
|
+ <a-button type="primary" @click="complexSearch">
|
|
|
+ {{ $t('lang.QueryConditionComplex.filter') }}
|
|
|
+ </a-button>
|
|
|
</div>
|
|
|
+
|
|
|
+ <a-row :gutter="[8, 0]">
|
|
|
+ <template v-for="(item,index) in filterFields" :key="index">
|
|
|
+ <a-col v-show="item.isShow" :xs="24" :sm="24" :md="24" :lg="24" :xl="24">
|
|
|
+ <a-form-item
|
|
|
+ :label="Language.getNameTrl($i18n.locale, item)" :label-col="{ flex: '120px' }"
|
|
|
+ class="ant-query-item"
|
|
|
+ >
|
|
|
+ <!-- 条件1的输入区域 -->
|
|
|
+ <template v-if="item.index === 1">
|
|
|
+ <!-- 文本输入 -->
|
|
|
+ <SearchInput
|
|
|
+ v-if="item.displayType === 'TextEditor' && item.apiUrl" v-model:value="item.value.value1"
|
|
|
+ :api-url="item.apiUrl" :api-response-data-text-filed-name="item.apiResponseDataTextFiledName"
|
|
|
+ @keyup.enter="complexSearch"
|
|
|
+ />
|
|
|
+
|
|
|
+ <!-- 普通文本输入 -->
|
|
|
+ <a-input
|
|
|
+ v-else-if="item.displayType === 'TextEditor'" v-model:value="item.value.value1"
|
|
|
+ :placeholder="$t('lang.QueryConditionComplex.pleaseInputTheContent')" allow-clear
|
|
|
+ @keyup.enter="complexSearch"
|
|
|
+ />
|
|
|
+
|
|
|
+ <!-- 数字输入 -->
|
|
|
+ <a-input-number
|
|
|
+ v-else-if="item.displayType === 'NumberEditor'" v-model:value="item.value.value1"
|
|
|
+ :placeholder="$t('lang.QueryConditionComplex.pleaseEnterANumber')" class="full-width"
|
|
|
+ @keyup.enter="complexSearch"
|
|
|
+ />
|
|
|
+
|
|
|
+ <!-- 布尔选择 -->
|
|
|
+ <a-select
|
|
|
+ v-else-if="item.displayType === 'CheckBoxEditor'" v-model:value="item.value.value1"
|
|
|
+ class="full-width"
|
|
|
+ >
|
|
|
+ <a-select-option value="">{{ $t('lang.QueryConditionComplex.all') }}</a-select-option>
|
|
|
+ <a-select-option value="true">{{ $t('lang.QueryConditionComplex.true') }}</a-select-option>
|
|
|
+ <a-select-option value="false">{{ $t('lang.QueryConditionComplex.false') }}</a-select-option>
|
|
|
+ </a-select>
|
|
|
+
|
|
|
+ <!-- 日期时间选择 -->
|
|
|
+ <DateTime
|
|
|
+ v-else-if="item.displayType === 'DateTimeBoxEditor'" v-model="item.value.value1"
|
|
|
+ class="full-width" @update:model-value="dateValueChange($event, item, 'value1')"
|
|
|
+ />
|
|
|
+
|
|
|
+ <!-- 年份选择 -->
|
|
|
+ <YearPicker
|
|
|
+ v-else-if="item.displayType === 'YearEditor'" v-model="item.value.value1" class="full-width"
|
|
|
+ @selected="textChanged(item, 'value1', $event)"
|
|
|
+ />
|
|
|
+
|
|
|
+ <!-- 年月选择 -->
|
|
|
+ <VueMonthlyPicker
|
|
|
+ v-else-if="item.displayType === 'YearMonthEditor'" v-model="item.value.value1"
|
|
|
+ date-format="YYYY-MM" class="full-width" @selected="refresh"
|
|
|
+ />
|
|
|
+
|
|
|
+ <!-- 日期选择 -->
|
|
|
+ <DateWidget
|
|
|
+ v-else-if="item.displayType === 'DateBoxEditor'" v-model="item.value.value1"
|
|
|
+ class="full-width" @on-value-change="dateValueChange($event, item, 'value1')"
|
|
|
+ />
|
|
|
+
|
|
|
+ <!-- 枚举选择 -->
|
|
|
+ <EnumSelectWidgetInfo
|
|
|
+ v-else-if="item.displayType === 'ListBoxEnumEditor'" :field="item"
|
|
|
+ :field-value="item.fieldValue" class="full-width"
|
|
|
+ @value-changed="tabValueChanged($event, item, 'value1')"
|
|
|
+ />
|
|
|
+
|
|
|
+ <!-- 搜索框 -->
|
|
|
+ <SearchWidget
|
|
|
+ v-else-if="item.displayType === 'SearchBoxEditor'"
|
|
|
+ :where-clause-source="{ infoFilterField: { infoWindowNo: infoWindowNo, fieldName: item.fieldName } }"
|
|
|
+ :info-window-no="item.infoWindowNo" :title-name="item.name" :field-value="item.fieldValue"
|
|
|
+ :display-name="item.listFieldNames" class="full-width" @value-changed="tabValueChanged($event, item)"
|
|
|
+ />
|
|
|
+
|
|
|
+ <!-- 多选搜索 -->
|
|
|
+ <MultiSearchWidget
|
|
|
+ v-else-if="item.displayType === 'MultiSearchBoxEditor'"
|
|
|
+ :where-clause-source="{ infoFilterField: { infoWindowNo: infoWindowNo, fieldName: item.fieldName } }"
|
|
|
+ :info-window-no="item.infoWindowNo" :title-name="item.name" :field-value="item.fieldValue"
|
|
|
+ :display-name="item.listFieldNames" class="full-width"
|
|
|
+ @value-changed="multiSearchValueChange($event, item)"
|
|
|
+ />
|
|
|
+ </template>
|
|
|
+
|
|
|
+ <!-- 条件2的输入区域 -->
|
|
|
+ <template v-if="item.index === 2">
|
|
|
+ <!-- 文本输入(带API搜索) -->
|
|
|
+ <SearchInput
|
|
|
+ v-if="item.displayType === 'TextEditor' && item.apiUrl" v-model:value="item.value.value2"
|
|
|
+ :api-url="item.apiUrl" :api-response-data-text-filed-name="item.apiResponseDataTextFiledName"
|
|
|
+ @keyup.enter="complexSearch"
|
|
|
+ />
|
|
|
+
|
|
|
+ <!-- 普通文本输入 -->
|
|
|
+ <a-input
|
|
|
+ v-else-if="item.displayType === 'TextEditor'" v-model:value="item.value.value2"
|
|
|
+ :placeholder="$t('lang.QueryConditionComplex.pleaseInputTheContent')" allow-clear
|
|
|
+ @keyup.enter="complexSearch"
|
|
|
+ />
|
|
|
+
|
|
|
+ <!-- 数字输入 -->
|
|
|
+ <a-input-number
|
|
|
+ v-else-if="item.displayType === 'NumberEditor'" v-model:value="item.value.value2"
|
|
|
+ :placeholder="$t('lang.QueryConditionComplex.pleaseEnterANumber')" class="full-width"
|
|
|
+ @keyup.enter="complexSearch"
|
|
|
+ />
|
|
|
+
|
|
|
+ <!-- 布尔选择 -->
|
|
|
+ <a-select
|
|
|
+ v-else-if="item.displayType === 'CheckBoxEditor'" v-model:value="item.value.value2"
|
|
|
+ class="full-width"
|
|
|
+ >
|
|
|
+ <a-select-option value="">{{ $t('lang.QueryConditionComplex.all') }}</a-select-option>
|
|
|
+ <a-select-option value="true">{{ $t('lang.QueryConditionComplex.true') }}</a-select-option>
|
|
|
+ <a-select-option value="false">{{ $t('lang.QueryConditionComplex.false') }}</a-select-option>
|
|
|
+ </a-select>
|
|
|
+
|
|
|
+ <!-- 日期时间选择 -->
|
|
|
+ <DateTime
|
|
|
+ v-else-if="item.displayType === 'DateTimeBoxEditor'" v-model="item.value.value2"
|
|
|
+ class="full-width" @update:model-value="dateValueChange($event, item, 'value2')"
|
|
|
+ />
|
|
|
+
|
|
|
+ <!-- 年份选择 -->
|
|
|
+ <YearPicker
|
|
|
+ v-else-if="item.displayType === 'YearEditor'" v-model="item.value.value2" class="full-width"
|
|
|
+ @selected="textChanged(item, 'value2', $event)"
|
|
|
+ />
|
|
|
+
|
|
|
+ <!-- 年月选择 -->
|
|
|
+ <VueMonthlyPicker
|
|
|
+ v-else-if="item.displayType === 'YearMonthEditor'" v-model="item.value.value2"
|
|
|
+ date-format="YYYY-MM" class="full-width" @selected="refresh"
|
|
|
+ />
|
|
|
+
|
|
|
+ <!-- 日期选择 -->
|
|
|
+ <DateWidget
|
|
|
+ v-else-if="item.displayType === 'DateBoxEditor'" v-model="item.value.value2"
|
|
|
+ class="full-width" @on-value-change="dateValueChange($event, item, 'value2')"
|
|
|
+ />
|
|
|
+
|
|
|
+ <!-- 枚举选择 -->
|
|
|
+ <EnumSelectWidgetInfo
|
|
|
+ v-else-if="item.displayType === 'ListBoxEnumEditor'" :field="item"
|
|
|
+ :field-value="item.fieldValue" class="full-width" @value-changed="tabValueChanged($event, item)"
|
|
|
+ />
|
|
|
+
|
|
|
+ <!-- 搜索框 -->
|
|
|
+ <SearchWidget
|
|
|
+ v-else-if="item.displayType === 'SearchBoxEditor'"
|
|
|
+ :where-clause-source="{ infoFilterField: { infoWindowNo: infoWindowNo, fieldName: item.fieldName } }"
|
|
|
+ :info-window-no="item.infoWindowNo" :title-name="item.name" :field-value="item.fieldValue"
|
|
|
+ :display-name="item.listFieldNames" class="full-width" @value-changed="tabValueChanged($event, item)"
|
|
|
+ />
|
|
|
+ </template>
|
|
|
+ </a-form-item>
|
|
|
+ </a-col>
|
|
|
+ </template>
|
|
|
+ </a-row>
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
|
@@ -265,10 +191,10 @@ export default {
|
|
|
components: {
|
|
|
EnumSelectWidgetInfo,
|
|
|
DateTime,
|
|
|
- SearchWidget : defineAsyncComponent(() =>
|
|
|
+ SearchWidget: defineAsyncComponent(() =>
|
|
|
import('./SearchWidget.vue'),
|
|
|
),
|
|
|
- MultiSearchWidget : defineAsyncComponent(() =>
|
|
|
+ MultiSearchWidget: defineAsyncComponent(() =>
|
|
|
import('./MultiSearchWidget.vue'),
|
|
|
),
|
|
|
DateWidget,
|
|
|
@@ -278,7 +204,7 @@ export default {
|
|
|
},
|
|
|
|
|
|
props: {
|
|
|
- 'infoWindowNo':{
|
|
|
+ 'infoWindowNo': {
|
|
|
type: String,
|
|
|
default: null,
|
|
|
},
|
|
|
@@ -290,7 +216,7 @@ export default {
|
|
|
type: Array,
|
|
|
default: null,
|
|
|
},
|
|
|
- 'isSearchWidget':{
|
|
|
+ 'isSearchWidget': {
|
|
|
type: Boolean,
|
|
|
default: null,
|
|
|
},
|
|
|
@@ -371,7 +297,7 @@ export default {
|
|
|
* @return {void}
|
|
|
*/
|
|
|
complexSearch: function () {
|
|
|
- this.$emit('complexSearch','complex');
|
|
|
+ this.$emit('complexSearch', 'complex');
|
|
|
},
|
|
|
|
|
|
/**
|
|
|
@@ -412,90 +338,38 @@ export default {
|
|
|
|
|
|
|
|
|
<style scoped>
|
|
|
-.form-input {
|
|
|
- border-radius: 4px !important;
|
|
|
-}
|
|
|
-.form-inline-div {
|
|
|
- display: inline-block;
|
|
|
-}
|
|
|
-.m-select {
|
|
|
- display: inline-block !important;
|
|
|
-}
|
|
|
-.m-form-group {
|
|
|
- margin-left: 5px !important;
|
|
|
- margin-right: 5px !important;
|
|
|
- margin-bottom: 5px !important;
|
|
|
-}
|
|
|
-
|
|
|
-.m-form-group-label{
|
|
|
- white-space: nowrap;
|
|
|
- text-overflow: ellipsis;
|
|
|
-}
|
|
|
-
|
|
|
-@media (max-width: 768px) {
|
|
|
- .m-form-group-label {
|
|
|
- text-align: left;
|
|
|
- padding-right: 10px;
|
|
|
- }
|
|
|
+.ant-query-header {
|
|
|
+ margin-bottom: 16px;
|
|
|
+ margin-left: 16px;
|
|
|
}
|
|
|
|
|
|
-@media (min-width: 768px) {
|
|
|
- .m-form-group-label {
|
|
|
- width: 100px;
|
|
|
- text-align: center;
|
|
|
- padding-right: 10px;
|
|
|
- }
|
|
|
-
|
|
|
- .input-switches {
|
|
|
- width: 100%;
|
|
|
- }
|
|
|
-}
|
|
|
-.btn-process {
|
|
|
- margin-right: 5px;
|
|
|
+.ant-query-item {
|
|
|
+ margin-bottom: 8px;
|
|
|
}
|
|
|
|
|
|
-.m-row {
|
|
|
- margin-bottom: 5px;
|
|
|
- text-align: left;
|
|
|
+.full-width {
|
|
|
+ width: 100%;
|
|
|
}
|
|
|
|
|
|
-.form-control-complex {
|
|
|
- float: none !important;
|
|
|
- width: auto !important;
|
|
|
+:deep(.ant-form-item-label) {
|
|
|
+ overflow: visible;
|
|
|
+ white-space: nowrap;
|
|
|
+ text-overflow: ellipsis;
|
|
|
}
|
|
|
|
|
|
-.input-simple {
|
|
|
- width: 100% !important;
|
|
|
+:deep(.ant-picker),
|
|
|
+:deep(.ant-input-number),
|
|
|
+:deep(.ant-select) {
|
|
|
+ width: 100%;
|
|
|
}
|
|
|
|
|
|
-.input-switches {
|
|
|
- width: 200px;
|
|
|
-}
|
|
|
-.form-select {
|
|
|
- width: 200px !important;
|
|
|
-}
|
|
|
-.m-form-input {
|
|
|
- border-radius: 4px !important;
|
|
|
- width: 200px !important;
|
|
|
-}
|
|
|
-.form-control-complex {
|
|
|
- width: 200px !important;
|
|
|
-}
|
|
|
-.m-btn {
|
|
|
- float: left;
|
|
|
- margin-right: 5px;
|
|
|
-}
|
|
|
-.buttons {
|
|
|
- display: flex;
|
|
|
- justify-content: space-between;
|
|
|
- flex-wrap: wrap;
|
|
|
- margin-bottom: 6px;
|
|
|
-}
|
|
|
-.buttons:after {
|
|
|
- content: "";
|
|
|
- flex: auto;
|
|
|
+@media (max-width: 768px) {
|
|
|
+ :deep(.ant-form-item-label) {
|
|
|
+ text-align: left;
|
|
|
+ }
|
|
|
}
|
|
|
-.item{
|
|
|
- margin-right: 4px;
|
|
|
+:deep(.ant-form-item-label > label) {
|
|
|
+ font-size: 14px !important;
|
|
|
+ font-weight: 500 !important;
|
|
|
}
|
|
|
</style>
|