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