szh_zidingyibiaoti
张同海 2 years ago
parent c04dd14bbf
commit c1f94f3013

@ -10,7 +10,21 @@
<a-row :gutter="48">
<a-col :md="18">
<a-row :gutter="48">
<a-col :md="8" :sm="24" v-for="item in ColumnsQuery" :key="`${item.dataIndex}1`">
<a-col :md="8" :sm="24">
<a-form-item label="关键字:">
<a-input v-model="queryParam.KeyWord" allow-clear placeholder="请输入关键字" />
</a-form-item>
</a-col>
<a-col :md="8" :sm="24">
<a-form-item label="模块">
<a-select allow-clear placeholder="请选择模块" v-model="queryParam.module">
<a-select-option v-for="item in ModulesData" :key="item.code" :value="item.code">
{{ item.name }}
</a-select-option>
</a-select>
</a-form-item>
</a-col>
<!-- <a-col :md="8" :sm="24" v-for="item in ColumnsQuery" :key="`${item.dataIndex}1`">
<a-form-item
:label="item.title"
v-if="
@ -23,15 +37,16 @@
"
>
<a-input v-model="queryParam[item.dataIndex]" allow-clear :placeholder="`请输入${item.title}`" />
</a-form-item>
<a-form-item :label="item.title" v-if="item.title == '模块'">
<a-select allow-clear placeholder="请选择模块" v-model="queryParam[item.dataIndex]">
<a-select-option v-for="item in ModulesData" :key="item.code" :value="item.code">
{{ item.name }}
</a-select-option>
</a-select>
</a-form-item>
<!-- <a-form-item :label="item.title" v-if="item.title == '船名'">
</a-form-item> -->
<!-- <a-form-item :label="item.title" v-if="item.title == '模块'">
<a-select allow-clear placeholder="请选择模块" v-model="queryParam[item.dataIndex]">
<a-select-option v-for="item in ModulesData" :key="item.code" :value="item.code">
{{ item.name }}
</a-select-option>
</a-select>
</a-form-item> -->
<!-- <a-form-item :label="item.title" v-if="item.title == '船名'">
<a-select
allow-clear
show-search
@ -48,7 +63,7 @@
</a-select-option>
</a-select>
</a-form-item> -->
</a-col>
<!-- </a-col> -->
</a-row>
</a-col>
<a-col :md="6" :sm="24">

@ -18,7 +18,7 @@
show-search
:default-active-first-option="false"
:show-arrow="false"
:filter-option="false"
:filter-option="filterOption"
:not-found-content="null"
v-decorator="['userIdList', { rules: [{ required: true, message: '请选择用户!' }] }]"
>
@ -104,6 +104,9 @@ export default {
})
},
methods: {
filterOption(input, option) {
return option.componentOptions.children[0].text.toLowerCase().indexOf(input.toLowerCase()) >= 0
},
handleSearch(value) {
console.log(value)
let Rdata = []

@ -13,7 +13,20 @@
</a-col>
<a-col :md="6" :sm="24">
<a-form-item label="用户:">
<a-select placeholder="请选择用户" v-model="queryParam.userId">
<!-- <a-select placeholder="请选择用户" v-model="queryParam.userId">
<a-select-option v-for="item in UserList" :key="item.id" :value="item.id">
{{ item.name }}
</a-select-option>
</a-select> -->
<a-select
show-search
placeholder="请选择用户"
v-model="queryParam.userId"
:default-active-first-option="false"
:show-arrow="false"
:filter-option="filterOption"
:not-found-content="null"
>
<a-select-option v-for="item in UserList" :key="item.id" :value="item.id">
{{ item.name }}
</a-select-option>
@ -171,6 +184,9 @@ export default {
this.init()
},
methods: {
filterOption(input, option) {
return option.componentOptions.children[0].text.toLowerCase().indexOf(input.toLowerCase()) >= 0
},
RMain(data) {
let Text = ''
if (data.type == 'FastReport') {

Loading…
Cancel
Save