|
|
|
@ -10,7 +10,7 @@
|
|
|
|
|
<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"
|
|
|
|
|
v-if="
|
|
|
|
@ -19,6 +19,11 @@
|
|
|
|
|
>
|
|
|
|
|
<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.KeyWord" allow-clear placeholder="请输入关键字" />
|
|
|
|
|
</a-form-item>
|
|
|
|
|
</a-col>
|
|
|
|
|
</a-row>
|
|
|
|
|
</a-col>
|
|
|
|
@ -45,7 +50,7 @@
|
|
|
|
|
</template>
|
|
|
|
|
</vxe-toolbar>
|
|
|
|
|
<vxe-table :data="loadData" border :loading="loading" height="600px" empty-text="没有更多数据了!">
|
|
|
|
|
<vxe-column type="seq" width="40" fixed="left"></vxe-column>
|
|
|
|
|
<vxe-column type="seq" width="50" fixed="left"></vxe-column>
|
|
|
|
|
<vxe-column
|
|
|
|
|
v-for="item in columns"
|
|
|
|
|
:key="`${item.dataIndex}3`"
|
|
|
|
@ -53,6 +58,7 @@
|
|
|
|
|
:min-width="item.width"
|
|
|
|
|
:title="item.title"
|
|
|
|
|
:align="item.align"
|
|
|
|
|
:show-overflow="true"
|
|
|
|
|
>
|
|
|
|
|
</vxe-column>
|
|
|
|
|
<vxe-column title="操作" fixed="right" width="200" align="center">
|
|
|
|
@ -68,7 +74,6 @@
|
|
|
|
|
</template>
|
|
|
|
|
<script>
|
|
|
|
|
import { CommondbCodeCountryList } from '@/api/modular/main/CommondbCodeCountry'
|
|
|
|
|
import { commondbModules, commondbCarrierlist } from '@/api/modular/main/ShippingCompanyMapping'
|
|
|
|
|
import addForm from './addForm.vue'
|
|
|
|
|
import editForm from './editForm.vue'
|
|
|
|
|
export default {
|
|
|
|
@ -155,13 +160,8 @@ export default {
|
|
|
|
|
Object.assign(this.$data, this.$options.data())
|
|
|
|
|
this.ColumnsQuery = this.columns
|
|
|
|
|
this.FnGetData()
|
|
|
|
|
commondbPackage().then(res => {
|
|
|
|
|
this.CodeData = res.data
|
|
|
|
|
this.WCodeData = res.data
|
|
|
|
|
})
|
|
|
|
|
},
|
|
|
|
|
FnGetData() {
|
|
|
|
|
if (this.queryParam.module) {
|
|
|
|
|
this.loading = true
|
|
|
|
|
CommondbCodeCountryList(this.queryParam).then(res => {
|
|
|
|
|
if (res.code == 200) {
|
|
|
|
@ -172,9 +172,6 @@ export default {
|
|
|
|
|
}
|
|
|
|
|
this.loading = false
|
|
|
|
|
})
|
|
|
|
|
} else {
|
|
|
|
|
this.$message.warning('请选择模块!')
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
handleOk() {
|
|
|
|
|
this.FnGetData()
|
|
|
|
|