dev
张同海 2 years ago
parent 15553283b4
commit af8a41fa94

@ -37,7 +37,7 @@
@change="FnChangeTypeCode"
>
<a-select-option v-for="item in TypeData" :key="item.id" :value="item.paraCode">
{{ item.paraCode }}
{{ item.paraName }}
</a-select-option>
</a-select>
</a-form-item>
@ -114,6 +114,9 @@ export default {
this.TypeData = res.data
console.log(this.TypeData)
})
SysTenantPage({ pageNo: 1, pageSize: 9999, name: '' }).then(res => {
this.TenantData = res.data.rows
})
},
methods: {
FnChangeTypeCode(e) {

@ -37,7 +37,7 @@
@change="FnChangeTypeCode"
>
<a-select-option v-for="item in TypeData" :key="item.id" :value="item.paraCode">
{{ item.paraCode }}
{{ item.paraName }}
</a-select-option>
</a-select>
</a-form-item>
@ -115,6 +115,9 @@ export default {
this.TypeData = res.data
console.log(this.TypeData)
})
SysTenantPage({ pageNo: 1, pageSize: 9999, name: '' }).then(res => {
this.TenantData = res.data.rows
})
},
methods: {
FnChangeTypeCode(e) {

@ -10,10 +10,15 @@
<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" v-for="item in ColumnsQuery" :key="`${item.dataIndex}1`">
<a-form-item :label="item.title">
<a-input v-model="queryParam[item.dataIndex]" allow-clear :placeholder="`请输入${item.title}`" />
</a-form-item>
</a-col> -->
<a-col :md="8" :sm="24">
<a-form-item label="编码">
<a-input v-model="queryParam.paraCode" allow-clear :placeholder="`请输入编码`" />
</a-form-item>
</a-col>
</a-row>
</a-col>

@ -10,7 +10,13 @@
<a-row :gutter="48">
<a-col :md="18">
<a-row :gutter="48">
<a-col :md="8" :sm="16" v-for="item in ColumnsQuery" :key="`${item.dataIndex}1`">
<a-col
:md="8"
:sm="16"
v-for="item in ColumnsQuery"
:key="`${item.dataIndex}1`"
v-show="item.dataIndex != 'itemCode' && item.dataIndex != 'remark'"
>
<a-form-item :label="item.title">
<!-- <a-input
v-model="queryParam[item.dataIndex]"
@ -36,6 +42,16 @@
{{ item.name }}
</a-select-option>
</a-select>
<a-select
placeholder="请选择租户参数类别"
v-model="queryParam[item.dataIndex]"
v-else-if="item.title == '租户参数类别'"
allow-clear
>
<a-select-option v-for="item in TypeData" :key="item.id" :value="item.paraCode">
{{ item.paraName }}
</a-select-option>
</a-select>
<a-input
v-model="queryParam[item.dataIndex]"
allow-clear
@ -50,10 +66,10 @@
<span class="table-page-search-submitButtons">
<a-button type="primary" @click="FnGetData"></a-button>
<a-button style="margin-left: 8px" @click="init"></a-button>
<a @click="toggleAdvanced" style="margin-left: 8px">
<!-- <a @click="toggleAdvanced" style="margin-left: 8px">
{{ advanced ? '收起' : '展开' }}
<a-icon :type="advanced ? 'up' : 'down'" />
</a>
</a> -->
</span>
</a-col>
</a-row>
@ -186,6 +202,9 @@ export default {
this.TypeData = res.data
console.log(this.TypeData)
})
SysTenantPage({ pageNo: 1, pageSize: 9999, name: '' }).then(res => {
this.TenantData = res.data.rows
})
},
methods: {
tenantIdSearch(value) {

Loading…
Cancel
Save