|
@@ -60,17 +60,25 @@
|
|
|
<template v-if="withSelect">
|
|
|
<a-form-item prop="selection" style="margin-right: 16px">
|
|
|
<a-select
|
|
|
+ :default-value="optionLists[0]"
|
|
|
+ @change="handleProvinceChange"
|
|
|
+ >
|
|
|
+ <a-select-option v-for="province in optionLists" :key="province">
|
|
|
+ {{ province }}
|
|
|
+ </a-select-option>
|
|
|
+ </a-select>
|
|
|
+ <!-- <a-select
|
|
|
v-model="formData.selection"
|
|
|
size="small"
|
|
|
- :placeholder="selectPlaceholder"
|
|
|
+ :default-value="optionLists[0]"
|
|
|
>
|
|
|
- <a-option
|
|
|
+ <a-select-option
|
|
|
v-for="option in optionList"
|
|
|
:key="option.value"
|
|
|
:value="option.value"
|
|
|
:label="option.label"
|
|
|
/>
|
|
|
- </a-select>
|
|
|
+ </a-select> -->
|
|
|
</a-form-item>
|
|
|
</template>
|
|
|
<template v-if="withInput">
|
|
@@ -168,6 +176,7 @@ export default {
|
|
|
selection: "",
|
|
|
searchText: "",
|
|
|
},
|
|
|
+ optionLists: ["全部代理人等级"],
|
|
|
optionList: [],
|
|
|
inputList: [
|
|
|
{
|
|
@@ -293,6 +302,13 @@ export default {
|
|
|
// height: 32px;
|
|
|
// line-height: 30px;
|
|
|
}
|
|
|
+ .ant-btn-primary {
|
|
|
+ background-color: #2d67e3;
|
|
|
+ }
|
|
|
+ .ant-form-item-control {
|
|
|
+ border: 1px solid #a4bdf3;
|
|
|
+ color: #2d67e3;
|
|
|
+ }
|
|
|
::v-deep .ant-select-selection__rendered {
|
|
|
line-height: 30px;
|
|
|
}
|